pubface 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.
@@ -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,32 @@
1
+ # Changelog
2
+
3
+ ## [1.0.6](https://github.com/postalsys/pubface/compare/v1.0.5...v1.0.6) (2023-09-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **license:** Changed license name ([986068f](https://github.com/postalsys/pubface/commit/986068f585b6c82c3b83ed6eb9d30463dac3a730))
9
+
10
+ ## [1.0.5](https://github.com/postalsys/pubface/compare/v1.0.4...v1.0.5) (2023-09-20)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deploy:** Added support for auto publishing ([8556f3e](https://github.com/postalsys/pubface/commit/8556f3ecd978872076f5cc84b6932495bd334532))
16
+ * **deploy:** publish as a pre-release ([450ee85](https://github.com/postalsys/pubface/commit/450ee85d34a2e959488a7811a280643cea884922))
17
+ * **deploy:** Updated build scripts ([8e53b22](https://github.com/postalsys/pubface/commit/8e53b22e64b25a58d25e8bdd832f0a39195603df))
18
+
19
+ ## [1.0.4](https://github.com/postalsys/pubface/compare/v1.0.3...v1.0.4) (2023-09-20)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **deploy:** Added support for auto publishing ([8556f3e](https://github.com/postalsys/pubface/commit/8556f3ecd978872076f5cc84b6932495bd334532))
25
+ * **deploy:** Updated build scripts ([8e53b22](https://github.com/postalsys/pubface/commit/8e53b22e64b25a58d25e8bdd832f0a39195603df))
26
+
27
+ ## [1.0.3](https://github.com/postalsys/pubface/compare/v1.0.2...v1.0.3) (2023-09-20)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **deploy:** Added support for auto publishing ([8556f3e](https://github.com/postalsys/pubface/commit/8556f3ecd978872076f5cc84b6932495bd334532))
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2020-2021 Postal Systems OÜ
1
+ Copyright (c) 2020-2023 Postal Systems OÜ
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -69,4 +69,4 @@ Output is an array of interfaces:
69
69
 
70
70
  ## License
71
71
 
72
- **MIT**
72
+ Pubface is licensed under the **MIT No Attribution license**
@@ -0,0 +1,3 @@
1
+ {
2
+ "fields": ["name", "licenseType", "link", "installedVersion", "author"]
3
+ }
package/package.json CHANGED
@@ -1,15 +1,22 @@
1
1
  {
2
2
  "name": "pubface",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
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-dist": "pkg package.json"
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.1",
22
- "nodemailer": "6.8.0"
28
+ "ipaddr.js": "2.1.0",
29
+ "nodemailer": "6.9.5"
23
30
  },
24
31
  "devDependencies": {
25
- "pkg": "5.8.0"
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
- "_targets": [
32
- "node16-macos-x64"
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
  }