Skip to content

Commit

Permalink
chore: force node env for backend packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Nov 3, 2023
1 parent 6e23471 commit bf27803
Show file tree
Hide file tree
Showing 21 changed files with 58 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/cubejs-athena-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@
"eslintConfig": {
"extends": "../cubejs-linter"
},
"jest": {
"testEnvironment": "node"
},
"license": "Apache-2.0"
}
3 changes: 2 additions & 1 deletion packages/cubejs-base-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
],
"coveragePathIgnorePatterns": [
".*\\.d\\.ts"
]
],
"testEnvironment": "node"
},
"resolutions": {
"es5-ext": "0.10.53",
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-bigquery-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
"jest": "^26.6.3",
"typescript": "~4.9.5"
},
"jest": {
"testEnvironment": "node"
},
"license": "Apache-2.0",
"eslintConfig": {
"extends": "../cubejs-linter"
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-client-dx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"eslint-plugin-node": "^5.2.1",
"jest": "^26.0.1"
},
"jest": {
"testEnvironment": "node"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-crate-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-dremio-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-duckdb-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-firebolt-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-hive-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-ksql-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"eslintConfig": {
"extends": "../cubejs-linter"
},
"jest": {
"testEnvironment": "node"
},
"devDependencies": {
"@cubejs-backend/linter": "^0.34.0",
"typescript": "~4.9.5"
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-materialize-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-mongobi-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
"testcontainers": "^9.8.0",
"typescript": "~4.9.5"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-mssql-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"@cubejs-backend/base-driver": "^0.34.12",
"mssql": "^6.1.0"
},
"jest": {
"testEnvironment": "node"
},
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"extends": "../cubejs-linter"
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/*.js?(x)",
"**/?(*.)+(spec|test|integration).js?(x)"
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-oracle-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"optionalDependencies": {
"oracledb": "^6.2.0"
},
"jest": {
"testEnvironment": "node"
},
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-postgres-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-prestodb-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
"testcontainers": "^8.12",
"typescript": "~4.9.5"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
1 change: 1 addition & 0 deletions packages/cubejs-query-orchestrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"extends": "../cubejs-linter"
},
"jest": {
"testEnvironment": "node",
"collectCoverage": false,
"coverageDirectory": "coverage/",
"collectCoverageFrom": [
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-questdb-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/cubejs-redshift-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"publishConfig": {
"access": "public"
},
"jest": {
"testEnvironment": "node"
},
"eslintConfig": {
"extends": "../cubejs-linter"
}
Expand Down

0 comments on commit bf27803

Please sign in to comment.