node-publisher 3.4.0 → 3.4.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/CHANGELOG.md +14 -0
- package/README.md +11 -3
- package/bin/node-publisher-eject +0 -0
- package/bin/node-publisher-release +0 -0
- package/bin/node-publisher-setup +0 -0
- package/package.json +11 -6
- package/.github/CODEOWNERS +0 -4
- package/.github/workflows/actions.yml +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
### v3.4.0 (2026-02-13)
|
|
2
|
+
|
|
3
|
+
#### Pull requests
|
|
4
|
+
|
|
5
|
+
- [#67](https://github.com/zendesk/node-publisher/pull/67) Fix missing method ([Sune Simonsen](mailto:sune@we-knowhow.dk))
|
|
6
|
+
- [#66](https://github.com/zendesk/node-publisher/pull/66) Fix dependency security vulnerabilities ([Daria Radu](mailto:daria.radu@zendesk.com), [Sune Simonsen](mailto:sune@we-knowhow.dk))
|
|
7
|
+
|
|
8
|
+
#### Commits to master
|
|
9
|
+
|
|
10
|
+
- [v3.4.0](https://github.com/zendesk/node-publisher/commit/b8dd1babc44b361d1362ccfef4df1f67c8b21738) ([Sune Simonsen](mailto:sune@we-knowhow.dk))
|
|
11
|
+
- [Small readme tweaks](https://github.com/zendesk/node-publisher/commit/76d1195a305dc59d5d69f0b5d2b68aa86fab1ca8) ([Sune Simonsen](mailto:sune@we-knowhow.dk))
|
|
12
|
+
- [Add CODEOWNERS file with team @zendesk\/guide \(\#65\)](https://github.com/zendesk/node-publisher/commit/641ae99cec9acc2857984ea986b31975d6c43f29) ([zd-svc-gha-ci-platform](mailto:zd-svc-gha-ci-platform@zendesk.com))
|
|
13
|
+
- [Update changelog](https://github.com/zendesk/node-publisher/commit/d293180673485aa8cb4e97cef18b1d78c9034841) ([Sune Simonsen](mailto:sune@we-knowhow.dk))
|
|
14
|
+
|
|
1
15
|
### v3.3.0 (2025-09-03)
|
|
2
16
|
|
|
3
17
|
#### Pull requests
|
package/README.md
CHANGED
|
@@ -174,9 +174,17 @@ yarn
|
|
|
174
174
|
|
|
175
175
|
## Release a new version
|
|
176
176
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
`node-publisher` is published to npm from CI via the [`npm publish`](.github/workflows/npm-publish.yml) GitHub Actions workflow — no local npm login is required.
|
|
178
|
+
|
|
179
|
+
1. **Bump the version in a PR.** Run `yarn version <patch|minor|major>` (this edits the `version` field in `package.json`; it does not create a commit or tag), or edit the field by hand. Commit, open a PR, and merge to `master`.
|
|
180
|
+
2. **Publish.** Go to **Actions → npm publish → Run workflow** and run it against `master`. This calls the shared [`zendesk/gw`](https://github.com/zendesk/gw/blob/main/.github/workflows/npm-publication.yml) reusable workflow, which builds the package and runs `yarn npm publish` to the Zendesk npmjs org.
|
|
181
|
+
|
|
182
|
+
> **Note:** publishing is restricted to the required reviewers configured on the `npm-publish` GitHub environment. Only those admins can approve and run a release.
|
|
183
|
+
|
|
184
|
+
**Prerequisites:**
|
|
185
|
+
|
|
186
|
+
- The `npm-publish` GitHub environment must exist on the repository with the `NPM_TOKEN` and `NPM_TOTP_DEVICE` secrets configured (managed via #ask-packaging).
|
|
187
|
+
- The `version` in `package.json` must be higher than the latest version already on [npmjs.com](https://www.npmjs.com/package/node-publisher) — npm rejects re-publishing an existing version.
|
|
180
188
|
|
|
181
189
|
# Contributing
|
|
182
190
|
|
package/bin/node-publisher-eject
CHANGED
|
File without changes
|
|
File without changes
|
package/bin/node-publisher-setup
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-publisher",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
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",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"bin": "./bin/node-publisher",
|
|
16
16
|
"scripts": {
|
|
17
|
+
"build": "echo 'no build step required'",
|
|
17
18
|
"coverage": "jest --coverage",
|
|
18
19
|
"lint": "eslint src/**/*.js bin/**",
|
|
19
20
|
"lint-staged": "lint-staged",
|
|
@@ -22,14 +23,18 @@
|
|
|
22
23
|
"travis": "yarn lint && yarn test"
|
|
23
24
|
},
|
|
24
25
|
"resolutions": {
|
|
25
|
-
"tmp": "^0.2.
|
|
26
|
-
"form-data": "^3.0.
|
|
26
|
+
"tmp": "^0.2.6",
|
|
27
|
+
"form-data": "^3.0.5",
|
|
28
|
+
"lodash": "^4.18.1",
|
|
29
|
+
"flatted": "^3.4.2",
|
|
30
|
+
"filelist/minimatch": "^5.1.9",
|
|
31
|
+
"brace-expansion": "^1.1.13"
|
|
27
32
|
},
|
|
28
33
|
"dependencies": {
|
|
29
34
|
"check-node-version": "3.2.0",
|
|
30
35
|
"commander": "2.15.1",
|
|
31
36
|
"inquirer": "6.5.0",
|
|
32
|
-
"js-yaml": "4.
|
|
37
|
+
"js-yaml": "4.3.0",
|
|
33
38
|
"offline-github-changelog": "4.0.0",
|
|
34
39
|
"semver": "7.7.2"
|
|
35
40
|
},
|
|
@@ -79,6 +84,6 @@
|
|
|
79
84
|
"git add"
|
|
80
85
|
]
|
|
81
86
|
},
|
|
82
|
-
"packageManager": "yarn@
|
|
87
|
+
"packageManager": "yarn@4.17.1",
|
|
83
88
|
"pre-commit": "lint-staged"
|
|
84
|
-
}
|
|
89
|
+
}
|
package/.github/CODEOWNERS
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
name: repo-checks
|
|
2
|
-
on: [push]
|
|
3
|
-
jobs:
|
|
4
|
-
main:
|
|
5
|
-
name: yarn-simple
|
|
6
|
-
runs-on: ubuntu-latest
|
|
7
|
-
steps:
|
|
8
|
-
- uses: zendesk/checkout@v2
|
|
9
|
-
- name: Read .nvmrc
|
|
10
|
-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
|
|
11
|
-
id: node-read-nvmrc
|
|
12
|
-
- uses: zendesk/setup-node@v2.1.2
|
|
13
|
-
with:
|
|
14
|
-
node-version: "${{ steps.node-read-nvmrc.outputs.NVMRC }}"
|
|
15
|
-
- name: yarn test
|
|
16
|
-
run: |
|
|
17
|
-
yarn install
|
|
18
|
-
yarn travis
|
|
19
|
-
|