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