eve-esi-client-ts 1.1.36 → 1.1.38
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/generate.yml +19 -10
- package/ESI_VERSION +1 -1
- package/README.md +2 -2
- package/package.json +1 -1
|
@@ -54,9 +54,10 @@ jobs:
|
|
|
54
54
|
name: Update dependencies
|
|
55
55
|
runs-on: ubuntu-latest
|
|
56
56
|
needs: check-update
|
|
57
|
-
if: needs.check-update.outputs.changed == 'false'
|
|
58
57
|
env:
|
|
59
58
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
59
|
+
outputs:
|
|
60
|
+
changed: ${{ steps.check_changes.outputs.changed }}
|
|
60
61
|
steps:
|
|
61
62
|
- uses: actions/checkout@v4
|
|
62
63
|
with:
|
|
@@ -65,15 +66,22 @@ jobs:
|
|
|
65
66
|
run: |
|
|
66
67
|
git reset --hard
|
|
67
68
|
npm update --save
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
git push
|
|
69
|
+
- name: Check if dependencies changed
|
|
70
|
+
id: check_changes
|
|
71
|
+
run: |
|
|
72
|
+
if [ -n "$(git status --porcelain -- package.json package-lock.json)" ]; then
|
|
73
|
+
echo "changed=true" >> $GITHUB_OUTPUT
|
|
74
74
|
else
|
|
75
|
-
echo "
|
|
75
|
+
echo "changed=false" >> $GITHUB_OUTPUT
|
|
76
76
|
fi
|
|
77
|
+
- name: Commit and push if changed
|
|
78
|
+
if: steps.check_changes.outputs.changed == 'true'
|
|
79
|
+
run: |
|
|
80
|
+
git config --global user.name "github-actions[bot]"
|
|
81
|
+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
|
82
|
+
git add package.json package-lock.json
|
|
83
|
+
git commit -m "Update dependencies"
|
|
84
|
+
git push
|
|
77
85
|
|
|
78
86
|
generate-client:
|
|
79
87
|
name: Generate TypeScript Client
|
|
@@ -95,7 +103,6 @@ jobs:
|
|
|
95
103
|
else
|
|
96
104
|
VERSION=$(npm version patch --tag-version-prefix='' --git-tag-version false)
|
|
97
105
|
fi
|
|
98
|
-
echo "${{ needs.check-update.outputs.remote_version }}" > ESI_VERSION
|
|
99
106
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
|
100
107
|
- name: Generate TypeScript Client
|
|
101
108
|
uses: openapi-generators/openapitools-generator-action@v1
|
|
@@ -114,11 +121,13 @@ jobs:
|
|
|
114
121
|
rsync -a --remove-source-files typescript-axios-client/ .
|
|
115
122
|
rm -rf typescript-axios-client
|
|
116
123
|
npm update --save
|
|
124
|
+
echo "${{ needs.check-update.outputs.remote_version }}" > ESI_VERSION
|
|
117
125
|
git add .
|
|
118
126
|
git commit -m "Auto generate: ${{ steps.bump.outputs.version }} (ESI-${{ needs.check-update.outputs.remote_version }})"
|
|
119
127
|
git push
|
|
120
128
|
|
|
121
129
|
publish:
|
|
122
130
|
name: Publish to NPM
|
|
123
|
-
needs: generate-client
|
|
131
|
+
needs: [generate-client, update-dependencies]
|
|
132
|
+
if: needs.generate-client.result == 'success' || needs.update-dependencies.outputs.changed == 'true'
|
|
124
133
|
uses: ./.github/workflows/publish.yml
|
package/ESI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2026-06-09
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## eve-esi-client-ts@1.1.
|
|
1
|
+
## eve-esi-client-ts@1.1.38
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install eve-esi-client-ts@1.1.
|
|
39
|
+
npm install eve-esi-client-ts@1.1.38 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|