Skip to content

Commit

Permalink
Merge pull request #108 from salesforcecli/devScripts2023-12-08
Browse files Browse the repository at this point in the history
refactor: devScripts update
  • Loading branch information
svc-cli-bot authored Dec 9, 2023
2 parents 318b9f0 + 09fb95c commit 9003f65
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 25 deletions.
21 changes: 16 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.0.3",
"@salesforce/cli-plugins-testkit": "^5",
"@salesforce/dev-scripts": "^8.0.0",
"@salesforce/dev-scripts": "^8.1.0",
"@salesforce/plugin-command-reference": "^3.0.48",
"eslint-plugin-sf-plugin": "^1.16.15",
"oclif": "^4.0.4",
Expand Down Expand Up @@ -70,6 +70,7 @@
"compile": "wireit",
"docs": "sf-docs",
"format": "wireit",
"link-check": "wireit",
"lint": "wireit",
"postpack": "shx rm -f oclif.manifest.json oclif.lock",
"prepack": "sf-prepack",
Expand Down Expand Up @@ -139,7 +140,8 @@
"test:command-reference",
"test:deprecation-policy",
"lint",
"test:json-schema"
"test:json-schema",
"link-check"
]
},
"test:only": {
Expand All @@ -158,7 +160,7 @@
"output": []
},
"test:command-reference": {
"command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
"files": [
"src/**/*.ts",
"messages/**",
Expand All @@ -169,7 +171,7 @@
]
},
"test:deprecation-policy": {
"command": "ts-node \"./bin/dev.js\" snapshot:compare",
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
"files": [
"src/**/*.ts"
],
Expand All @@ -179,12 +181,21 @@
]
},
"test:json-schema": {
"command": "ts-node \"./bin/dev.js\" schema:compare",
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
"files": [
"src/**/*.ts",
"schemas"
],
"output": []
},
"link-check": {
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
"files": [
"./*.md",
"./!(CHANGELOG).md",
"messages/**/*.md"
],
"output": []
}
},
"exports": "./lib/index.js",
Expand Down
Loading

0 comments on commit 9003f65

Please sign in to comment.