Update builds to exclude the package.json

This commit is contained in:
adrinr 2023-04-17 14:20:36 +01:00
parent 8e95121ac8
commit eeb0daa98a
9 changed files with 23 additions and 49 deletions

View File

@ -10,15 +10,11 @@
"incremental": true,
"sourceMap": true,
"declaration": true,
"types": [ "node", "jest" ],
"types": ["node", "jest"],
"outDir": "dist",
"skipLibCheck": true
},
"include": [
"**/*.js",
"**/*.ts",
"package.json"
],
"include": ["**/*.js", "**/*.ts"],
"exclude": [
"node_modules",
"dist",
@ -26,4 +22,4 @@
"**/*.spec.js",
"__mocks__"
]
}
}

View File

@ -8,23 +8,14 @@
"paths": {
"@budibase/types": ["../types/src"],
"@budibase/backend-core": ["../backend-core/src"],
"@budibase/backend-core/*": ["../backend-core/*"],
"@budibase/backend-core/*": ["../backend-core/*"]
}
},
"ts-node": {
"require": ["tsconfig-paths/register"],
"swc": true
},
"references": [
{ "path": "../types" },
{ "path": "../backend-core" },
],
"include": [
"src/**/*",
"package.json"
],
"exclude": [
"node_modules",
"dist"
]
}
"references": [{ "path": "../types" }, { "path": "../backend-core" }],
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}

View File

@ -8,13 +8,11 @@
"esModuleInterop": true,
"resolveJsonModule": true,
"incremental": true,
"types": [ "node", "jest" ],
"outDir": "dist",
"types": ["node", "jest"],
"outDir": "dist/src",
"skipLibCheck": true
},
"include": [
"src/**/*"
],
"include": ["src/**/*"],
"exclude": [
"node_modules",
"dist",

View File

@ -23,6 +23,6 @@
{ "path": "../shared-core" },
{ "path": "../../../budibase-pro/packages/pro" }
],
"include": ["src/**/*", "specs", "package.json"],
"include": ["src/**/*", "specs"],
"exclude": ["node_modules", "dist"]
}

View File

@ -14,7 +14,7 @@
"outDir": "dist",
"skipLibCheck": true
},
"include": ["**/*.js", "**/*.ts", "package.json"],
"include": ["**/*.js", "**/*.ts"],
"exclude": [
"node_modules",
"dist",

View File

@ -2,7 +2,7 @@
"extends": "./tsconfig-base.build.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "dist/cjs",
"outDir": "dist/cjs/src",
"target": "es2015"
}
}

View File

@ -2,7 +2,7 @@
"extends": "./tsconfig-base.build.json",
"compilerOptions": {
"module": "esnext",
"outDir": "dist/mjs",
"outDir": "dist/mjs/src",
"target": "esnext"
}
}

View File

@ -21,11 +21,6 @@
{ "path": "../backend-core" },
{ "path": "../../../budibase-pro/packages/pro" }
],
"include": [
"src/**/*",
"package.json"
],
"exclude": [
"dist"
]
}
"include": ["src/**/*"],
"exclude": ["dist"]
}

View File

@ -16,7 +16,7 @@
"@budibase/types": ["../packages/types/src"],
"@budibase/backend-core": ["../packages/backend-core/src"],
"@budibase/backend-core/*": ["../packages/backend-core/*"],
"@budibase/server/*": ["../packages/server/src/*"],
"@budibase/server/*": ["../packages/server/src/*"]
}
},
"ts-node": {
@ -24,14 +24,8 @@
},
"references": [
{ "path": "../packages/types" },
{ "path": "../packages/backend-core" },
{ "path": "../packages/backend-core" }
],
"include": [
"src/**/*",
"package.json"
],
"exclude": [
"node_modules",
"dist"
]
}
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}