From bd997fe5edf2db3ebda26b431e1cb43f80706840 Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Tue, 19 May 2026 00:30:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Move=20to=20`devEngines.packageM?= =?UTF-8?q?anager`=20(#6996)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contrary to my first attempt of move done by Claude at #6957, this one has been achieved fully manually and from a Windows machine. We expect it will pass. --------- Co-authored-by: Claude Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Nicolas DUBIEN --- .gitattributes | 1 + .github/workflows/build-status.yml | 32 +++-- package.json | 12 +- pnpm-lock.yaml | 199 +++++++++++++++++++++++++++++ 4 files changed, 234 insertions(+), 10 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..1f8782ca --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +pnpm-lock.yaml text eol=lf diff --git a/.github/workflows/build-status.yml b/.github/workflows/build-status.yml index 085bcdf3..ec00eb3a 100644 --- a/.github/workflows/build-status.yml +++ b/.github/workflows/build-status.yml @@ -214,10 +214,10 @@ jobs: # pkg-pr-new is a tool for creating preview deployments, not for publishing to npm - name: Preview (no comment) # zizmor: ignore[use-trusted-publishing] if: github.event_name != 'pull_request' - run: pnpm exec pkg-pr-new publish --compact './packages/*' --template './examples' --comment=off + run: pnpm exec pkg-pr-new publish --pnpm --compact './packages/*' --template './examples' --comment=off - name: Preview # zizmor: ignore[use-trusted-publishing] if: github.event_name == 'pull_request' - run: pnpm exec pkg-pr-new publish --compact './packages/*' --template './examples' + run: pnpm exec pkg-pr-new publish --pnpm --compact './packages/*' --template './examples' test: name: 'Test' needs: @@ -600,6 +600,8 @@ jobs: id-token: write attestations: write steps: + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 # These are false positives - attestations ensure artifact integrity # setup-node actions in publish jobs followed by gh-release for attestation uploads - name: Using Node v24.x @@ -629,7 +631,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUBLISH_TAG: ${{github.ref == 'refs/heads/main' && 'latest' || startsWith(github.ref, 'refs/heads/next-') && 'next' || 'legacy'}} OTP_VALUE: ${{steps.wait-for-secrets.outputs.OTP}} - run: npm publish --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/fast-check/$TGZ_NAME" + run: pnpm publish --no-git-checks --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/fast-check/$TGZ_NAME" - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 id: attest with: @@ -678,6 +680,8 @@ jobs: id-token: write attestations: write steps: + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - name: Using Node v24.x uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 # zizmor: ignore[cache-poisoning] with: @@ -705,7 +709,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUBLISH_TAG: ${{github.ref == 'refs/heads/main' && 'latest' || startsWith(github.ref, 'refs/heads/next-') && 'next' || 'legacy'}} OTP_VALUE: ${{steps.wait-for-secrets.outputs.OTP}} - run: npm publish --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/ava/$TGZ_NAME" + run: pnpm publish --no-git-checks --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/ava/$TGZ_NAME" - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 id: attest with: @@ -754,6 +758,8 @@ jobs: id-token: write attestations: write steps: + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - name: Using Node v24.x uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 # zizmor: ignore[cache-poisoning] with: @@ -781,7 +787,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUBLISH_TAG: ${{github.ref == 'refs/heads/main' && 'latest' || startsWith(github.ref, 'refs/heads/next-') && 'next' || 'legacy'}} OTP_VALUE: ${{steps.wait-for-secrets.outputs.OTP}} - run: npm publish --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/jest/$TGZ_NAME" + run: pnpm publish --no-git-checks --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/jest/$TGZ_NAME" - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 id: attest with: @@ -830,6 +836,8 @@ jobs: id-token: write attestations: write steps: + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - name: Using Node v24.x uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 # zizmor: ignore[cache-poisoning] with: @@ -857,7 +865,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUBLISH_TAG: ${{github.ref == 'refs/heads/main' && 'latest' || startsWith(github.ref, 'refs/heads/next-') && 'next' || 'legacy'}} OTP_VALUE: ${{steps.wait-for-secrets.outputs.OTP}} - run: npm publish --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/packaged/$TGZ_NAME" + run: pnpm publish --no-git-checks --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/packaged/$TGZ_NAME" - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 id: attest with: @@ -906,6 +914,8 @@ jobs: id-token: write attestations: write steps: + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - name: Using Node v24.x uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 # zizmor: ignore[cache-poisoning] with: @@ -933,7 +943,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUBLISH_TAG: ${{github.ref == 'refs/heads/main' && 'latest' || startsWith(github.ref, 'refs/heads/next-') && 'next' || 'legacy'}} OTP_VALUE: ${{steps.wait-for-secrets.outputs.OTP}} - run: npm publish --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/poisoning/$TGZ_NAME" + run: pnpm publish --no-git-checks --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/poisoning/$TGZ_NAME" - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 id: attest with: @@ -982,6 +992,8 @@ jobs: id-token: write attestations: write steps: + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - name: Using Node v24.x uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 # zizmor: ignore[cache-poisoning] with: @@ -1009,7 +1021,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUBLISH_TAG: ${{github.ref == 'refs/heads/main' && 'latest' || startsWith(github.ref, 'refs/heads/next-') && 'next' || 'legacy'}} OTP_VALUE: ${{steps.wait-for-secrets.outputs.OTP}} - run: npm publish --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/vitest/$TGZ_NAME" + run: pnpm publish --no-git-checks --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/vitest/$TGZ_NAME" - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 id: attest with: @@ -1058,6 +1070,8 @@ jobs: id-token: write attestations: write steps: + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 - name: Using Node v24.x uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 # zizmor: ignore[cache-poisoning] with: @@ -1085,7 +1099,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} PUBLISH_TAG: ${{github.ref == 'refs/heads/main' && 'latest' || startsWith(github.ref, 'refs/heads/next-') && 'next' || 'legacy'}} OTP_VALUE: ${{steps.wait-for-secrets.outputs.OTP}} - run: npm publish --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/worker/$TGZ_NAME" + run: pnpm publish --no-git-checks --access public --otp "$OTP_VALUE" --tag "$PUBLISH_TAG" "packages/worker/$TGZ_NAME" - uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 id: attest with: diff --git a/package.json b/package.json index fa47f7bb..eaf866c1 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,17 @@ "name": "@fast-check/monorepo", "description": "Test making sure fast-check expose the right typings", "type": "module", - "packageManager": "pnpm@11.1.1", + "devEngines": { + "runtime": { + "name": "node", + "onFail": "warn" + }, + "packageManager": { + "name": "pnpm", + "version": "11.1.2", + "onFail": "download" + } + }, "workspaces": [ ".github/actions/*", "examples", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0029d3a8..6b63506b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,3 +1,202 @@ +--- +lockfileVersion: '9.0' + +importers: + + .: + configDependencies: {} + packageManagerDependencies: + '@pnpm/exe': + specifier: 11.1.2 + version: 11.1.2 + pnpm: + specifier: 11.1.2 + version: 11.1.2 + +packages: + + '@pnpm/exe@11.1.2': + resolution: {integrity: sha512-di6YvqPO/2jvih6kCJ8r0ySzQNjQWrBXPEfqEHtrmwOamuNALnfASwhFBwEtMjWmaA8QG7TqAg2qEvAe+8cBkQ==} + hasBin: true + + '@pnpm/linux-arm64@11.1.2': + resolution: {integrity: sha512-VdyZw4LsGm2v+645a7sZsb3MyjrRizTsV7wtpzIySJGYgc7nnQeTzw5QSI5xaoRf/ge0PTKDG8BeRqJOs+KpAg==} + cpu: [arm64] + os: [linux] + + '@pnpm/linux-x64@11.1.2': + resolution: {integrity: sha512-WTyDmmeQFLDlPJXDFNqJXrEmEjE78dJDXo3VSz7O/xXpC2nPwY38nVxthPGd+6t9SKmGDx/s4RLOjjKo82Hbig==} + cpu: [x64] + os: [linux] + + '@pnpm/linuxstatic-arm64@11.1.2': + resolution: {integrity: sha512-eIpUghshpgEAtSBv/uSRM+7jBaUVcEpP4sInlOuRYDK+Wg091lQ5Gv5uOxgiHAqs3LWku3lRF81EReKyHehYUQ==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@pnpm/linuxstatic-x64@11.1.2': + resolution: {integrity: sha512-sYJxMj7zrR8ZSGqvqai3fWJ95VAZtuDYUAluDXQ/VZ3/7+FqikbXqokitTt0yCGSOzbO8u7zseW8EsOqxf93Qw==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@pnpm/macos-arm64@11.1.2': + resolution: {integrity: sha512-eqwJeQbqgKRhLCgcVtb0Eaz3Ay6AspOkioqhT00jN6dFwoUYi7Xo78rnZ2uSwVSp+Sij4Yyuvmu++ZPIeP9VrA==} + cpu: [arm64] + os: [darwin] + + '@pnpm/win-arm64@11.1.2': + resolution: {integrity: sha512-MZzvuuODP/AI781f+x/lB9UuN2SHIGVn6W08SEWKdPIMxWqBGKXLd9QOuh6uRJ7UWC9AufFzhbVs0fSQxxEcng==} + cpu: [arm64] + os: [win32] + + '@pnpm/win-x64@11.1.2': + resolution: {integrity: sha512-1B2ijW1Z68ehS4QkLVbD+oENz7ribCNpL5Hh5UMDdVm04KYmi2vDp2BW7SrC8AS6G4/5YUs5yFLJPY57CLJJ8A==} + cpu: [x64] + os: [win32] + + '@reflink/reflink-darwin-arm64@0.1.19': + resolution: {integrity: sha512-ruy44Lpepdk1FqDz38vExBY/PVUsjxZA+chd9wozjUH9JjuDT/HEaQYA6wYN9mf041l0yLVar6BCZuWABJvHSA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@reflink/reflink-darwin-x64@0.1.19': + resolution: {integrity: sha512-By85MSWrMZa+c26TcnAy8SDk0sTUkYlNnwknSchkhHpGXOtjNDUOxJE9oByBnGbeuIE1PiQsxDG3Ud+IVV9yuA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@reflink/reflink-linux-arm64-gnu@0.1.19': + resolution: {integrity: sha512-7P+er8+rP9iNeN+bfmccM4hTAaLP6PQJPKWSA4iSk2bNvo6KU6RyPgYeHxXmzNKzPVRcypZQTpFgstHam6maVg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@reflink/reflink-linux-arm64-musl@0.1.19': + resolution: {integrity: sha512-37iO/Dp6m5DDaC2sf3zPtx/hl9FV3Xze4xoYidrxxS9bgP3S8ALroxRK6xBG/1TtfXKTvolvp+IjrUU6ujIGmA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@reflink/reflink-linux-x64-gnu@0.1.19': + resolution: {integrity: sha512-jbI8jvuYCaA3MVUdu8vLoLAFqC+iNMpiSuLbxlAgg7x3K5bsS8nOpTRnkLF7vISJ+rVR8W+7ThXlXlUQ93ulkw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@reflink/reflink-linux-x64-musl@0.1.19': + resolution: {integrity: sha512-e9FBWDe+lv7QKAwtKOt6A2W/fyy/aEEfr0g6j/hWzvQcrzHCsz07BNQYlNOjTfeytrtLU7k449H1PI95jA4OjQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@reflink/reflink-win32-arm64-msvc@0.1.19': + resolution: {integrity: sha512-09PxnVIQcd+UOn4WAW73WU6PXL7DwGS6wPlkMhMg2zlHHG65F3vHepOw06HFCq+N42qkaNAc8AKIabWvtk6cIQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@reflink/reflink-win32-x64-msvc@0.1.19': + resolution: {integrity: sha512-E//yT4ni2SyhwP8JRjVGWr3cbnhWDiPLgnQ66qqaanjjnMiu3O/2tjCPQXlcGc/DEYofpDc9fvhv6tALQsMV9w==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@reflink/reflink@0.1.19': + resolution: {integrity: sha512-DmCG8GzysnCZ15bres3N5AHCmwBwYgp0As6xjhQ47rAUTUXxJiK+lLUxaGsX3hd/30qUpVElh05PbGuxRPgJwA==} + engines: {node: '>= 10'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + pnpm@11.1.2: + resolution: {integrity: sha512-QVocwll0cx51RVwUaDcb50xapft2IbUNQFbSIkUWCfEUEvI/1gLmFp8eBgRmZB95hZfhvpYaEGiINqZ7FlaUmQ==} + engines: {node: '>=22.13'} + hasBin: true + +snapshots: + + '@pnpm/exe@11.1.2': + dependencies: + '@reflink/reflink': 0.1.19 + detect-libc: 2.1.2 + optionalDependencies: + '@pnpm/linux-arm64': 11.1.2 + '@pnpm/linux-x64': 11.1.2 + '@pnpm/linuxstatic-arm64': 11.1.2 + '@pnpm/linuxstatic-x64': 11.1.2 + '@pnpm/macos-arm64': 11.1.2 + '@pnpm/win-arm64': 11.1.2 + '@pnpm/win-x64': 11.1.2 + + '@pnpm/linux-arm64@11.1.2': + optional: true + + '@pnpm/linux-x64@11.1.2': + optional: true + + '@pnpm/linuxstatic-arm64@11.1.2': + optional: true + + '@pnpm/linuxstatic-x64@11.1.2': + optional: true + + '@pnpm/macos-arm64@11.1.2': + optional: true + + '@pnpm/win-arm64@11.1.2': + optional: true + + '@pnpm/win-x64@11.1.2': + optional: true + + '@reflink/reflink-darwin-arm64@0.1.19': + optional: true + + '@reflink/reflink-darwin-x64@0.1.19': + optional: true + + '@reflink/reflink-linux-arm64-gnu@0.1.19': + optional: true + + '@reflink/reflink-linux-arm64-musl@0.1.19': + optional: true + + '@reflink/reflink-linux-x64-gnu@0.1.19': + optional: true + + '@reflink/reflink-linux-x64-musl@0.1.19': + optional: true + + '@reflink/reflink-win32-arm64-msvc@0.1.19': + optional: true + + '@reflink/reflink-win32-x64-msvc@0.1.19': + optional: true + + '@reflink/reflink@0.1.19': + optionalDependencies: + '@reflink/reflink-darwin-arm64': 0.1.19 + '@reflink/reflink-darwin-x64': 0.1.19 + '@reflink/reflink-linux-arm64-gnu': 0.1.19 + '@reflink/reflink-linux-arm64-musl': 0.1.19 + '@reflink/reflink-linux-x64-gnu': 0.1.19 + '@reflink/reflink-linux-x64-musl': 0.1.19 + '@reflink/reflink-win32-arm64-msvc': 0.1.19 + '@reflink/reflink-win32-x64-msvc': 0.1.19 + + detect-libc@2.1.2: {} + + pnpm@11.1.2: {} + +--- lockfileVersion: '9.0' settings: -- 2.51.2