build(tsconfig): simplified packages tsconfigs
MODIFY
packages/core/tsconfig.json
packages/core/tsconfig.json
{
"extends": "../../tsconfig.json",
-
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": [
- "./node_modules/@types",
- "../../node_modules/@types"
- ]
},
-
- "include": [
- "node_modules/@types",
- "src/**/*.ts"
- ],
+ "include": ["src/**/*.ts"],
}

MODIFY
packages/middleware-body/tsconfig.json
packages/middleware-body/tsconfig.json
{
"extends": "../../tsconfig.json",
-
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": ["../../node_modules/@types"]
},
-
"include": ["src/**/*.ts"],
}

MODIFY
packages/middleware-cors/tsconfig.json
packages/middleware-cors/tsconfig.json
{
"extends": "../../tsconfig.json",
-
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": ["../../node_modules/@types"]
},
-
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
}

MODIFY
packages/middleware-io/tsconfig.json
packages/middleware-io/tsconfig.json
{
"extends": "../../tsconfig.json",
-
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": ["../../node_modules/@types"]
},
-
"include": ["src/**/*.ts"],
}

MODIFY
packages/middleware-joi/tsconfig.json
packages/middleware-joi/tsconfig.json
{
"extends": "../../tsconfig.json",
-
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": ["../../node_modules/@types"]
},
-
- "include": ["src/**/*.ts"]
+ "include": ["src/**/*.ts"],
}

MODIFY
packages/middleware-jwt/tsconfig.json
packages/middleware-jwt/tsconfig.json
{
"extends": "../../tsconfig.json",
-
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": ["../../node_modules/@types"]
},
-
"include": ["src/**/*.ts"],
}

MODIFY
packages/middleware-logger/tsconfig.json
packages/middleware-logger/tsconfig.json
{
"extends": "../../tsconfig.json",
-
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": ["../../node_modules/@types"]
},
-
"include": ["src/**/*.ts"],
}

MODIFY
packages/websockets/tsconfig.json
packages/websockets/tsconfig.json
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist/",
- "declaration": true,
- "typeRoots": ["../../node_modules/@types"]
},
"include": ["src/**/*.ts"],
}

MODIFY
tsconfig.json
tsconfig.json
{
"compilerOptions": {
+ "declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "commonjs",

build(tsconfig): simplified packages tsconfigs