putitoutthere 0.3.26 → 0.3.28
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/action.d.ts +2 -6
- package/dist/action.d.ts.map +1 -1
- package/dist/action.js +17 -23
- package/dist/action.js.map +1 -1
- package/dist/advance-floating-major.d.ts +3 -15
- package/dist/advance-floating-major.d.ts.map +1 -1
- package/dist/advance-floating-major.js +3 -15
- package/dist/advance-floating-major.js.map +1 -1
- package/dist/advance-v0.d.ts +3 -11
- package/dist/advance-v0.d.ts.map +1 -1
- package/dist/advance-v0.js +3 -11
- package/dist/advance-v0.js.map +1 -1
- package/dist/build-requires-declares.d.ts.map +1 -1
- package/dist/build-requires-declares.js +3 -16
- package/dist/build-requires-declares.js.map +1 -1
- package/dist/cargo-dep-entries.d.ts +4 -12
- package/dist/cargo-dep-entries.d.ts.map +1 -1
- package/dist/cargo-dep-entries.js +4 -12
- package/dist/cargo-dep-entries.js.map +1 -1
- package/dist/cascade.d.ts +4 -22
- package/dist/cascade.d.ts.map +1 -1
- package/dist/cascade.js +4 -22
- package/dist/cascade.js.map +1 -1
- package/dist/check-crate-size.d.ts +4 -14
- package/dist/check-crate-size.d.ts.map +1 -1
- package/dist/check-crate-size.js +4 -14
- package/dist/check-crate-size.js.map +1 -1
- package/dist/check.d.ts +4 -23
- package/dist/check.d.ts.map +1 -1
- package/dist/check.js +4 -23
- package/dist/check.js.map +1 -1
- package/dist/cli.d.ts +3 -41
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +14 -41
- package/dist/cli.js.map +1 -1
- package/dist/completeness.d.ts +4 -13
- package/dist/completeness.d.ts.map +1 -1
- package/dist/completeness.js +4 -13
- package/dist/completeness.js.map +1 -1
- package/dist/config.d.ts +4 -12
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +4 -12
- package/dist/config.js.map +1 -1
- package/dist/emit-plan-outputs.d.ts +4 -18
- package/dist/emit-plan-outputs.d.ts.map +1 -1
- package/dist/emit-plan-outputs.js +4 -18
- package/dist/emit-plan-outputs.js.map +1 -1
- package/dist/emit-release-outputs.d.ts +4 -17
- package/dist/emit-release-outputs.d.ts.map +1 -1
- package/dist/emit-release-outputs.js +4 -17
- package/dist/emit-release-outputs.js.map +1 -1
- package/dist/ensure-tag.d.ts +13 -9
- package/dist/ensure-tag.d.ts.map +1 -1
- package/dist/ensure-tag.js +25 -13
- package/dist/ensure-tag.js.map +1 -1
- package/dist/env.d.ts +8 -23
- package/dist/env.d.ts.map +1 -1
- package/dist/env.js +11 -40
- package/dist/env.js.map +1 -1
- package/dist/error-codes.d.ts +14 -27
- package/dist/error-codes.d.ts.map +1 -1
- package/dist/error-codes.js +15 -27
- package/dist/error-codes.js.map +1 -1
- package/dist/fold-action-bundle.d.ts +4 -20
- package/dist/fold-action-bundle.d.ts.map +1 -1
- package/dist/fold-action-bundle.js +4 -20
- package/dist/fold-action-bundle.js.map +1 -1
- package/dist/force-move-tag.d.ts +4 -13
- package/dist/force-move-tag.d.ts.map +1 -1
- package/dist/force-move-tag.js +4 -13
- package/dist/force-move-tag.js.map +1 -1
- package/dist/git.d.ts +15 -16
- package/dist/git.d.ts.map +1 -1
- package/dist/git.js +19 -16
- package/dist/git.js.map +1 -1
- package/dist/glob.d.ts +3 -10
- package/dist/glob.d.ts.map +1 -1
- package/dist/glob.js +3 -10
- package/dist/glob.js.map +1 -1
- package/dist/handlers/classify-npm-view-failure.d.ts +4 -30
- package/dist/handlers/classify-npm-view-failure.d.ts.map +1 -1
- package/dist/handlers/classify-npm-view-failure.js +7 -38
- package/dist/handlers/classify-npm-view-failure.js.map +1 -1
- package/dist/handlers/crates.d.ts +4 -35
- package/dist/handlers/crates.d.ts.map +1 -1
- package/dist/handlers/crates.js +8 -47
- package/dist/handlers/crates.js.map +1 -1
- package/dist/handlers/first-file-under.d.ts +3 -11
- package/dist/handlers/first-file-under.d.ts.map +1 -1
- package/dist/handlers/first-file-under.js +3 -11
- package/dist/handlers/first-file-under.js.map +1 -1
- package/dist/handlers/match-first-publish-tp-rejection.d.ts +4 -16
- package/dist/handlers/match-first-publish-tp-rejection.d.ts.map +1 -1
- package/dist/handlers/match-first-publish-tp-rejection.js +4 -16
- package/dist/handlers/match-first-publish-tp-rejection.js.map +1 -1
- package/dist/handlers/match-npm-name-too-similar.d.ts +4 -25
- package/dist/handlers/match-npm-name-too-similar.d.ts.map +1 -1
- package/dist/handlers/match-npm-name-too-similar.js +4 -25
- package/dist/handlers/match-npm-name-too-similar.js.map +1 -1
- package/dist/handlers/match-tlog-duplicate.d.ts +4 -13
- package/dist/handlers/match-tlog-duplicate.d.ts.map +1 -1
- package/dist/handlers/match-tlog-duplicate.js +4 -13
- package/dist/handlers/match-tlog-duplicate.js.map +1 -1
- package/dist/handlers/npm-platform.d.ts +11 -46
- package/dist/handlers/npm-platform.d.ts.map +1 -1
- package/dist/handlers/npm-platform.js +11 -46
- package/dist/handlers/npm-platform.js.map +1 -1
- package/dist/handlers/npm.d.ts +3 -7
- package/dist/handlers/npm.d.ts.map +1 -1
- package/dist/handlers/npm.js +11 -45
- package/dist/handlers/npm.js.map +1 -1
- package/dist/handlers/pypi.d.ts +5 -37
- package/dist/handlers/pypi.d.ts.map +1 -1
- package/dist/handlers/pypi.js +5 -37
- package/dist/handlers/pypi.js.map +1 -1
- package/dist/handlers/scan-dirty-outside-manifest.d.ts +4 -11
- package/dist/handlers/scan-dirty-outside-manifest.d.ts.map +1 -1
- package/dist/handlers/scan-dirty-outside-manifest.js +4 -11
- package/dist/handlers/scan-dirty-outside-manifest.js.map +1 -1
- package/dist/is-within-dir.d.ts +3 -5
- package/dist/is-within-dir.d.ts.map +1 -1
- package/dist/is-within-dir.js +3 -5
- package/dist/is-within-dir.js.map +1 -1
- package/dist/log.d.ts +6 -33
- package/dist/log.d.ts.map +1 -1
- package/dist/log.js +10 -57
- package/dist/log.js.map +1 -1
- package/dist/manylinux-for-triple.d.ts +4 -6
- package/dist/manylinux-for-triple.d.ts.map +1 -1
- package/dist/manylinux-for-triple.js +4 -6
- package/dist/manylinux-for-triple.js.map +1 -1
- package/dist/must-get.d.ts +3 -14
- package/dist/must-get.d.ts.map +1 -1
- package/dist/must-get.js +3 -14
- package/dist/must-get.js.map +1 -1
- package/dist/normalize-artifacts.d.ts +4 -19
- package/dist/normalize-artifacts.d.ts.map +1 -1
- package/dist/normalize-artifacts.js +4 -19
- package/dist/normalize-artifacts.js.map +1 -1
- package/dist/normalize-dist-name.d.ts +4 -13
- package/dist/normalize-dist-name.d.ts.map +1 -1
- package/dist/normalize-dist-name.js +4 -13
- package/dist/normalize-dist-name.js.map +1 -1
- package/dist/packages-by-name.d.ts +4 -12
- package/dist/packages-by-name.d.ts.map +1 -1
- package/dist/packages-by-name.js +4 -12
- package/dist/packages-by-name.js.map +1 -1
- package/dist/parse-reconcile-expect.d.ts +2 -5
- package/dist/parse-reconcile-expect.d.ts.map +1 -1
- package/dist/parse-reconcile-expect.js +2 -5
- package/dist/parse-reconcile-expect.js.map +1 -1
- package/dist/plan-skew.d.ts +4 -8
- package/dist/plan-skew.d.ts.map +1 -1
- package/dist/plan-skew.js +4 -8
- package/dist/plan-skew.js.map +1 -1
- package/dist/plan-status-types.d.ts +3 -6
- package/dist/plan-status-types.d.ts.map +1 -1
- package/dist/plan-status-types.js +3 -6
- package/dist/plan-status-types.js.map +1 -1
- package/dist/plan-status.d.ts +5 -18
- package/dist/plan-status.d.ts.map +1 -1
- package/dist/plan-status.js +5 -18
- package/dist/plan-status.js.map +1 -1
- package/dist/plan.d.ts +4 -8
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +8 -22
- package/dist/plan.js.map +1 -1
- package/dist/preflight.d.ts +16 -62
- package/dist/preflight.d.ts.map +1 -1
- package/dist/preflight.js +16 -62
- package/dist/preflight.js.map +1 -1
- package/dist/publish-progress.d.ts +4 -17
- package/dist/publish-progress.d.ts.map +1 -1
- package/dist/publish-progress.js +4 -17
- package/dist/publish-progress.js.map +1 -1
- package/dist/publish.d.ts +4 -18
- package/dist/publish.d.ts.map +1 -1
- package/dist/publish.js +4 -18
- package/dist/publish.js.map +1 -1
- package/dist/pypi-version-source.d.ts +3 -31
- package/dist/pypi-version-source.d.ts.map +1 -1
- package/dist/pypi-version-source.js +3 -31
- package/dist/pypi-version-source.js.map +1 -1
- package/dist/python-versions.d.ts +4 -13
- package/dist/python-versions.d.ts.map +1 -1
- package/dist/python-versions.js +4 -13
- package/dist/python-versions.js.map +1 -1
- package/dist/reconcile-expect.d.ts +4 -20
- package/dist/reconcile-expect.d.ts.map +1 -1
- package/dist/reconcile-expect.js +4 -20
- package/dist/reconcile-expect.js.map +1 -1
- package/dist/reconcile-skip-warnings.d.ts +21 -0
- package/dist/reconcile-skip-warnings.d.ts.map +1 -0
- package/dist/reconcile-skip-warnings.js +24 -0
- package/dist/reconcile-skip-warnings.js.map +1 -0
- package/dist/reconcile-types.d.ts +30 -3
- package/dist/reconcile-types.d.ts.map +1 -1
- package/dist/reconcile-types.js +3 -3
- package/dist/reconcile.d.ts +11 -2
- package/dist/reconcile.d.ts.map +1 -1
- package/dist/reconcile.js +31 -8
- package/dist/reconcile.js.map +1 -1
- package/dist/release-github/gh-release-create.d.ts +4 -7
- package/dist/release-github/gh-release-create.d.ts.map +1 -1
- package/dist/release-github/gh-release-create.js +4 -7
- package/dist/release-github/gh-release-create.js.map +1 -1
- package/dist/release-github/gh-release-exists.d.ts +4 -8
- package/dist/release-github/gh-release-exists.d.ts.map +1 -1
- package/dist/release-github/gh-release-exists.js +4 -8
- package/dist/release-github/gh-release-exists.js.map +1 -1
- package/dist/release-github/index.d.ts +4 -29
- package/dist/release-github/index.d.ts.map +1 -1
- package/dist/release-github/index.js +4 -29
- package/dist/release-github/index.js.map +1 -1
- package/dist/release-packages.d.ts +4 -16
- package/dist/release-packages.d.ts.map +1 -1
- package/dist/release-packages.js +4 -16
- package/dist/release-packages.js.map +1 -1
- package/dist/replace-cargo-version.d.ts +3 -30
- package/dist/replace-cargo-version.d.ts.map +1 -1
- package/dist/replace-cargo-version.js +3 -30
- package/dist/replace-cargo-version.js.map +1 -1
- package/dist/replace-dep-version-req.d.ts +8 -32
- package/dist/replace-dep-version-req.d.ts.map +1 -1
- package/dist/replace-dep-version-req.js +8 -32
- package/dist/replace-dep-version-req.js.map +1 -1
- package/dist/repo-relative-paths.d.ts +3 -14
- package/dist/repo-relative-paths.d.ts.map +1 -1
- package/dist/repo-relative-paths.js +3 -14
- package/dist/repo-relative-paths.js.map +1 -1
- package/dist/resolve/run-resolve.d.ts +4 -9
- package/dist/resolve/run-resolve.d.ts.map +1 -1
- package/dist/resolve/run-resolve.js +4 -9
- package/dist/resolve/run-resolve.js.map +1 -1
- package/dist/resolve-dep-dirs.d.ts +4 -14
- package/dist/resolve-dep-dirs.d.ts.map +1 -1
- package/dist/resolve-dep-dirs.js +4 -14
- package/dist/resolve-dep-dirs.js.map +1 -1
- package/dist/resolve-tag-commit.d.ts +4 -12
- package/dist/resolve-tag-commit.d.ts.map +1 -1
- package/dist/resolve-tag-commit.js +4 -12
- package/dist/resolve-tag-commit.js.map +1 -1
- package/dist/retry.d.ts +4 -16
- package/dist/retry.d.ts.map +1 -1
- package/dist/retry.js +4 -16
- package/dist/retry.js.map +1 -1
- package/dist/status-classify.d.ts +3 -6
- package/dist/status-classify.d.ts.map +1 -1
- package/dist/status-classify.js +3 -6
- package/dist/status-classify.js.map +1 -1
- package/dist/status.d.ts +4 -18
- package/dist/status.d.ts.map +1 -1
- package/dist/status.js +4 -18
- package/dist/status.js.map +1 -1
- package/dist/tag-template.d.ts +4 -14
- package/dist/tag-template.d.ts.map +1 -1
- package/dist/tag-template.js +4 -14
- package/dist/tag-template.js.map +1 -1
- package/dist/to-error.d.ts +4 -13
- package/dist/to-error.d.ts.map +1 -1
- package/dist/to-error.js +4 -13
- package/dist/to-error.js.map +1 -1
- package/dist/trailer.d.ts +4 -17
- package/dist/trailer.d.ts.map +1 -1
- package/dist/trailer.js +4 -17
- package/dist/trailer.js.map +1 -1
- package/dist/types.d.ts +11 -32
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +3 -6
- package/dist/types.js.map +1 -1
- package/dist/unpublished-kinds.d.ts +4 -15
- package/dist/unpublished-kinds.d.ts.map +1 -1
- package/dist/unpublished-kinds.js +4 -15
- package/dist/unpublished-kinds.js.map +1 -1
- package/dist/utils/bound-capture.d.ts +4 -8
- package/dist/utils/bound-capture.d.ts.map +1 -1
- package/dist/utils/bound-capture.js +4 -8
- package/dist/utils/bound-capture.js.map +1 -1
- package/dist/utils/elide-middle.d.ts +4 -19
- package/dist/utils/elide-middle.d.ts.map +1 -1
- package/dist/utils/elide-middle.js +4 -19
- package/dist/utils/elide-middle.js.map +1 -1
- package/dist/utils/find-exec-error.d.ts.map +1 -1
- package/dist/utils/find-exec-error.js +4 -12
- package/dist/utils/find-exec-error.js.map +1 -1
- package/dist/utils/flush-stdio.d.ts +4 -11
- package/dist/utils/flush-stdio.d.ts.map +1 -1
- package/dist/utils/flush-stdio.js +4 -11
- package/dist/utils/flush-stdio.js.map +1 -1
- package/dist/utils/list-files-recursive.d.ts +3 -7
- package/dist/utils/list-files-recursive.d.ts.map +1 -1
- package/dist/utils/list-files-recursive.js +3 -7
- package/dist/utils/list-files-recursive.js.map +1 -1
- package/dist/utils/to-posix-path.d.ts +4 -7
- package/dist/utils/to-posix-path.d.ts.map +1 -1
- package/dist/utils/to-posix-path.js +4 -7
- package/dist/utils/to-posix-path.js.map +1 -1
- package/dist/verbose.d.ts +4 -10
- package/dist/verbose.d.ts.map +1 -1
- package/dist/verbose.js +4 -10
- package/dist/verbose.js.map +1 -1
- package/dist/verify/bundle-cli/compute-stage-suffix.d.ts +4 -11
- package/dist/verify/bundle-cli/compute-stage-suffix.d.ts.map +1 -1
- package/dist/verify/bundle-cli/compute-stage-suffix.js +4 -11
- package/dist/verify/bundle-cli/compute-stage-suffix.js.map +1 -1
- package/dist/verify/bundle-cli/index.d.ts +4 -20
- package/dist/verify/bundle-cli/index.d.ts.map +1 -1
- package/dist/verify/bundle-cli/index.js +4 -20
- package/dist/verify/bundle-cli/index.js.map +1 -1
- package/dist/verify/bundle-cli/read-python-source.d.ts +4 -12
- package/dist/verify/bundle-cli/read-python-source.d.ts.map +1 -1
- package/dist/verify/bundle-cli/read-python-source.js +4 -12
- package/dist/verify/bundle-cli/read-python-source.js.map +1 -1
- package/dist/verify/crate/find-crate-file.d.ts +2 -6
- package/dist/verify/crate/find-crate-file.d.ts.map +1 -1
- package/dist/verify/crate/find-crate-file.js +2 -6
- package/dist/verify/crate/find-crate-file.js.map +1 -1
- package/dist/verify/crate/has-crate-source.d.ts +3 -5
- package/dist/verify/crate/has-crate-source.d.ts.map +1 -1
- package/dist/verify/crate/has-crate-source.js +3 -5
- package/dist/verify/crate/has-crate-source.js.map +1 -1
- package/dist/verify/crate/index.d.ts +4 -16
- package/dist/verify/crate/index.d.ts.map +1 -1
- package/dist/verify/crate/index.js +4 -16
- package/dist/verify/crate/index.js.map +1 -1
- package/dist/verify/npm-tarball/download.d.ts +3 -9
- package/dist/verify/npm-tarball/download.d.ts.map +1 -1
- package/dist/verify/npm-tarball/download.js +3 -9
- package/dist/verify/npm-tarball/download.js.map +1 -1
- package/dist/verify/npm-tarball/index.d.ts +4 -13
- package/dist/verify/npm-tarball/index.d.ts.map +1 -1
- package/dist/verify/npm-tarball/index.js +4 -13
- package/dist/verify/npm-tarball/index.js.map +1 -1
- package/dist/verify/npm-tarball/local-dir-state.d.ts +4 -8
- package/dist/verify/npm-tarball/local-dir-state.d.ts.map +1 -1
- package/dist/verify/npm-tarball/local-dir-state.js +4 -8
- package/dist/verify/npm-tarball/local-dir-state.js.map +1 -1
- package/dist/verify/npm-tarball/main.d.ts +4 -14
- package/dist/verify/npm-tarball/main.d.ts.map +1 -1
- package/dist/verify/npm-tarball/main.js +4 -14
- package/dist/verify/npm-tarball/main.js.map +1 -1
- package/dist/verify/npm-tarball/resolve-url.d.ts +4 -11
- package/dist/verify/npm-tarball/resolve-url.d.ts.map +1 -1
- package/dist/verify/npm-tarball/resolve-url.js +4 -11
- package/dist/verify/npm-tarball/resolve-url.js.map +1 -1
- package/dist/verify/npm-tarball/triple.d.ts +4 -26
- package/dist/verify/npm-tarball/triple.d.ts.map +1 -1
- package/dist/verify/npm-tarball/triple.js +4 -26
- package/dist/verify/npm-tarball/triple.js.map +1 -1
- package/dist/verify/posture.d.ts +4 -13
- package/dist/verify/posture.d.ts.map +1 -1
- package/dist/verify/posture.js +4 -13
- package/dist/verify/posture.js.map +1 -1
- package/dist/verify/wheel/index.d.ts +4 -17
- package/dist/verify/wheel/index.d.ts.map +1 -1
- package/dist/verify/wheel/index.js +4 -17
- package/dist/verify/wheel/index.js.map +1 -1
- package/dist/verify/wheel/manylinux-tag-patterns.d.ts +4 -6
- package/dist/verify/wheel/manylinux-tag-patterns.d.ts.map +1 -1
- package/dist/verify/wheel/manylinux-tag-patterns.js +4 -6
- package/dist/verify/wheel/manylinux-tag-patterns.js.map +1 -1
- package/dist/verify/wheel/read-wheel-version.d.ts +4 -8
- package/dist/verify/wheel/read-wheel-version.d.ts.map +1 -1
- package/dist/verify/wheel/read-wheel-version.js +4 -8
- package/dist/verify/wheel/read-wheel-version.js.map +1 -1
- package/dist/verify/wheel/read-zip-entry.d.ts +3 -8
- package/dist/verify/wheel/read-zip-entry.d.ts.map +1 -1
- package/dist/verify/wheel/read-zip-entry.js +3 -8
- package/dist/verify/wheel/read-zip-entry.js.map +1 -1
- package/dist/version.d.ts +4 -12
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +4 -12
- package/dist/version.js.map +1 -1
- package/dist/wheel-abi.d.ts +5 -28
- package/dist/wheel-abi.d.ts.map +1 -1
- package/dist/wheel-abi.js +5 -28
- package/dist/wheel-abi.js.map +1 -1
- package/dist/write-crate-version.d.ts +4 -17
- package/dist/write-crate-version.d.ts.map +1 -1
- package/dist/write-crate-version.js +4 -17
- package/dist/write-crate-version.js.map +1 -1
- package/dist/write-dependent-version-reqs.d.ts +8 -43
- package/dist/write-dependent-version-reqs.d.ts.map +1 -1
- package/dist/write-dependent-version-reqs.js +8 -43
- package/dist/write-dependent-version-reqs.js.map +1 -1
- package/dist/write-embedded-crate-versions.d.ts +9 -40
- package/dist/write-embedded-crate-versions.d.ts.map +1 -1
- package/dist/write-embedded-crate-versions.js +9 -40
- package/dist/write-embedded-crate-versions.js.map +1 -1
- package/dist/write-launcher.d.ts +7 -23
- package/dist/write-launcher.d.ts.map +1 -1
- package/dist/write-launcher.js +11 -37
- package/dist/write-launcher.js.map +1 -1
- package/dist/write-resolved-cargo-version.d.ts +4 -12
- package/dist/write-resolved-cargo-version.d.ts.map +1 -1
- package/dist/write-resolved-cargo-version.js +4 -12
- package/dist/write-resolved-cargo-version.js.map +1 -1
- package/dist/write-version.d.ts +8 -29
- package/dist/write-version.d.ts.map +1 -1
- package/dist/write-version.js +8 -29
- package/dist/write-version.js.map +1 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Public SDK + internal handler types.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* surface; each field's implementation lands in its own issue:
|
|
6
|
-
* #5 (config), #7 (cascade), #11 (logger), #12 (handler dispatcher),
|
|
7
|
-
* #13 (completeness), #14 (pre-flight), #16–#19 (handlers).
|
|
2
|
+
* Public SDK + internal handler types. Full contract in plan.md §7.1; per-field
|
|
3
|
+
* implementations land in #5 (config), #7 (cascade), #11 (logger), #12 (handler
|
|
4
|
+
* dispatcher), #13 (completeness), #14 (pre-flight), #16–#19 (handlers).
|
|
8
5
|
*/
|
|
9
6
|
export type Kind = 'crates' | 'pypi' | 'npm';
|
|
10
7
|
export type Bump = 'patch' | 'minor' | 'major';
|
|
@@ -74,19 +71,10 @@ export interface Ctx {
|
|
|
74
71
|
*/
|
|
75
72
|
siblingPackagePaths?: readonly string[];
|
|
76
73
|
/**
|
|
77
|
-
* Absolute paths of the manifests this package's `writeVersion` just
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* The crates handler's pre-publish dirty-tree check (#135) used to assume
|
|
82
|
-
* the only file it could have touched was the package's own `Cargo.toml`.
|
|
83
|
-
* That stopped being true once `writeVersion` learned to follow workspace
|
|
84
|
-
* inheritance (#639): a crate declaring `version.workspace = true` has its
|
|
85
|
-
* version bumped at the workspace root, a file outside the package
|
|
86
|
-
* directory that the guard would otherwise refuse on.
|
|
87
|
-
*
|
|
88
|
-
* Optional so local/test flows can omit; absent => the guard falls back to
|
|
89
|
-
* allowing only the package's own manifest.
|
|
74
|
+
* Absolute paths of the manifests this package's `writeVersion` just wrote,
|
|
75
|
+
* so `publish` can tell a managed bump from a stray edit. A crate with
|
|
76
|
+
* `version.workspace = true` is bumped at the workspace root (#639), outside
|
|
77
|
+
* what the #135 dirty-tree guard allows. Absent => the package's own manifest.
|
|
90
78
|
*/
|
|
91
79
|
managedManifestPaths?: readonly string[];
|
|
92
80
|
}
|
|
@@ -103,19 +91,10 @@ export interface ArtifactStore {
|
|
|
103
91
|
has(artifactName: string): boolean;
|
|
104
92
|
}
|
|
105
93
|
/**
|
|
106
|
-
* What a platform-package family did during one publish (#625).
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* umbrella and five platform packages. `publishPlatforms` has always
|
|
111
|
-
* known which of them it published and which were already live; this is
|
|
112
|
-
* how that reaches the run report, which is the only record an operator
|
|
113
|
-
* has of what a release actually did. Without it a complete
|
|
114
|
-
* multi-package publish and a partial one that shipped the umbrella and
|
|
115
|
-
* stopped produce byte-identical output.
|
|
116
|
-
*
|
|
117
|
-
* Registry names (`@scope/pkg-<triple>`), not config names, so they can
|
|
118
|
-
* be pasted straight at a registry.
|
|
94
|
+
* What a platform-package family did during one publish (#625). Without it a
|
|
95
|
+
* complete multi-package publish and a partial one that shipped only the
|
|
96
|
+
* umbrella produce byte-identical run reports. Names are registry names
|
|
97
|
+
* (`@scope/pkg-<triple>`), not config names, so they paste straight at one.
|
|
119
98
|
*/
|
|
120
99
|
export interface PlatformPublishSummary {
|
|
121
100
|
/** Published during this run, in publish order. */
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,MAAM,IAAI,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAC;AAE7C,MAAM,MAAM,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAE/C;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAKvF;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,6BAA6B;AAC7B,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B;AAED,oDAAoD;AACpD,MAAM,WAAW,GAAG;IAClB,GAAG,EAAE,MAAM,C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eAAe;CACtC;AAED,4DAA4D;AAC5D,qBAAa,cAAe,SAAQ,KAAK;IACvC,SAAkB,IAAI,oBAAoB;CAC3C;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;8DAE0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACvC;AAID;+EAC+E;AAC/E,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,KAAK,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,GAAG,CAAC,CAGpF;AAED;;qBAEqB;AACrB,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,GAAG,SAAS,CAI5E"}
|
package/dist/types.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Public SDK + internal handler types.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* surface; each field's implementation lands in its own issue:
|
|
6
|
-
* #5 (config), #7 (cascade), #11 (logger), #12 (handler dispatcher),
|
|
7
|
-
* #13 (completeness), #14 (pre-flight), #16–#19 (handlers).
|
|
2
|
+
* Public SDK + internal handler types. Full contract in plan.md §7.1; per-field
|
|
3
|
+
* implementations land in #5 (config), #7 (cascade), #11 (logger), #12 (handler
|
|
4
|
+
* dispatcher), #13 (completeness), #14 (pre-flight), #16–#19 (handlers).
|
|
8
5
|
*/
|
|
9
6
|
/**
|
|
10
7
|
* Normalizes a `TargetEntry` into its canonical object shape. Callers
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiBH;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,KAAkB;IAChD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAAA,CAAC;IAC1D,OAAO,KAAK,CAAC,MAAM,KAAK,SAAS;QAC/B,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;QAChD,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;AAC/B,CAAC;AAkJD,2CAA2C;AAC3C,MAAM,OAAO,SAAU,SAAQ,KAAK;IAChB,IAAI,GAAG,WAAW,CAAC;CACtC;AAED,4DAA4D;AAC5D,MAAM,OAAO,cAAe,SAAQ,KAAK;IACrB,IAAI,GAAG,gBAAgB,CAAC;CAC3C;AAkBD,MAAM,gBAAgB,GAAG,mBAAmB,CAAC;AAE7C;+EAC+E;AAC/E,MAAM,UAAU,iBAAiB,CAAkB,GAAM,EAAE,IAAsB;IAC9E,GAAqD,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAChF,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;qBAEqB;AACrB,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,IAAI,CAAC,CAAC,KAAK,YAAY,KAAK,CAAC,EAAE,CAAC;QAAA,OAAO,SAAS,CAAC;IAAA,CAAC;IAClD,MAAM,OAAO,GAAG,KAA0D,CAAC;IAC3E,OAAO,OAAO,CAAC,gBAAgB,CAAC,CAAC;AACnC,CAAC"}
|
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The registry kinds a planned release still has work for (#622)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* gates registry authentication on this: `release.yml` used to ask the build
|
|
7
|
-
* matrix "does this repo have a crates package?", which is true whenever a
|
|
8
|
-
* crate exists — published or not — so the crates.io OIDC exchange fired on
|
|
9
|
-
* re-runs with nothing left to ship, and a failing exchange killed the
|
|
10
|
-
* publish job before npm and PyPI got their turn.
|
|
11
|
-
*
|
|
12
|
-
* `unknown` (the registry could not be reached, so `plan` degraded rather
|
|
13
|
-
* than aborting) counts as unpublished. Reading "we could not tell" as
|
|
14
|
-
* "nothing to do" would drop the credential a publish may well still need,
|
|
15
|
-
* turning a registry blip at plan time into an auth failure at publish time;
|
|
16
|
-
* listing the kind preserves the pre-#622 behaviour in exactly that case.
|
|
2
|
+
* The registry kinds a planned release still has work for (#622): distinct
|
|
3
|
+
* `kind`s with a package whose planned version is not yet on its registry.
|
|
4
|
+
* `release.yml` gates registry auth on this, so a re-run with nothing left to
|
|
5
|
+
* ship needs no crates.io OIDC. `unknown` counts as unpublished, never as done.
|
|
17
6
|
*/
|
|
18
7
|
import type { PlanVerdict } from './plan-status-types.js';
|
|
19
8
|
import type { Kind } from './types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unpublished-kinds.d.ts","sourceRoot":"","sources":["../src/unpublished-kinds.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"unpublished-kinds.d.ts","sourceRoot":"","sources":["../src/unpublished-kinds.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,GAAG,IAAI,EAAE,CAOzE"}
|
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The registry kinds a planned release still has work for (#622)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* gates registry authentication on this: `release.yml` used to ask the build
|
|
7
|
-
* matrix "does this repo have a crates package?", which is true whenever a
|
|
8
|
-
* crate exists — published or not — so the crates.io OIDC exchange fired on
|
|
9
|
-
* re-runs with nothing left to ship, and a failing exchange killed the
|
|
10
|
-
* publish job before npm and PyPI got their turn.
|
|
11
|
-
*
|
|
12
|
-
* `unknown` (the registry could not be reached, so `plan` degraded rather
|
|
13
|
-
* than aborting) counts as unpublished. Reading "we could not tell" as
|
|
14
|
-
* "nothing to do" would drop the credential a publish may well still need,
|
|
15
|
-
* turning a registry blip at plan time into an auth failure at publish time;
|
|
16
|
-
* listing the kind preserves the pre-#622 behaviour in exactly that case.
|
|
2
|
+
* The registry kinds a planned release still has work for (#622): distinct
|
|
3
|
+
* `kind`s with a package whose planned version is not yet on its registry.
|
|
4
|
+
* `release.yml` gates registry auth on this, so a re-run with nothing left to
|
|
5
|
+
* ship needs no crates.io OIDC. `unknown` counts as unpublished, never as done.
|
|
17
6
|
*/
|
|
18
7
|
export function unpublishedKinds(verdicts) {
|
|
19
8
|
const kinds = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unpublished-kinds.js","sourceRoot":"","sources":["../src/unpublished-kinds.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"unpublished-kinds.js","sourceRoot":"","sources":["../src/unpublished-kinds.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,MAAM,UAAU,gBAAgB,CAAC,QAAgC;IAC/D,MAAM,KAAK,GAAW,EAAE,CAAC;IACzB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,OAAO,CAAC,OAAO,KAAK,MAAM,EAAE,CAAC;YAAA,SAAS;QAAA,CAAC;QAC3C,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAAA,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAAA,CAAC;IAChE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream to `ceiling` characters, keeping both ends and
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* The banner leads the result rather than sitting at the cut, so it survives
|
|
8
|
-
* the job-summary render's head-only truncation (`verbose.ts`): a reader who
|
|
9
|
-
* gets only the first slice still learns the stream was elided.
|
|
2
|
+
* Bound a captured stream to `ceiling` characters, keeping both ends and saying
|
|
3
|
+
* how much went — a stream that just stops is indistinguishable from a tool
|
|
4
|
+
* that fell silent. The banner leads the result rather than sitting at the cut,
|
|
5
|
+
* so it survives the job-summary render's head-only truncation (`verbose.ts`).
|
|
10
6
|
*/
|
|
11
7
|
export declare function boundCapture(text: string, ceiling: number): string;
|
|
12
8
|
//# sourceMappingURL=bound-capture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bound-capture.d.ts","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bound-capture.d.ts","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAUlE"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream to `ceiling` characters, keeping both ends and
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* The banner leads the result rather than sitting at the cut, so it survives
|
|
8
|
-
* the job-summary render's head-only truncation (`verbose.ts`): a reader who
|
|
9
|
-
* gets only the first slice still learns the stream was elided.
|
|
2
|
+
* Bound a captured stream to `ceiling` characters, keeping both ends and saying
|
|
3
|
+
* how much went — a stream that just stops is indistinguishable from a tool
|
|
4
|
+
* that fell silent. The banner leads the result rather than sitting at the cut,
|
|
5
|
+
* so it survives the job-summary render's head-only truncation (`verbose.ts`).
|
|
10
6
|
*/
|
|
11
7
|
export function boundCapture(text, ceiling) {
|
|
12
8
|
if (text.length <= ceiling) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bound-capture.js","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bound-capture.js","sourceRoot":"","sources":["../../src/utils/bound-capture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,OAAe;IACxD,IAAI,IAAI,CAAC,MAAM,IAAI,OAAO,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IACrC,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC;IAC5B,OAAO;QACL,oDAAoD,IAAI,CAAC,MAAM,GAAG,OAAO,QAAQ;QACjF,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE;KAC1D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream by dropping its middle, keeping both ends.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* that narrates its work before it fails therefore loses exactly the part a
|
|
7
|
-
* reader needs, because the error comes last: `cargo publish --verbose`
|
|
8
|
-
* under `CARGO_TERM_VERBOSE=true` runs to hundreds of KB on a cold verify
|
|
9
|
-
* build, so on #651's release run the whole diagnostic a consumer got was
|
|
10
|
-
* 64KB of *successful* build output that stops mid-compile.
|
|
11
|
-
*
|
|
12
|
-
* Both ends earn their place, so the middle is what goes. The head names
|
|
13
|
-
* the phase that was running; the tail carries the error. Between them sits
|
|
14
|
-
* a count of the dropped bytes, so a reader can tell an elision from a
|
|
15
|
-
* stream that simply stopped.
|
|
16
|
-
*
|
|
17
|
-
* This bounds what gets *rendered into a message*, not what gets captured:
|
|
18
|
-
* predicates that scan a tool's stderr (the 429-fallback trigger, the
|
|
19
|
-
* first-publish TP rejection) still read it whole, and the job-summary dump
|
|
20
|
-
* — a file, with no per-line cut — still carries it whole.
|
|
2
|
+
* Bound a captured stream by dropping its middle, keeping both ends. GitHub
|
|
3
|
+
* Actions cuts a log line at 64KB — live view and archive alike — and keeps the
|
|
4
|
+
* *head*, so a tool that narrates before failing loses its error (#651). Only
|
|
5
|
+
* rendered messages are bounded; predicates and the dump file read it whole.
|
|
21
6
|
*/
|
|
22
7
|
export interface ElideMiddleOptions {
|
|
23
8
|
head?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elide-middle.d.ts","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"elide-middle.d.ts","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,kBAAkB;IAGjC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,GAAE,kBAAuB,GAAG,MAAM,CAa/E"}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Bound a captured stream by dropping its middle, keeping both ends.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* that narrates its work before it fails therefore loses exactly the part a
|
|
7
|
-
* reader needs, because the error comes last: `cargo publish --verbose`
|
|
8
|
-
* under `CARGO_TERM_VERBOSE=true` runs to hundreds of KB on a cold verify
|
|
9
|
-
* build, so on #651's release run the whole diagnostic a consumer got was
|
|
10
|
-
* 64KB of *successful* build output that stops mid-compile.
|
|
11
|
-
*
|
|
12
|
-
* Both ends earn their place, so the middle is what goes. The head names
|
|
13
|
-
* the phase that was running; the tail carries the error. Between them sits
|
|
14
|
-
* a count of the dropped bytes, so a reader can tell an elision from a
|
|
15
|
-
* stream that simply stopped.
|
|
16
|
-
*
|
|
17
|
-
* This bounds what gets *rendered into a message*, not what gets captured:
|
|
18
|
-
* predicates that scan a tool's stderr (the 429-fallback trigger, the
|
|
19
|
-
* first-publish TP rejection) still read it whole, and the job-summary dump
|
|
20
|
-
* — a file, with no per-line cut — still carries it whole.
|
|
2
|
+
* Bound a captured stream by dropping its middle, keeping both ends. GitHub
|
|
3
|
+
* Actions cuts a log line at 64KB — live view and archive alike — and keeps the
|
|
4
|
+
* *head*, so a tool that narrates before failing loses its error (#651). Only
|
|
5
|
+
* rendered messages are bounded; predicates and the dump file read it whole.
|
|
21
6
|
*/
|
|
22
7
|
export function elideMiddle(text, opts = {}) {
|
|
23
8
|
// Defaults live here, not in module constants: a top-level `const` is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elide-middle.js","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"elide-middle.js","sourceRoot":"","sources":["../../src/utils/elide-middle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,MAAM,UAAU,WAAW,CAAC,IAAY,EAAE,OAA2B,EAAE;IACrE,sEAAsE;IACtE,uEAAuE;IACvE,sEAAsE;IACtE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,CAAC,GAAG,IAAI,CAAC;IACnC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,EAAE,GAAG,IAAI,CAAC;IACpC,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1C,IAAI,OAAO,IAAI,CAAC,EAAE,CAAC;QAAA,OAAO,IAAI,CAAC;IAAA,CAAC;IAChC,OAAO;QACL,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC;QACnB,QAAQ,OAAO,oBAAoB;QACnC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;KAC/B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-exec-error.d.ts","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"find-exec-error.d.ts","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAQ5D"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { ExecError } from './exec-error.js';
|
|
2
2
|
/**
|
|
3
|
-
* The `ExecError` a thrown error was built from, or null when none is in
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* the original as `cause` — which is the right shape for a human reading one
|
|
8
|
-
* line, and the wrong shape for the failure dump, which was reconstructing
|
|
9
|
-
* the subprocess from that rendered sentence and so reported an empty
|
|
10
|
-
* command, an empty stdout and exit code -1. Walking back to the `ExecError`
|
|
11
|
-
* recovers what actually ran. #617.
|
|
12
|
-
*
|
|
13
|
-
* Bounded depth: `cause` is caller-supplied and can be cyclic, and no real
|
|
14
|
-
* chain in this engine is more than a couple of links deep.
|
|
3
|
+
* The `ExecError` a thrown error was built from, or null when none is in its
|
|
4
|
+
* cause chain. Handlers rethrow a rendered message with the original as
|
|
5
|
+
* `cause`, which left the failure dump reporting an empty command, empty stdout
|
|
6
|
+
* and exit -1 (#617). Depth is bounded: `cause` is caller-supplied and cyclic.
|
|
15
7
|
*/
|
|
16
8
|
const MAX_DEPTH = 10;
|
|
17
9
|
export function findExecError(err) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-exec-error.js","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C
|
|
1
|
+
{"version":3,"file":"find-exec-error.js","sourceRoot":"","sources":["../../src/utils/find-exec-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;;;GAKG;AACH,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB,MAAM,UAAU,aAAa,CAAC,GAAY;IACxC,IAAI,OAAO,GAAY,GAAG,CAAC;IAC3B,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC;QAC/C,IAAI,OAAO,YAAY,SAAS,EAAE,CAAC;YAAA,OAAO,OAAO,CAAC;QAAA,CAAC;QACnD,IAAI,CAAC,CAAC,OAAO,YAAY,KAAK,CAAC,EAAE,CAAC;YAAA,OAAO,IAAI,CAAC;QAAA,CAAC;QAC/C,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC;IAC1B,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Drain stdout and stderr so a following `process.exit` cannot truncate them.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* error (#664). Assigning `process.exitCode` would also flush, but then exit
|
|
8
|
-
* waits on every lingering handle (undici keeps sockets pooled after `fetch`),
|
|
9
|
-
* so drain explicitly and keep the hard exit.
|
|
10
|
-
*
|
|
11
|
-
* The zero-length write is a position marker, not output: stream writes
|
|
12
|
-
* complete in order, so its callback fires only once everything queued ahead
|
|
13
|
-
* of it has reached the fd.
|
|
3
|
+
* Pipe writes are async and `exit` drops what is queued, cutting a multi-MB
|
|
4
|
+
* failure dump around 146KB — losing the tail where the error is (#664).
|
|
5
|
+
* `process.exitCode` would flush but then waits on undici's pooled sockets. The
|
|
6
|
+
* zero-length write is a position marker: stream writes complete in order.
|
|
14
7
|
*/
|
|
15
8
|
export declare function flushStdio(): Promise<void>;
|
|
16
9
|
//# sourceMappingURL=flush-stdio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flush-stdio.d.ts","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"flush-stdio.d.ts","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAQhD"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Drain stdout and stderr so a following `process.exit` cannot truncate them.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* error (#664). Assigning `process.exitCode` would also flush, but then exit
|
|
8
|
-
* waits on every lingering handle (undici keeps sockets pooled after `fetch`),
|
|
9
|
-
* so drain explicitly and keep the hard exit.
|
|
10
|
-
*
|
|
11
|
-
* The zero-length write is a position marker, not output: stream writes
|
|
12
|
-
* complete in order, so its callback fires only once everything queued ahead
|
|
13
|
-
* of it has reached the fd.
|
|
3
|
+
* Pipe writes are async and `exit` drops what is queued, cutting a multi-MB
|
|
4
|
+
* failure dump around 146KB — losing the tail where the error is (#664).
|
|
5
|
+
* `process.exitCode` would flush but then waits on undici's pooled sockets. The
|
|
6
|
+
* zero-length write is a position marker: stream writes complete in order.
|
|
14
7
|
*/
|
|
15
8
|
export async function flushStdio() {
|
|
16
9
|
for (const stream of [process.stdout, process.stderr]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flush-stdio.js","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"flush-stdio.js","sourceRoot":"","sources":["../../src/utils/flush-stdio.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU;IAC9B,KAAK,MAAM,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACtD,MAAM,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YAClC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,GAAG,EAAE;gBACpB,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Absolute paths of every regular file under `dir`, recursively
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* diagnostics (#443).
|
|
6
|
-
*
|
|
7
|
-
* Returns `[]` for a missing path, mirroring `find`'s tolerance
|
|
8
|
-
* (`2>/dev/null`).
|
|
2
|
+
* Absolute paths of every regular file under `dir`, recursively — the async
|
|
3
|
+
* analogue of the `find "$dir" -type f` the extracted bash used (#443).
|
|
4
|
+
* Returns `[]` for a missing path, mirroring `find`'s `2>/dev/null` tolerance.
|
|
9
5
|
*/
|
|
10
6
|
export declare function listFilesRecursive(dir: string): Promise<string[]>;
|
|
11
7
|
//# sourceMappingURL=list-files-recursive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-files-recursive.d.ts","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"list-files-recursive.d.ts","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAYvE"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Absolute paths of every regular file under `dir`, recursively
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* diagnostics (#443).
|
|
6
|
-
*
|
|
7
|
-
* Returns `[]` for a missing path, mirroring `find`'s tolerance
|
|
8
|
-
* (`2>/dev/null`).
|
|
2
|
+
* Absolute paths of every regular file under `dir`, recursively — the async
|
|
3
|
+
* analogue of the `find "$dir" -type f` the extracted bash used (#443).
|
|
4
|
+
* Returns `[]` for a missing path, mirroring `find`'s `2>/dev/null` tolerance.
|
|
9
5
|
*/
|
|
10
6
|
import { readdir } from 'node:fs/promises';
|
|
11
7
|
import { join } from 'node:path';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-files-recursive.js","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"list-files-recursive.js","sourceRoot":"","sources":["../../src/utils/list-files-recursive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,GAAW;IAClD,IAAI,CAAC,CAAC,MAAM,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;QAAA,OAAO,EAAE,CAAC;IAAA,CAAC;IAC1C,MAAM,GAAG,GAAa,EAAE,CAAC;IACzB,KAAK,MAAM,KAAK,IAAI,MAAM,OAAO,CAAC,GAAG,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;QAChE,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;QAClC,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAC;YACxB,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;aAAM,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;YAC1B,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Normalize OS path separators to POSIX `/`.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* at every comparison site — a branch that only one platform per CI run can
|
|
7
|
-
* ever exercise. Normalizing once at the listing boundary collapses that
|
|
8
|
-
* into a single, fully coverable path.
|
|
2
|
+
* Normalize OS path separators to POSIX `/`. Windows' `path.join` emits
|
|
3
|
+
* back-slashed paths, so callers matching a trailing `/<name>` segment would
|
|
4
|
+
* otherwise need an OR-of-separators at every site — a branch only one platform
|
|
5
|
+
* per CI run can exercise. Normalizing once at the boundary collapses that.
|
|
9
6
|
*/
|
|
10
7
|
export declare function toPosixPath(path: string): string;
|
|
11
8
|
//# sourceMappingURL=to-posix-path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-posix-path.d.ts","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"to-posix-path.d.ts","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Normalize OS path separators to POSIX `/`.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* at every comparison site — a branch that only one platform per CI run can
|
|
7
|
-
* ever exercise. Normalizing once at the listing boundary collapses that
|
|
8
|
-
* into a single, fully coverable path.
|
|
2
|
+
* Normalize OS path separators to POSIX `/`. Windows' `path.join` emits
|
|
3
|
+
* back-slashed paths, so callers matching a trailing `/<name>` segment would
|
|
4
|
+
* otherwise need an OR-of-separators at every site — a branch only one platform
|
|
5
|
+
* per CI run can exercise. Normalizing once at the boundary collapses that.
|
|
9
6
|
*/
|
|
10
7
|
export function toPosixPath(path) {
|
|
11
8
|
return path.replace(/\\/g, '/');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-posix-path.js","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"to-posix-path.js","sourceRoot":"","sources":["../../src/utils/to-posix-path.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,IAAY;IACtC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAClC,CAAC"}
|
package/dist/verbose.d.ts
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Verbose-on-failure dump.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* stream (as a single error-level record). Both are passed through
|
|
7
|
-
* the logger's redactor so env-matched secrets never leak.
|
|
8
|
-
*
|
|
9
|
-
* Per plan.md §22.4. Auto-emitted on failure; never on success.
|
|
10
|
-
*
|
|
11
|
-
* Issue #15.
|
|
2
|
+
* Verbose-on-failure dump (#15, plan.md §22.4). When a handler throws, writes a
|
|
3
|
+
* diagnostic record to `$GITHUB_STEP_SUMMARY` (markdown) and the structured log
|
|
4
|
+
* stream (one error record), both through the logger's redactor so env-matched
|
|
5
|
+
* secrets never leak. Auto-emitted on failure; never on success.
|
|
12
6
|
*/
|
|
13
7
|
import { type EnvSource } from './log.js';
|
|
14
8
|
import type { Logger } from './types.js';
|
package/dist/verbose.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verbose.d.ts","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"verbose.d.ts","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5E,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CACnC;AAKD,wBAAsB,WAAW,CAC/B,GAAG,EAAE,KAAK,EACV,GAAG,EAAE,cAAc,EACnB,IAAI,EAAE,WAAW,GAChB,OAAO,CAAC,IAAI,CAAC,CA6Bf"}
|
package/dist/verbose.js
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Verbose-on-failure dump.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* stream (as a single error-level record). Both are passed through
|
|
7
|
-
* the logger's redactor so env-matched secrets never leak.
|
|
8
|
-
*
|
|
9
|
-
* Per plan.md §22.4. Auto-emitted on failure; never on success.
|
|
10
|
-
*
|
|
11
|
-
* Issue #15.
|
|
2
|
+
* Verbose-on-failure dump (#15, plan.md §22.4). When a handler throws, writes a
|
|
3
|
+
* diagnostic record to `$GITHUB_STEP_SUMMARY` (markdown) and the structured log
|
|
4
|
+
* stream (one error record), both through the logger's redactor so env-matched
|
|
5
|
+
* secrets never leak. Auto-emitted on failure; never on success.
|
|
12
6
|
*/
|
|
13
7
|
import { appendFile } from 'node:fs/promises';
|
|
14
8
|
import { redact } from './log.js';
|
package/dist/verbose.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verbose.js","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"verbose.js","sourceRoot":"","sources":["../src/verbose.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAkB,MAAM,UAAU,CAAC;AA+ClD,MAAM,WAAW,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,8GAA8G;AACnJ,MAAM,UAAU,GAAG,gEAAgE,CAAC;AAEpF,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,GAAU,EACV,GAAmB,EACnB,IAAiB;IAEjB,kEAAkE;IAClE,mEAAmE;IACnE,oEAAoE;IACpE,0BAA0B;IAC1B,MAAM,OAAO,GACX,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC;QACzD,CAAC,CAAC,CAAC,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|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `if [ -n "$python_source" ]; then stripped="${stage_suffix#"$python_source"/}"; … fi`
|
|
7
|
-
* — drop a single leading `./` from `stage_to`, then, when a non-empty
|
|
8
|
-
* `python-source` is an exact leading path segment, subtract it (maturin
|
|
9
|
-
* strips that dir from the wheel layout). A `python-source` that is set but
|
|
10
|
-
* is *not* a prefix of `stage_to` leaves the suffix unchanged — that
|
|
11
|
-
* combination is the consumer's misconfiguration to surface, not this
|
|
12
|
-
* function's to paper over, matching the bash's `!=` guard.
|
|
2
|
+
* The wheel-relative directory the bundle_cli binary is expected at (#451):
|
|
3
|
+
* drop a single leading `./` from `stage_to`, then subtract a non-empty
|
|
4
|
+
* `python-source` when it is an exact leading segment (maturin strips that dir
|
|
5
|
+
* from the wheel layout). A non-prefix `python-source` leaves it unchanged.
|
|
13
6
|
*/
|
|
14
7
|
export declare function computeStageSuffix(stageTo: string, pythonSource: string): string;
|
|
15
8
|
//# sourceMappingURL=compute-stage-suffix.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-stage-suffix.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"compute-stage-suffix.d.ts","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAOhF"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The wheel-relative directory the bundle_cli binary is expected at (#451)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `if [ -n "$python_source" ]; then stripped="${stage_suffix#"$python_source"/}"; … fi`
|
|
7
|
-
* — drop a single leading `./` from `stage_to`, then, when a non-empty
|
|
8
|
-
* `python-source` is an exact leading path segment, subtract it (maturin
|
|
9
|
-
* strips that dir from the wheel layout). A `python-source` that is set but
|
|
10
|
-
* is *not* a prefix of `stage_to` leaves the suffix unchanged — that
|
|
11
|
-
* combination is the consumer's misconfiguration to surface, not this
|
|
12
|
-
* function's to paper over, matching the bash's `!=` guard.
|
|
2
|
+
* The wheel-relative directory the bundle_cli binary is expected at (#451):
|
|
3
|
+
* drop a single leading `./` from `stage_to`, then subtract a non-empty
|
|
4
|
+
* `python-source` when it is an exact leading segment (maturin strips that dir
|
|
5
|
+
* from the wheel layout). A non-prefix `python-source` leaves it unchanged.
|
|
13
6
|
*/
|
|
14
7
|
export function computeStageSuffix(stageTo, pythonSource) {
|
|
15
8
|
const stageSuffix = stageTo.replace(/^\.\//, '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-stage-suffix.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"compute-stage-suffix.js","sourceRoot":"","sources":["../../../src/verify/bundle-cli/compute-stage-suffix.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,UAAU,kBAAkB,CAAC,OAAe,EAAE,YAAoB;IACtE,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IACjD,IAAI,YAAY,KAAK,EAAE,EAAE,CAAC;QACxB,OAAO,WAAW,CAAC;IACrB,CAAC;IACD,MAAM,MAAM,GAAG,GAAG,YAAY,GAAG,CAAC;IAClC,OAAO,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;AACzF,CAAC"}
|