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.
@@ -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 i
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
@@ -1,6 +1,6 @@
1
1
  # wrapture API documentation
2
2
 
3
- > Last updated 2025-12-08T14:05:22.844Z
3
+ > Last updated 2026-01-05T10:49:22.494Z
4
4
 
5
5
  ## Modules
6
6
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/check-deps
4
4
 
5
- > Last updated 2025-12-08T14:05:22.985Z
5
+ > Last updated 2026-01-05T10:49:22.645Z
6
6
 
7
7
  ## Functions
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/convert
4
4
 
5
- > Last updated 2025-12-08T14:05:23.050Z
5
+ > Last updated 2026-01-05T10:49:22.715Z
6
6
 
7
7
  ## Interfaces
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/generate-wrapper
4
4
 
5
- > Last updated 2025-12-08T14:05:23.094Z
5
+ > Last updated 2026-01-05T10:49:22.762Z
6
6
 
7
7
  ## Interfaces
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # utils/log-level
4
4
 
5
- > Last updated 2025-12-08T14:05:23.121Z
5
+ > Last updated 2026-01-05T10:49:22.789Z
6
6
 
7
7
  ## Type Aliases
8
8
 
package/api/wrapture.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # wrapture
4
4
 
5
- > Last updated 2025-12-08T14:05:23.151Z
5
+ > Last updated 2026-01-05T10:49:22.820Z
6
6
 
7
7
  ---
8
8
 
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.33",
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: "^8.2.0"
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": "^24.0.2",
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: "^40.1.9",
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.33",
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": "^8.2.0"
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": "^24.0.2",
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": "^40.1.9",
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",