* Fix quick-edit relative path computation when the root folder name appears multiple times in a path
* Fix the quick-edit package not working since its name has been recently changed (without reflecting the same change to the source code logic that relies on the package name)
* remove incorrect changeset
Some of our packages didn't have a lint/typecheck rule setup, so I added it. Also fixed a couple of failures along the way. I _didn't_ enable linting for kv-asset-handler because that looks like a bit more work, which we can do later.
This is the first of a few expected patches that normalize dependency versions, This normalizes `undici`, `concurrently`, `@types/node`, `react`, `react-dom`, `@types/react`, `@types/react-dom`, `eslint`, `typescript`. There are no functional code changes (but there are a couple of typecheck fixes).
* Update VSCode to 1.85.2, including updates to TypeScript
* Update node version in CI
* node-gyp
* Add VSCode build deps
* Formatting
* bump workflow timeout
---------
Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
* Rename and improve docs around Preview Playground Worker integration test workflow
* Remove workflows that deployed Workers to production
These implemented the `deploy-worker/...` branch approach
which is being replaced.
* Update Pages preview deployment workflows
The reusable action has been removed and the workflow simplified.
It is no longer triggered by changes to `main`, since that will be handled by changesets going forward.
* Implement non-npm package deployments via changesets
* Remove deployment of pre-release Worker from the pre-release workflow
This should now be handled by changesets
* Update Github Actions docs
* Ensure C3 e2e tests run on PRs and main
* fixup! Update Github Actions docs
* fixup! Implement non-npm package deployments via changesets
* fixup! Implement non-npm package deployments via changesets
* Turborepo
- Turbo Workspaces: isolated tasks and localized pipelines more complex packages to exist in the monorepo.
- Persistent mode for dev keyword let's Turborepo know it's something that will be watched or run long term.
- Update all packages with namespaced ones for configs
- Namespacing TSConfig & ESlint with `@Cloudflare/` per security suggestion by Greg Brimble
* ESLint and TSConfig Monorepo Configuration
- ESLint & TSConfig are local packages, the monorepo now isolates its configs to packages utilizing them,
configurations are now monorepo packages
- Type Checking TypeScript can now directly
use the TSConfig which infers from valid TS config formats, since we are using Monorepo conventions each
package only needs to care about its own config specifics and the extended global config as a package.
- Wrangler Emit TSConfig: Figure out if this can be part of the TurboRepo pipeline then move this into the workers-
tsconfig package as "wrangler-emit"
- TurboRepo setup to work with TypeScript subdirectories as TS projects & added configs to more fixtures
- Instructions for VSCode TypeScript Project Version
- ESLint & Turbo require the `.` declared where to run monorepo tasks from each package
* Dependencies
- Adding Wrangler as direct Dependency for Fixtures that need it
- Standardize Monorepo packaging in Fixtures
- All Wrangler dependencies are now devDependency
* Vitest
- Update Vitest & remove global Vitest config
- Added Vitest script for explicit test:watch
- Refactor pages-simple-assets test
- Fix tests in fixtures (thanks @petebacondarwin)
* feature: rename `publish` command to `deploy` and alias
This renames `wrangler (pages) publish` to `wrangler (pages) deploy`,
and adds a deprecated alias for `publish`. We'll remove this alias
in Wrangler 4.
* fixup! feature: rename `publish` command to `deploy` and alias
Rename `publish` directory too
* fixup! feature: rename `publish` command to `deploy` and alias
Fix import order lint errors
* Hide type files in Quick Edit
Adding support for types in Quick Edit (not TS) resulted in some files showing up in everyone's file structure,
this excludes them from the VSCode files shown.
* Made the DTS match more generic and fixed syntax for files exclude field