chore(deno): finish import extensions for sites/mp-sync paths
- sites/mp-sync relative imports already carry extensions; drop the biome useImportExtensions override and --unstable-sloppy-imports in typecheck:deno - mp-sync scripts: deno shebang (+x), static `import YAML from "yaml"`, README/usage switched to `deno run -A` - verified: check.mjs --to e6820a8 (49 unchanged), movieclaw-import --check (0 diff) Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
569bb29664
commit
608e567edf
7 files changed
+14
-41
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# scripts/mp-sync
|
||||
|
||||
跟随上游移植工具(说明与对照总表:`docs/porting/mp-sync-ledger.md`)。Node 24 或 `deno run -A` 均可运行,不依赖根 package.json / deno.json 任务。
|
||||
跟随上游移植工具(说明与对照总表:`docs/porting/mp-sync-ledger.md`)。用 `deno run -A` 运行(`yaml` 经根 deno.json import map 解析),不依赖 deno.json 任务。
|
||||
|
||||
| 脚本 | 作用 |
|
||||
| --- | --- |
|
||||
@@ -9,9 +9,9 @@
|
||||
| `movieclaw-import.mjs [--repo <MC 仓库>] [--ref v0.27.0] [--check]` | MovieClaw v0.27.0(MIT)站点 YAML → `packages/adapters/src/sites/definitions/*.json` + `manifest.generated.ts`;覆盖层 `movieclaw-overrides/<id>.json`;`--check` 只比较 |
|
||||
|
||||
```bash
|
||||
node scripts/mp-sync/check.mjs --to <新提交>
|
||||
node scripts/mp-sync/build-ledger.mjs --commit <新提交>
|
||||
node scripts/mp-sync/movieclaw-import.mjs --check
|
||||
deno run -A scripts/mp-sync/check.mjs --to <新提交>
|
||||
deno run -A scripts/mp-sync/build-ledger.mjs --commit <新提交>
|
||||
deno run -A scripts/mp-sync/movieclaw-import.mjs --check
|
||||
```
|
||||
|
||||
MovieClaw v0.27.0 之后为附条件许可:`movieclaw-import.mjs` 校验 ref→提交与 LICENSE=MIT,其他 ref 需 `--allow-ref` 并另行核对许可。
|
||||
Reference in new issue
Block a user