@platforma-sdk/block-tools 2.10.18 → 2.10.19
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/dist/cli.js +9 -9
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +314 -288
- package/dist/cli.mjs.map +1 -1
- package/dist/structure/rules/shared/retired-deps.d.ts +7 -0
- package/dist/v2/registry/schema_public.d.ts +150 -150
- package/package.json +7 -7
- package/src/structure/CLAUDE.md +28 -0
- package/src/structure/rules/migrations.ts +15 -16
- package/src/structure/rules/model-package-json.ts +4 -5
- package/src/structure/rules/root-package-json.ts +8 -6
- package/src/structure/rules/root-pnpm-workspace.ts +4 -7
- package/src/structure/rules/root.ts +0 -1
- package/src/structure/rules/shared/retired-deps.ts +42 -0
- package/src/structure/rules/test-package-json.ts +12 -9
- package/src/structure/rules/test.ts +4 -0
- package/src/structure/rules/ui-package-json.ts +15 -21
- package/src/structure/rules/workflow-package-json.ts +7 -3
- package/src/structure/rules/workflow.ts +17 -12
- package/src/structure/templates/static/test/.oxfmtrc.json +4 -0
- package/src/structure/templates/static/test/.oxlintrc.json +3 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const RETIRED_TOOLCHAIN_DEPS: readonly string[];
|
|
2
|
+
/** Drop every retired toolchain dep from the current package.json scope.
|
|
3
|
+
* Idempotent (a `removeDep` on an absent key is a no-op), so it is safe to
|
|
4
|
+
* call uniformly from every package.json rules body regardless of which deps
|
|
5
|
+
* a given scope ever carried. Pairs with the catalog-side removal in
|
|
6
|
+
* `rootPnpmWorkspaceRules`. */
|
|
7
|
+
export declare function removeRetiredToolchainDeps(): void;
|