utilitas 1990.1.30 → 1990.1.35
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/npm-publish.yml +10 -11
- package/lib/manifest.mjs +2 -2
- package/package.json +4 -4
|
@@ -19,22 +19,21 @@ jobs:
|
|
|
19
19
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
20
20
|
- uses: actions/setup-node@v3
|
|
21
21
|
with:
|
|
22
|
-
node-version:
|
|
22
|
+
node-version: 18
|
|
23
|
+
registry-url: https://registry.npmjs.org/
|
|
23
24
|
- run: git config --global user.name 'Leask Wong'
|
|
24
25
|
- run: git config --global user.email 'i@leaskh.com'
|
|
25
26
|
- run: npm version patch -m "[RELEASE] %s"
|
|
26
27
|
- run: git push
|
|
28
|
+
- run: npm install
|
|
29
|
+
- run: node build.mjs
|
|
27
30
|
- run: npm test
|
|
28
|
-
|
|
29
|
-
publish-npm:
|
|
30
|
-
needs: build
|
|
31
|
-
runs-on: ubuntu-latest
|
|
32
|
-
steps:
|
|
33
|
-
- uses: actions/checkout@v3
|
|
34
|
-
- uses: actions/setup-node@v3
|
|
35
|
-
with:
|
|
36
|
-
node-version: 16
|
|
37
|
-
registry-url: https://registry.npmjs.org/
|
|
38
31
|
- run: npm publish
|
|
39
32
|
env:
|
|
40
33
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
34
|
+
|
|
35
|
+
# publish-npm:
|
|
36
|
+
# needs: build
|
|
37
|
+
# runs-on: ubuntu-latest
|
|
38
|
+
# steps:
|
|
39
|
+
# - uses: actions/checkout@v3
|
package/lib/manifest.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const manifest = {
|
|
2
2
|
"name": "utilitas",
|
|
3
3
|
"description": "Just another common utility for JavaScript.",
|
|
4
|
-
"version": "1990.1.
|
|
4
|
+
"version": "1990.1.35",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -30,7 +30,7 @@ const manifest = {
|
|
|
30
30
|
"mysql2": "^2.3.3",
|
|
31
31
|
"node-mailjet": "^3.3.13",
|
|
32
32
|
"nopt": "^5.0.0",
|
|
33
|
-
"ping": "^0.4.
|
|
33
|
+
"ping": "^0.4.2",
|
|
34
34
|
"qrcode": "^1.5.0",
|
|
35
35
|
"tail": "^2.2.4",
|
|
36
36
|
"telegraf": "^4.7.0",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "utilitas",
|
|
3
3
|
"description": "Just another common utility for JavaScript.",
|
|
4
|
-
"version": "1990.1.
|
|
4
|
+
"version": "1990.1.35",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/utilitas",
|
|
7
7
|
"main": "index.mjs",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"updep": "npx ncu -u && npm install && wget https://raw.githubusercontent.com/Marak/colors.js/master/lib/styles.js -O ./lib/style.cjs",
|
|
17
17
|
"gitsync": "( git commit -am \"Released @ `date`\" || true ) && git pull && git push",
|
|
18
18
|
"pack": "./node_modules/.bin/webpack-cli --config webpack.config.mjs",
|
|
19
|
-
"build": "npm run updep && ( git commit -am 'update dependencies' || true ) &&
|
|
20
|
-
"
|
|
19
|
+
"build": "npm run updep && ( git commit -am 'update dependencies' || true ) && node build.mjs && npm run pack",
|
|
20
|
+
"pub": "npm run build && npm run gitsync",
|
|
21
21
|
"beta": "npm publish --tag beta"
|
|
22
22
|
},
|
|
23
23
|
"author": "Leask Wong <i@leaskh.com>",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"mysql2": "^2.3.3",
|
|
42
42
|
"node-mailjet": "^3.3.13",
|
|
43
43
|
"nopt": "^5.0.0",
|
|
44
|
-
"ping": "^0.4.
|
|
44
|
+
"ping": "^0.4.2",
|
|
45
45
|
"qrcode": "^1.5.0",
|
|
46
46
|
"tail": "^2.2.4",
|
|
47
47
|
"telegraf": "^4.7.0",
|