@netflix/nerror 2.0.0 → 2.0.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.
- package/README.md +9 -0
- package/package.json +3 -6
package/README.md
CHANGED
|
@@ -337,3 +337,12 @@ This outputs:
|
|
|
337
337
|
`VError.fullStack` is also safe to use on regular `Error`s, so feel free to use
|
|
338
338
|
it whenever you need to extract the stack trace from an `Error`, regardless if
|
|
339
339
|
it's a `VError` or not.
|
|
340
|
+
|
|
341
|
+
## Releasing
|
|
342
|
+
|
|
343
|
+
Releases are automated with [release-please](https://github.com/googleapis/release-please#readme):
|
|
344
|
+
|
|
345
|
+
1. Merge conventional-commit-style PRs (`fix:`, `feat:`, etc.) into `master`.
|
|
346
|
+
2. `release-please` opens or updates a Release PR with the version bump and changelog.
|
|
347
|
+
3. Review and merge the Release PR when ready to ship.
|
|
348
|
+
4. `release-please` tags the release and dispatches the `npm-publish` workflow, which validates and publishes the package to npm.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netflix/nerror",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"description": "Rich errors",
|
|
6
6
|
"homepage": "https://github.com/Netflix/nerror",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=
|
|
13
|
+
"node": ">=22.0.0"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
16
|
"lib",
|
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"chai": "^4.1.2",
|
|
28
|
-
"conventional-changelog-angular": "^5.0.0",
|
|
29
|
-
"conventional-recommended-bump": "^4.0.0",
|
|
30
28
|
"documentation": "^8.0.0",
|
|
31
29
|
"eslint": "^4.19.1",
|
|
32
30
|
"eslint-config-prettier": "^2.9.0",
|
|
@@ -34,8 +32,7 @@
|
|
|
34
32
|
"mocha": "^5.2.0",
|
|
35
33
|
"nyc": "^12.0.2",
|
|
36
34
|
"prettier": "^1.13.5",
|
|
37
|
-
"tsd": "^0.33.0"
|
|
38
|
-
"unleash": "^2.0.1"
|
|
35
|
+
"tsd": "^0.33.0"
|
|
39
36
|
},
|
|
40
37
|
"dependencies": {
|
|
41
38
|
"assert-plus": "^1.0.0",
|