@luxkit/cli 1.1.4 → 1.1.41

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.md CHANGED
@@ -10,7 +10,7 @@
10
10
  [![TypeScript](https://img.shields.io/badge/TypeScript-6.0-3178C6.svg)](https://www.typescriptlang.org/)
11
11
  [![ESM Only](https://img.shields.io/badge/ESM-only-F7DF1E.svg)](https://nodejs.org/api/esm.html)
12
12
 
13
- **English** | [中文](./README_Zh.md)
13
+ **English** | [中文](./README_ZH.md)
14
14
 
15
15
  </div>
16
16
 
@@ -58,6 +58,10 @@ lux vscode web-vue # Generate .vscode/settings.json + extensions.jso
58
58
  # List available presets
59
59
  lux fmt list
60
60
  lux vscode list
61
+
62
+ # Next Steps:
63
+ # 🎨 Customize built-in fmt lint presets, e.g. web-vue (Optional)
64
+ # 🧩 Create your own custom presets, e.g. fmt <your-lint-preset-name> (Optional)
61
65
  ```
62
66
 
63
67
  <br />
@@ -208,14 +212,14 @@ npm uninstall -g @luxkit/cli
208
212
 
209
213
  ### 🔍Troubleshooting
210
214
 
211
- | Issue | Solution |
212
- | :---- | :------- |
213
- | `package.json` errors | Ensure a valid `package.json` exists in the project root |
214
- | Preset not found | Run `lux fmt list` to see all available presets — lux auto-suggests via fuzzy matching |
215
- | Wrong package manager detected | Ensure the lockfile exists (`bun.lock` / `package-lock.json` / `pnpm-lock.yaml`) |
216
- | Skip dependency install | Use `--no-install` to only write to `package.json`, install manually |
217
- | Preview before applying | Use `--dry-run` to see all operations without writing |
218
- | Flags have no effect | Custom presets must include the corresponding config files and deps for `--stylelint`/`--cspell`/`--editorconfig`/`--husky`/`--lint-staged` to work |
215
+ | Issue | Solution |
216
+ | :----------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------- |
217
+ | `package.json` errors | Ensure a valid `package.json` exists in the project root |
218
+ | Preset not found | Run `lux fmt list` to see all available presets — lux auto-suggests via fuzzy matching |
219
+ | Wrong package manager detected | Ensure the lockfile exists (`bun.lock` / `package-lock.json` / `pnpm-lock.yaml`) |
220
+ | Skip dependency install | Use `--no-install` to only write to `package.json`, install manually |
221
+ | Preview before applying | Use `--dry-run` to see all operations without writing |
222
+ | Flags have no effect | Custom presets must include the corresponding config files and deps for `--stylelint`/`--cspell`/`--editorconfig`/`--husky`/`--lint-staged` to work |
219
223
 
220
224
  <br />
221
225
 
@@ -58,6 +58,10 @@ lux vscode web-vue # 生成 .vscode/settings.json + extensions.json
58
58
  # 查看可用预设
59
59
  lux fmt list
60
60
  lux vscode list
61
+
62
+ # 下一步:
63
+ # 🎨 自定义内置fmt lint预设,例如web-vue(可选)
64
+ # 🧩 自定义你自己的预设,例如fmt <your-lint-preset-name>(可选)
61
65
  ```
62
66
 
63
67
  <br />
@@ -208,13 +212,13 @@ npm uninstall -g @luxkit/cli
208
212
 
209
213
  ## 🔍故障排查
210
214
 
211
- | 问题 | 解决方案 |
212
- | :---------------------- | :--------------------------------------------------------------------------------------- |
213
- | `package.json` 相关错误 | 确保项目根目录存在合法的 `package.json` |
214
- | 预设未找到 | 运行 `lux fmt list` 查看所有可用预设,lux 会自动模糊匹配建议 |
215
- | 包管理器检测不正确 | 确保 lockfile 存在(`bun.lock` / `package-lock.json` / `pnpm-lock.yaml`) |
216
- | 跳过依赖安装 | 使用 `--no-install` 仅写入 `package.json`,手动安装 |
217
- | 预览操作结果 | 使用 `--dry-run` 查看将执行的所有操作 |
215
+ | 问题 | 解决方案 |
216
+ | :---------------------- | :----------------------------------------------------------------------------------------------------------------- |
217
+ | `package.json` 相关错误 | 确保项目根目录存在合法的 `package.json` |
218
+ | 预设未找到 | 运行 `lux fmt list` 查看所有可用预设,lux 会自动模糊匹配建议 |
219
+ | 包管理器检测不正确 | 确保 lockfile 存在(`bun.lock` / `package-lock.json` / `pnpm-lock.yaml`) |
220
+ | 跳过依赖安装 | 使用 `--no-install` 仅写入 `package.json`,手动安装 |
221
+ | 预览操作结果 | 使用 `--dry-run` 查看将执行的所有操作 |
218
222
  | flag 无效果 | 自定义预设需包含对应的配置文件和依赖,`--stylelint`/`--cspell`/`--editorconfig`/`--husky`/`--lint-staged` 才能生效 |
219
223
 
220
224
  <br />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxkit/cli",
3
- "version": "1.1.4",
3
+ "version": "1.1.41",
4
4
  "description": "One-click project formatting & VSCode config CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "files": [
10
10
  "dist",
11
- "README_Zh.md"
11
+ "README_ZH.md"
12
12
  ],
13
13
  "publishConfig": {
14
14
  "access": "public"