@reicek/neataptic-ts 0.1.24 → 0.1.25
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/ci.yml
CHANGED
|
@@ -11,11 +11,11 @@ jobs:
|
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v6
|
|
15
15
|
- name: Use Node.js
|
|
16
|
-
uses: actions/setup-node@
|
|
16
|
+
uses: actions/setup-node@v6
|
|
17
17
|
with:
|
|
18
|
-
node-version: '
|
|
18
|
+
node-version: '24'
|
|
19
19
|
- name: Install dependencies
|
|
20
20
|
run: npm ci
|
|
21
21
|
- name: Run tests
|
|
@@ -22,12 +22,12 @@ jobs:
|
|
|
22
22
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
23
23
|
steps:
|
|
24
24
|
- name: Checkout
|
|
25
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v6
|
|
26
26
|
|
|
27
27
|
- name: Setup Node
|
|
28
|
-
uses: actions/setup-node@
|
|
28
|
+
uses: actions/setup-node@v6
|
|
29
29
|
with:
|
|
30
|
-
node-version:
|
|
30
|
+
node-version: 24
|
|
31
31
|
|
|
32
32
|
- name: Install dependencies
|
|
33
33
|
run: npm ci
|
|
@@ -36,13 +36,13 @@ jobs:
|
|
|
36
36
|
run: npm run docs
|
|
37
37
|
|
|
38
38
|
- name: Setup Pages
|
|
39
|
-
uses: actions/configure-pages@
|
|
39
|
+
uses: actions/configure-pages@v6
|
|
40
40
|
|
|
41
41
|
- name: Upload docs artifact
|
|
42
|
-
uses: actions/upload-pages-artifact@
|
|
42
|
+
uses: actions/upload-pages-artifact@v4
|
|
43
43
|
with:
|
|
44
44
|
path: docs
|
|
45
45
|
|
|
46
46
|
- name: Deploy to GitHub Pages
|
|
47
47
|
id: deployment
|
|
48
|
-
uses: actions/deploy-pages@
|
|
48
|
+
uses: actions/deploy-pages@v5
|
|
@@ -25,15 +25,15 @@ jobs:
|
|
|
25
25
|
|
|
26
26
|
steps:
|
|
27
27
|
- name: Checkout
|
|
28
|
-
uses: actions/checkout@
|
|
28
|
+
uses: actions/checkout@v6
|
|
29
29
|
with:
|
|
30
30
|
ref: ${{ github.event.inputs.branch }}
|
|
31
31
|
fetch-depth: 0
|
|
32
32
|
|
|
33
33
|
- name: Setup Node
|
|
34
|
-
uses: actions/setup-node@
|
|
34
|
+
uses: actions/setup-node@v6
|
|
35
35
|
with:
|
|
36
|
-
node-version: '
|
|
36
|
+
node-version: '24'
|
|
37
37
|
|
|
38
38
|
- name: Install dependencies
|
|
39
39
|
run: npm ci
|
|
@@ -51,24 +51,23 @@ jobs:
|
|
|
51
51
|
LOOP_SKIP: 'false'
|
|
52
52
|
steps:
|
|
53
53
|
- name: Checkout
|
|
54
|
-
uses: actions/checkout@
|
|
54
|
+
uses: actions/checkout@v6
|
|
55
55
|
with:
|
|
56
56
|
fetch-depth: 0
|
|
57
57
|
|
|
58
58
|
- name: Use npm cache
|
|
59
59
|
if: ${{ env.LOOP_SKIP == 'false' }}
|
|
60
|
-
uses: actions/setup-node@
|
|
60
|
+
uses: actions/setup-node@v6
|
|
61
61
|
with:
|
|
62
|
-
node-version:
|
|
62
|
+
node-version: 24
|
|
63
63
|
cache: 'npm'
|
|
64
64
|
|
|
65
65
|
- name: Setup Node (npmjs)
|
|
66
66
|
if: ${{ env.LOOP_SKIP == 'false' }}
|
|
67
|
-
uses: actions/setup-node@
|
|
67
|
+
uses: actions/setup-node@v6
|
|
68
68
|
with:
|
|
69
|
-
node-version:
|
|
69
|
+
node-version: 24
|
|
70
70
|
registry-url: https://registry.npmjs.org
|
|
71
|
-
always-auth: true
|
|
72
71
|
env:
|
|
73
72
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
74
73
|
|
|
@@ -141,11 +140,10 @@ jobs:
|
|
|
141
140
|
|
|
142
141
|
- name: Setup Node (GitHub Packages)
|
|
143
142
|
if: ${{ env.LOOP_SKIP == 'false' }}
|
|
144
|
-
uses: actions/setup-node@
|
|
143
|
+
uses: actions/setup-node@v6
|
|
145
144
|
with:
|
|
146
|
-
node-version:
|
|
145
|
+
node-version: 24
|
|
147
146
|
registry-url: https://npm.pkg.github.com/
|
|
148
|
-
always-auth: true
|
|
149
147
|
env:
|
|
150
148
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
151
149
|
|
|
@@ -188,17 +186,18 @@ jobs:
|
|
|
188
186
|
fi
|
|
189
187
|
- name: Create GitHub Release
|
|
190
188
|
if: ${{ env.LOOP_SKIP == 'false' && env.RUN_PUBLISH == 'true' && github.event_name != 'release' }}
|
|
191
|
-
uses: actions/create-release@v1
|
|
192
189
|
env:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
190
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
191
|
+
run: |
|
|
192
|
+
set -e
|
|
193
|
+
TAG="v${{ steps.pkgver.outputs.version }}"
|
|
194
|
+
if gh release view "$TAG" >/dev/null 2>&1; then
|
|
195
|
+
echo "GitHub release $TAG already exists."
|
|
196
|
+
else
|
|
197
|
+
gh release create "$TAG" \
|
|
198
|
+
--title "$TAG" \
|
|
199
|
+
--notes "Automated release for version $TAG.\nGenerated by publish workflow."
|
|
200
|
+
fi
|
|
202
201
|
|
|
203
202
|
- name: Summary
|
|
204
203
|
run: |
|
|
@@ -12,14 +12,14 @@ jobs:
|
|
|
12
12
|
bump-and-release:
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
16
|
with:
|
|
17
17
|
fetch-depth: 0
|
|
18
18
|
|
|
19
19
|
- name: Setup Node
|
|
20
|
-
uses: actions/setup-node@
|
|
20
|
+
uses: actions/setup-node@v6
|
|
21
21
|
with:
|
|
22
|
-
node-version: '
|
|
22
|
+
node-version: '24'
|
|
23
23
|
|
|
24
24
|
- name: Install deps
|
|
25
25
|
run: npm ci
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reicek/neataptic-ts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"description": "Architecture-free neural network library with genetic algorithm implementations",
|
|
5
5
|
"main": "./dist/neataptic.js",
|
|
6
6
|
"module": "./dist/neataptic.js",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"@types/seedrandom": "^3.0.8",
|
|
61
61
|
"@types/webpack": "^5.28.5",
|
|
62
62
|
"@types/webpack-dev-server": "^4.7.2",
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "^8.57.
|
|
64
|
-
"@typescript-eslint/parser": "^8.57.
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^8.57.2",
|
|
64
|
+
"@typescript-eslint/parser": "^8.57.2",
|
|
65
65
|
"chai": "^6.2.2",
|
|
66
66
|
"copy-webpack-plugin": "^14.0.0",
|
|
67
67
|
"cross-env": "^10.1.0",
|
|
68
68
|
"esbuild": "^0.27.4",
|
|
69
|
-
"eslint": "^10.0
|
|
69
|
+
"eslint": "^10.1.0",
|
|
70
70
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
71
71
|
"fast-glob": "^3.3.3",
|
|
72
72
|
"fs-extra": "^11.3.4",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"jest": "^30.3.0",
|
|
75
75
|
"jest-environment-jsdom": "^30.3.0",
|
|
76
76
|
"jsdoc-to-markdown": "^9.1.3",
|
|
77
|
-
"marked": "^17.0.
|
|
77
|
+
"marked": "^17.0.5",
|
|
78
78
|
"mermaid": "^11.13.0",
|
|
79
79
|
"mkdocs": "^0.0.1",
|
|
80
80
|
"puppeteer": "^23.11.1",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"ts-morph": "^27.0.2",
|
|
84
84
|
"ts-node": "^10.9.2",
|
|
85
85
|
"typescript": "^5.9.3",
|
|
86
|
-
"undici-types": "^7.24.
|
|
86
|
+
"undici-types": "^7.24.6",
|
|
87
87
|
"webpack": "^5.105.4",
|
|
88
|
-
"webpack-cli": "^
|
|
88
|
+
"webpack-cli": "^7.0.2"
|
|
89
89
|
},
|
|
90
90
|
"repository": {
|
|
91
91
|
"type": "git",
|
|
@@ -120,6 +120,6 @@
|
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
122
|
"seedrandom": "^3.0.5",
|
|
123
|
-
"undici": "^7.24.
|
|
123
|
+
"undici": "^7.24.6"
|
|
124
124
|
}
|
|
125
125
|
}
|