node-publisher 3.3.0 → 3.4.0

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.
@@ -0,0 +1,4 @@
1
+ # CODEOWNERS file
2
+ # This file defines who should review code changes in this repository.
3
+
4
+ * @zendesk/guide
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ### v3.3.0 (2025-09-03)
2
+
3
+ #### Pull requests
4
+
5
+ - [#63](https://github.com/zendesk/node-publisher/pull/63) Yarn berry ([Albert Fernández](mailto:afernandez@zendesk.com))
6
+
7
+ #### Commits to master
8
+
9
+ - [v3.3.0](https://github.com/zendesk/node-publisher/commit/66a2c7bc585fefea462900fb182b15348783be41) ([Sune Simonsen](mailto:sune@we-knowhow.dk))
10
+ - [Update changelog](https://github.com/zendesk/node-publisher/commit/54a067bd971bd8a9ffe749f4058d9fe89288f200) ([Sune Simonsen](mailto:sune@we-knowhow.dk))
11
+
1
12
  ### v3.2.1 (2025-07-11)
2
13
 
3
14
  #### Pull requests
package/README.md CHANGED
@@ -14,6 +14,7 @@ This is a configurable release automation tool for node packages inspired by [cr
14
14
  ![repo-checks](https://github.com/zendesk/node-publisher/workflows/repo-checks/badge.svg)
15
15
 
16
16
  # Getting started
17
+
17
18
  ## 1. Install the package:
18
19
 
19
20
  ```sh
@@ -50,7 +51,7 @@ For more info, read the [Prerequisites section](#prerequisites).
50
51
  npm run release -- <version>
51
52
  ```
52
53
 
53
- or
54
+ or
54
55
 
55
56
  ```sh
56
57
  yarn release <version>
@@ -127,6 +128,7 @@ The lifecycle hooks can be redefined in the form of a configurable YAML file. Ad
127
128
  * `rollback [Boolean]` - rolls back to the latest commit fetched after the `prepare` step. The rollback itself happens in the `after_failure` step and only if this flag is set to `true`.
128
129
 
129
130
  ## Default configuration
131
+
130
132
  The exact configuration depends on the npm client being used and the contents of your `package.json` file. In case you use yarn, the default configuration will look like this:
131
133
 
132
134
  ```yaml
@@ -165,11 +167,13 @@ changelog:
165
167
  # Development
166
168
 
167
169
  ## Install packages
170
+
168
171
  ```sh
169
172
  yarn
170
173
  ```
171
174
 
172
175
  ## Release a new version
176
+
173
177
  ```sh
174
178
  yarn release <version>
175
179
  ```
@@ -186,6 +190,7 @@ Contributing to `node-publisher` is fairly easy, as long as the following steps
186
190
  6. Mention one or more of the maintainers to get the Pull Request approved and merged
187
191
 
188
192
  ## Maintainers
193
+
189
194
  - Attila Večerek ([@vecerek](https://github.com/vecerek/))
190
195
  - Sune Simonsen ([@sunesimonsen](https://github.com/sunesimonsen/))
191
196
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-publisher",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "A configurable release automation tool inspired by create-react-app and Travis CI.",
5
5
  "author": "Attila Večerek <avecerek@zendesk.com>",
6
6
  "homepage": "https://github.com/zendesk/node-publisher#readme",
@@ -21,12 +21,16 @@
21
21
  "test": "jest",
22
22
  "travis": "yarn lint && yarn test"
23
23
  },
24
+ "resolutions": {
25
+ "tmp": "^0.2.4",
26
+ "form-data": "^3.0.4"
27
+ },
24
28
  "dependencies": {
25
29
  "check-node-version": "3.2.0",
26
30
  "commander": "2.15.1",
27
31
  "inquirer": "6.5.0",
28
- "js-yaml": "3.13.1",
29
- "offline-github-changelog": "3.1.0",
32
+ "js-yaml": "4.1.1",
33
+ "offline-github-changelog": "4.0.0",
30
34
  "semver": "7.7.2"
31
35
  },
32
36
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  const yaml = require('js-yaml');
2
2
 
3
- const readReleaseConfig = str => yaml.safeLoad(str);
3
+ const readReleaseConfig = str => yaml.load(str);
4
4
 
5
5
  const buildReleaseConfig = env => {
6
6
  const client = env.npmClient === 'yarn-berry' ? 'yarn' : env.npmClient;