Merge branch 'ts-project-refs' into game

This commit is contained in:
wancat committed 2024-03-06 22:39:49 +08:00
commit a8a19ca902
18 files changed
+1017 -75

No files matched your search

+1 -3
View File
@@ -20,9 +20,7 @@ COPY packages/file-graph ./packages/file-graph
COPY packages/utils ./packages/utils
COPY packages/constants ./packages/constants
COPY app ./app
RUN yarn workspace @linux-odyssey/file-graph build
RUN yarn workspace @linux-odyssey/utils build
RUN yarn workspace @linux-odyssey/constants build
RUN yarn workspace app build:refs
RUN yarn workspace app build
# Production stage
+1
View File
@@ -7,6 +7,7 @@
"dev": "vite",
"dev:docker": "API_TARGET=http://backend:3000 vite",
"build": "vite build",
"build:refs": "tsc --build",
"preview": "vite preview"
},
"dependencies": {
+5 -1
View File
@@ -22,5 +22,9 @@
"noFallthroughCasesInSwitch": true
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.js"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [
{ "path": "../packages/utils" },
{ "path": "../packages/constants" },
{ "path": "../packages/file-graph" }
]
}
-10
View File
@@ -1,10 +0,0 @@
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}