@andygo.dev/emitter 1.3.4 → 1.3.5
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.
- package/package.json +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andygo.dev/emitter",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "Type-safe wrapper around @nestjs/event-emitter with an error-catching @OnEmitterEvent decorator.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,10 +21,8 @@
|
|
|
21
21
|
"test:watch": "jest --watch",
|
|
22
22
|
"test:cov": "jest --coverage",
|
|
23
23
|
"example:complex": "ts-node --project tsconfig.examples.json examples/main.ts",
|
|
24
|
-
"prepublishOnly": "npm run clean && npm run build",
|
|
25
24
|
"preversion": "npm run lint && npm test && npm run build",
|
|
26
|
-
"
|
|
27
|
-
"publish": "npm publish --access public",
|
|
25
|
+
"release": "[ \"$(git rev-parse --abbrev-ref HEAD)\" = \"main\" ] || { echo 'Error: not on main branch'; exit 1; } && [ -z \"$(git status --porcelain)\" ] || { echo 'Error: uncommitted changes'; exit 1; } && [ -z \"$(git log @{u}..HEAD --oneline)\" ] || { echo 'Error: unpushed commits'; exit 1; } && [ -z \"$(git log HEAD..@{u} --oneline)\" ] || { echo 'Error: local main is behind origin/main'; exit 1; } && npm publish --access public",
|
|
28
26
|
"bump:patch": "npm version patch --no-git-tag-version",
|
|
29
27
|
"bump:minor": "npm version minor --no-git-tag-version",
|
|
30
28
|
"bump:major": "npm version major --no-git-tag-version"
|