putitoutthere 0.3.25 → 0.3.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +4 -10
- package/dist/ensure-tag.d.ts.map +1 -1
- package/dist/ensure-tag.js +4 -10
- 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 +8 -27
- package/dist/error-codes.d.ts.map +1 -1
- package/dist/error-codes.js +8 -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 +7 -16
- package/dist/git.d.ts.map +1 -1
- package/dist/git.js +7 -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 +4 -4
|
@@ -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,CAAC;IACrB,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,GAAG,EAAE,oBAAoB,CAAC,CAAC;IACnE,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,CAAC;IACzC,MAAM,GAAG,GAAQ;QACf,GAAG;QACH,GAAG,EAAE,YAAY,EAAE;QACnB,GAAG,EAAE,OAAO,CAAC,GAA6B;QAC1C,SAAS,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE;KAC/C,CAAC;IAEF,MAAM,IAAI,GAAgB,EAAE,CAAC;IAC7B,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClC,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,OAAO,GAAkB,IAAI,CAAC;QAClC,IAAI,OAAgB,CAAC;QACrB,IAAI,CAAC;YACH,OAAO,GAAG,MAAM,OAAO,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;YAChD,mEAAmE;YACnE,4BAA4B;YAC5B,OAAO,GAAG,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QAC7F,CAAC;QAAC,MAAM,CAAC;YACP,oEAAoE;YACpE,wBAAwB;YACxB,OAAO,GAAG,aAAa,CAAC;QAC1B,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -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 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,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,O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AC;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,CAAC;IAC1C,IAAI,CAAC,GAAG,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,2BAA2B;IAChE,0EAA0E;IAC1E,+CAA+C;IAC/C,KAAK,IAAI,CAAC,GAAG,CAA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,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,CAAC;QACH,GAAG,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACrC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,CAAC;QACH,MAAM,MAAM,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AC,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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-crate-version.js","sourceRoot":"","sources":["../src/write-crate-version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"write-crate-version.js","sourceRoot":"","sources":["../src/write-crate-version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAE9E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,QAAgB,EAAE,OAAe;IAC/E,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC/C,IAAI,QAAgB,CAAC;IACrB,IAAI,CAAC;QACH,QAAQ,GAAG,MAAM,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,IAAK,GAA6B,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YACrD,MAAM,IAAI,KAAK,CACb,gDAAgD,SAAS,wGAAwG,EACjK,EAAE,KAAK,EAAE,GAAG,EAAE,CACf,CAAC;QACJ,CAAC;QACD,MAAM,GAAG,CAAC;IACZ,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7E,qEAAqE;IACrE,mEAAmE;IACnE,yEAAyE;IACzE,MAAM,QAAQ,GAAG,MAAM,0BAA0B,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACrE,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC"}
|
|
@@ -1,50 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Move the in-repo version requirements that point at a crate whose version
|
|
3
|
-
* just changed
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* exactly one manifest, the crate's own. For two crates.io packages in one
|
|
8
|
-
* repo where A path-deps B, releasing B moves it past A's requirement and
|
|
9
|
-
* nothing updates A:
|
|
10
|
-
*
|
|
11
|
-
* error: failed to select a version for the requirement `expcore = "^0.2"`
|
|
12
|
-
* candidate versions found which didn't match: 0.4.2
|
|
13
|
-
* location searched: …/packages/core
|
|
14
|
-
*
|
|
15
|
-
* A hard failure (exit 101) before anything compiles or packages, and an
|
|
16
|
-
* intermittent one — a repo on a patch cadence stays green until the first
|
|
17
|
-
* bump that leaves the declared range. `location searched` naming the local
|
|
18
|
-
* path is also why registry state cannot rescue it: for a `path` + `version`
|
|
19
|
-
* dependency cargo checks the requirement against the path crate's on-disk
|
|
20
|
-
* manifest.
|
|
21
|
-
*
|
|
22
|
-
* A `version` key alongside `path` is *mandatory* for any crate that also
|
|
23
|
-
* publishes to crates.io, so the shape that breaks is the shape such a repo
|
|
24
|
-
* is required to have.
|
|
25
|
-
*
|
|
26
|
-
* This is the inverse walk of `write-embedded-crate-versions.ts`: that one
|
|
27
|
-
* walks *out* from a crate to what it embeds, this one looks *in* at what
|
|
28
|
-
* points back. It rewrites requirements only; no crate's version is bumped
|
|
29
|
-
* here, because at publish time each package owns its own planned version
|
|
30
|
-
* and stamping a neighbour's would publish a version nobody planned.
|
|
31
|
-
*
|
|
32
|
-
* Like #621's rewrites these are ephemeral — the publish job runs off a
|
|
33
|
-
* fresh checkout and nothing is committed — but unlike #621's they happen in
|
|
34
|
-
* the same job as `cargo publish`, so the pre-publish dirty-tree check has
|
|
35
|
-
* to be told which manifests they touched.
|
|
3
|
+
* just changed (#640). Releasing B past A's `path` + `version` requirement
|
|
4
|
+
* fails cargo at exit 101 — "failed to select a version for the requirement
|
|
5
|
+
* expcore = ^0.2 … location searched: …/packages/core" — and that local path is
|
|
6
|
+
* why registry state cannot rescue it. Rewrites requirements, never a version.
|
|
36
7
|
*/
|
|
37
8
|
/**
|
|
38
|
-
* Rewrite every in-repo `version = "…"` requirement that points at the crate
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* outside any shared cargo workspace, so they are scanned in addition to the
|
|
43
|
-
* workspace's own members rather than instead of them.
|
|
44
|
-
*
|
|
45
|
-
* Only entries that resolve to `crateDir` move. A registry dependency, or a
|
|
46
|
-
* path dependency pointing anywhere else, keeps its requirement: pinning
|
|
47
|
-
* pyo3 to this release's version would name a pyo3 that does not exist.
|
|
9
|
+
* Rewrite every in-repo `version = "…"` requirement that points at the crate at
|
|
10
|
+
* `crateDir` to `version`; returns the absolute paths modified. `siblingDirs`
|
|
11
|
+
* are other declared packages' dirs, which may sit outside any shared workspace,
|
|
12
|
+
* so they are scanned as well as its members. Only entries resolving to `crateDir` move.
|
|
48
13
|
*/
|
|
49
14
|
export declare function writeDependentVersionReqs(crateDir: string, version: string, siblingDirs?: readonly string[]): Promise<string[]>;
|
|
50
15
|
//# sourceMappingURL=write-dependent-version-reqs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-dependent-version-reqs.d.ts","sourceRoot":"","sources":["../src/write-dependent-version-reqs.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"write-dependent-version-reqs.d.ts","sourceRoot":"","sources":["../src/write-dependent-version-reqs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAYH;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,GAC9B,OAAO,CAAC,MAAM,EAAE,CAAC,CAoCnB"}
|
|
@@ -1,38 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Move the in-repo version requirements that point at a crate whose version
|
|
3
|
-
* just changed
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* exactly one manifest, the crate's own. For two crates.io packages in one
|
|
8
|
-
* repo where A path-deps B, releasing B moves it past A's requirement and
|
|
9
|
-
* nothing updates A:
|
|
10
|
-
*
|
|
11
|
-
* error: failed to select a version for the requirement `expcore = "^0.2"`
|
|
12
|
-
* candidate versions found which didn't match: 0.4.2
|
|
13
|
-
* location searched: …/packages/core
|
|
14
|
-
*
|
|
15
|
-
* A hard failure (exit 101) before anything compiles or packages, and an
|
|
16
|
-
* intermittent one — a repo on a patch cadence stays green until the first
|
|
17
|
-
* bump that leaves the declared range. `location searched` naming the local
|
|
18
|
-
* path is also why registry state cannot rescue it: for a `path` + `version`
|
|
19
|
-
* dependency cargo checks the requirement against the path crate's on-disk
|
|
20
|
-
* manifest.
|
|
21
|
-
*
|
|
22
|
-
* A `version` key alongside `path` is *mandatory* for any crate that also
|
|
23
|
-
* publishes to crates.io, so the shape that breaks is the shape such a repo
|
|
24
|
-
* is required to have.
|
|
25
|
-
*
|
|
26
|
-
* This is the inverse walk of `write-embedded-crate-versions.ts`: that one
|
|
27
|
-
* walks *out* from a crate to what it embeds, this one looks *in* at what
|
|
28
|
-
* points back. It rewrites requirements only; no crate's version is bumped
|
|
29
|
-
* here, because at publish time each package owns its own planned version
|
|
30
|
-
* and stamping a neighbour's would publish a version nobody planned.
|
|
31
|
-
*
|
|
32
|
-
* Like #621's rewrites these are ephemeral — the publish job runs off a
|
|
33
|
-
* fresh checkout and nothing is committed — but unlike #621's they happen in
|
|
34
|
-
* the same job as `cargo publish`, so the pre-publish dirty-tree check has
|
|
35
|
-
* to be told which manifests they touched.
|
|
3
|
+
* just changed (#640). Releasing B past A's `path` + `version` requirement
|
|
4
|
+
* fails cargo at exit 101 — "failed to select a version for the requirement
|
|
5
|
+
* expcore = ^0.2 … location searched: …/packages/core" — and that local path is
|
|
6
|
+
* why registry state cannot rescue it. Rewrites requirements, never a version.
|
|
36
7
|
*/
|
|
37
8
|
import { readFile, writeFile } from 'node:fs/promises';
|
|
38
9
|
import { join, resolve } from 'node:path';
|
|
@@ -42,16 +13,10 @@ import { findWorkspaceRoot } from './find-workspace-root.js';
|
|
|
42
13
|
import { replaceDepVersionReq } from './replace-dep-version-req.js';
|
|
43
14
|
import { resolveDepDirs } from './resolve-dep-dirs.js';
|
|
44
15
|
/**
|
|
45
|
-
* Rewrite every in-repo `version = "…"` requirement that points at the crate
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* outside any shared cargo workspace, so they are scanned in addition to the
|
|
50
|
-
* workspace's own members rather than instead of them.
|
|
51
|
-
*
|
|
52
|
-
* Only entries that resolve to `crateDir` move. A registry dependency, or a
|
|
53
|
-
* path dependency pointing anywhere else, keeps its requirement: pinning
|
|
54
|
-
* pyo3 to this release's version would name a pyo3 that does not exist.
|
|
16
|
+
* Rewrite every in-repo `version = "…"` requirement that points at the crate at
|
|
17
|
+
* `crateDir` to `version`; returns the absolute paths modified. `siblingDirs`
|
|
18
|
+
* are other declared packages' dirs, which may sit outside any shared workspace,
|
|
19
|
+
* so they are scanned as well as its members. Only entries resolving to `crateDir` move.
|
|
55
20
|
*/
|
|
56
21
|
export async function writeDependentVersionReqs(crateDir, version, siblingDirs) {
|
|
57
22
|
// Canonicalize first: every candidate directory below arrives via
|