Rename game to 'The Last StarTyper' throughout codebase
This commit is contained in:
Generated
+5
-5
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "typing-chud-example",
|
||||
"name": "the-last-startyper-example",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "typing-chud-example",
|
||||
"name": "the-last-startyper-example",
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.1.14",
|
||||
"@vimazing/typing-chud": "file:../",
|
||||
"@vimazing/the-last-startyper": "file:../",
|
||||
"react": "^19.1.1",
|
||||
"react-dom": "^19.1.1"
|
||||
},
|
||||
@@ -24,7 +24,7 @@
|
||||
}
|
||||
},
|
||||
"..": {
|
||||
"name": "@vimazing/typing-chud",
|
||||
"name": "@vimazing/the-last-startyper",
|
||||
"version": "0.1.0",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
@@ -1362,7 +1362,7 @@
|
||||
"@types/react": "^19.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@vimazing/typing-chud": {
|
||||
"node_modules/@vimazing/the-last-startyper": {
|
||||
"resolved": "..",
|
||||
"link": true
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "typing-chud-example",
|
||||
"name": "the-last-startyper-example",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
@@ -20,7 +20,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.1.14",
|
||||
"@vimazing/typing-chud": "file:../",
|
||||
"@vimazing/the-last-startyper": "file:../",
|
||||
"react": "^19.1.1",
|
||||
"react-dom": "^19.1.1"
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
import { useState } from "react";
|
||||
import { useGame, type GameMode } from "@vimazing/typing-chud";
|
||||
import "@vimazing/typing-chud/game.css";
|
||||
import { useGame, type GameMode } from "@vimazing/the-last-startyper";
|
||||
import "@vimazing/the-last-startyper/game.css";
|
||||
import { usePlatformHook, useStateMachine, getScenario, getScenarioNames } from "./usePlatformHook";
|
||||
|
||||
function App() {
|
||||
@@ -27,7 +27,7 @@ function App() {
|
||||
return (
|
||||
<div className="relative mx-auto my-4 w-fit space-y-4">
|
||||
<div className="space-y-2">
|
||||
<h1 className="text-2xl font-bold text-center">Typing Chud</h1>
|
||||
<h1 className="text-2xl font-bold text-center">The Last StarTyper</h1>
|
||||
|
||||
<div className="space-y-2">
|
||||
<div className="text-center">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { GameMode } from '@vimazing/typing-chud';
|
||||
import type { GameMode } from '@vimazing/the-last-startyper';
|
||||
|
||||
export type ModeTransition = {
|
||||
fromMode: GameMode;
|
||||
|
||||
@@ -11,7 +11,7 @@ export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@vimazing/typing-chud": libSource, // use source during dev
|
||||
"@vimazing/the-last-startyper": libSource, // use source during dev
|
||||
},
|
||||
},
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user