storion 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storion",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Reactive stores for modern apps. Type-safe. Auto-tracked. Effortlessly composable",
5
5
  "type": "module",
6
6
  "main": "./dist/storion.js",
@@ -46,9 +46,9 @@
46
46
  "version:minor": "npm version minor -m \"chore: bump version to %s\"",
47
47
  "version:major": "npm version major -m \"chore: bump version to %s\"",
48
48
  "prepublishOnly": "pnpm run build",
49
- "release:patch": "pnpm version:patch && git add -A && git commit --amend --no-edit && git push && git push --tags && npm publish",
50
- "release:minor": "pnpm version:minor && git add -A && git commit --amend --no-edit && git push && git push --tags && npm publish",
51
- "release:major": "pnpm version:major && git add -A && git commit --amend --no-edit && git push && git push --tags && npm publish",
49
+ "release:patch": "git status --porcelain | grep -q . && echo 'Error: uncommitted changes' && exit 1; pnpm version:patch && git add -A && git commit --amend --no-edit && git push && git push --tags && npm publish",
50
+ "release:minor": "git status --porcelain | grep -q . && echo 'Error: uncommitted changes' && exit 1; pnpm version:minor && git add -A && git commit --amend --no-edit && git push && git push --tags && npm publish",
51
+ "release:major": "git status --porcelain | grep -q . && echo 'Error: uncommitted changes' && exit 1; pnpm version:major && git add -A && git commit --amend --no-edit && git push && git push --tags && npm publish",
52
52
  "publish:dry": "npm publish --dry-run"
53
53
  },
54
54
  "keywords": [