@smoothbricks/nx-plugin 0.4.25 → 0.4.27
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 +1078 -98
- package/dist/bin/smoo-nx-bound-failures.d.ts +3 -0
- package/dist/bin/smoo-nx-bound-failures.d.ts.map +1 -0
- package/dist/bin/smoo-nx-bound-failures.js +31 -0
- package/dist/bin/smoo-nx-cargo-hash.js +28 -3
- package/dist/bin/smoo-nx-exec.js +16 -85
- package/dist/bin/smoo-nx-failures.d.ts +3 -0
- package/dist/bin/smoo-nx-failures.d.ts.map +1 -0
- package/dist/bin/smoo-nx-failures.js +3 -0
- package/dist/bin/smoo-nx-nextest-extract.js +3 -2
- package/dist/bin/smoo-nx-test-walks.d.ts +3 -0
- package/dist/bin/smoo-nx-test-walks.d.ts.map +1 -0
- package/dist/bin/smoo-nx-test-walks.js +34 -0
- package/dist/bounded-test-policy.d.ts +7 -1
- package/dist/bounded-test-policy.d.ts.map +1 -1
- package/dist/bounded-test-policy.js +101 -40
- package/dist/build-state-output-policy.d.ts +25 -0
- package/dist/build-state-output-policy.d.ts.map +1 -0
- package/dist/build-state-output-policy.js +64 -0
- package/dist/cargo-closure-input.d.ts +16 -17
- package/dist/cargo-closure-input.d.ts.map +1 -1
- package/dist/cargo-closure-input.js +37 -44
- package/dist/cargo-dev-profile.d.ts +37 -0
- package/dist/cargo-dev-profile.d.ts.map +1 -0
- package/dist/cargo-dev-profile.js +108 -0
- package/dist/cargo-source-hash.d.ts +50 -8
- package/dist/cargo-source-hash.d.ts.map +1 -1
- package/dist/cargo-source-hash.js +691 -71
- package/dist/cargo-toolchain-policy.d.ts +4 -0
- package/dist/cargo-toolchain-policy.d.ts.map +1 -1
- package/dist/cargo-toolchain-policy.js +5 -0
- package/dist/cargo-workspace.d.ts +108 -12
- package/dist/cargo-workspace.d.ts.map +1 -1
- package/dist/cargo-workspace.js +299 -18
- package/dist/cross-check-policy.d.ts +21 -3
- package/dist/cross-check-policy.d.ts.map +1 -1
- package/dist/cross-check-policy.js +24 -6
- package/dist/disk-command-policy.d.ts +7 -0
- package/dist/disk-command-policy.d.ts.map +1 -0
- package/dist/disk-command-policy.js +98 -0
- package/dist/ensure-built-receipt.d.ts +25 -0
- package/dist/ensure-built-receipt.d.ts.map +1 -0
- package/dist/ensure-built-receipt.js +261 -0
- package/dist/ensure-built-witness.d.ts +57 -0
- package/dist/ensure-built-witness.d.ts.map +1 -0
- package/dist/ensure-built-witness.js +412 -0
- package/dist/ensure-built.d.ts +213 -12
- package/dist/ensure-built.d.ts.map +1 -1
- package/dist/ensure-built.js +624 -177
- package/dist/eslint-file-set.d.ts +7 -0
- package/dist/eslint-file-set.d.ts.map +1 -0
- package/dist/eslint-file-set.js +12 -0
- package/dist/executors/bounded-exec/cpu-pool.d.ts +63 -0
- package/dist/executors/bounded-exec/cpu-pool.d.ts.map +1 -0
- package/dist/executors/bounded-exec/cpu-pool.js +379 -0
- package/dist/executors/bounded-exec/cpu-tokens.d.ts +82 -0
- package/dist/executors/bounded-exec/cpu-tokens.d.ts.map +1 -0
- package/dist/executors/bounded-exec/cpu-tokens.js +114 -0
- package/dist/executors/bounded-exec/disk-lease.d.ts +61 -0
- package/dist/executors/bounded-exec/disk-lease.d.ts.map +1 -0
- package/dist/executors/bounded-exec/disk-lease.js +91 -0
- package/dist/executors/bounded-exec/executor.d.ts +45 -2
- package/dist/executors/bounded-exec/executor.d.ts.map +1 -1
- package/dist/executors/bounded-exec/executor.js +447 -52
- package/dist/executors/bounded-exec/gateway-lease.d.ts +52 -0
- package/dist/executors/bounded-exec/gateway-lease.d.ts.map +1 -0
- package/dist/executors/bounded-exec/gateway-lease.js +143 -0
- package/dist/executors/bounded-exec/hang-diagnostics.d.ts +35 -0
- package/dist/executors/bounded-exec/hang-diagnostics.d.ts.map +1 -0
- package/dist/executors/bounded-exec/hang-diagnostics.js +231 -0
- package/dist/executors/bounded-exec/progress.d.ts +35 -0
- package/dist/executors/bounded-exec/progress.d.ts.map +1 -0
- package/dist/executors/bounded-exec/progress.js +79 -0
- package/dist/executors/bounded-exec/ram-temp-fixtures.d.ts +3 -0
- package/dist/executors/bounded-exec/ram-temp-fixtures.d.ts.map +1 -0
- package/dist/executors/bounded-exec/ram-temp-fixtures.js +12 -0
- package/dist/executors/bounded-exec/ram-temp-held.d.ts +91 -0
- package/dist/executors/bounded-exec/ram-temp-held.d.ts.map +1 -0
- package/dist/executors/bounded-exec/ram-temp-held.js +152 -0
- package/dist/executors/bounded-exec/ram-temp.d.ts +223 -0
- package/dist/executors/bounded-exec/ram-temp.d.ts.map +1 -0
- package/dist/executors/bounded-exec/ram-temp.js +1528 -0
- package/dist/executors/bounded-exec/schema.d.ts +29 -11
- package/dist/executors/bounded-exec/schema.d.ts.map +1 -1
- package/dist/executors/bounded-exec/verdict.d.ts +162 -0
- package/dist/executors/bounded-exec/verdict.d.ts.map +1 -0
- package/dist/executors/bounded-exec/verdict.js +318 -0
- package/dist/executors/shard-timings/executor.d.ts +14 -0
- package/dist/executors/shard-timings/executor.d.ts.map +1 -0
- package/dist/executors/shard-timings/executor.js +25 -0
- package/dist/executors/shard-timings/schema.d.ts +4 -0
- package/dist/executors/shard-timings/schema.d.ts.map +1 -0
- package/dist/executors/shard-timings/schema.js +1 -0
- package/dist/failure-summary.d.ts +5 -0
- package/dist/failure-summary.d.ts.map +1 -0
- package/dist/failure-summary.js +118 -0
- package/dist/generators/create-package/generator.d.ts.map +1 -1
- package/dist/generators/create-package/generator.js +6 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +435 -230
- package/dist/managed-assets.d.ts +6 -0
- package/dist/managed-assets.d.ts.map +1 -1
- package/dist/managed-files/ci-workflow.d.ts +13 -0
- package/dist/managed-files/ci-workflow.d.ts.map +1 -1
- package/dist/managed-files/ci-workflow.js +44 -13
- package/dist/managed-files/files.d.ts +7 -1
- package/dist/managed-files/files.d.ts.map +1 -1
- package/dist/managed-files/files.js +62 -8
- package/dist/managed-files/json-edit.d.ts +21 -0
- package/dist/managed-files/json-edit.d.ts.map +1 -0
- package/dist/managed-files/json-edit.js +295 -0
- package/dist/managed-files/managed-format.d.ts +33 -1
- package/dist/managed-files/managed-format.d.ts.map +1 -1
- package/dist/managed-files/managed-format.js +82 -2
- package/dist/managed-files/pr-preview-cleanup-workflow.d.ts +7 -0
- package/dist/managed-files/pr-preview-cleanup-workflow.d.ts.map +1 -1
- package/dist/managed-files/pr-preview-cleanup-workflow.js +68 -4
- package/dist/managed-files/publish-workflow.d.ts.map +1 -1
- package/dist/managed-files/publish-workflow.js +231 -48
- package/dist/managed-files/tree.d.ts +5 -0
- package/dist/managed-files/tree.d.ts.map +1 -1
- package/dist/managed-files/tree.js +5 -3
- package/dist/manifest-hash.js +3 -2
- package/dist/nextest-code-bound.d.ts +62 -0
- package/dist/nextest-code-bound.d.ts.map +1 -0
- package/dist/nextest-code-bound.js +154 -0
- package/dist/nextest-extraction.d.ts +24 -8
- package/dist/nextest-extraction.d.ts.map +1 -1
- package/dist/nextest-extraction.js +42 -7
- package/dist/package-target-policy.d.ts.map +1 -1
- package/dist/package-target-policy.js +3 -5
- package/dist/release-config-policy.d.ts.map +1 -1
- package/dist/release-config-policy.js +3 -5
- package/dist/runtime-input.d.ts +14 -0
- package/dist/runtime-input.d.ts.map +1 -0
- package/dist/runtime-input.js +15 -0
- package/dist/rust-tokens.d.ts +11 -0
- package/dist/rust-tokens.d.ts.map +1 -0
- package/dist/rust-tokens.js +81 -0
- package/dist/task-results.d.ts +6 -0
- package/dist/task-results.d.ts.map +1 -0
- package/dist/task-results.js +61 -0
- package/dist/test-program.d.ts +54 -0
- package/dist/test-program.d.ts.map +1 -0
- package/dist/test-program.js +292 -0
- package/dist/test-timings.d.ts +71 -0
- package/dist/test-timings.d.ts.map +1 -0
- package/dist/test-timings.js +393 -0
- package/dist/test-walk-policy.d.ts +103 -0
- package/dist/test-walk-policy.d.ts.map +1 -0
- package/dist/test-walk-policy.js +657 -0
- package/dist/testing.d.ts +177 -0
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +824 -0
- package/dist/type-guards.d.ts +3 -0
- package/dist/type-guards.d.ts.map +1 -0
- package/dist/type-guards.js +4 -0
- package/dist/typecheck-test-policy.d.ts +8 -5
- package/dist/typecheck-test-policy.d.ts.map +1 -1
- package/dist/typecheck-test-policy.js +113 -100
- package/dist/workspace-config-policy.d.ts +8 -0
- package/dist/workspace-config-policy.d.ts.map +1 -1
- package/dist/workspace-config-policy.js +175 -63
- package/dist/workspace-index.d.ts +12 -0
- package/dist/workspace-index.d.ts.map +1 -0
- package/dist/workspace-index.js +17 -0
- package/dist/workspace-manifest.d.ts +37 -1
- package/dist/workspace-manifest.d.ts.map +1 -1
- package/executors.json +5 -0
- package/loader.js +13 -11
- package/managed/raw/envrc +33 -62
- package/managed/raw/git-format-staged.yml +30 -35
- package/managed/raw/patches/nx@23.2.1.patch +3484 -0
- package/managed/raw/tooling/direnv/apple-developer.sh +83 -0
- package/managed/raw/tooling/direnv/developer-links.ts +607 -17
- package/managed/raw/tooling/direnv/devenv.smoo.nix +314 -92
- package/managed/raw/tooling/direnv/github-actions-bootstrap.sh +20 -11
- package/managed/raw/tooling/direnv/linked-snapshots.ts +845 -0
- package/managed/raw/tooling/direnv/nx-socket-dir.sh +82 -0
- package/managed/raw/tooling/direnv/repo-path +14 -2
- package/managed/raw/tooling/direnv/setup-environment.ts +1009 -118
- package/managed/raw/tooling/direnv/toolchain-stamp.ts +45 -3
- package/managed/raw/tooling/direnv/ttsc-env.sh +39 -0
- package/managed/raw/tooling/git-hooks/commit-msg.sh +5 -6
- package/managed/raw/tooling/git-hooks/pre-commit.sh +7 -6
- package/managed/raw/tooling/git-hooks/pre-push.sh +20 -15
- package/managed/templates/github/actions/cache-nix-devenv/action.yml +6 -6
- package/managed/templates/github/actions/cache-node-modules/action.yml +6 -4
- package/managed/templates/github/actions/cache-nx/action.yml +1 -1
- package/managed/templates/github/actions/cache-ttsc-plugins/action.yml +1 -1
- package/managed/templates/github/actions/forgejo-artifact.cjs +99 -0
- package/managed/templates/github/actions/forgejo-download-artifact/action.yml +49 -0
- package/managed/templates/github/actions/forgejo-download-artifact/index.cjs +7 -0
- package/managed/templates/github/actions/forgejo-upload-artifact/action.yml +65 -0
- package/managed/templates/github/actions/forgejo-upload-artifact/index.cjs +7 -0
- package/managed/templates/github/actions/setup-devenv/action.yml +21 -3
- package/managed/templates/github/workflows/managed-files.yml +1 -2
- package/nextest.toml +8 -75
- package/package.json +75 -13
- package/runtime-input.sh +81 -0
- package/src/__tests__/counted-cargo-process.ts +286 -0
- package/src/__tests__/counted-cargo.ts +730 -0
- package/src/__tests__/fixture-cargo-home.ts +36 -0
- package/src/__tests__/fixture-nx-env.ts +157 -2
- package/src/__tests__/progress-clock.ts +43 -0
- package/src/__tests__/runtime-input.ts +23 -0
- package/src/bin/smoo-nx-bound-failures.test.ts +127 -0
- package/src/bin/smoo-nx-bound-failures.ts +33 -0
- package/src/bin/smoo-nx-cargo-hash.ts +28 -3
- package/src/bin/smoo-nx-exec.ts +17 -86
- package/src/bin/smoo-nx-failures.ts +4 -0
- package/src/bin/smoo-nx-nextest-extract.ts +3 -2
- package/src/bin/smoo-nx-test-walks.ts +42 -0
- package/src/bounded-test-policy.test.ts +268 -22
- package/src/bounded-test-policy.ts +114 -42
- package/src/build-state-output-policy.test.ts +115 -0
- package/src/build-state-output-policy.ts +90 -0
- package/src/bun-bootstrap.test.ts +57 -3
- package/src/bun-file-packages.test.ts +47 -0
- package/src/cargo-closure-input.test.ts +432 -62
- package/src/cargo-closure-input.ts +51 -57
- package/src/cargo-dev-profile.ts +137 -0
- package/src/cargo-resolve-cache.test.ts +1044 -0
- package/src/cargo-source-hash.test.ts +203 -93
- package/src/cargo-source-hash.ts +762 -75
- package/src/cargo-toolchain-policy.ts +6 -0
- package/src/cargo-workspace.test.ts +320 -0
- package/src/cargo-workspace.ts +344 -18
- package/src/cross-check-policy.test.ts +59 -1
- package/src/cross-check-policy.ts +25 -6
- package/src/disk-command-policy.test.ts +61 -0
- package/src/disk-command-policy.ts +107 -0
- package/src/ensure-built-receipt.test.ts +184 -0
- package/src/ensure-built-receipt.ts +263 -0
- package/src/ensure-built-witness.test.ts +344 -0
- package/src/ensure-built-witness.ts +252 -0
- package/src/ensure-built.test.ts +1043 -483
- package/src/ensure-built.ts +870 -197
- package/src/eslint-file-set.ts +9 -0
- package/src/executors/bounded-exec/cpu-pool.test.ts +454 -0
- package/src/executors/bounded-exec/cpu-pool.ts +417 -0
- package/src/executors/bounded-exec/cpu-tokens.test.ts +269 -0
- package/src/executors/bounded-exec/cpu-tokens.ts +177 -0
- package/src/executors/bounded-exec/disk-lease.test.ts +185 -0
- package/src/executors/bounded-exec/disk-lease.ts +139 -0
- package/src/executors/bounded-exec/executor-host.test.ts +778 -0
- package/src/executors/bounded-exec/executor.test.ts +1116 -63
- package/src/executors/bounded-exec/executor.ts +565 -67
- package/src/executors/bounded-exec/gateway-lease.ts +176 -0
- package/src/executors/bounded-exec/hang-diagnostics.test.ts +285 -0
- package/src/executors/bounded-exec/hang-diagnostics.ts +283 -0
- package/src/executors/bounded-exec/progress.test.ts +79 -0
- package/src/executors/bounded-exec/progress.ts +118 -0
- package/src/executors/bounded-exec/ram-temp-fixtures.ts +12 -0
- package/src/executors/bounded-exec/ram-temp-held.test.ts +264 -0
- package/src/executors/bounded-exec/ram-temp-held.ts +242 -0
- package/src/executors/bounded-exec/ram-temp-host.test.ts +605 -0
- package/src/executors/bounded-exec/ram-temp.test.ts +674 -0
- package/src/executors/bounded-exec/ram-temp.ts +1918 -0
- package/src/executors/bounded-exec/schema.json +11 -5
- package/src/executors/bounded-exec/schema.ts +27 -11
- package/src/executors/bounded-exec/verdict.test.ts +440 -0
- package/src/executors/bounded-exec/verdict.ts +433 -0
- package/src/executors/shard-timings/executor.ts +36 -0
- package/src/executors/shard-timings/schema.json +21 -0
- package/src/executors/shard-timings/schema.ts +4 -0
- package/src/failure-summary.ts +119 -0
- package/src/generators/bounded-test-targets/generator.test.ts +4 -4
- package/src/generators/bun-test-tracing/generator.test.ts +2 -2
- package/src/generators/create-package/generator.test.ts +6 -0
- package/src/generators/create-package/generator.ts +6 -2
- package/src/host-controller-wiring.test.ts +31 -0
- package/src/index.test.ts +1070 -360
- package/src/index.ts +524 -255
- package/src/linked-snapshots.nx.test.ts +172 -0
- package/src/managed-assets.ts +12 -0
- package/src/managed-files/ci-workflow.ts +54 -13
- package/src/managed-files/files.ts +65 -9
- package/src/managed-files/forgejo-artifact.test.ts +395 -0
- package/src/managed-files/generator.test.ts +60 -1
- package/src/managed-files/json-edit.test.ts +216 -0
- package/src/managed-files/json-edit.ts +290 -0
- package/src/managed-files/managed-format-json.test.ts +308 -0
- package/src/managed-files/managed-format.ts +90 -2
- package/src/managed-files/pr-preview-cleanup-workflow.ts +69 -3
- package/src/managed-files/publish-workflow.ts +285 -67
- package/src/managed-files/repo-path.test.ts +129 -0
- package/src/managed-files/trace-db-artifact.test.ts +7 -0
- package/src/managed-files/tree.ts +11 -3
- package/src/manifest-hash.ts +3 -2
- package/src/nextest-code-bound.test.ts +155 -0
- package/src/nextest-code-bound.ts +195 -0
- package/src/nextest-extraction.test.ts +37 -5
- package/src/nextest-extraction.ts +51 -9
- package/src/nextest-partitions.test.ts +495 -0
- package/src/nx-cache-bound.test.ts +109 -0
- package/src/nx-cache-restore-mtime.test.ts +170 -0
- package/src/nx-daemon-claim.test.ts +277 -0
- package/src/nx-daemon-idle-cpu.test.ts +81 -0
- package/src/nx-daemon-idle-policy.test.ts +51 -0
- package/src/nx-daemon-ignore-files.test.ts +210 -0
- package/src/nx-daemon-root-normalization.test.ts +105 -0
- package/src/nx-daemon-validity.test.ts +925 -0
- package/src/nx-dot-input-policy.test.ts +353 -0
- package/src/nx-failure-life-cycles.test.ts +207 -0
- package/src/nx-files-archive-racy.test.ts +97 -0
- package/src/nx-foreign-workspace-env.test.ts +329 -0
- package/src/nx-incomplete-run-summary.test.ts +70 -0
- package/src/nx-plugin-load-errors.test.ts +120 -0
- package/src/nx-project-resolution-cache.test.ts +176 -0
- package/src/nx-raw-inputs.test.ts +166 -0
- package/src/nx-resident-graph-workers.test.ts +112 -0
- package/src/nx-run-information.test.ts +118 -0
- package/src/nx-skipped-task-exit.test.ts +180 -0
- package/src/nx-state-location.test.ts +63 -0
- package/src/nx-store-resolution.test.ts +99 -0
- package/src/nx-task-graph-cycles.test.ts +148 -0
- package/src/nx-task-output-lease.test.ts +414 -0
- package/src/nx-use-local.test.ts +103 -0
- package/src/package-target-policy.ts +3 -6
- package/src/release-config-policy.ts +3 -6
- package/src/runtime-input.test.ts +215 -0
- package/src/runtime-input.ts +17 -0
- package/src/rust-tokens.ts +78 -0
- package/src/serial-group-wiring.test.ts +326 -0
- package/src/task-history-namespace.test.ts +181 -0
- package/src/task-results.test.ts +226 -0
- package/src/task-results.ts +75 -0
- package/src/test-program.test.ts +303 -0
- package/src/test-program.ts +341 -0
- package/src/test-timings.test.ts +240 -0
- package/src/test-timings.ts +311 -0
- package/src/test-walk-policy.test.ts +585 -0
- package/src/test-walk-policy.ts +731 -0
- package/src/testing.test.ts +509 -0
- package/src/testing.ts +922 -0
- package/src/type-guards.ts +4 -0
- package/src/typecheck-test-policy.test.ts +496 -11
- package/src/typecheck-test-policy.ts +137 -103
- package/src/workspace-config-policy.test.ts +212 -13
- package/src/workspace-config-policy.ts +101 -73
- package/src/workspace-index.ts +18 -0
- package/src/workspace-manifest.ts +41 -1
- package/test-timings.json +85 -28
- package/managed/raw/tooling/direnv/inherited-devenv.ts +0 -615
- package/managed/raw/tooling/direnv/shared-caches.sh +0 -53
- package/src/__tests__/in-process-nx-index.ts +0 -9
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
* parser and the content passes through untouched, exactly as
|
|
10
10
|
* `prettier --ignore-unknown` leaves it in the hook.
|
|
11
11
|
*
|
|
12
|
-
* `managed-format.test.ts` pins this list to that config.
|
|
12
|
+
* `managed-format.test.ts` pins this list to that config. Content in these
|
|
13
|
+
* extensions that a template supplies verbatim passes through here; JSON that
|
|
14
|
+
* smoo synthesizes goes through {@link formatJsonWithBiome} instead.
|
|
13
15
|
*/
|
|
14
16
|
export declare const BIOME_OWNED_EXTENSIONS: readonly string[];
|
|
15
17
|
/**
|
|
@@ -34,4 +36,34 @@ export declare const BIOME_OWNED_EXTENSIONS: readonly string[];
|
|
|
34
36
|
* obeys; it never asks the repository to change it.
|
|
35
37
|
*/
|
|
36
38
|
export declare function formatManagedContent(root: string, target: string, content: string): Promise<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The arguments `.git-format-staged.yml` gives Biome for every file it owns,
|
|
41
|
+
* with `stdinFilePath` standing in for the hook's `{}`. A test pins the joined
|
|
42
|
+
* command to that config.
|
|
43
|
+
*/
|
|
44
|
+
export declare function biomeHookArguments(stdinFilePath: string): string[];
|
|
45
|
+
/**
|
|
46
|
+
* The bytes the commit hook leaves in a JSON file whose content `text` is.
|
|
47
|
+
*
|
|
48
|
+
* `formatManagedContent` passes Biome-owned content through because a template
|
|
49
|
+
* is copied from this package's own, already formatted, sources. JSON that smoo
|
|
50
|
+
* *synthesizes* is different: `JSON.stringify` expands every array that Biome
|
|
51
|
+
* keeps on one line, so a generated `tsconfig.test.json` or a rewritten
|
|
52
|
+
* `nx.json` fails `biome check` until the hook has run. Locally the hook runs on
|
|
53
|
+
* commit; the Managed files workflow commits with no hook, and its pull request
|
|
54
|
+
* arrives red. Running the hook's own Biome command here makes the written bytes
|
|
55
|
+
* a fixed point of it, under the consumer's own `biome.json`.
|
|
56
|
+
*
|
|
57
|
+
* Biome is the repository's, found as the hook finds it: the nearest
|
|
58
|
+
* `node_modules/.bin/biome` above the file, else the one on `PATH`. A tree with
|
|
59
|
+
* no Biome at all (a repository mid-bootstrap, before its first install) has no
|
|
60
|
+
* hook output to agree with, so the text passes through and the first `update`
|
|
61
|
+
* after the install converges. Every other failure is loud: a Biome that
|
|
62
|
+
* rejects the repository's configuration would fail the hook the same way.
|
|
63
|
+
*/
|
|
64
|
+
export declare function formatJsonWithBiome(path: string, text: string): string;
|
|
65
|
+
/** `JSON.stringify` of `value`, in the bytes the commit hook leaves. */
|
|
66
|
+
export declare function jsonFileText(path: string, value: unknown): string;
|
|
67
|
+
/** The one writer for JSON files `smoo monorepo update` rewrites in place. */
|
|
68
|
+
export declare function writeJsonFile(path: string, value: unknown): void;
|
|
37
69
|
//# sourceMappingURL=managed-format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-format.d.ts","sourceRoot":"","sources":["../../src/managed-files/managed-format.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"managed-format.d.ts","sourceRoot":"","sources":["../../src/managed-files/managed-format.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAcnD,CAAC;AAoBF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CA6BzG;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,CAElE;AAKD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CA0BtE;AAED,wEAAwE;AACxE,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAEjE;AAED,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAEhE"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { spawnSync } from 'node:child_process';
|
|
2
|
+
import { existsSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { dirname, join, resolve } from 'node:path';
|
|
2
4
|
/**
|
|
3
5
|
* Extensions the managed `.git-format-staged.yml` routes to Biome rather than
|
|
4
6
|
* Prettier. Prettier has a parser for every one of them, so they have to be
|
|
@@ -10,7 +12,9 @@ import { join } from 'node:path';
|
|
|
10
12
|
* parser and the content passes through untouched, exactly as
|
|
11
13
|
* `prettier --ignore-unknown` leaves it in the hook.
|
|
12
14
|
*
|
|
13
|
-
* `managed-format.test.ts` pins this list to that config.
|
|
15
|
+
* `managed-format.test.ts` pins this list to that config. Content in these
|
|
16
|
+
* extensions that a template supplies verbatim passes through here; JSON that
|
|
17
|
+
* smoo synthesizes goes through {@link formatJsonWithBiome} instead.
|
|
14
18
|
*/
|
|
15
19
|
export const BIOME_OWNED_EXTENSIONS = [
|
|
16
20
|
'.js',
|
|
@@ -92,3 +96,79 @@ export async function formatManagedContent(root, target, content) {
|
|
|
92
96
|
throw new Error(`${target}: generated managed content is not valid ${info.inferredParser}`, { cause: error });
|
|
93
97
|
}
|
|
94
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* The arguments `.git-format-staged.yml` gives Biome for every file it owns,
|
|
101
|
+
* with `stdinFilePath` standing in for the hook's `{}`. A test pins the joined
|
|
102
|
+
* command to that config.
|
|
103
|
+
*/
|
|
104
|
+
export function biomeHookArguments(stdinFilePath) {
|
|
105
|
+
return ['format', '--files-ignore-unknown=true', '--use-editorconfig=true', `--stdin-file-path=${stdinFilePath}`];
|
|
106
|
+
}
|
|
107
|
+
/** The missing-Biome diagnostic is one line per process, not one per file written. */
|
|
108
|
+
let missingBiomeReported = false;
|
|
109
|
+
/**
|
|
110
|
+
* The bytes the commit hook leaves in a JSON file whose content `text` is.
|
|
111
|
+
*
|
|
112
|
+
* `formatManagedContent` passes Biome-owned content through because a template
|
|
113
|
+
* is copied from this package's own, already formatted, sources. JSON that smoo
|
|
114
|
+
* *synthesizes* is different: `JSON.stringify` expands every array that Biome
|
|
115
|
+
* keeps on one line, so a generated `tsconfig.test.json` or a rewritten
|
|
116
|
+
* `nx.json` fails `biome check` until the hook has run. Locally the hook runs on
|
|
117
|
+
* commit; the Managed files workflow commits with no hook, and its pull request
|
|
118
|
+
* arrives red. Running the hook's own Biome command here makes the written bytes
|
|
119
|
+
* a fixed point of it, under the consumer's own `biome.json`.
|
|
120
|
+
*
|
|
121
|
+
* Biome is the repository's, found as the hook finds it: the nearest
|
|
122
|
+
* `node_modules/.bin/biome` above the file, else the one on `PATH`. A tree with
|
|
123
|
+
* no Biome at all (a repository mid-bootstrap, before its first install) has no
|
|
124
|
+
* hook output to agree with, so the text passes through and the first `update`
|
|
125
|
+
* after the install converges. Every other failure is loud: a Biome that
|
|
126
|
+
* rejects the repository's configuration would fail the hook the same way.
|
|
127
|
+
*/
|
|
128
|
+
export function formatJsonWithBiome(path, text) {
|
|
129
|
+
const absolute = resolve(path);
|
|
130
|
+
const cwd = nearestExistingDirectory(dirname(absolute));
|
|
131
|
+
const child = spawnSync(biomeBinary(cwd), biomeHookArguments(absolute), { cwd, input: text, encoding: 'utf8' });
|
|
132
|
+
if (child.error) {
|
|
133
|
+
if ('code' in child.error && child.error.code === 'ENOENT') {
|
|
134
|
+
if (!missingBiomeReported) {
|
|
135
|
+
missingBiomeReported = true;
|
|
136
|
+
console.warn(`${path}: Biome is not installed here, so generated JSON keeps JSON.stringify's formatting; run smoo monorepo update again after the install.`);
|
|
137
|
+
}
|
|
138
|
+
return text;
|
|
139
|
+
}
|
|
140
|
+
throw new Error(`${path}: Biome could not be run to format generated JSON`, { cause: child.error });
|
|
141
|
+
}
|
|
142
|
+
if (child.status !== 0) {
|
|
143
|
+
throw new Error(`${path}: Biome exited ${child.status ?? `on signal ${child.signal}`}, so generated JSON cannot be written in the bytes the commit hook would leave:\n${child.stderr}`);
|
|
144
|
+
}
|
|
145
|
+
// Biome echoes what it cannot format, so an empty answer to real input is a fault, never a result.
|
|
146
|
+
if (child.stdout === '' && text !== '') {
|
|
147
|
+
throw new Error(`${path}: Biome returned no content for generated JSON:\n${child.stderr}`);
|
|
148
|
+
}
|
|
149
|
+
return child.stdout;
|
|
150
|
+
}
|
|
151
|
+
/** `JSON.stringify` of `value`, in the bytes the commit hook leaves. */
|
|
152
|
+
export function jsonFileText(path, value) {
|
|
153
|
+
return formatJsonWithBiome(path, `${JSON.stringify(value, null, 2)}\n`);
|
|
154
|
+
}
|
|
155
|
+
/** The one writer for JSON files `smoo monorepo update` rewrites in place. */
|
|
156
|
+
export function writeJsonFile(path, value) {
|
|
157
|
+
writeFileSync(path, jsonFileText(path, value));
|
|
158
|
+
}
|
|
159
|
+
/** The directory a file about to be created would sit in, as far up as exists: spawning needs a real `cwd`. */
|
|
160
|
+
function nearestExistingDirectory(directory) {
|
|
161
|
+
let current = directory;
|
|
162
|
+
while (!existsSync(current))
|
|
163
|
+
current = dirname(current);
|
|
164
|
+
return current;
|
|
165
|
+
}
|
|
166
|
+
function biomeBinary(directory) {
|
|
167
|
+
for (let current = directory;; current = dirname(current)) {
|
|
168
|
+
const local = join(current, 'node_modules', '.bin', 'biome');
|
|
169
|
+
if (existsSync(local))
|
|
170
|
+
return local;
|
|
171
|
+
if (dirname(current) === current)
|
|
172
|
+
return 'biome';
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -39,4 +39,11 @@ export interface PrPreviewCleanupWorkflowOptions {
|
|
|
39
39
|
deploySecrets?: Record<string, string>;
|
|
40
40
|
}
|
|
41
41
|
export declare function renderPrPreviewCleanupWorkflowYaml(options?: PrPreviewCleanupWorkflowOptions): string;
|
|
42
|
+
/**
|
|
43
|
+
* The safety net behind the close-time cleanup: every 6 hours, and by hand, it collects the stage of
|
|
44
|
+
* every closed pull request that still holds records, and fails (red run, job summary) when the
|
|
45
|
+
* account nears Cloudflare's 500 Durable Object namespace limit. A hand run may name one pull
|
|
46
|
+
* request; it is collected only if closed, exactly as the sweep decides.
|
|
47
|
+
*/
|
|
48
|
+
export declare function renderPrStageSweepWorkflowYaml(options?: PrPreviewCleanupWorkflowOptions): string;
|
|
42
49
|
//# sourceMappingURL=pr-preview-cleanup-workflow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr-preview-cleanup-workflow.d.ts","sourceRoot":"","sources":["../../src/managed-files/pr-preview-cleanup-workflow.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"pr-preview-cleanup-workflow.d.ts","sourceRoot":"","sources":["../../src/managed-files/pr-preview-cleanup-workflow.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,0BAA0B,CAAC;AAclC,MAAM,WAAW,+BAA+B;IAC9C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAChD;;;;;;;;;;OAUG;IACH,gBAAgB,CAAC,EAAE,6BAA6B,CAAC;IACjD;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,6BAA6B,CAAC;IAC7C,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC;AAED,wBAAgB,kCAAkC,CAAC,OAAO,GAAE,+BAAoC,GAAG,MAAM,CAkDxG;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,+BAAoC,GAAG,MAAM,CA+CpG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* biome-ignore-all lint/suspicious/noTemplateCurlyInString: GitHub Actions expressions are emitted literally. */
|
|
2
|
-
import { CI_CONCURRENCY_GROUP, CiWorkflowStepKind, cargoCredentialJobEnvLines, cargoCredentialStepLines, cloudflareCredentialEnvLines, environmentLine, privateNpmReadTokenJobEnv, sourceCheckoutsStepLines, } from './ci-workflow.js';
|
|
2
|
+
import { CI_CONCURRENCY_GROUP, CiWorkflowStepKind, cargoCredentialJobEnvLines, cargoCredentialStepLines, cloudflareCredentialEnvLines, environmentLine, githubActionPins, privateNpmReadTokenJobEnv, sourceCheckoutsStepLines, } from './ci-workflow.js';
|
|
3
3
|
import { renderRunsOnLine } from './github-runs-on.js';
|
|
4
4
|
export function renderPrPreviewCleanupWorkflowYaml(options = {}) {
|
|
5
5
|
return `name: PR Preview Cleanup
|
|
@@ -29,17 +29,81 @@ ${environmentLine(options.environments?.staging)} defaults:
|
|
|
29
29
|
working-directory: tooling/direnv
|
|
30
30
|
${setupJobEnv(options)} steps:
|
|
31
31
|
- name: Checkout
|
|
32
|
-
uses:
|
|
32
|
+
uses: ${githubActionPins.checkout.ref} # ${githubActionPins.checkout.version}
|
|
33
33
|
with:
|
|
34
|
-
filter: blob:none
|
|
35
34
|
fetch-depth: 1
|
|
35
|
+
persist-credentials: false
|
|
36
36
|
${preflightSteps(options)}
|
|
37
37
|
- name: Setup Nix/devenv
|
|
38
38
|
uses: ./.github/actions/setup-devenv
|
|
39
39
|
|
|
40
|
+
# A transient Cloudflare or network failure retries here; one that outlasts
|
|
41
|
+
# the retries is collected by the scheduled PR Stage Sweep, because
|
|
42
|
+
# cleanup-pr keeps the records of a cleanup that stopped.
|
|
40
43
|
- name: Cleanup PR environment
|
|
41
44
|
${cloudflareCredentialEnvLines(options.deploySecrets).join('\n')}
|
|
42
|
-
run:
|
|
45
|
+
run: |
|
|
46
|
+
for attempt in 1 2 3; do
|
|
47
|
+
smoo wrangler cleanup-pr --pr \${{ github.event.pull_request.number }} && exit 0
|
|
48
|
+
echo "::warning::cleanup attempt $attempt failed"
|
|
49
|
+
if [ "$attempt" -lt 3 ]; then sleep $((attempt * 30)); fi
|
|
50
|
+
done
|
|
51
|
+
echo "::error::cleanup failed 3 times; the scheduled PR Stage Sweep retries it"
|
|
52
|
+
exit 1
|
|
53
|
+
`;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The safety net behind the close-time cleanup: every 6 hours, and by hand, it collects the stage of
|
|
57
|
+
* every closed pull request that still holds records, and fails (red run, job summary) when the
|
|
58
|
+
* account nears Cloudflare's 500 Durable Object namespace limit. A hand run may name one pull
|
|
59
|
+
* request; it is collected only if closed, exactly as the sweep decides.
|
|
60
|
+
*/
|
|
61
|
+
export function renderPrStageSweepWorkflowYaml(options = {}) {
|
|
62
|
+
return `name: PR Stage Sweep
|
|
63
|
+
|
|
64
|
+
on:
|
|
65
|
+
schedule:
|
|
66
|
+
- cron: '17 */6 * * *'
|
|
67
|
+
workflow_dispatch:
|
|
68
|
+
inputs:
|
|
69
|
+
pr:
|
|
70
|
+
description: One pull request number to collect if closed; empty sweeps every closed pull request
|
|
71
|
+
required: false
|
|
72
|
+
type: string
|
|
73
|
+
|
|
74
|
+
permissions:
|
|
75
|
+
contents: read
|
|
76
|
+
pull-requests: read
|
|
77
|
+
|
|
78
|
+
# One sweep at a time; a hand run waits for a scheduled one instead of racing it.
|
|
79
|
+
concurrency:
|
|
80
|
+
group: pr-stage-sweep
|
|
81
|
+
cancel-in-progress: false
|
|
82
|
+
|
|
83
|
+
jobs:
|
|
84
|
+
sweep:
|
|
85
|
+
name: Sweep closed PR stages
|
|
86
|
+
${renderRunsOnLine(options.runsOn)}
|
|
87
|
+
timeout-minutes: 60
|
|
88
|
+
${environmentLine(options.environments?.staging)} defaults:
|
|
89
|
+
run:
|
|
90
|
+
working-directory: tooling/direnv
|
|
91
|
+
${setupJobEnv(options)} steps:
|
|
92
|
+
- name: Checkout
|
|
93
|
+
uses: ${githubActionPins.checkout.ref} # ${githubActionPins.checkout.version}
|
|
94
|
+
with:
|
|
95
|
+
filter: blob:none
|
|
96
|
+
fetch-depth: 1
|
|
97
|
+
persist-credentials: false
|
|
98
|
+
${preflightSteps(options)}
|
|
99
|
+
- name: Setup Nix/devenv
|
|
100
|
+
uses: ./.github/actions/setup-devenv
|
|
101
|
+
|
|
102
|
+
- name: Sweep closed PR stages
|
|
103
|
+
${cloudflareCredentialEnvLines(options.deploySecrets).join('\n')}
|
|
104
|
+
GH_TOKEN: \${{ github.token }}
|
|
105
|
+
PR: \${{ inputs.pr }}
|
|
106
|
+
run: smoo wrangler sweep-pr-stages \${PR:+--pr "$PR"}
|
|
43
107
|
`;
|
|
44
108
|
}
|
|
45
109
|
/** The job env setup-devenv needs, as the CI jobs spell it; nothing for a repository that declares no credential. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish-workflow.d.ts","sourceRoot":"","sources":["../../src/managed-files/publish-workflow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"publish-workflow.d.ts","sourceRoot":"","sources":["../../src/managed-files/publish-workflow.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,iBAAiB,EACjB,2BAA2B,EAC5B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAKL,KAAK,sBAAsB,EAM5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAgD,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AASxG,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,CAAC;AACtF,MAAM,MAAM,wBAAwB,GAChC,oBAAoB,GACpB,uBAAuB,GACvB,mBAAmB,GACnB,8BAA8B,GAC9B,SAAS,GACT,QAAQ,CAAC;AACb,MAAM,MAAM,uBAAuB,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAChE,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG,YAAY,CAAC;AAE/D,oBAAY,uBAAuB;IACjC,QAAQ,aAAa;IACrB,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