mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
Merge branch 'ts-project-refs' into game
This commit is contained in:
commit
a8a19ca902
18 files changed
+1017
-75
No files matched your search
@@ -26,10 +26,6 @@ COPY server ./server
|
||||
COPY quests ./quests
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN yarn workspace @linux-odyssey/file-graph build
|
||||
RUN yarn workspace @linux-odyssey/utils build
|
||||
RUN yarn workspace @linux-odyssey/models build
|
||||
RUN yarn workspace @linux-odyssey/constants build
|
||||
RUN yarn workspace server build
|
||||
WORKDIR /app/server
|
||||
CMD [ "yarn", "start" ]
|
||||
|
||||
+2
-3
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"watch": ["dist", "swagger.yaml", "../quests", "../packages"],
|
||||
"watch": ["src", "swagger.yaml", "../quests", "../packages"],
|
||||
"ext": "js,ts,yaml,yml",
|
||||
"exec": "node -r source-map-support/register dist/index.js",
|
||||
"delay": 200
|
||||
"exec": "node --loader ts-node/esm src/index.js"
|
||||
}
|
||||
+6
-2
@@ -7,8 +7,8 @@
|
||||
"start": "node dist/index.js",
|
||||
"setup": "node dist/cli/setup.js",
|
||||
"clean": "node dist/cli/clean.js",
|
||||
"build": "tsc",
|
||||
"dev": "concurrently \"tsc -w\" \"sleep 5 && nodemon\"",
|
||||
"build": "tsc -b",
|
||||
"dev": "nodemon",
|
||||
"build:quests": "node dist/cli/build.js"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -44,6 +44,8 @@
|
||||
"yaml": "^2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@swc/core": "^1.4.2",
|
||||
"@swc/helpers": "^0.5.6",
|
||||
"@types/bcrypt": "^5.0.2",
|
||||
"@types/dockerode": "^3.3.23",
|
||||
"@types/express": "^4.17.21",
|
||||
@@ -62,7 +64,9 @@
|
||||
"concurrently": "^8.2.2",
|
||||
"jest": "^29.6.1",
|
||||
"nodemon": "^3.0.1",
|
||||
"regenerator-runtime": "^0.14.1",
|
||||
"source-map-support": "^0.5.21",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
}
|
||||
+10
-1
@@ -4,5 +4,14 @@
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "src/*.test.js", "dist"]
|
||||
"exclude": ["node_modules", "src/*.test.js", "dist"],
|
||||
"references": [
|
||||
{ "path": "../packages/constants" },
|
||||
{ "path": "../packages/file-graph" },
|
||||
{ "path": "../packages/models" },
|
||||
{ "path": "../packages/utils" }
|
||||
],
|
||||
"ts-node": {
|
||||
"swc": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user