@kubohiroya/turbowarp-title-menu 0.2.6 → 0.4.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 +5 -2
- package/README.md +7 -4
- package/assets/block-icon.svg +1 -0
- package/dist/turbowarp-title-menu.js +1620 -1620
- package/docs/index.html +9 -3
- package/package.json +7 -6
package/README.ja.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# TurboWarp Title Menu
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
[English](README.md) | 日本語
|
|
4
6
|
|
|
5
7
|
TurboWarp拡張やPackager実行環境で使える、汎用のタイトル表示、アプリケーションメニュー、DSLファイル保管機構です。
|
|
6
8
|
|
|
@@ -33,7 +35,7 @@ IndexedDBはoriginごとに分かれます。TurboWarp Web、TurboWarp Desktop
|
|
|
33
35
|
## インストール
|
|
34
36
|
|
|
35
37
|
```bash
|
|
36
|
-
pnpm add --save-exact @kubohiroya/turbowarp-title-menu@0.
|
|
38
|
+
pnpm add --save-exact @kubohiroya/turbowarp-title-menu@0.4.0
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
TurboWarpでは `dist/turbowarp-title-menu.js` をCustom Extensionとして読み込み、sandboxなしの実行を許可します。
|
|
@@ -230,6 +232,7 @@ import {
|
|
|
230
232
|
## 開発
|
|
231
233
|
|
|
232
234
|
```bash
|
|
235
|
+
npm install --global corepack@latest
|
|
233
236
|
corepack enable
|
|
234
237
|
pnpm install --frozen-lockfile
|
|
235
238
|
pnpm run check
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# TurboWarp Title Menu
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
English | [日本語](README.ja.md)
|
|
4
6
|
|
|
5
7
|
Reusable title, application menu, and DSL source storage controls for TurboWarp extensions and packaged projects.
|
|
6
8
|
|
|
@@ -48,7 +50,7 @@ The reviewed JavaScript build is committed to this repository, so users do not n
|
|
|
48
50
|
Install an exact version that you have reviewed:
|
|
49
51
|
|
|
50
52
|
```bash
|
|
51
|
-
pnpm add --save-exact @kubohiroya/turbowarp-title-menu@0.
|
|
53
|
+
pnpm add --save-exact @kubohiroya/turbowarp-title-menu@0.4.0
|
|
52
54
|
```
|
|
53
55
|
|
|
54
56
|
Load the standalone bundle from:
|
|
@@ -60,7 +62,7 @@ node_modules/@kubohiroya/turbowarp-title-menu/dist/turbowarp-title-menu.js
|
|
|
60
62
|
A version-pinned CDN URL is:
|
|
61
63
|
|
|
62
64
|
```text
|
|
63
|
-
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-title-menu@0.
|
|
65
|
+
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-title-menu@0.4.0/dist/turbowarp-title-menu.js
|
|
64
66
|
```
|
|
65
67
|
|
|
66
68
|
## Quick start
|
|
@@ -312,9 +314,10 @@ menu.show('en');
|
|
|
312
314
|
|
|
313
315
|
## Development
|
|
314
316
|
|
|
315
|
-
Use Node.js
|
|
317
|
+
Use Node.js 24 or later and the pnpm version declared by `packageManager`.
|
|
316
318
|
|
|
317
319
|
```bash
|
|
320
|
+
npm install --global corepack@latest
|
|
318
321
|
corepack enable
|
|
319
322
|
pnpm install --frozen-lockfile
|
|
320
323
|
pnpm run check
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><rect x="5" y="8" width="38" height="32" rx="4" fill="#007d66"/><rect x="9" y="12" width="30" height="24" rx="2" fill="#f4fffb"/><path d="M15 19h18M15 24h18M15 29h12" stroke="#007d66" stroke-width="3" stroke-linecap="round"/></svg>
|