-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: remove node 14 and add node 20 support (#614)
- Loading branch information
Showing
12 changed files
with
968 additions
and
706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
"Flexi", | ||
"hardlinks", | ||
"Iframe", | ||
"knip", | ||
"METAFILE", | ||
"Mehdi", | ||
"Nimn", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"entry": ["src/main.js"], | ||
"project": ["src/**/*.ts", "src/**/*.js", "__tests__/**/*.js", "__tests__/**/*.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"sfdx-plugin" | ||
], | ||
"engines": { | ||
"node": ">=14.6.0" | ||
"node": ">=16.20.0" | ||
}, | ||
"files": [ | ||
"/bin", | ||
|
@@ -25,18 +25,12 @@ | |
}, | ||
"author": "Sebastien Colladon <[email protected]>", | ||
"dependencies": { | ||
"@oclif/command": "^1.8.26", | ||
"@oclif/config": "^1.18.9", | ||
"@oclif/core": "^2.8.5", | ||
"@oclif/errors": "^1.3.6", | ||
"@salesforce/command": "^5.3.9", | ||
"@salesforce/core": "^3.36.2", | ||
"fast-xml-parser": "^4.2.2", | ||
"fs-extra": "^11.1.1", | ||
"ignore": "^5.2.4", | ||
"lodash": "^4.17.21", | ||
"micromatch": "^4.0.5", | ||
"tslib": "^2.5.2", | ||
"xmlbuilder2": "^3.1.1" | ||
}, | ||
"license": "MIT", | ||
|
@@ -46,14 +40,14 @@ | |
"homepage": "https://github.com/scolladon/sfdx-git-delta#readme", | ||
"scripts": { | ||
"analysis": "codeclimate analyze", | ||
"audit:fix": "npm i --package-lock-only && npm audit fix && shx rm yarn.lock && yarn import && shx rm package-lock.json", | ||
"clean": "shx rm -rf lib && shx rm -rf reports/* && shx rm -rf .stryker-tmp/* && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json && shx rm -rf sfdx-git-delta-v*.tgz && shx rm -rf stderr*.txt && shx rm -rf stdout*.txt", | ||
"clean": "shx rm -rf lib 'reports/*' .nyc_output oclif.manifest.json package.tgz 'sfdx-git-delta-v*.tgz' 'stderr*.txt' 'stdout*.txt' '.stryker-tmp/*'", | ||
"commit": "commit", | ||
"increment:apiversion": "filename=`ls src/metadata/v*.json | tail -1` && version=${filename//[!0-9]/} && ((version++)) && targetname=\"src/metadata/v${version}.json\" && \\cp $filename $targetname", | ||
"lint": "eslint src/", | ||
"lint:dependencies": "knip", | ||
"lint:fix": "eslint --fix src/", | ||
"test": "yarn test:unit && yarn test:nut", | ||
"test:build:local": "shx rm -rf node_modules && yarn && yarn pack && yarn test", | ||
"test:build:local": "shx rm -rf node_modules ; yarn && yarn pack && yarn test", | ||
"test:mutation": "stryker run", | ||
"test:nut": "nyc mocha **/*.nut.ts", | ||
"test:unit": "jest", | ||
|
@@ -67,42 +61,38 @@ | |
"prebuild": "yarn clean", | ||
"prepack": "yarn build && oclif-dev manifest && oclif-dev readme", | ||
"prepare": "husky install", | ||
"upgrade:dependencies": "yarn yarn-upgrade-all" | ||
"upgrade:dependencies": "yarn-upgrade-all ; yarn-audit-fix" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.5", | ||
"@commitlint/config-conventional": "^17.6.5", | ||
"@commitlint/prompt-cli": "^17.6.5", | ||
"@oclif/dev-cli": "^1.26.10", | ||
"@oclif/plugin-help": "^5.2.9", | ||
"@oclif/test": "^2.3.21", | ||
"@salesforce/cli-plugins-testkit": "^3.4.0", | ||
"@salesforce/dev-config": "^4.0.1", | ||
"@salesforce/ts-sinon": "^1.4.7", | ||
"@stryker-mutator/core": "^6.4.2", | ||
"@stryker-mutator/jest-runner": "^6.4.2", | ||
"@swc/core": "^1.3.61", | ||
"@types/chai": "^4.3.5", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^20.2.5", | ||
"@typescript-eslint/eslint-plugin": "^5.59.8", | ||
"@typescript-eslint/parser": "^5.59.8", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.41.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-salesforce-typescript": "^1.1.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"husky": "^8.0.3", | ||
"jest": "^29.5.0", | ||
"knip": "^2.13.0", | ||
"lint-staged": "^13.2.2", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.8.8", | ||
"prettier-eslint": "^15.0.1", | ||
"shx": "^0.3.4", | ||
"sinon": "^15.1.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.4", | ||
"yarn-audit-fix": "^9.3.10", | ||
"yarn-upgrade-all": "^0.7.2" | ||
}, | ||
"oclif": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.