Run dev without building shared-core
This commit is contained in:
parent
9f72e285f7
commit
7f3dab40bf
|
@ -10,7 +10,6 @@
|
|||
"prebuild": "rimraf dist/",
|
||||
"build": "node ../../scripts/build.js && tsc -p tsconfig.build.json --emitDeclarationOnly --paths null",
|
||||
"build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",
|
||||
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
|
||||
"check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020",
|
||||
"test": "jest",
|
||||
"test:watch": "yarn test --watchAll"
|
||||
|
|
|
@ -1,22 +1,8 @@
|
|||
{
|
||||
"extends": "../../tsconfig.build.json",
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"lib": ["es2020"],
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
"incremental": true,
|
||||
"sourceMap": true,
|
||||
"declaration": true,
|
||||
"types": ["node"],
|
||||
"outDir": "dist",
|
||||
"skipLibCheck": true,
|
||||
"paths": {
|
||||
"@budibase/types": ["../types/src"]
|
||||
},
|
||||
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
|
||||
"rootDir": "src/",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["**/*.spec.ts", "**/*.spec.js", "__mocks__", "src/tests"]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"extends": "../../tsconfig.build.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src/",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
|
|
|
@ -9,7 +9,16 @@
|
|||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"declaration": true,
|
||||
"isolatedModules": true
|
||||
"isolatedModules": true,
|
||||
"paths": {
|
||||
"@budibase/types": ["packages/types/src"],
|
||||
"@budibase/backend-core": ["packages/backend-core/src"],
|
||||
"@budibase/backend-core/*": ["packages/backend-core/*"],
|
||||
"@budibase/shared-core": ["packages/shared-core/src"],
|
||||
"@budibase/pro": ["packages/pro/src"],
|
||||
"@budibase/string-templates": ["packages/string-templates/src"],
|
||||
"@budibase/string-templates/*": ["packages/string-templates/*"]
|
||||
}
|
||||
},
|
||||
"exclude": []
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue