Skip to content

Commit

Permalink
chore: remove npm script to publish
Browse files Browse the repository at this point in the history
Ref: https://stackoverflow.com/a/72176325/6265296

When publishing to npm, the existence of npm script named 'publish' will
trigger publishing packages twice for the same version.
  • Loading branch information
zackad committed Mar 28, 2024
1 parent 48e4076 commit 8c2720f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

## unreleased

### Internals
- Remove npm script to publish

---
## v0.6.0 (2024-03-27)

### Features
- BREAKING: Change package name `prettier-plugin-twig-melody` -> `@zackad/prettier-plugin-twig-melody`
- BREAKING: Change package name `prettier-plugin-twig-melody` -> `@zackad/prettier-plugin-twig-melody`

### Internals
- Publish package as `@zackad/prettier-plugin-twig-melody` into npm registry
- Publish package as `@zackad/prettier-plugin-twig-melody` into npm registry

---
## v0.5.0
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"scripts": {
"lint": "jest -c jest.eslint.config.js",
"test": "jest",
"prettier": "prettier --plugin=. --parser=melody",
"publish": "npm publish"
"prettier": "prettier --plugin=. --parser=melody"
},
"dependencies": {
"babel-types": "^6.26.0",
Expand Down

0 comments on commit 8c2720f

Please sign in to comment.