Skip to content

Commit

Permalink
🩹 removed publish script from package.json to avoid confusion with np…
Browse files Browse the repository at this point in the history
…m publish command
  • Loading branch information
Ismail bennis committed Dec 1, 2023
1 parent 8405e51 commit 87002ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.5] - 2023-12-01
### Changed
removed publish script from package.json to avoid confusion with npm publish command, which is the recommended way to publish a package to npm.
adding building script to prepublishOnly script to ensure that the package is built before publishing it to npm.

## [1.1.4] - 2023-12-01
### Changed
publish script to include in package.json
publish script to be included in package.json

## [1.1.3] - 2023-12-01
### Changed
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@smart-chain-fr/asyncbatch",
"version": "1.1.4",
"version": "1.1.5",
"description": "Asynchronously process task batches",
"main": "lib/main.js",
"types": "lib/main.d.ts",
"scripts": {
"prepare": "npm run build",
"prepublishOnly": "npm test",
"prepublishOnly": "npm run build && npm test",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"start": "node ./lib/main.js",
Expand All @@ -17,8 +17,7 @@
"test": "jest --config jestconfig.json",
"example-basic": "tsc && node ./lib/examples/basic.js",
"example-pagination": "tsc && node ./lib/examples/pagination.js",
"example-generators": "tsc && node ./lib/examples/generators.js",
"publish": "npm run prepare && npm publish --access public"
"example-generators": "tsc && node ./lib/examples/generators.js"
},
"files": [
"lib/**/*"
Expand Down

0 comments on commit 87002ed

Please sign in to comment.