Skip to content

Commit

Permalink
BREAKING CHANGE: update tsconfig to generate NodeJS 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Aug 21, 2024
1 parent f7e2eee commit 3663f1c
Show file tree
Hide file tree
Showing 21 changed files with 121 additions and 124 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = {
".vscode/**/*",
".vscode-test/**/*",
"packages/vscode-extension/build",
"jest.config.ts"
"jest.config.ts",
"**/*/jest.config.ts"
],
extends: [
"eslint:recommended",
Expand Down
12 changes: 4 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,10 @@
"name": "Debug: CLI-export (node)",
"args": [
"export",
"001KO000006BVHGYA4",
"-u",
"dev10",
"--debug",
"-v",
"-d",
"export-defs.yaml",
"-e"
"-q", "select Id from Acount Limit 1",
"-u", "dev10",
"-d", "export-defs.yaml",
"--expand"
],
"outFiles": [
"${workspaceFolder}/packages/vlocity-deploy/lib/**/*.js",
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "vlocode-project",
"packageManager": "pnpm@9.1.0+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394",
"packageManager": "pnpm@9.7.1",
"description": "Vlocode project packages",
"version": "1.23.0",
"license": "MIT",
Expand All @@ -19,6 +19,10 @@
"url": "https://github.com/Codeneos/vlocode/issues",
"email": "[email protected]"
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.0.0"
},
"devDependencies": {
"@lerna-lite/cli": "^3.8.0",
"@lerna-lite/publish": "^3.8.0",
Expand Down Expand Up @@ -133,7 +137,8 @@
"xml2js": "^0.5.0",
"esbuild": "^0.20.1",
"jsonwebtoken": "^9.0.0",
"braces": "^3.0.3"
"braces": "^3.0.3",
"punycode": "^2.3.1"
},
"lint-staged": {
"*.ts": "eslint --fix",
Expand Down
1 change: 0 additions & 1 deletion packages/apex/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
2 changes: 1 addition & 1 deletion packages/apex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"scripts": {
"build": "tsc",
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
"node": ">=20.0.0"
},
"scripts": {
"watch": "tsc -w",
Expand Down
1 change: 0 additions & 1 deletion packages/core/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=6.0.0"
"node": ">=20.0.0"
},
"scripts": {
"build": "tsc",
Expand Down
1 change: 0 additions & 1 deletion packages/omniscript/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
3 changes: 1 addition & 2 deletions packages/omniscript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=6.0.0"
"node": ">=20.0.0"
},
"scripts": {
"build": "tsc",
Expand Down
1 change: 0 additions & 1 deletion packages/salesforce/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
3 changes: 2 additions & 1 deletion packages/salesforce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"config": {
"metadata": "https://raw.githubusercontent.com/forcedotcom/source-deploy-retrieve/main/src/registry"
Expand Down Expand Up @@ -75,6 +75,7 @@
"jsforce": "1.11.0",
"jszip": "^3.7.0",
"luxon": "^3.4.4",
"minimatch": "^9.0.3",
"tough-cookie": "^4.1.2"
},
"publisher": "curlybracket",
Expand Down
1 change: 0 additions & 1 deletion packages/util/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"scripts": {
"clean": "shx rm -rf ./lib ./coverage ./tsconfig.tsbuildinfo './src/**/*.{d.ts,ts.map,js.map,js}'",
Expand Down
1 change: 0 additions & 1 deletion packages/vlocity-deploy/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
3 changes: 1 addition & 2 deletions packages/vlocity-deploy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=6.0.0"
"node": ">=20.0.0"
},
"scripts": {
"build": "pnpm build:schema && tsc",
Expand Down
1 change: 0 additions & 1 deletion packages/vlocity/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
3 changes: 1 addition & 2 deletions packages/vlocity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"lib": "./lib"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=6.0.0"
"node": ">=20.0.0"
},
"scripts": {
"build": "tsc",
Expand Down
1 change: 0 additions & 1 deletion packages/vscode-extension/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
preset: 'ts-jest',
roots: [ 'src' ],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts}',
'!**/node_modules/**'
Expand Down
Loading

0 comments on commit 3663f1c

Please sign in to comment.