Skip to content

Commit

Permalink
build: update scripts and wireit commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarvin8 authored Sep 24, 2024
1 parent 4ca0f3d commit b4d97cf
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,13 @@
"flexibleTaxonomy": true
},
"scripts": {
"command-docs": "oclif readme",
"build": "tsc -b",
"build": "wireit",
"clean": "sf-clean",
"clean-all": "sf-clean all",
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
"compile": "wireit",
"docs": "sf-docs",
"format": "sf-format",
"format": "wireit",
"link-check": "wireit",
"lint": "wireit",
"postpack": "sf-clean --ignore-signing-artifacts",
"prepack": "sf-prepack",
Expand Down Expand Up @@ -164,7 +163,7 @@
]
},
"test:deprecation-policy": {
"command": "\"./bin/dev\" snapshot:compare",
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
"files": [
"src/**/*.ts"
],
Expand All @@ -180,6 +179,15 @@
"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|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
"files": [
"./*.md",
"./!(CHANGELOG).md",
"messages/**/*.md"
],
"output": []
}
},
"exports": "./lib/index.js",
Expand Down

0 comments on commit b4d97cf

Please sign in to comment.