@bedrockkit/cli 1.1.0 → 1.1.1
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.en.md +4 -3
- package/README.md +1 -1
- package/package.json +23 -23
package/README.en.md
CHANGED
|
@@ -91,9 +91,10 @@ Minimal example of `bkit.config.json`:
|
|
|
91
91
|
- `bkit deps` – Install selected Script API dependencies via npm and sync `bkit.config.json` and `manifest.json`.
|
|
92
92
|
- `bkit bump [major|minor|patch] [--to <version>] [--min-engine <x.y.z>]` – Update project/manifest versions (optionally override min_engine_version).
|
|
93
93
|
- `bkit validate [--strict] [--json]` – Check consistency between config and manifest files.
|
|
94
|
-
- `bkit template <list|add|pull|rm>` – Manage the template registry (`.bkit/templates*.json`). Any repository can be registered as `custom-git`.
|
|
95
|
-
- `bkit watch` – Watch the project folder and automatically perform build and sync on changes.
|
|
96
|
-
- `
|
|
94
|
+
- `bkit template <list|add|pull|rm>` – Manage the template registry (`.bkit/templates*.json`). Any repository can be registered as `custom-git`.
|
|
95
|
+
- `bkit watch` – Watch the project folder and automatically perform build and sync on changes.
|
|
96
|
+
- `bkit setting [--lang <ja|en>] [--project-root <path>]` – Manage CLI settings (language, project root, onboarding toggles/order). Prompts when no flags are provided.
|
|
97
|
+
- `npm run build:local` / `npm run package:local` – Each generated/imported project ships with `tools/local-build.mjs` and `tools/local-package.mjs`. You can build and create `.mcpack/.mcaddon` archives without the BedrockKit CLI.
|
|
97
98
|
|
|
98
99
|
## Sync Targets
|
|
99
100
|
- **Via core-build-tasks** (Deploy to dev Minecraft)
|
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ project/<addon-name>/
|
|
|
93
93
|
- `bkit validate [--strict] [--json]` – config / manifest の整合性チェック。
|
|
94
94
|
- `bkit template <list|add|pull|rm>` – テンプレートレジストリ(`.bkit/templates*.json`)の管理。`custom-git` で任意のリポジトリを登録可能。
|
|
95
95
|
- `bkit watch` – `./project/<name>` 配下を監視し、変更ごとにビルドと同期を自動実行。
|
|
96
|
-
- `bkit setting [--lang <ja|en>]` – CLI
|
|
96
|
+
- `bkit setting [--lang <ja|en>] [--project-root <path>]` – CLI 設定を変更(言語/プロジェクト保存先/初期設定の有無/順序など)。フラグ未指定時は対話で選択。
|
|
97
97
|
- `npm run build:local` / `npm run package:local` – 生成/インポートされた各プロジェクトには `tools/local-build.mjs` と `tools/local-package.mjs` を同梱。BedrockKit CLI がなくても、プロジェクト単体でビルド&.mcpack/.mcaddon パッケージ化が可能です。
|
|
98
98
|
|
|
99
99
|
## 同期ターゲットの書き方
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
2
|
"name": "@bedrockkit/cli",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "BedrockKit CLI for Bedrock addon/resource pack workflows",
|
|
5
|
-
"type": "module",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "BedrockKit CLI for Bedrock addon/resource pack workflows",
|
|
5
|
+
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"bkit": "./dist/cli.js"
|
|
8
8
|
},
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
"url": "https://github.com/kaaariyaaa/BedrockKit/issues"
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/kaaariyaaa/BedrockKit#readme",
|
|
23
|
-
"scripts": {
|
|
24
|
-
"dev": "tsx src/cli.ts",
|
|
25
|
-
"build": "tsc -p tsconfig.json",
|
|
26
|
-
"lint": "echo \"(todo) add lint\"",
|
|
27
|
-
"test": "echo \"(todo) add tests\""
|
|
28
|
-
},
|
|
29
|
-
"keywords": [
|
|
30
|
-
"minecraft",
|
|
31
|
-
"bedrock",
|
|
32
|
-
"cli",
|
|
33
|
-
"bkit"
|
|
34
|
-
],
|
|
35
|
-
"author": "",
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=20"
|
|
39
|
-
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "tsx src/cli.ts",
|
|
25
|
+
"build": "tsc -p tsconfig.json",
|
|
26
|
+
"lint": "echo \"(todo) add lint\"",
|
|
27
|
+
"test": "echo \"(todo) add tests\""
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"minecraft",
|
|
31
|
+
"bedrock",
|
|
32
|
+
"cli",
|
|
33
|
+
"bkit"
|
|
34
|
+
],
|
|
35
|
+
"author": "",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=20"
|
|
39
|
+
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/figlet": "^1.7.0",
|
|
42
42
|
"@types/gradient-string": "^1.1.6",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@babel/parser": "^7.28.5",
|
|
49
49
|
"@clack/prompts": "^0.11.0",
|
|
50
50
|
"@minecraft/core-build-tasks": "^5.5.0",
|
|
51
|
-
"boxen": "^8.0.1",
|
|
52
|
-
"chokidar": "^3.6.0",
|
|
51
|
+
"boxen": "^8.0.1",
|
|
52
|
+
"chokidar": "^3.6.0",
|
|
53
53
|
"figlet": "^1.9.4",
|
|
54
54
|
"gradient-string": "^3.0.0",
|
|
55
55
|
"picocolors": "^1.1.1",
|