Skip to content

Commit

Permalink
Rename 'publish' script to 'publish:npm'.
Browse files Browse the repository at this point in the history
Turns out any script named 'publish' gets called by 'yalc:publish', which we do not want.
  • Loading branch information
bgoldowsky committed Feb 7, 2024
1 parent 165bf17 commit e29dd03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ To deploy a production release:
1. Test a dry-run of publishing the package to the npm repository
- `npm run publish:test`
1. Publish the package to the npm repository
- `npm run publish`
- `npm run publish:npm`

The updates should show up on NPM at <https://www.npmjs.com/package/@concord-consortium/diagram-view> .

## License

Quantity Playground is Copyright 2021 (c) by the Concord Consortium and is distributed under the [MIT license](http://www.opensource.org/licenses/MIT).
Quantity Playground is Copyright 2024 (c) by the Concord Consortium and is distributed under the [MIT license](http://www.opensource.org/licenses/MIT).

See license.md for the complete license text.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
"yalc:publish": "npx yalc publish --push",
"yalc:unpublish": "npx yalc installations clean @concord-consortium/diagram-view",
"prepublishOnly": "npm-run-all clean tsc copycss",
"publish:npm": "npm publish --access public",
"publish:test": "npm publish --access public --dry-run",
"publish:beta": "npm publish --tag beta --access public",
"publish": "npm publish --access public"
"publish:beta": "npm publish --tag beta --access public"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e29dd03

Please sign in to comment.