chore: fix build problem in docker

pull/90/head
moonrailgun 2 years ago
parent 44595b351f
commit 3fdd036007

@ -7,7 +7,7 @@ ARG VERSION
WORKDIR /app/tailchat
# Install dependencies
RUN npm install -g pnpm@7.13.4
RUN npm install -g pnpm@8.2.0
RUN npm install -g tailchat-cli@latest
# Add mc for minio

@ -69,7 +69,7 @@
"@types/glob": "^8.0.0",
"@types/inquirer": "^8.2.1",
"@types/lodash": "^4.14.170",
"@types/node": "16.11.7",
"@types/node": "^18.13.0",
"@types/react": "18.0.20",
"@types/spinnies": "^0.5.0",
"@types/update-notifier": "^6.0.1",

@ -30,7 +30,7 @@
"@types/body-parser": "^1.19.2",
"@types/jest": "27.5.2",
"@types/lodash": "^4.14.191",
"@types/node": "^18.0.0",
"@types/node": "^18.13.0",
"jest": "27.5.1",
"nock": "^13.0.5",
"nodemon": "^2.0.18",

@ -59,7 +59,8 @@
"overrides": {
"redux": "4.2.1",
"@babel/runtime": "7.21.0",
"@types/react": "18.0.20"
"@types/react": "18.0.20",
"webpack": "5.75.0"
},
"patchedDependencies": {
"moleculer-minio@2.0.0": "patches/moleculer-minio@2.0.0.patch"

File diff suppressed because it is too large Load Diff

@ -10,7 +10,7 @@
"build": "tsc",
"watch": "tsc --watch",
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "npm run build",
"prepare": "pnpm build",
"release": "npm version patch && npm publish --registry https://registry.npmjs.com/"
},
"repository": {
@ -29,6 +29,7 @@
},
"homepage": "https://github.com/msgbyte/tailchat-server#readme",
"devDependencies": {
"@types/jest": "^29.5.1",
"typescript": "^4.3.3"
},
"dependencies": {

@ -148,7 +148,7 @@ export const ApiGatewayMixin: ServiceSchema = {
params: ['req.url', 'req.method'],
},
spanName: (ctx) => `${ctx.params.req.method} ${ctx.params.req.url}`,
},
} as any,
timeout: 0,
handler(ctx) {
const req = ctx.params.req;

@ -3,6 +3,8 @@
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"skipLibCheck": true,
"typeRoots": ["./node_modules/@types"],
"rootDir": "./src",
"outDir": "dist"
},

Loading…
Cancel
Save