pubface 1.0.4 → 1.0.5
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 +38 -0
- package/CHANGELOG.md +25 -0
- package/LICENSE.txt +1 -1
- package/README.md +1 -1
- package/license-report-config.json +3 -0
- package/package.json +22 -10
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
prerelease: true
|
|
21
|
+
package-name: ${{env.PACKAGE_NAME}}
|
|
22
|
+
pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
|
|
23
|
+
# The logic below handles the npm publication:
|
|
24
|
+
- uses: actions/checkout@v4
|
|
25
|
+
# these if statements ensure that a publication only occurs when
|
|
26
|
+
# a new release is created:
|
|
27
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
28
|
+
- uses: actions/setup-node@v3
|
|
29
|
+
with:
|
|
30
|
+
node-version: 18
|
|
31
|
+
registry-url: 'https://registry.npmjs.org'
|
|
32
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
33
|
+
- run: npm ci
|
|
34
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
35
|
+
- run: npm publish --provenance --access public
|
|
36
|
+
env:
|
|
37
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
38
|
+
if: ${{ steps.release.outputs.release_created }}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.0.5](https://github.com/postalsys/pubface/compare/v1.0.4...v1.0.5) (2023-09-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deploy:** Added support for auto publishing ([8556f3e](https://github.com/postalsys/pubface/commit/8556f3ecd978872076f5cc84b6932495bd334532))
|
|
9
|
+
* **deploy:** publish as a pre-release ([450ee85](https://github.com/postalsys/pubface/commit/450ee85d34a2e959488a7811a280643cea884922))
|
|
10
|
+
* **deploy:** Updated build scripts ([8e53b22](https://github.com/postalsys/pubface/commit/8e53b22e64b25a58d25e8bdd832f0a39195603df))
|
|
11
|
+
|
|
12
|
+
## [1.0.4](https://github.com/postalsys/pubface/compare/v1.0.3...v1.0.4) (2023-09-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **deploy:** Added support for auto publishing ([8556f3e](https://github.com/postalsys/pubface/commit/8556f3ecd978872076f5cc84b6932495bd334532))
|
|
18
|
+
* **deploy:** Updated build scripts ([8e53b22](https://github.com/postalsys/pubface/commit/8e53b22e64b25a58d25e8bdd832f0a39195603df))
|
|
19
|
+
|
|
20
|
+
## [1.0.3](https://github.com/postalsys/pubface/compare/v1.0.2...v1.0.3) (2023-09-20)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **deploy:** Added support for auto publishing ([8556f3e](https://github.com/postalsys/pubface/commit/8556f3ecd978872076f5cc84b6932495bd334532))
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pubface",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Resolve public network interfaces for current machine",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"build-
|
|
8
|
+
"build-source": "rm -rf node_modules package-lock.json && npm install && npm run licenses && rm -rf node_modules package-lock.json && npm install --production && rm -rf package-lock.json",
|
|
9
|
+
"build-dist": "npx pkg --compress Brotli package.json && rm -rf package-lock.json && npm install",
|
|
10
|
+
"build-dist-fast": "npx pkg --debug package.json && rm -rf package-lock.json && npm install",
|
|
11
|
+
"licenses": "license-report --only=prod --output=table --config license-report-config.json > licenses.txt"
|
|
9
12
|
},
|
|
10
13
|
"keywords": [],
|
|
11
14
|
"author": "Postal Systems OÜ",
|
|
12
|
-
"license": "MIT",
|
|
15
|
+
"license": "MIT-0",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/postalsys/pubface.git"
|
|
19
|
+
},
|
|
13
20
|
"bugs": {
|
|
14
21
|
"url": "https://github.com/postalsys/pubface/issues"
|
|
15
22
|
},
|
|
@@ -18,19 +25,24 @@
|
|
|
18
25
|
"pubface": "bin/pubface.js"
|
|
19
26
|
},
|
|
20
27
|
"dependencies": {
|
|
21
|
-
"ipaddr.js": "2.0
|
|
22
|
-
"nodemailer": "6.
|
|
28
|
+
"ipaddr.js": "2.1.0",
|
|
29
|
+
"nodemailer": "6.9.5"
|
|
23
30
|
},
|
|
24
31
|
"devDependencies": {
|
|
25
|
-
"pkg": "5.8.
|
|
32
|
+
"pkg": "5.8.1",
|
|
33
|
+
"license-report": "6.4.0"
|
|
26
34
|
},
|
|
27
35
|
"pkg": {
|
|
28
36
|
"assets": [
|
|
29
|
-
"LICENSE.txt"
|
|
37
|
+
"LICENSE.txt",
|
|
38
|
+
"licenses.txt"
|
|
30
39
|
],
|
|
31
|
-
"
|
|
32
|
-
"
|
|
40
|
+
"targets": [
|
|
41
|
+
"node18-linux-x64",
|
|
42
|
+
"node18-macos-x64",
|
|
43
|
+
"node18-macos-arm64",
|
|
44
|
+
"node18-win-x64"
|
|
33
45
|
],
|
|
34
|
-
"outputPath": "dist"
|
|
46
|
+
"outputPath": "ee-dist"
|
|
35
47
|
}
|
|
36
48
|
}
|