@zennify/sdk-js 1.42.2 → 1.43.2
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.
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
name: Publish to npm (Stable)
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
+
workflow_dispatch:
|
|
4
5
|
push:
|
|
5
6
|
branches:
|
|
6
7
|
- main
|
|
7
8
|
paths:
|
|
8
9
|
- "package.json"
|
|
9
10
|
|
|
10
|
-
permissions:
|
|
11
|
-
contents: write
|
|
12
|
-
|
|
13
11
|
jobs:
|
|
14
12
|
create-release:
|
|
13
|
+
if: "${{ startsWith(github.event.head_commit.message, 'chore: new version') }}"
|
|
15
14
|
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
16
17
|
steps:
|
|
17
18
|
- uses: actions/checkout@v4
|
|
18
19
|
|
|
@@ -34,16 +35,13 @@ jobs:
|
|
|
34
35
|
if: "${{ startsWith(github.event.head_commit.message, 'chore: new version') }}"
|
|
35
36
|
runs-on: ubuntu-latest
|
|
36
37
|
permissions:
|
|
37
|
-
|
|
38
|
-
packages: write
|
|
38
|
+
id-token: write
|
|
39
39
|
steps:
|
|
40
40
|
- uses: actions/checkout@v4
|
|
41
|
-
- uses: actions/setup-node@
|
|
41
|
+
- uses: actions/setup-node@v4
|
|
42
42
|
with:
|
|
43
|
-
node-version:
|
|
43
|
+
node-version: 24
|
|
44
44
|
registry-url: https://registry.npmjs.org/
|
|
45
45
|
- run: npm ci
|
|
46
46
|
- run: npm run build
|
|
47
|
-
- run: npm publish --access public
|
|
48
|
-
env:
|
|
49
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
47
|
+
- run: npm publish --access public
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zennify/sdk-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.2",
|
|
4
4
|
"description": "A simple package to work with https://api.zennify.app",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"types": "./types/main.d.ts",
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@types/node": "^20.19.
|
|
18
|
-
"discord.js": "^14.
|
|
19
|
-
"typescript": "^5.
|
|
17
|
+
"@types/node": "^20.19.30",
|
|
18
|
+
"discord.js": "^14.25.1",
|
|
19
|
+
"typescript": "^5.9.3"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "tsc"
|