rsnext/scripts
Tobias Koppers 2766ebc8d3
improve turborepo caching (#64493)
### What?

There is a race condition in the `pull-build-cache` script. When the
remote cache entry was removed between the dry run and the real run, it
will run the command and caches whatever is in the native folder.

Seems like there are some very old leftover files there which lead to an
broken publish.

This changes the command to fail when there are no files and empties the
folder before running the script. This should lead to pull-build-cache
to failing instead.

Closes PACK-2957
Fixes #64468
2024-04-15 12:42:28 +02:00
..
send-trace-to-jaeger Update rust-toolchain to nightly-2024-04-03 (#64048) 2024-04-04 23:28:02 +00:00
automated-update-workflow.js Ensure automated-update-workflow fails on errors (#63807) 2024-03-28 12:29:45 +01:00
check-examples.sh Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
check-is-release.js Apply publish step optimizations (#43620) 2022-12-01 21:48:51 -08:00
check-manifests.js [Next Docs] Update Git Workflow (#50579) 2023-06-08 12:01:55 +02:00
check-pre-compiled.bat fixes to allow lazy compilation for import() (#32441) 2021-12-14 11:33:04 +01:00
check-pre-compiled.sh Make shebangs portable used in the repo portable (#46028) 2023-02-17 09:45:42 +00:00
code-freeze.js ensure kodiak is re-added to apps list after code-freeze action (#56907) 2023-10-16 22:00:02 +00:00
deploy-examples.sh fix(ci): deploy examples (#54024) 2023-08-15 03:23:57 +00:00
deploy-tarball.js Add tarball deployments for each build (#62969) 2024-03-13 11:39:44 -07:00
deploy-turbopack-docs.sh docs(turbopack): move docs to separate (#62069) 2024-02-15 08:05:48 -08:00
generate-release-log.mjs release: add release log generation script (#54006) 2023-08-14 17:41:44 +00:00
git-configure.mjs chore: fix postinstall when using tarball (#60443) 2024-01-09 17:37:49 -05:00
inject-deploy-url.js Add tarball deployments for each build (#62969) 2024-03-13 11:39:44 -07:00
install-native.mjs chore: replace fs-extra usage in scripts/ (#57215) 2023-11-15 13:34:18 +00:00
minimal-server.js misc: improve profiling script (#55732) 2023-09-21 16:13:03 +00:00
next-with-deps.sh use pnpm for next-with-deps (#54847) 2023-08-31 16:12:38 +00:00
normalize-version-bump.js remove --turbo, use --experimental-turbo as --turbo (#55063) 2023-09-06 17:46:54 +00:00
publish-native.js Update error handling in publish scripts (#62754) 2024-03-02 00:40:51 +00:00
publish-release.js Update error handling in publish scripts (#62754) 2024-03-02 00:40:51 +00:00
pull-turbo-cache.js improve turborepo caching (#64493) 2024-04-15 12:42:28 +02:00
release-stats.sh Make shebangs portable used in the repo portable (#46028) 2023-02-17 09:45:42 +00:00
reset-project.mjs ci: disable deployment protection for e2e test project (#58830) 2023-11-23 09:41:34 -08:00
rm.mjs chore: cross-platform rm -rf script (#49529) 2023-05-10 01:14:37 +00:00
run-e2e-test-project-reset.mjs ci: disable deployment protection for e2e test project (#58830) 2023-11-23 09:41:34 -08:00
run-for-change.js fix broken create-next-app tests (#63019) 2024-03-07 22:21:12 +00:00
run-related-test.mjs chore: add test mapping script (#63757) 2024-04-11 09:44:47 +02:00
setup-node.sh Update flakey tests and add Node.js setup retrying (#47871) 2023-04-03 13:37:14 -07:00
setup-wasm.mjs chore: replace fs-extra usage in scripts/ (#57215) 2023-11-15 13:34:18 +00:00
start-release.js Update to only use preminor when configured (#62904) 2024-03-05 12:34:51 -08:00
sync-react.js chore: reduce fs-extra usage in scripts/ (#56917) 2023-10-17 19:31:19 +00:00
test-new-tests.mjs Parallelize dev/start flake detection (#63954) 2024-04-02 11:40:27 -07:00
trace-dd.mjs fix: scripts comment typos (#40207) 2022-09-05 02:26:54 +00:00
trace-next-server.js Revert "feat(next/image)!: remove squoosh in favor of sharp as optional dep" (#61810) 2024-02-08 11:00:34 +00:00
trace-to-event-format.mjs fix: scripts comment typos (#40207) 2022-09-05 02:26:54 +00:00
trace-to-tree.mjs chore: remove chalk in favor of picocolors (#55992) 2023-09-27 21:00:52 +00:00
update-google-fonts.js packages/font: run update-google-fonts script (#50608) 2023-05-31 22:31:26 +02:00
validate-externals-doc.js Add CI check to validate externals doc (#62968) 2024-03-06 17:00:25 -08:00