Skip to content

Commit f83c3a7

Browse files
committed
bye bye np
1 parent 2a1973c commit f83c3a7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [[8.0.1]((https://github.com/Mastermindzh/react-cookie-consent/releases/tag/8.0.1)]
99

10-
Second try of [np](https://github.com/sindresorhus/np)...
10+
~~Second try of [np](https://github.com/sindresorhus/np)...~~
1111
Removed postinstall
12+
np is not my thing.. reverted to old release strategy
1213

1314
## [[8.0.0]((https://github.com/Mastermindzh/react-cookie-consent/releases/tag/8.0.0)]
1415

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-cookie-consent",
3-
"version": "8.0.1",
3+
"version": "8.0.0",
44
"description": "A small, simple and customizable cookie consent bar for use in React applications.",
55
"keywords": [
66
"react",
@@ -32,15 +32,19 @@
3232
"analyze": "size-limit --why",
3333
"build": "tsdx build",
3434
"build-storybook": "build-storybook",
35+
"install-husky": "npx husky install",
3536
"lint": "tsdx lint",
3637
"major": "npm --no-git-tag-version version major",
3738
"minor": "npm --no-git-tag-version version minor",
3839
"organize": "npx format-package -w && npx sort-package-json",
3940
"patch": "npm --no-git-tag-version version patch",
4041
"prepare": "tsdx build",
4142
"prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write",
42-
"install-husky": "npx husky install",
4343
"publish": "npx np",
44+
"release": "npm run build && git add -A && git tag $npm_package_version && git commit -m \"release $npm_package_version\" && git push && git push --tags && npm publish",
45+
"release-major": "npm run major && npm run release",
46+
"release-minor": "npm run minor && npm run release",
47+
"release-patch": "npm run patch && npm run release",
4448
"size": "size-limit",
4549
"start": "tsdx watch",
4650
"storybook": "start-storybook -p 6006",

0 commit comments

Comments
 (0)