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
|
@@ -1,30 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Verify each published per-triple npm tarball ships a synthesized binary,
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* the artifact dir>`, so an empty artifact dir yields a tarball with only
|
|
7
|
-
* `package.json` and `npm publish` still returns 0. This step downloads the
|
|
8
|
-
* published platform tarball back and asserts at least one non-`package.json`
|
|
9
|
-
* file is present — shipping that binary is the whole point of the
|
|
10
|
-
* synthesis. Extracted verbatim from the "Verify published per-triple npm
|
|
11
|
-
* tarballs honor expected files" bash block.
|
|
12
|
-
*
|
|
13
|
-
* The count is RECURSIVE (#633). A consumer whose build stages the binary
|
|
14
|
-
* nested — `artifacts/<name>-<triple>/bin/<binary>` rather than flat —
|
|
15
|
-
* publishes a tarball whose top level is `package.json` plus the `bin/`
|
|
16
|
-
* directory, and a top-level file count discards that directory along with
|
|
17
|
-
* the payload inside it. The nested layout is legal all the way to publish
|
|
18
|
-
* (`checkCompleteness` lists recursively, so it accepts either shape), so
|
|
19
|
-
* this check has to see it too. Paths are reported relative to `package/`,
|
|
20
|
-
* which is what makes a nested payload legible in the log. One walk decides
|
|
21
|
-
* the verdict, so the failure message can no longer name a file the verdict
|
|
22
|
-
* called absent.
|
|
23
|
-
*
|
|
24
|
-
* The platform package name is reconstructed as `{name}-{triple}` — the
|
|
25
|
-
* default template every fixture uses — because the matrix row carries the
|
|
26
|
-
* main package name (synthesis is a publish-time concern). Returns the
|
|
27
|
-
* process exit code (0 ok, 1 on any metadata-only tarball).
|
|
2
|
+
* Verify each published per-triple npm tarball ships a synthesized binary, not
|
|
3
|
+
* just metadata (#443): an empty artifact dir yields a `package.json`-only
|
|
4
|
+
* tarball and `npm publish` still returns 0. The count is RECURSIVE (#633) — a
|
|
5
|
+
* nested `bin/<binary>` layout is legal to publish, and a flat count misses it.
|
|
28
6
|
*/
|
|
29
7
|
import type { TarballRow, VerifyNpmTarballOptions } from './types.js';
|
|
30
8
|
export declare function verifyNpmTarballTriple(rows: TarballRow[], opts: VerifyNpmTarballOptions): Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triple.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/triple.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"triple.d.ts","sourceRoot":"","sources":["../../../src/verify/npm-tarball/triple.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAEtE,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,UAAU,EAAE,EAClB,IAAI,EAAE,uBAAuB,GAC5B,OAAO,CAAC,MAAM,CAAC,CA+CjB"}
|
|
@@ -1,30 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Verify each published per-triple npm tarball ships a synthesized binary,
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* the artifact dir>`, so an empty artifact dir yields a tarball with only
|
|
7
|
-
* `package.json` and `npm publish` still returns 0. This step downloads the
|
|
8
|
-
* published platform tarball back and asserts at least one non-`package.json`
|
|
9
|
-
* file is present — shipping that binary is the whole point of the
|
|
10
|
-
* synthesis. Extracted verbatim from the "Verify published per-triple npm
|
|
11
|
-
* tarballs honor expected files" bash block.
|
|
12
|
-
*
|
|
13
|
-
* The count is RECURSIVE (#633). A consumer whose build stages the binary
|
|
14
|
-
* nested — `artifacts/<name>-<triple>/bin/<binary>` rather than flat —
|
|
15
|
-
* publishes a tarball whose top level is `package.json` plus the `bin/`
|
|
16
|
-
* directory, and a top-level file count discards that directory along with
|
|
17
|
-
* the payload inside it. The nested layout is legal all the way to publish
|
|
18
|
-
* (`checkCompleteness` lists recursively, so it accepts either shape), so
|
|
19
|
-
* this check has to see it too. Paths are reported relative to `package/`,
|
|
20
|
-
* which is what makes a nested payload legible in the log. One walk decides
|
|
21
|
-
* the verdict, so the failure message can no longer name a file the verdict
|
|
22
|
-
* called absent.
|
|
23
|
-
*
|
|
24
|
-
* The platform package name is reconstructed as `{name}-{triple}` — the
|
|
25
|
-
* default template every fixture uses — because the matrix row carries the
|
|
26
|
-
* main package name (synthesis is a publish-time concern). Returns the
|
|
27
|
-
* process exit code (0 ok, 1 on any metadata-only tarball).
|
|
2
|
+
* Verify each published per-triple npm tarball ships a synthesized binary, not
|
|
3
|
+
* just metadata (#443): an empty artifact dir yields a `package.json`-only
|
|
4
|
+
* tarball and `npm publish` still returns 0. The count is RECURSIVE (#633) — a
|
|
5
|
+
* nested `bin/<binary>` layout is legal to publish, and a flat count misses it.
|
|
28
6
|
*/
|
|
29
7
|
import { rm } from 'node:fs/promises';
|
|
30
8
|
import { relative } from 'node:path';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triple.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball/triple.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"triple.js","sourceRoot":"","sources":["../../../src/verify/npm-tarball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package/dist/verify/posture.d.ts
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `putitoutthere verify` — per-package publish/trust posture (#414)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* version (the same `latestVersion` `status` uses) and then that release's
|
|
7
|
-
* trust attribution via the handler's `trustPosture` primitive — from
|
|
8
|
-
* PUBLIC registry data, no secrets. Classifies `oidc` (trusted publisher /
|
|
9
|
-
* provenance) / `token` / `unpublished` (no release) / `unreachable`.
|
|
10
|
-
*
|
|
11
|
-
* Shared engine, no parallel logic (design-commitments #7): a thin reader
|
|
12
|
-
* over the per-kind handlers, reusing the exact registry-name resolution
|
|
13
|
-
* the publish path runs. The read degrades — an unreachable registry
|
|
14
|
-
* yields `unreachable`, never an abort — matching `status`.
|
|
2
|
+
* `putitoutthere verify` — per-package publish/trust posture (#414): "do I still
|
|
3
|
+
* need the registry token, or is OIDC trusted publishing active?", answered from
|
|
4
|
+
* PUBLIC registry data via the handler's `trustPosture`. Classifies `oidc` /
|
|
5
|
+
* `token` / `unpublished` / `unreachable`; unreachable degrades, never aborts.
|
|
15
6
|
*/
|
|
16
7
|
import type { VerifyOptions, VerifyRow } from './posture-types.js';
|
|
17
8
|
export declare function computeVerify(opts: VerifyOptions): Promise<VerifyRow[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posture.d.ts","sourceRoot":"","sources":["../../src/verify/posture.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"posture.d.ts","sourceRoot":"","sources":["../../src/verify/posture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,OAAO,KAAK,EAAW,aAAa,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE5E,wBAAsB,aAAa,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CA6B7E"}
|
package/dist/verify/posture.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `putitoutthere verify` — per-package publish/trust posture (#414)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* version (the same `latestVersion` `status` uses) and then that release's
|
|
7
|
-
* trust attribution via the handler's `trustPosture` primitive — from
|
|
8
|
-
* PUBLIC registry data, no secrets. Classifies `oidc` (trusted publisher /
|
|
9
|
-
* provenance) / `token` / `unpublished` (no release) / `unreachable`.
|
|
10
|
-
*
|
|
11
|
-
* Shared engine, no parallel logic (design-commitments #7): a thin reader
|
|
12
|
-
* over the per-kind handlers, reusing the exact registry-name resolution
|
|
13
|
-
* the publish path runs. The read degrades — an unreachable registry
|
|
14
|
-
* yields `unreachable`, never an abort — matching `status`.
|
|
2
|
+
* `putitoutthere verify` — per-package publish/trust posture (#414): "do I still
|
|
3
|
+
* need the registry token, or is OIDC trusted publishing active?", answered from
|
|
4
|
+
* PUBLIC registry data via the handler's `trustPosture`. Classifies `oidc` /
|
|
5
|
+
* `token` / `unpublished` / `unreachable`; unreachable degrades, never aborts.
|
|
15
6
|
*/
|
|
16
7
|
import { join } from 'node:path';
|
|
17
8
|
import { loadConfig } from '../config.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"posture.js","sourceRoot":"","sources":["../../src/verify/posture.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"posture.js","sourceRoot":"","sources":["../../src/verify/posture.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAIzC,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,IAAmB;IACrD,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,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
-
* `putitoutthere verify wheel` — assert the built wheel/sdist carries the
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* matrix.version" bash block (#276) in `.github/workflows/e2e-fixture-job.yml`.
|
|
7
|
-
* The contract, per that step: "the build artifact carries matrix.version",
|
|
8
|
-
* verified directly against the produced files — independent of which
|
|
9
|
-
* mechanism (write-version, SETUPTOOLS_SCM_PRETEND_VERSION, …) set the
|
|
10
|
-
* manifest, so it catches a divergence regardless of which build path
|
|
11
|
-
* silently regressed.
|
|
12
|
-
*
|
|
13
|
-
* For an sdist row (`--target sdist`) the sdist filename must end
|
|
14
|
-
* `-<version>.tar.gz`; for a wheel row the first `*.whl`'s
|
|
15
|
-
* `*.dist-info/METADATA` `Version:` must equal `--version`. The wheel is
|
|
16
|
-
* read with a pure-Node zip reader (no `unzip`), so this runs on every
|
|
17
|
-
* platform the maturin matrix builds on. Async throughout. Returns the
|
|
18
|
-
* process exit code (0 ok, 1 on any miss).
|
|
2
|
+
* `putitoutthere verify wheel` — assert the built wheel/sdist carries the planned
|
|
3
|
+
* version (#450, #276), whatever set the manifest. An sdist filename must end
|
|
4
|
+
* `-<version>.tar.gz`; a wheel's `*.dist-info/METADATA` `Version:` must equal
|
|
5
|
+
* `--version`, read with a pure-Node zip reader so Windows rows work too.
|
|
19
6
|
*/
|
|
20
7
|
import type { VerifyWheelOptions } from './types.js';
|
|
21
8
|
export declare function verifyWheel(opts: VerifyWheelOptions): Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,wBAAsB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAkD3E"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `putitoutthere verify wheel` — assert the built wheel/sdist carries the
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* matrix.version" bash block (#276) in `.github/workflows/e2e-fixture-job.yml`.
|
|
7
|
-
* The contract, per that step: "the build artifact carries matrix.version",
|
|
8
|
-
* verified directly against the produced files — independent of which
|
|
9
|
-
* mechanism (write-version, SETUPTOOLS_SCM_PRETEND_VERSION, …) set the
|
|
10
|
-
* manifest, so it catches a divergence regardless of which build path
|
|
11
|
-
* silently regressed.
|
|
12
|
-
*
|
|
13
|
-
* For an sdist row (`--target sdist`) the sdist filename must end
|
|
14
|
-
* `-<version>.tar.gz`; for a wheel row the first `*.whl`'s
|
|
15
|
-
* `*.dist-info/METADATA` `Version:` must equal `--version`. The wheel is
|
|
16
|
-
* read with a pure-Node zip reader (no `unzip`), so this runs on every
|
|
17
|
-
* platform the maturin matrix builds on. Async throughout. Returns the
|
|
18
|
-
* process exit code (0 ok, 1 on any miss).
|
|
2
|
+
* `putitoutthere verify wheel` — assert the built wheel/sdist carries the planned
|
|
3
|
+
* version (#450, #276), whatever set the manifest. An sdist filename must end
|
|
4
|
+
* `-<version>.tar.gz`; a wheel's `*.dist-info/METADATA` `Version:` must equal
|
|
5
|
+
* `--version`, read with a pure-Node zip reader so Windows rows work too.
|
|
19
6
|
*/
|
|
20
7
|
import { stat } from 'node:fs/promises';
|
|
21
8
|
import { basename, isAbsolute, join, resolve } from 'node:path';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/wheel/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/verify/wheel/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE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AAI,EAAE,yCAAyC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CACrM,CAAC;QACF,OAAO,CAAC,CAAC;IACX,CAAC;IACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,aAAa,QAAQ,CAAC,KAAK,CAAC,qBAAqB,MAAM,IAAI,CAAC,CAAC;IAClF,OAAO,CAAC,CAAC;AACX,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* #610: map a config `manylinux` baseline to the platform-tag substrings
|
|
3
|
-
*
|
|
4
|
-
* (`manylinux_2_28`) and
|
|
5
|
-
*
|
|
6
|
-
* baseline) returns no patterns: the tag is whatever the build
|
|
7
|
-
* environment produced, so there is nothing to assert.
|
|
2
|
+
* #610: map a config `manylinux` baseline to the platform-tag substrings a
|
|
3
|
+
* compliant wheel filename may carry. maturin emits PEP 600 tags
|
|
4
|
+
* (`manylinux_2_28`) and sometimes both a legacy alias and its PEP 600
|
|
5
|
+
* equivalent — accept either. `auto` (or unset) asserts nothing.
|
|
8
6
|
*/
|
|
9
7
|
export declare function manylinuxTagPatterns(manylinux: string | undefined): string[];
|
|
10
8
|
//# sourceMappingURL=manylinux-tag-patterns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manylinux-tag-patterns.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/manylinux-tag-patterns.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"manylinux-tag-patterns.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/manylinux-tag-patterns.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,CAgB5E"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* #610: map a config `manylinux` baseline to the platform-tag substrings
|
|
3
|
-
*
|
|
4
|
-
* (`manylinux_2_28`) and
|
|
5
|
-
*
|
|
6
|
-
* baseline) returns no patterns: the tag is whatever the build
|
|
7
|
-
* environment produced, so there is nothing to assert.
|
|
2
|
+
* #610: map a config `manylinux` baseline to the platform-tag substrings a
|
|
3
|
+
* compliant wheel filename may carry. maturin emits PEP 600 tags
|
|
4
|
+
* (`manylinux_2_28`) and sometimes both a legacy alias and its PEP 600
|
|
5
|
+
* equivalent — accept either. `auto` (or unset) asserts nothing.
|
|
8
6
|
*/
|
|
9
7
|
export function manylinuxTagPatterns(manylinux) {
|
|
10
8
|
if (manylinux === undefined || manylinux === '' || manylinux === 'auto') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manylinux-tag-patterns.js","sourceRoot":"","sources":["../../../src/verify/wheel/manylinux-tag-patterns.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"manylinux-tag-patterns.js","sourceRoot":"","sources":["../../../src/verify/wheel/manylinux-tag-patterns.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAAC,SAA6B;IAChE,IAAI,SAAS,KAAK,SAAS,IAAI,SAAS,KAAK,EAAE,IAAI,SAAS,KAAK,MAAM,EAAE,CAAC;QACxE,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,GAAG;YACN,OAAO,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;QAC3C,KAAK,MAAM;YACT,OAAO,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAC/C,KAAK,MAAM;YACT,OAAO,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAC/C;YACE,iEAAiE;YACjE,0BAA0B;YAC1B,OAAO,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,SAAS,GAAG,CAAC,CAAC;IAChG,CAAC;AACH,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Read the `Version:` field from a wheel's `*.dist-info/METADATA` (#450)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* but via the pure-Node zip reader so it needs no `unzip`. Returns the
|
|
7
|
-
* version string, or null when the wheel carries no METADATA or no
|
|
8
|
-
* `Version:` line. `Metadata-Version:` is deliberately not matched — only a
|
|
9
|
-
* line that begins exactly `Version:`, mirroring the bash `^Version:`.
|
|
2
|
+
* Read the `Version:` field from a wheel's `*.dist-info/METADATA` (#450), via
|
|
3
|
+
* the pure-Node zip reader so it needs no `unzip`. Returns null when the wheel
|
|
4
|
+
* carries no METADATA or no `Version:` line. `Metadata-Version:` is
|
|
5
|
+
* deliberately not matched — only a line beginning exactly `Version:`.
|
|
10
6
|
*/
|
|
11
7
|
export declare function readWheelVersion(wheelPath: string): Promise<string | null>;
|
|
12
8
|
//# sourceMappingURL=read-wheel-version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-wheel-version.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/read-wheel-version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"read-wheel-version.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/read-wheel-version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAYhF"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Read the `Version:` field from a wheel's `*.dist-info/METADATA` (#450)
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* but via the pure-Node zip reader so it needs no `unzip`. Returns the
|
|
7
|
-
* version string, or null when the wheel carries no METADATA or no
|
|
8
|
-
* `Version:` line. `Metadata-Version:` is deliberately not matched — only a
|
|
9
|
-
* line that begins exactly `Version:`, mirroring the bash `^Version:`.
|
|
2
|
+
* Read the `Version:` field from a wheel's `*.dist-info/METADATA` (#450), via
|
|
3
|
+
* the pure-Node zip reader so it needs no `unzip`. Returns null when the wheel
|
|
4
|
+
* carries no METADATA or no `Version:` line. `Metadata-Version:` is
|
|
5
|
+
* deliberately not matched — only a line beginning exactly `Version:`.
|
|
10
6
|
*/
|
|
11
7
|
import { readFile } from 'node:fs/promises';
|
|
12
8
|
import { readZipEntry } from './read-zip-entry.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-wheel-version.js","sourceRoot":"","sources":["../../../src/verify/wheel/read-wheel-version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"read-wheel-version.js","sourceRoot":"","sources":["../../../src/verify/wheel/read-wheel-version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,SAAiB;IACtD,MAAM,IAAI,GAAG,YAAY,CAAC,MAAM,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC;IACrG,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;QACxD,MAAM,CAAC,GAAG,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,EAAE,CAAC;YACN,OAAO,CAAC,CAAC,CAAC,CAAE,CAAC;QACf,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Extract the first zip entry whose name satisfies `matches`, returning its
|
|
3
|
-
* decompressed bytes (or null
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* (method 8) entries a wheel uses — enough to read `dist-info/METADATA`
|
|
7
|
-
* without an `unzip` / `tar` subprocess, so `verify wheel` runs on every
|
|
8
|
-
* platform the maturin matrix builds on (Windows included). Wheels are not
|
|
9
|
-
* ZIP64 and carry no archive comment, so the common-case layout is all that
|
|
10
|
-
* is handled.
|
|
3
|
+
* decompressed bytes (or null) (#450). A minimal pure-Node reader for the
|
|
4
|
+
* stored (method 0) and deflate (method 8) entries a wheel uses, so no
|
|
5
|
+
* `unzip`/`tar` subprocess. Wheels are never ZIP64 and carry no comment.
|
|
11
6
|
*/
|
|
12
7
|
export declare function readZipEntry(buf: Buffer, matches: (name: string) => boolean): Buffer | null;
|
|
13
8
|
//# sourceMappingURL=read-zip-entry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-zip-entry.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/read-zip-entry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"read-zip-entry.d.ts","sourceRoot":"","sources":["../../../src/verify/wheel/read-zip-entry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,GAAG,IAAI,CAqC3F"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Extract the first zip entry whose name satisfies `matches`, returning its
|
|
3
|
-
* decompressed bytes (or null
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* (method 8) entries a wheel uses — enough to read `dist-info/METADATA`
|
|
7
|
-
* without an `unzip` / `tar` subprocess, so `verify wheel` runs on every
|
|
8
|
-
* platform the maturin matrix builds on (Windows included). Wheels are not
|
|
9
|
-
* ZIP64 and carry no archive comment, so the common-case layout is all that
|
|
10
|
-
* is handled.
|
|
3
|
+
* decompressed bytes (or null) (#450). A minimal pure-Node reader for the
|
|
4
|
+
* stored (method 0) and deflate (method 8) entries a wheel uses, so no
|
|
5
|
+
* `unzip`/`tar` subprocess. Wheels are never ZIP64 and carry no comment.
|
|
11
6
|
*/
|
|
12
7
|
import { inflateRawSync } from 'node:zlib';
|
|
13
8
|
export function readZipEntry(buf, matches) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-zip-entry.js","sourceRoot":"","sources":["../../../src/verify/wheel/read-zip-entry.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"read-zip-entry.js","sourceRoot":"","sources":["../../../src/verify/wheel/read-zip-entry.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,UAAU,YAAY,CAAC,GAAW,EAAE,OAAkC;IAC1E,gEAAgE;IAChE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IACd,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1C,IAAI,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,UAAU,EAAE,CAAC;YACvC,IAAI,GAAG,CAAC,CAAC;YACT,MAAM;QACR,CAAC;IACH,CAAC;IACD,IAAI,IAAI,GAAG,CAAC,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,EAAE,CAAC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C1D,OAAO,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QAC/D,CAAC;QACD,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Version bumper.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* "breaking minor bumps" convention; 0.1.5 + minor is 0.2.0, not 1.0.0.
|
|
7
|
-
*
|
|
8
|
-
* Issue #8. Plan: §14.3 (bump semantics), §14.4 (first version).
|
|
9
|
-
*
|
|
10
|
-
* Also exports the canonical `USER_AGENT` string used for all outbound
|
|
11
|
-
* HTTP requests to registries (crates.io / npm / PyPI / GitHub).
|
|
12
|
-
* Sourced from `package.json` at build time so new releases don't ship
|
|
13
|
-
* a stale `putitoutthere/0.0.1` UA (#147).
|
|
2
|
+
* Version bumper (#8; plan.md §14.3 bump semantics, §14.4 first version).
|
|
3
|
+
* Strict semver, no pre-release suffixes in v0 (§26.2). Pre-1.0 does *not* use
|
|
4
|
+
* the "breaking minor bumps" convention: 0.1.5 + minor is 0.2.0, not 1.0.0.
|
|
5
|
+
* Also exports `USER_AGENT`, sourced from `package.json` at build time (#147).
|
|
14
6
|
*/
|
|
15
7
|
import type { Bump } from './types.js';
|
|
16
8
|
/** CLI version, read from package.json at build time. */
|
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,yDAAyD;AACzD,eAAO,MAAM,OAAO,EAAE,MAAoB,CAAC;AAE3C,wDAAwD;AACxD,eAAO,MAAM,UAAU,EAAE,MAAmC,CAAC;AAE7D,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAKD,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAU7C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED,wBAAgB,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,GAAG,MAAM,CAchE;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,CAIpE"}
|
package/dist/version.js
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Version bumper.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* "breaking minor bumps" convention; 0.1.5 + minor is 0.2.0, not 1.0.0.
|
|
7
|
-
*
|
|
8
|
-
* Issue #8. Plan: §14.3 (bump semantics), §14.4 (first version).
|
|
9
|
-
*
|
|
10
|
-
* Also exports the canonical `USER_AGENT` string used for all outbound
|
|
11
|
-
* HTTP requests to registries (crates.io / npm / PyPI / GitHub).
|
|
12
|
-
* Sourced from `package.json` at build time so new releases don't ship
|
|
13
|
-
* a stale `putitoutthere/0.0.1` UA (#147).
|
|
2
|
+
* Version bumper (#8; plan.md §14.3 bump semantics, §14.4 first version).
|
|
3
|
+
* Strict semver, no pre-release suffixes in v0 (§26.2). Pre-1.0 does *not* use
|
|
4
|
+
* the "breaking minor bumps" convention: 0.1.5 + minor is 0.2.0, not 1.0.0.
|
|
5
|
+
* Also exports `USER_AGENT`, sourced from `package.json` at build time (#147).
|
|
14
6
|
*/
|
|
15
7
|
import pkg from '../package.json' with { type: 'json' };
|
|
16
8
|
/** CLI version, read from package.json at build time. */
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,GAAG,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAGxD,yDAAyD;AACzD,MAAM,CAAC,MAAM,OAAO,GAAW,GAAG,CAAC,OAAO,CAAC;AAE3C,wDAAwD;AACxD,MAAM,CAAC,MAAM,UAAU,GAAW,iBAAiB,OAAO,EAAE,CAAC;AAQ7D,6EAA6E;AAC7E,MAAM,MAAM,GAAG,4CAA4C,CAAC;AAE5D,MAAM,UAAU,WAAW,CAAC,CAAS;IACnC,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzB,IAAI,CAAC,CAAC,EAAE,CAAC;QACP,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO;QACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACpB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,CAAS;IACpC,OAAO,GAAG,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,EAAE,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,IAAI,CAAC,WAAmB,EAAE,QAAc;IACtD,MAAM,CAAC,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;IACnC,QAAQ,QAAQ,EAAE,CAAC;QACjB,KAAK,OAAO;YACV,OAAO,YAAY,CAAC,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,CAAC;QACpD,KAAK,OAAO;YACV,OAAO,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QACxE,KAAK,OAAO;YACV,OAAO,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;QAClE,OAAO,CAAC,CAAC,CAAC;YACR,yDAAyD;YACzD,MAAM,IAAI,KAAK,CAAC,sBAAsB,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;QAC5D,CAAC;IACH,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,GAA+B;IAC1D,MAAM,SAAS,GAAG,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC;IAC/C,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAoB;IAC5C,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/dist/wheel-abi.d.ts
CHANGED
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* `python-versions.ts`). But two maturin shapes produce ONE wheel per
|
|
8
|
-
* platform that is byte-identical regardless of the interpreter that
|
|
9
|
-
* built it:
|
|
10
|
-
*
|
|
11
|
-
* - `[tool.maturin].bindings = "bin"` in `pyproject.toml` — the wheel
|
|
12
|
-
* wraps a Rust *binary*, tagged `py3-none-<platform>`; it carries no
|
|
13
|
-
* Python ABI at all.
|
|
14
|
-
* - a pyo3 (or pyo3-ffi) `abi3` / `abi3-pyXY` feature — a single
|
|
15
|
-
* stable-ABI extension tagged `cp3x-abi3-<platform>` that loads on
|
|
16
|
-
* every CPython >= X.Y.
|
|
17
|
-
*
|
|
18
|
-
* Fanning either shape across N versions yields N identical wheels:
|
|
19
|
-
* wasted build time, and — because each fanned row uploads under its own
|
|
20
|
-
* artifact — N copies of the same wheel filename that race-corrupt at the
|
|
21
|
-
* consumer's `merge-multiple: true` download (`twine` → `BadZipFile`).
|
|
22
|
-
*
|
|
23
|
-
* Detection is best-effort and conservative. A missing or unparseable
|
|
24
|
-
* manifest, or an abi3 setup we don't recognize (a workspace-inherited
|
|
25
|
-
* `pyo3` dependency, a target-specific `[target.'cfg(...)'.dependencies]`
|
|
26
|
-
* table), falls through to `false` and the planner keeps fanning — the
|
|
27
|
-
* pre-#401 behavior, never worse.
|
|
28
|
-
*
|
|
29
|
-
* Engine convention: async `readFile` throughout (AGENTS.md, #469).
|
|
2
|
+
* Detect Python-version-independent maturin wheels so the planner collapses the
|
|
3
|
+
* per-CPython build fan to one wheel (#401): `[tool.maturin].bindings = "bin"` or
|
|
4
|
+
* a pyo3 `abi3` feature. Fanning either yields N identical wheel filenames that
|
|
5
|
+
* race-corrupt under `merge-multiple: true` (`twine` → `BadZipFile`); anything
|
|
6
|
+
* unrecognised falls through to `false` and keeps fanning.
|
|
30
7
|
*/
|
|
31
8
|
/**
|
|
32
9
|
* True when the maturin wheel for the package at `cwd/pkgPath` is
|
package/dist/wheel-abi.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wheel-abi.d.ts","sourceRoot":"","sources":["../src/wheel-abi.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"wheel-abi.d.ts","sourceRoot":"","sources":["../src/wheel-abi.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAYH;;;;GAIG;AACH,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAK9F"}
|
package/dist/wheel-abi.js
CHANGED
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* `python-versions.ts`). But two maturin shapes produce ONE wheel per
|
|
8
|
-
* platform that is byte-identical regardless of the interpreter that
|
|
9
|
-
* built it:
|
|
10
|
-
*
|
|
11
|
-
* - `[tool.maturin].bindings = "bin"` in `pyproject.toml` — the wheel
|
|
12
|
-
* wraps a Rust *binary*, tagged `py3-none-<platform>`; it carries no
|
|
13
|
-
* Python ABI at all.
|
|
14
|
-
* - a pyo3 (or pyo3-ffi) `abi3` / `abi3-pyXY` feature — a single
|
|
15
|
-
* stable-ABI extension tagged `cp3x-abi3-<platform>` that loads on
|
|
16
|
-
* every CPython >= X.Y.
|
|
17
|
-
*
|
|
18
|
-
* Fanning either shape across N versions yields N identical wheels:
|
|
19
|
-
* wasted build time, and — because each fanned row uploads under its own
|
|
20
|
-
* artifact — N copies of the same wheel filename that race-corrupt at the
|
|
21
|
-
* consumer's `merge-multiple: true` download (`twine` → `BadZipFile`).
|
|
22
|
-
*
|
|
23
|
-
* Detection is best-effort and conservative. A missing or unparseable
|
|
24
|
-
* manifest, or an abi3 setup we don't recognize (a workspace-inherited
|
|
25
|
-
* `pyo3` dependency, a target-specific `[target.'cfg(...)'.dependencies]`
|
|
26
|
-
* table), falls through to `false` and the planner keeps fanning — the
|
|
27
|
-
* pre-#401 behavior, never worse.
|
|
28
|
-
*
|
|
29
|
-
* Engine convention: async `readFile` throughout (AGENTS.md, #469).
|
|
2
|
+
* Detect Python-version-independent maturin wheels so the planner collapses the
|
|
3
|
+
* per-CPython build fan to one wheel (#401): `[tool.maturin].bindings = "bin"` or
|
|
4
|
+
* a pyo3 `abi3` feature. Fanning either yields N identical wheel filenames that
|
|
5
|
+
* race-corrupt under `merge-multiple: true` (`twine` → `BadZipFile`); anything
|
|
6
|
+
* unrecognised falls through to `false` and keeps fanning.
|
|
30
7
|
*/
|
|
31
8
|
import { readFile } from 'node:fs/promises';
|
|
32
9
|
import { join } from 'node:path';
|
package/dist/wheel-abi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wheel-abi.js","sourceRoot":"","sources":["../src/wheel-abi.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"wheel-abi.js","sourceRoot":"","sources":["../src/wheel-abi.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,WAAW,CAAC;AAE/C,yEAAyE;AACzE,uDAAuD;AACvD,6BAA6B;AAC7B,MAAM,eAAe,GAAG,0BAA0B,CAAC;AAEnD;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,OAAe,EAAE,GAAW;IAC1E,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAClC,MAAM,SAAS,GAAG,MAAM,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC;IACvE,IAAI,gCAAgC,CAAC,SAAS,CAAC,EAAE,CAAC;QAAA,OAAO,IAAI,CAAC;IAAA,CAAC;IAC/D,OAAO,gBAAgB,CAAC,MAAM,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;AAC5E,CAAC;AAED,6EAA6E;AAE7E,KAAK,UAAU,cAAc,CAAC,IAAY;IACxC,IAAI,GAAW,CAAC;IAChB,IAAI,CAA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AAC;IACtE,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,kBAAkB,CAAC,QAAiB;IAC3C,OAAO,CACL,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;QACvB,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACvE,CAAC;AACJ,CAAC;AAED,oEAAoE;AACpE,SAAS,OAAO,CACd,IAAoC,EACpC,IAAc;IAEd,IAAI,GAAG,GAAY,IAAI,CAAC;IACxB,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YAAA,OAAO,IAAI,CAAC;QAAA,CAAC;QACjC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;IACjB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AACnC,CAAC;AAED,SAAS,OAAO,CAAC,KAAc;IAC7B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pre-build version bump for the npm `bundled-cli` path
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `Cargo.toml`. There is no env override. The npm `bundled-cli` path in
|
|
7
|
-
* `_matrix.yml` cross-compiles a Rust CLI and ships it inside the
|
|
8
|
-
* per-platform package; without rewriting the crate manifest first, the
|
|
9
|
-
* binary reports whatever literal sits on disk — diverging from the
|
|
10
|
-
* planned release version (a `@scope/cli-<triple>@0.3.5` package whose
|
|
11
|
-
* `--version` says `0.2.7`).
|
|
12
|
-
*
|
|
13
|
-
* The maturin/pypi path already solves the equivalent problem with
|
|
14
|
-
* `write-version` (#276), but that command is tied to maturin's
|
|
15
|
-
* dynamic-version contract — it requires a `pyproject.toml` declaring
|
|
16
|
-
* `dynamic = ["version"]`. The npm bundled-cli crate has only a
|
|
17
|
-
* `Cargo.toml`, so it needs a manifest-direct bump with no pyproject
|
|
18
|
-
* gate. This is that command.
|
|
2
|
+
* Pre-build version bump for the npm `bundled-cli` path (#366). `cargo build`
|
|
3
|
+
* bakes `CARGO_PKG_VERSION` into the binary from `[package].version` with no
|
|
4
|
+
* env override, so without rewriting the manifest a `@scope/cli-<triple>@0.3.5`
|
|
5
|
+
* ships a `--version` of `0.2.7`. `write-version` (#276) gates on pyproject.
|
|
19
6
|
*/
|
|
20
7
|
/**
|
|
21
8
|
* Rewrite `[package].version` in the crate at `crateDir` to `version`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-crate-version.d.ts","sourceRoot":"","sources":["../src/write-crate-version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"write-crate-version.d.ts","sourceRoot":"","sources":["../src/write-crate-version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH;;;;;;;;;;GAUG;AACH,wBAAsB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAoBpG"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Pre-build version bump for the npm `bundled-cli` path
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `Cargo.toml`. There is no env override. The npm `bundled-cli` path in
|
|
7
|
-
* `_matrix.yml` cross-compiles a Rust CLI and ships it inside the
|
|
8
|
-
* per-platform package; without rewriting the crate manifest first, the
|
|
9
|
-
* binary reports whatever literal sits on disk — diverging from the
|
|
10
|
-
* planned release version (a `@scope/cli-<triple>@0.3.5` package whose
|
|
11
|
-
* `--version` says `0.2.7`).
|
|
12
|
-
*
|
|
13
|
-
* The maturin/pypi path already solves the equivalent problem with
|
|
14
|
-
* `write-version` (#276), but that command is tied to maturin's
|
|
15
|
-
* dynamic-version contract — it requires a `pyproject.toml` declaring
|
|
16
|
-
* `dynamic = ["version"]`. The npm bundled-cli crate has only a
|
|
17
|
-
* `Cargo.toml`, so it needs a manifest-direct bump with no pyproject
|
|
18
|
-
* gate. This is that command.
|
|
2
|
+
* Pre-build version bump for the npm `bundled-cli` path (#366). `cargo build`
|
|
3
|
+
* bakes `CARGO_PKG_VERSION` into the binary from `[package].version` with no
|
|
4
|
+
* env override, so without rewriting the manifest a `@scope/cli-<triple>@0.3.5`
|
|
5
|
+
* ships a `--version` of `0.2.7`. `write-version` (#276) gates on pyproject.
|
|
19
6
|
*/
|
|
20
7
|
import { readFile } from 'node:fs/promises';
|
|
21
8
|
import { join } from 'node:path';
|