Skip to content

Commit

Permalink
Simplified preversion script (#2737)
Browse files Browse the repository at this point in the history
* Fixed ship workflow YAML

* Simplified preversion script
  • Loading branch information
CatChen authored May 28, 2024
1 parent fcec0d8 commit 05eed37
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
14 changes: 11 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"package": "rm -rf dist && yarn ncc build src/index.ts --external eslint --source-map --license licenses.txt",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint -c eslint.config.js",
"preversion": "rm -rf lib && rm -rf dist && yarn && yarn build && yarn package"
"preversion": "yarn && yarn build && yarn package"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 05eed37

Please sign in to comment.