Merge pull request #7658 from Budibase/exclude-test-utils-from-build

Exclude test utils from server and worker builds
This commit is contained in:
Rory Powell 2022-09-06 11:29:23 +01:00 committed by GitHub
commit 13c9e2534b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View File

@ -21,6 +21,7 @@
}, },
"dependencies": { "dependencies": {
"@budibase/types": "^1.3.10", "@budibase/types": "^1.3.10",
"@shopify/jest-koa-mocks": "5.0.1",
"@techpass/passport-openidconnect": "0.3.2", "@techpass/passport-openidconnect": "0.3.2",
"aws-sdk": "2.1030.0", "aws-sdk": "2.1030.0",
"bcrypt": "5.0.1", "bcrypt": "5.0.1",
@ -60,7 +61,6 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@shopify/jest-koa-mocks": "5.0.1",
"@types/jest": "27.5.1", "@types/jest": "27.5.1",
"@types/koa": "2.0.52", "@types/koa": "2.0.52",
"@types/lodash": "4.14.180", "@types/lodash": "4.14.180",

View File

@ -20,8 +20,6 @@
"package.json" "package.json"
], ],
"exclude": [ "exclude": [
"scripts",
"tests",
"node_modules", "node_modules",
"dist", "dist",
"**/*.spec.ts", "**/*.spec.ts",

View File

@ -19,6 +19,7 @@
"exclude": [ "exclude": [
"node_modules", "node_modules",
"dist", "dist",
"src/tests",
"**/*.spec.ts", "**/*.spec.ts",
"**/*.spec.js" "**/*.spec.js"
] ]

View File

@ -19,6 +19,7 @@
"exclude": [ "exclude": [
"node_modules", "node_modules",
"dist", "dist",
"src/tests",
"**/*.spec.ts", "**/*.spec.ts",
"**/*.spec.js" "**/*.spec.js"
] ]