wrapture 0.1.33 → 0.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/publish.yml +5 -2
- package/CHANGELOG.md +18 -0
- package/api/README.md +1 -1
- package/api/utils/check-deps.md +1 -1
- package/api/utils/convert.md +1 -1
- package/api/utils/generate-wrapper.md +1 -1
- package/api/utils/log-level.md +1 -1
- package/api/wrapture.md +1 -1
- package/bin/wrapture.js +5 -5
- package/package.json +5 -5
|
@@ -29,6 +29,9 @@ jobs:
|
|
|
29
29
|
publish:
|
|
30
30
|
if: github.event.pull_request.merged == true
|
|
31
31
|
runs-on: ubuntu-latest
|
|
32
|
+
permissions:
|
|
33
|
+
contents: write # For git operations
|
|
34
|
+
id-token: write # < REQUIRED FOR OIDC
|
|
32
35
|
|
|
33
36
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
34
37
|
steps:
|
|
@@ -42,9 +45,10 @@ jobs:
|
|
|
42
45
|
uses: actions/setup-node@v4
|
|
43
46
|
with:
|
|
44
47
|
node-version: '>=22.8.0'
|
|
48
|
+
- run: npm install -g npm@latest
|
|
45
49
|
- name: Install dependencies
|
|
46
50
|
run: | # Install and link dependencies
|
|
47
|
-
npm
|
|
51
|
+
npm ci
|
|
48
52
|
git checkout -- package-lock.json
|
|
49
53
|
- name: 'Release' # Interesting step
|
|
50
54
|
run: |
|
|
@@ -52,7 +56,6 @@ jobs:
|
|
|
52
56
|
git config user.email "${{ github.actor}}@users.noreply.github.com"
|
|
53
57
|
npm run release
|
|
54
58
|
env:
|
|
55
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
56
59
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
57
60
|
notify:
|
|
58
61
|
name: Notify failed build
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.35](https://github.com/phun-ky/wrapture/compare/0.1.34...0.1.35) (2026-01-05)
|
|
4
|
+
|
|
5
|
+
### Tasks
|
|
6
|
+
|
|
7
|
+
* 🤖 bump the minor-and-patch group with 4 updates ([f71fe63](https://github.com/phun-ky/wrapture/commit/f71fe635910c3183b9c372f83282b18a54c5d268))
|
|
8
|
+
|
|
9
|
+
## [0.1.34](///compare/0.1.33...0.1.34) (2026-01-05)
|
|
10
|
+
|
|
11
|
+
### Tasks
|
|
12
|
+
|
|
13
|
+
* 🤖 bump @types/node in the major-updates group 81b6ee1
|
|
14
|
+
* 🤖 bump the major-updates group with 2 updates a24f4c9
|
|
15
|
+
* 🤖 bump the minor-and-patch group with 5 updates 57a0e5e
|
|
16
|
+
|
|
17
|
+
### Bug
|
|
18
|
+
|
|
19
|
+
* 🐛 Release with trusted publishing 2997d24
|
|
20
|
+
|
|
3
21
|
## [0.1.33](///compare/0.1.32...0.1.33) (2025-12-08)
|
|
4
22
|
|
|
5
23
|
## [0.1.32](///compare/0.1.31...0.1.32) (2025-12-02)
|
package/api/README.md
CHANGED
package/api/utils/check-deps.md
CHANGED
package/api/utils/convert.md
CHANGED
package/api/utils/log-level.md
CHANGED
package/api/wrapture.md
CHANGED
package/bin/wrapture.js
CHANGED
|
@@ -10,7 +10,7 @@ import path3 from "path";
|
|
|
10
10
|
// package.json
|
|
11
11
|
var package_default = {
|
|
12
12
|
name: "wrapture",
|
|
13
|
-
version: "0.1.
|
|
13
|
+
version: "0.1.35",
|
|
14
14
|
description: "Wrapture lets you go from a Python-trained model to deployable JavaScript with a single command. It generates TypeScript bindings and a Web/Node-compatible wrapper, using WebGPU/WASM-ready ONNX runtimes.",
|
|
15
15
|
keywords: [
|
|
16
16
|
"onnx",
|
|
@@ -54,7 +54,7 @@ var package_default = {
|
|
|
54
54
|
build: "tsup",
|
|
55
55
|
commit: "npx git-cz",
|
|
56
56
|
"docs:gen": "node ./node_modules/.bin/typedoc",
|
|
57
|
-
release: "release-it",
|
|
57
|
+
release: "npx release-it --ci",
|
|
58
58
|
start: "node ./bin/wrapture.js",
|
|
59
59
|
"style:code": "npx putout src",
|
|
60
60
|
"style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
|
|
@@ -66,21 +66,21 @@ var package_default = {
|
|
|
66
66
|
dependencies: {
|
|
67
67
|
chalk: "^5.4.1",
|
|
68
68
|
commander: "^14.0.0",
|
|
69
|
-
ora: "^
|
|
69
|
+
ora: "^9.0.0"
|
|
70
70
|
},
|
|
71
71
|
devDependencies: {
|
|
72
72
|
"@release-it/conventional-changelog": "^10.0.0",
|
|
73
73
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
74
74
|
"@rollup/plugin-terser": "^0.4.4",
|
|
75
75
|
"@stylistic/eslint-plugin": "^5.0.0",
|
|
76
|
-
"@types/node": "^
|
|
76
|
+
"@types/node": "^25.0.3",
|
|
77
77
|
cobertura: "^1.0.1",
|
|
78
78
|
eslint: "^9.20.0",
|
|
79
79
|
"eslint-config-phun-ky": "^1.0.0",
|
|
80
80
|
"git-cz": "^4.9.0",
|
|
81
81
|
"onnxruntime-web": "^1.22.0",
|
|
82
82
|
prettier: "^3.2.5",
|
|
83
|
-
putout: "^
|
|
83
|
+
putout: "^41.0.2",
|
|
84
84
|
"release-it": "^19.0.1",
|
|
85
85
|
"remark-github": "^12.0.0",
|
|
86
86
|
"remark-toc": "^9.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrapture",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "Wrapture lets you go from a Python-trained model to deployable JavaScript with a single command. It generates TypeScript bindings and a Web/Node-compatible wrapper, using WebGPU/WASM-ready ONNX runtimes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"onnx",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"build": "tsup",
|
|
45
45
|
"commit": "npx git-cz",
|
|
46
46
|
"docs:gen": "node ./node_modules/.bin/typedoc",
|
|
47
|
-
"release": "release-it",
|
|
47
|
+
"release": "npx release-it --ci",
|
|
48
48
|
"start": "node ./bin/wrapture.js",
|
|
49
49
|
"style:code": "npx putout src",
|
|
50
50
|
"style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
|
|
@@ -56,21 +56,21 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"chalk": "^5.4.1",
|
|
58
58
|
"commander": "^14.0.0",
|
|
59
|
-
"ora": "^
|
|
59
|
+
"ora": "^9.0.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@release-it/conventional-changelog": "^10.0.0",
|
|
63
63
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
64
64
|
"@rollup/plugin-terser": "^0.4.4",
|
|
65
65
|
"@stylistic/eslint-plugin": "^5.0.0",
|
|
66
|
-
"@types/node": "^
|
|
66
|
+
"@types/node": "^25.0.3",
|
|
67
67
|
"cobertura": "^1.0.1",
|
|
68
68
|
"eslint": "^9.20.0",
|
|
69
69
|
"eslint-config-phun-ky": "^1.0.0",
|
|
70
70
|
"git-cz": "^4.9.0",
|
|
71
71
|
"onnxruntime-web": "^1.22.0",
|
|
72
72
|
"prettier": "^3.2.5",
|
|
73
|
-
"putout": "^
|
|
73
|
+
"putout": "^41.0.2",
|
|
74
74
|
"release-it": "^19.0.1",
|
|
75
75
|
"remark-github": "^12.0.0",
|
|
76
76
|
"remark-toc": "^9.0.0",
|