@kubohiroya/turbowarp-camera-calibration 0.16.0 → 0.18.0

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/README.ja.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  **利用ガイド:** [English](https://kubohiroya.github.io/turbowarp-camera-calibration/)
12
12
 
13
+ ## 最小デモ
14
+
15
+ [TurboWarp Editor](https://turbowarp.org/editor?project_url=https%3A%2F%2Fkubohiroya.github.io%2Fturbowarp-camera-calibration%2Fsamples%2Fcapture-calibration-board.sb3) · [SB3](https://kubohiroya.github.io/turbowarp-camera-calibration/samples/capture-calibration-board.sb3) · [操作・要件・未検証範囲](samples/README.md)
16
+
17
+ 緑旗は状態表示のみです。**Start**を明示クリックするとカメラ許可を要求し、**Stop**でカメラを解放します。カメラ・HTTPS・許可が必要です。実カメラによる取得・認識・校正の成功は未検証です。自動検証は無音で初期状態と停止を確認しています。
18
+
13
19
  ## できること
14
20
 
15
21
  - Camera Sourceからleaseしたカメラに対して、実際の撮影解像度でChArUcoボードの校正セッションを実行します。
@@ -141,7 +147,7 @@ Node.jsやbuild環境を用意する必要はありません。専用buildのOpe
141
147
  検証済みのversionをexact pinします。
142
148
 
143
149
  ```bash
144
- pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.16.0
150
+ pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.18.0
145
151
  ```
146
152
 
147
153
  standalone bundle:
@@ -153,7 +159,7 @@ node_modules/@kubohiroya/turbowarp-camera-calibration/dist/camera-calibration.js
153
159
  version固定CDN URL:
154
160
 
155
161
  ```text
156
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.16.0/dist/camera-calibration.js
162
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.18.0/dist/camera-calibration.js
157
163
  ```
158
164
 
159
165
  ## クイックスタート
@@ -453,6 +459,7 @@ extension IDまたはopcode変更時はschema-aware migrationを説明し、保
453
459
  `engines`のNode.jsと、`packageManager`に宣言したpnpmを使用します。
454
460
 
455
461
  ```bash
462
+ npm install --global corepack@latest
456
463
  corepack enable
457
464
  pnpm install --frozen-lockfile
458
465
  pnpm check
package/README.md CHANGED
@@ -10,6 +10,12 @@ against a ChArUco board and publishes the resulting intrinsic calibration profil
10
10
 
11
11
  **User guide:** [English](https://kubohiroya.github.io/turbowarp-camera-calibration/)
12
12
 
13
+ ## Minimal sample
14
+
15
+ [TurboWarp Editor](https://turbowarp.org/editor?project_url=https%3A%2F%2Fkubohiroya.github.io%2Fturbowarp-camera-calibration%2Fsamples%2Fcapture-calibration-board.sb3) · [SB3](https://kubohiroya.github.io/turbowarp-camera-calibration/samples/capture-calibration-board.sb3) · [Instructions, requirements and verification limits](samples/README.md)
16
+
17
+ The green flag only displays status. Click **Start** to request camera permission; **Stop** releases the camera. A camera, HTTPS and permission are required. Physical capture, recognition and calibration success are unverified. Automated checks are silent and cover initial state and stopping.
18
+
13
19
  ## What it does
14
20
 
15
21
  - Runs a ChArUco calibration session against a camera leased from Camera Source, at the camera's real capture resolution.
@@ -145,7 +151,7 @@ and is about 3.9 MB (about 1.5 MB gzip).
145
151
  Install an exact version that you have reviewed:
146
152
 
147
153
  ```bash
148
- pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.16.0
154
+ pnpm add --save-exact @kubohiroya/turbowarp-camera-calibration@0.18.0
149
155
  ```
150
156
 
151
157
  Load the standalone bundle from:
@@ -157,7 +163,7 @@ node_modules/@kubohiroya/turbowarp-camera-calibration/dist/camera-calibration.js
157
163
  A version-pinned CDN URL is:
158
164
 
159
165
  ```text
160
- https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.16.0/dist/camera-calibration.js
166
+ https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-camera-calibration@0.18.0/dist/camera-calibration.js
161
167
  ```
162
168
 
163
169
  ## Quick start
@@ -733,9 +739,10 @@ instruct users to replace JavaScript alone when stored identifiers have changed.
733
739
 
734
740
  ## Development
735
741
 
736
- Use Node.js `>=22.18.0` and the pnpm version declared by `packageManager`.
742
+ Use Node.js `>=24` and the pnpm version declared by `packageManager`.
737
743
 
738
744
  ```bash
745
+ npm install --global corepack@latest
739
746
  corepack enable
740
747
  pnpm install --frozen-lockfile
741
748
  pnpm check
@@ -35,7 +35,7 @@ version `4.4.2`, distributed under the Apache License 2.0.
35
35
 
36
36
  The contract this extension talks to is imported from
37
37
  [`@kubohiroya/turbowarp-camera-source`](https://github.com/kubohiroya/turbowarp-camera-source) at the
38
- exact npm version `0.20.0`
38
+ exact npm version `0.22.0`
39
39
  (resolved by the committed `pnpm-lock.yaml`), through its `./runtime` sub-entry: the camera lease, the runtime capability,
40
40
  and the intrinsic profile document. That runtime entry contains declarations and a few string
41
41
  constants; its built form imports nothing, so using this entry adds no camera controller or
@@ -54,7 +54,7 @@ package's explicit editor entry and optional Source/Form registration.
54
54
 
55
55
  The pure Schema engine and diagnostic helpers used by the explicit `./editor-schema` entry
56
56
  and optional Source/Form registration
57
- come from `@kubohiroya/turbowarp-extension-data-editor/schema`, at exact npm version `0.3.4`
57
+ come from `@kubohiroya/turbowarp-extension-data-editor/schema`, at exact npm version `0.5.0`
58
58
  (resolved by the committed `pnpm-lock.yaml`).
59
59
  They do not introduce the RJSF UI into the runtime bundle. Extension Data Editor is distributed
60
60
  under the Mozilla Public License 2.0.
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@kubohiroya/turbowarp-camera-calibration",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "A TurboWarp extension that calibrates a shared Camera Source camera and publishes its intrinsic calibration profile.",
5
- "author": "Hiroya Kubo <hiroya@cuc.ac.jp>",
5
+ "author": {
6
+ "name": "Hiroya Kubo",
7
+ "email": "hiroya@cuc.ac.jp",
8
+ "url": "https://github.com/kubohiroya"
9
+ },
6
10
  "license": "MPL-2.0",
7
11
  "homepage": "https://kubohiroya.github.io/turbowarp-camera-calibration/",
8
12
  "repository": {
@@ -57,9 +61,9 @@
57
61
  "access": "public",
58
62
  "registry": "https://registry.npmjs.org/"
59
63
  },
60
- "packageManager": "pnpm@11.11.0",
64
+ "packageManager": "pnpm@11.28.8",
61
65
  "engines": {
62
- "node": ">=22.18.0"
66
+ "node": ">=24"
63
67
  },
64
68
  "scripts": {
65
69
  "dev": "vite build --watch",
@@ -73,19 +77,22 @@
73
77
  "repo:check": "node scripts/check-repo.ts",
74
78
  "pack:check": "npm pack --dry-run --ignore-scripts",
75
79
  "release:check": "pnpm publish --dry-run --access public --no-git-checks",
76
- "check": "pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run docs:check && pnpm run check:dist && pnpm run repo:check && pnpm run pack:check",
80
+ "check": "pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run docs:check && pnpm run check:dist && pnpm run repo:check && pnpm run pack:check && pnpm run samples:check",
77
81
  "check:dist": "pnpm run build && node scripts/check-dist.ts",
78
82
  "prepack": "pnpm run build",
79
83
  "opencv:check": "node scripts/check-opencv.ts",
80
84
  "board:check": "node scripts/check-board.ts",
81
85
  "build:editor": "tsc -p tsconfig.editor.json",
82
86
  "prepare": "npm run build",
83
- "release:finalize": "node scripts/finalize-release-tags.ts"
87
+ "release:finalize": "node scripts/finalize-release-tags.ts",
88
+ "samples:build": "node scripts/build-samples.mjs",
89
+ "samples:check": "node scripts/build-samples.mjs --check && node --test scripts/verify-samples.mjs",
90
+ "pages:build": "node scripts/prepare-pages.mjs"
84
91
  },
85
92
  "devDependencies": {
86
93
  "@eslint/js": "^9.39.5",
87
- "@kubohiroya/turbowarp-extension-manifest": "^0.3.2",
88
- "@kubohiroya/vite-plugin-turbowarp-extension": "^0.8.0",
94
+ "@kubohiroya/turbowarp-extension-manifest": "^0.5.0",
95
+ "@kubohiroya/vite-plugin-turbowarp-extension": "^0.10.0",
89
96
  "@types/node": "^24.13.3",
90
97
  "ajv": "^8.20.0",
91
98
  "eslint": "^9.39.5",
@@ -98,8 +105,8 @@
98
105
  },
99
106
  "dependencies": {
100
107
  "comlink": "4.4.2",
101
- "@kubohiroya/turbowarp-extension-data-editor": "^0.3.4",
102
- "@kubohiroya/turbowarp-camera-source": "^0.20.0"
108
+ "@kubohiroya/turbowarp-extension-data-editor": "^0.5.0",
109
+ "@kubohiroya/turbowarp-camera-source": "^0.22.0"
103
110
  },
104
111
  "sideEffects": [
105
112
  "src/index.ts",
@@ -149,6 +149,7 @@ extension IDまたはopcode変更時はschema-aware migrationを説明し、保
149
149
  `engines`のNode.jsと、`packageManager`に宣言したpnpmを使用します。
150
150
 
151
151
  ```bash
152
+ npm install --global corepack@latest
152
153
  corepack enable
153
154
  pnpm install --frozen-lockfile
154
155
  pnpm check
@@ -160,6 +160,7 @@ Use Node.js `<minimum version>` and the pnpm version declared by
160
160
  `packageManager`.
161
161
 
162
162
  ```bash
163
+ npm install --global corepack@latest
163
164
  corepack enable
164
165
  pnpm install --frozen-lockfile
165
166
  pnpm check