node-bin-gen 11.3.0 → 12.0.0
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.
|
@@ -5,19 +5,26 @@ on:
|
|
|
5
5
|
- cron: '0 0 * * *' # everyday
|
|
6
6
|
workflow_dispatch:
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
id-token: write
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
8
12
|
jobs:
|
|
9
13
|
sync-node-versions:
|
|
10
14
|
runs-on: ubuntu-latest
|
|
11
15
|
steps:
|
|
12
16
|
- name: Checkout repository
|
|
13
|
-
uses: actions/checkout@
|
|
17
|
+
uses: actions/checkout@v4
|
|
14
18
|
|
|
15
19
|
- name: Set up Node.js
|
|
16
|
-
uses: actions/setup-node@
|
|
20
|
+
uses: actions/setup-node@v4
|
|
17
21
|
with:
|
|
18
22
|
node-version: '20.x'
|
|
19
23
|
registry-url: 'https://registry.npmjs.org' # set ~/.npmrc need add repository secrets in the settings
|
|
20
24
|
|
|
25
|
+
- name: Ensure latest npm 11
|
|
26
|
+
run: npm install -g npm@11
|
|
27
|
+
|
|
21
28
|
- name: Install dependencies
|
|
22
29
|
run: npm ci
|
|
23
30
|
|
|
@@ -33,7 +40,6 @@ jobs:
|
|
|
33
40
|
- name: Check each version and sync if not published
|
|
34
41
|
run: |
|
|
35
42
|
#set -x
|
|
36
|
-
npm whoami # check token access
|
|
37
43
|
while IFS= read -r VERSION; do
|
|
38
44
|
echo "Checking version $VERSION..."
|
|
39
45
|
if [ -z "$(npm view node@$VERSION)" ]; then
|
|
@@ -57,5 +63,3 @@ jobs:
|
|
|
57
63
|
fi
|
|
58
64
|
done < versions.txt
|
|
59
65
|
#set +x
|
|
60
|
-
env:
|
|
61
|
-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-bin-gen",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "Generate a node binary package",
|
|
5
5
|
"author": "Aria Stewart <aredridel@dinhe.net>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"node": ">=18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"rimraf": "^
|
|
18
|
+
"rimraf": "^6.0.0",
|
|
19
19
|
"verror": "^1.9.0",
|
|
20
|
-
"yargs": "^
|
|
20
|
+
"yargs": "^18.0.0"
|
|
21
21
|
},
|
|
22
22
|
"eslintConfig": {
|
|
23
23
|
"sourceType": "module",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"eslint": "^
|
|
43
|
+
"eslint": "^9.0.0"
|
|
44
44
|
}
|
|
45
45
|
}
|