@postalsys/certs 1.0.4 → 1.0.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/release.yaml +37 -0
- package/CHANGELOG.md +8 -0
- package/package.json +12 -7
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- master
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: write
|
|
8
|
+
pull-requests: write
|
|
9
|
+
id-token: write
|
|
10
|
+
|
|
11
|
+
name: release
|
|
12
|
+
jobs:
|
|
13
|
+
release-please:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: google-github-actions/release-please-action@v3
|
|
17
|
+
id: release
|
|
18
|
+
with:
|
|
19
|
+
release-type: node
|
|
20
|
+
package-name: ${{vars.NPM_MODULE_NAME}}
|
|
21
|
+
pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
|
|
22
|
+
# The logic below handles the npm publication:
|
|
23
|
+
- uses: actions/checkout@v3
|
|
24
|
+
# these if statements ensure that a publication only occurs when
|
|
25
|
+
# a new release is created:
|
|
26
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
27
|
+
- uses: actions/setup-node@v3
|
|
28
|
+
with:
|
|
29
|
+
node-version: 18
|
|
30
|
+
registry-url: 'https://registry.npmjs.org'
|
|
31
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
32
|
+
- run: npm ci
|
|
33
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
34
|
+
- run: npm publish --provenance --access public
|
|
35
|
+
env:
|
|
36
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
37
|
+
if: ${{ steps.release.outputs.release_created }}
|
package/CHANGELOG.md
ADDED
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postalsys/certs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Manage Let's Encrypt certificates",
|
|
5
5
|
"main": "lib/certs.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"update": "rm -rf node_modules package-lock.json && ncu -u && npm install"
|
|
8
9
|
},
|
|
9
10
|
"keywords": [],
|
|
10
11
|
"author": {
|
|
@@ -12,20 +13,24 @@
|
|
|
12
13
|
"email": "acme@postalsys.com"
|
|
13
14
|
},
|
|
14
15
|
"license": "ISC",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/postalsys/certs.git"
|
|
19
|
+
},
|
|
15
20
|
"devDependencies": {
|
|
16
21
|
"eslint-config-nodemailer": "1.2.0",
|
|
17
|
-
"eslint-config-prettier": "
|
|
22
|
+
"eslint-config-prettier": "9.0.0",
|
|
18
23
|
"express": "4.18.2",
|
|
19
|
-
"ioredis": "5.3.
|
|
24
|
+
"ioredis": "5.3.2"
|
|
20
25
|
},
|
|
21
26
|
"dependencies": {
|
|
22
27
|
"@root/acme": "3.1.0",
|
|
23
28
|
"ioredfour": "1.2.0-ioredis-07",
|
|
24
|
-
"joi": "17.
|
|
29
|
+
"joi": "17.11.0",
|
|
25
30
|
"msgpack5": "6.0.2",
|
|
26
31
|
"pem-jwk": "2.0.0",
|
|
27
|
-
"pino": "8.
|
|
32
|
+
"pino": "8.16.0",
|
|
28
33
|
"punycode": "2.3.0",
|
|
29
|
-
"uuid": "9.0.
|
|
34
|
+
"uuid": "9.0.1"
|
|
30
35
|
}
|
|
31
36
|
}
|