From 32369450080d6d5b4815c8a7f5f6380276a6959c Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Sun, 9 May 2021 16:57:10 +0800 Subject: [PATCH] chore: update tsconfig --- packages/decorator/package.json | 3 +-- packages/decorator/version.json | 31 -------------------------- packages/grpc/tsconfig.json | 3 +-- packages/midway-schedule/tsconfig.json | 20 +++++------------ packages/web-express/tsconfig.json | 3 +-- packages/web-koa/tsconfig.json | 3 +-- 6 files changed, 10 insertions(+), 53 deletions(-) delete mode 100644 packages/decorator/version.json diff --git a/packages/decorator/package.json b/packages/decorator/package.json index 9b216a5c3f67..0389a9e6f879 100644 --- a/packages/decorator/package.json +++ b/packages/decorator/package.json @@ -28,8 +28,7 @@ ], "files": [ "dist/**/*.js", - "dist/**/*.d.ts", - "version.json" + "dist/**/*.d.ts" ], "engines": { "node": ">= 10.0.0" diff --git a/packages/decorator/version.json b/packages/decorator/version.json deleted file mode 100644 index a64b7c74ac43..000000000000 --- a/packages/decorator/version.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "@midwayjs/egg-layer": "2.8.11", - "@midwayjs/express-layer": "2.8.11", - "@midwayjs/faas-typings": "2.8.9", - "@midwayjs/koa-layer": "2.8.11", - "@midwayjs/runtime-engine": "2.8.11", - "@midwayjs/runtime-mock": "2.8.11", - "@midwayjs/serverless-app": "2.8.11", - "@midwayjs/serverless-aws-starter": "2.8.11", - "@midwayjs/serverless-fc-starter": "2.8.11", - "@midwayjs/serverless-fc-trigger": "2.8.11", - "@midwayjs/serverless-http-parser": "2.8.11", - "@midwayjs/serverless-scf-starter": "2.8.11", - "@midwayjs/serverless-scf-trigger": "2.8.11", - "@midwayjs/static-layer": "2.8.11", - "@midwayjs/bootstrap": "2.8.11", - "@midwayjs/core": "2.8.11", - "@midwayjs/decorator": "2.8.11", - "@midwayjs/faas": "2.8.11", - "@midwayjs/grpc": "2.8.11", - "@midwayjs/logger": "2.8.11", - "midway-schedule": "2.8.11", - "midway": "2.8.11", - "@midwayjs/mock": "2.8.11", - "@midwayjs/rabbitmq": "2.8.11", - "@midwayjs/socketio": "2.8.11", - "@midwayjs/typegoose": "2.8.11", - "@midwayjs/express": "2.8.11", - "@midwayjs/koa": "2.8.11", - "@midwayjs/web": "2.8.11" -} \ No newline at end of file diff --git a/packages/grpc/tsconfig.json b/packages/grpc/tsconfig.json index b1a4a0c8633f..324fe88c9b14 100644 --- a/packages/grpc/tsconfig.json +++ b/packages/grpc/tsconfig.json @@ -3,8 +3,7 @@ "compileOnSave": true, "compilerOptions": { "rootDir": "src", - "outDir": "dist", - "jsx": "react" + "outDir": "dist" }, "include": [ "./src/**/*.ts" diff --git a/packages/midway-schedule/tsconfig.json b/packages/midway-schedule/tsconfig.json index 64ea842ca395..324fe88c9b14 100644 --- a/packages/midway-schedule/tsconfig.json +++ b/packages/midway-schedule/tsconfig.json @@ -1,19 +1,11 @@ { + "extends": "../../tsconfig.json", + "compileOnSave": true, "compilerOptions": { - "target": "ES2018", - "module": "commonjs", - "moduleResolution": "node", - "experimentalDecorators": true, - "noImplicitThis": true, - "noUnusedLocals": true, - "stripInternal": true, - "pretty": true, - "declaration": true, - "sourceMap": true + "rootDir": "src", + "outDir": "dist" }, - "exclude": [ - "dist", - "node_modules", - "test" + "include": [ + "./src/**/*.ts" ] } diff --git a/packages/web-express/tsconfig.json b/packages/web-express/tsconfig.json index b1a4a0c8633f..324fe88c9b14 100644 --- a/packages/web-express/tsconfig.json +++ b/packages/web-express/tsconfig.json @@ -3,8 +3,7 @@ "compileOnSave": true, "compilerOptions": { "rootDir": "src", - "outDir": "dist", - "jsx": "react" + "outDir": "dist" }, "include": [ "./src/**/*.ts" diff --git a/packages/web-koa/tsconfig.json b/packages/web-koa/tsconfig.json index b1a4a0c8633f..324fe88c9b14 100644 --- a/packages/web-koa/tsconfig.json +++ b/packages/web-koa/tsconfig.json @@ -3,8 +3,7 @@ "compileOnSave": true, "compilerOptions": { "rootDir": "src", - "outDir": "dist", - "jsx": "react" + "outDir": "dist" }, "include": [ "./src/**/*.ts"