2021-08-17 08:20:03 -07:00
|
|
|
|
2025-09-22 15:14:04 +01:00
|
|
|
|
2021-10-08 22:14:45 +01:00
|
|
|
|
2022-10-10 15:15:50 +01:00
|
|
|
|
2021-10-09 08:54:15 +01:00
|
|
|
|
2023-02-13 12:54:07 +00:00
|
|
|
|
2021-10-08 22:14:45 +01:00
|
|
|
|
2023-02-13 12:54:07 +00:00
|
|
|
|
2021-10-08 22:14:45 +01:00
|
|
|
|
2022-07-07 21:25:20 +01:00
|
|
|
|
|
|
|
|
|
2021-10-08 22:14:45 +01:00
|
|
|
|
2023-09-14 14:32:49 -05:00
|
|
|
|
2026-03-20 14:39:39 +00:00
|
|
|
|
|
|
|
|
|
2024-09-13 13:53:37 -04:00
|
|
|
|
Ensure consistent fixture package naming (#9378)
* tighten up turbo dependencies to avoid having to manually build
* test: ensure that fixture packages always start with `fixture-`
* refactor: consolidate fixture package names with consistent `fixture-` prefix
Updates all 63 fixture package names to use a consistent naming scheme with logical categorization:
- Core workers: fixture-worker-basic, fixture-worker-ai, fixture-worker-typescript, etc.
- Pages functions: fixture-pages-functions, fixture-pages-workerjs, etc.
- Database/storage: fixture-d1-basic, fixture-secrets-store, etc.
- Module handling: fixture-import-wasm, fixture-no-bundle-import, etc.
- Development tools: fixture-interactive-dev, fixture-local-mode, etc.
Also updates test files that reference specific fixture package names to maintain compatibility.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* add CI_OS env var to the check run to ensure correct turbo remote caching
* fixup! refactor: consolidate fixture package names with consistent `fixture-` prefix
* fixup! test: ensure that fixture packages always start with `fixture-`
* revert unnecessary change
---------
Co-authored-by: Claude <noreply@anthropic.com>
2025-05-28 13:08:48 +01:00
|
|
|
|
2026-03-18 16:03:35 +00:00
|
|
|
|
|
|
|
|
|
chore: add CI validation for external package dependencies (#11898)
* chore: add CI validation for external package dependencies
Add a validation check that ensures packages explicitly declare their
external (non-bundled) dependencies to prevent dependency chain poisoning.
- Add tools/deployments/validate-package-dependencies.ts validation script
- Add check:package-deps npm script and integrate into pnpm check
- Create scripts/deps.ts allowlists for packages with external dependencies:
- miniflare (12 deps)
- @cloudflare/vite-plugin (8 deps)
- @cloudflare/vitest-pool-workers (7 deps)
- @cloudflare/kv-asset-handler (1 dep)
- @cloudflare/workers-editor-shared (1 dep)
- Update CONTRIBUTING.md with documentation on managing dependencies
- Add unit tests for the validation logic (22 tests)
* fix(kv-asset-handler): bundle mime dependency instead of keeping it external
Move mime from dependencies to devDependencies so it gets bundled into
the distributable. This follows the project's practice of bundling
dependencies to prevent dependency chain poisoning.
* fix(miniflare): bundle acorn and acorn-walk dependencies
Move acorn and acorn-walk from dependencies to devDependencies so they
get bundled into the distributable. These are pure JavaScript parsing
libraries with no special runtime requirements, so they can be safely
bundled.
* chore: bundle more dependencies to reduce supply chain risk
Move 13 dependencies from dependencies to devDependencies so they get
bundled into the distributed packages rather than being installed as
transitive dependencies by users.
Packages updated:
- miniflare: bundle exit-hook, glob-to-regexp, stoppable, youch
- @cloudflare/vitest-pool-workers: bundle birpc, devalue, get-port, semver
- @cloudflare/vite-plugin: bundle @remix-run/node-fetch-server, defu,
get-port, picocolors, tinyglobby
Also updates the EXTERNAL_DEPENDENCIES comments to explain WHY each
remaining dependency cannot be bundled (native binaries, optional native
bindings, runtime resolution needs) rather than just describing how
they are used.
* fix(vitest-pool-workers): bundle dependencies that were moved to devDependencies
* chore: add changeset for dependency bundling
* fixup: remove unnecessary stuff from CONTRIBUTING
2026-01-14 21:11:35 +00:00
|
|
|
|
2025-09-22 15:14:04 +01:00
|
|
|
|
2023-09-14 14:32:49 -05:00
|
|
|
|
2026-03-11 16:24:33 +00:00
|
|
|
|
2023-09-14 14:32:49 -05:00
|
|
|
|
2026-03-18 16:03:35 +00:00
|
|
|
|
|
|
|
|
|
2025-02-19 13:00:37 +00:00
|
|
|
|
2024-05-24 12:10:07 +01:00
|
|
|
|
2024-07-05 15:06:05 +01:00
|
|
|
|
2025-07-01 09:39:31 +01:00
|
|
|
|
|
|
|
|
|
2023-06-12 12:57:01 -05:00
|
|
|
|
2024-06-21 15:11:52 +01:00
|
|
|
|
2022-11-28 21:26:53 +00:00
|
|
|
|
2022-07-07 21:25:20 +01:00
|
|
|
|
2024-02-27 11:28:18 +00:00
|
|
|
|
2025-11-20 18:47:45 +00:00
|
|
|
|
|
|
|
|
|
2025-02-17 20:26:10 +00:00
|
|
|
|
2024-10-25 17:56:31 +01:00
|
|
|
|
2024-01-22 14:32:32 -06:00
|
|
|
|
2024-06-14 18:59:32 +01:00
|
|
|
|
2023-09-01 15:20:45 -05:00
|
|
|
|
2025-03-11 20:26:18 +00:00
|
|
|
|
2024-06-14 18:59:32 +01:00
|
|
|
|
2026-03-18 16:03:35 +00:00
|
|
|
|
2026-03-11 13:11:10 +00:00
|
|
|
|
2026-03-18 16:03:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-03-20 14:39:39 +00:00
|
|
|
|
2026-01-05 11:42:32 +01:00
|
|
|
|
2024-10-25 17:56:31 +01:00
|
|
|
|
2024-09-13 18:05:45 +01:00
|
|
|
|
2022-07-07 21:25:20 +01:00
|
|
|
|
|
|
|
|
|
2026-04-01 17:00:18 +01:00
|
|
|
|
|
|
|
|
|
2021-12-15 13:51:35 +00:00
|
|
|
|
|
|
|
|
|
2025-06-26 17:44:51 +01:00
|
|
|
|
2026-04-01 17:00:18 +01:00
|
|
|
|
2023-09-06 16:08:36 +01:00
|
|
|
|
2026-04-01 17:00:18 +01:00
|
|
|
|
2021-08-17 08:20:03 -07:00
|
|
|
|