express-version-route 1.2.4 → 1.2.6
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/.github/workflows/main.yml +7 -2
- package/README.md +0 -5
- package/package.json +6 -2
|
@@ -32,15 +32,20 @@ jobs:
|
|
|
32
32
|
name: do semantic release
|
|
33
33
|
runs-on: 'ubuntu-latest'
|
|
34
34
|
needs: build
|
|
35
|
+
permissions:
|
|
36
|
+
contents: write # to be able to publish a GitHub release
|
|
37
|
+
issues: write # to be able to comment on released issues
|
|
38
|
+
pull-requests: write # to be able to comment on released pull requests
|
|
39
|
+
id-token: write # to enable use of OIDC for npm provenance
|
|
35
40
|
steps:
|
|
36
41
|
- uses: actions/checkout@v1
|
|
37
42
|
- uses: actions/setup-node@v1
|
|
38
43
|
with:
|
|
39
|
-
node-version: '
|
|
44
|
+
node-version: '24'
|
|
40
45
|
- name: install dependencies
|
|
41
46
|
run: yarn install --ignore-engines
|
|
42
47
|
- name: release
|
|
43
|
-
run:
|
|
48
|
+
run: npx semantic-release@latest
|
|
44
49
|
env:
|
|
45
50
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
46
51
|
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
|
package/README.md
CHANGED
|
@@ -5,11 +5,6 @@
|
|
|
5
5
|
[](https://github.com/lirantal/express-version-route/actions?query=workflow%3ACI)
|
|
6
6
|
[](https://codecov.io/gh/lirantal/express-version-route)
|
|
7
7
|
[](https://www.npmjs.org/package/express-version-route)
|
|
8
|
-
[](https://snyk.io/test/github/lirantal/express-version-route)
|
|
9
|
-
[](https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md
|
|
10
|
-
)
|
|
11
|
-
|
|
12
|
-
[](https://snyk.io/advisor/npm-package/express-version-route)
|
|
13
8
|
|
|
14
9
|
This npm package provides an Express middleware to load route controllers based on api versions.
|
|
15
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "express-version-route",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "provides middleware to load controllers based on api versions",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"husky": "^3.0.0",
|
|
41
41
|
"nyc": "^13.2.0",
|
|
42
42
|
"opn-cli": "^4.0.0",
|
|
43
|
-
"semantic-release": "^
|
|
43
|
+
"semantic-release": "^23.0.0",
|
|
44
44
|
"standard": "^12.0.0"
|
|
45
45
|
},
|
|
46
46
|
"nyc": {
|
|
@@ -131,6 +131,10 @@
|
|
|
131
131
|
]
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
|
+
"publishConfig": {
|
|
135
|
+
"provenance": true,
|
|
136
|
+
"access": "public"
|
|
137
|
+
},
|
|
134
138
|
"dependencies": {
|
|
135
139
|
"semver": "^6.3.0"
|
|
136
140
|
}
|