@chengzhao-dev/dsh-quarto-book 0.4.1 → 0.4.3
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 +2 -2
- package/README.md +2 -2
- package/lib/tools/render-check.js +3 -3
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -26,10 +26,10 @@ Both skills are discovered from the package's `skills/` directory and loaded on
|
|
|
26
26
|
## Install
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
dsh plugin --profile web add npm:@chengzhao-dev/dsh-quarto-book@0.4.
|
|
29
|
+
dsh plugin --profile web add npm:@chengzhao-dev/dsh-quarto-book@0.4.3
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Replace `--profile` with the profile you actually run. The desktop app always runs the `desktop` profile, and that profile is owned by the app, so `dsh --profile desktop` is rejected; install or upgrade a plugin with `dsh plugin --profile desktop add <package>`, and use the app's Settings → Plugins → Add plugin with `npm:@chengzhao-dev/dsh-quarto-book@0.4.
|
|
32
|
+
Replace `--profile` with the profile you actually run. The desktop app always runs the `desktop` profile, and that profile is owned by the app, so `dsh --profile desktop` is rejected; install or upgrade a plugin with `dsh plugin --profile desktop add <package>`, and use the app's Settings → Plugins → Add plugin with `npm:@chengzhao-dev/dsh-quarto-book@0.4.3` only if the app refuses that write. To follow a GitHub tag instead, use `github:chengzhao-dev/dsh-quarto-book#v0.4.3`.
|
|
33
33
|
|
|
34
34
|
Upgrading from the old unscoped package `dsh-quarto-book` (removed from npm with 0.3.4, so this only affects profiles that installed it earlier): remove it from the same profile first with `dsh plugin --profile <profile> remove dsh-quarto-book`, then add the scoped package. Keeping both installed registers `writing-quarto` and `designing-theme` twice at the same rank 550.
|
|
35
35
|
|
package/README.md
CHANGED
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
## 安装
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
dsh plugin --profile web add npm:@chengzhao-dev/dsh-quarto-book@0.4.
|
|
29
|
+
dsh plugin --profile web add npm:@chengzhao-dev/dsh-quarto-book@0.4.3
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
`--profile` 换成你实际运行的那个 profile。桌面应用固定跑 `desktop` profile,且该 profile 由应用独占管理,`dsh --profile desktop` 直接启动会被拒绝;安装或升级插件可用 `dsh plugin --profile desktop add <包>`,如果应用拒绝写入,再走「设置 → 插件 → 添加插件」,地址填 `npm:@chengzhao-dev/dsh-quarto-book@0.4.
|
|
32
|
+
`--profile` 换成你实际运行的那个 profile。桌面应用固定跑 `desktop` profile,且该 profile 由应用独占管理,`dsh --profile desktop` 直接启动会被拒绝;安装或升级插件可用 `dsh plugin --profile desktop add <包>`,如果应用拒绝写入,再走「设置 → 插件 → 添加插件」,地址填 `npm:@chengzhao-dev/dsh-quarto-book@0.4.3`。想跟 GitHub 标签,也可以写 `github:chengzhao-dev/dsh-quarto-book#v0.4.3`。
|
|
33
33
|
|
|
34
34
|
从旧的无作用域包 `dsh-quarto-book` 升级时(该包已随 0.3.4 从 npm 删除,只影响之前装过它的 profile),先在同一个 profile 里 `dsh plugin --profile <profile> remove dsh-quarto-book` 再装新包。两个包同时留着会以相同的 rank 550 各注册一遍 `writing-quarto` 和 `designing-theme`。
|
|
35
35
|
|
|
@@ -521,14 +521,14 @@ const RESULT_SCHEMA = {
|
|
|
521
521
|
safe_to_render: { type: 'boolean' },
|
|
522
522
|
suggested_output_dir: { type: 'string' },
|
|
523
523
|
render_result: {
|
|
524
|
-
|
|
524
|
+
oneOf: [
|
|
525
525
|
{ type: 'null' },
|
|
526
526
|
{
|
|
527
527
|
type: 'object',
|
|
528
528
|
additionalProperties: false,
|
|
529
529
|
properties: {
|
|
530
530
|
ok: { type: 'boolean' },
|
|
531
|
-
exit_code: { type:
|
|
531
|
+
exit_code: { oneOf: [{ type: 'integer' }, { type: 'null' }] },
|
|
532
532
|
duration_ms: { type: 'integer' },
|
|
533
533
|
output: { type: 'string' },
|
|
534
534
|
},
|
|
@@ -536,7 +536,7 @@ const RESULT_SCHEMA = {
|
|
|
536
536
|
},
|
|
537
537
|
],
|
|
538
538
|
},
|
|
539
|
-
html_report: {
|
|
539
|
+
html_report: { oneOf: [{ type: 'null' }, REPORT_SCHEMA] },
|
|
540
540
|
},
|
|
541
541
|
required: ['warnings', 'errors', 'safe_to_render', 'suggested_output_dir', 'render_result', 'html_report'],
|
|
542
542
|
};
|
package/package.json
CHANGED