Commit graph

22 commits

Author SHA1 Message Date
Somhairle MacLeòid
aa26784ce1
Convert from ESLint to oxlint, Prettier to oxfmt (#12930) 2026-03-18 16:03:35 +00:00
James Garbutt
ebdbe52c2b
perf: remove find-up (#12601) 2026-02-19 22:01:58 +00:00
Pete Bacon Darwin
8ecabd8170
ci: use the correct npm version for releases (#11423)
Trusted publishing requires the installed npm to be at least 11.5.1.
We get this automatically via Node 24.
2025-11-26 12:07:10 +00:00
Somhairle MacLeòid
4be581af7d
Use eslint flat file config (#11207)
* Use eslint flat file config

* prettify

* fix

* address some comments
2025-11-07 13:15:59 +00:00
Brendan Irvine-Broque
79440e4b4a
Add issue auto assigner package and GitHub Actions workflow (#10828)
* Auto-assign issues via a GitHub Action

Runs whenever a new label is added to an issue.
If that label has a team configured for it, then it will assign all the configured team members to the issue.

* clean up

---------

Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
2025-10-13 18:25:47 +02:00
Dario Piotrowicz
98a8617178
add @cloudflare/ scope to all private packages and rename root package (#10685)
* add `@cloudflare/` scope to all private packages and rename root package

* move `::group::` inside then

* update blob and fixtures ignoring

* revert incorrect `::group::` change

* use `@cloudflare/vite-plugin-e2e-` as suggested in PR

* update import-example fixture package name
2025-09-22 15:14:04 +01:00
Somhairle MacLeòid
51553efa5b
Use the Cloudflare SDK (#9955)
* Use cloudflare SDK

* Create serious-islands-hope.md

* fixes

* Remove node-types.d.ts

* tighten up typings & eslint settings

* fix lockfile

* fix lockfile

* render better errors

* Fix tests

* let's start at the very beginning

* format

* fix lint

* Increase per_page limit for KV namespaces listing
2025-09-09 16:17:31 +01:00
Victor Berchet
a341101786
make sure we run wrangler e2e tests in nested folders (#10174) 2025-08-01 12:34:32 +02:00
Pete Bacon Darwin
d609ac7823
update eslint versions and ban direct console usage in Wrangler, Miniflare and C3 (#9861)
* update eslint versions and ban direct console usage in Wrangler, Miniflare and C3

* fixup! update eslint versions and ban direct console usage in Wrangler, Miniflare and C3

* fixup! update eslint versions and ban direct console usage in Wrangler, Miniflare and C3

* fixup! update eslint versions and ban direct console usage in Wrangler, Miniflare and C3

* rebase catchups of new eslint errors
2025-07-15 09:33:30 +01:00
Dario Piotrowicz
c79a52770f
update the e2e cleanup script to also delete container images (#9939) 2025-07-14 09:55:40 +01:00
Somhairle MacLeòid
0a38bbade6
Update & consolidate some repo dependencies (#7090)
* undici -> catalog

* TS -> catalog

* upgrade ws

* absolutely pin @types/node

* fix types

* fix warnings

* fix some tests

* pin msw

* fix some tests
2024-10-25 17:56:31 +01:00
Sunil Pai
6b09f65ef9
chore: fail build on eslint warnings (#6111)
modify all the eslint commands to fail if any warnings are present
2024-06-25 17:55:08 +02:00
Pete Bacon Darwin
28a4d639f0
chore: turn on prettier for package.json files and fix them (#6117) 2024-06-21 15:11:52 +01:00
Sunil Pai
a0c3327dd6
Normalize more deps (#6050)
This is the last of the patches that normalize dependencies across the codebase. In this batch: `ws`, `vitest`, `zod` , `rimraf`, `@types/rimraf`, `ava`, `source-map`, `glob`, `cookie`, `@types/cookie`, `@microsoft/api-extractor`, `@types/mime`, `@types/yargs`, `devtools-protocol`, `@vitest/ui`, `execa`, `strip-ansi`

This patch also sorts dependencies in every `package.json`
2024-06-18 07:50:45 +01:00
Sunil Pai
c643a8193a
Normalize more dependencies. (#6046)
Follow up toi https://github.com/cloudflare/workers-sdk/pull/6029, this normalizes some more dependencies : `get-port`, `chalk`, `yargs`, `toucan-js`, `@typescript-eslint/parser`, `@typescript-eslint/eslint-plugin`, `esbuild-register`, `hono`, `glob-to-regexp, `@cloudflare/workers-types``
2024-06-15 03:32:13 +01:00
Sunil Pai
f5ad1d3e56
Normalize some dependencies in workers-sdk (#6029)
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).
2024-06-14 18:59:32 +01:00
Andy Jessop
73ca67d614
chore: add launch.json to debug single (current) test file (#5978)
* chore: add launch.json to debug single (current) test file

* chore: better docblock

* chore: pnpm install using 9.1.2

---------

Co-authored-by: Andy Jessop <ajessop@cloudflare.com>
2024-06-05 20:08:45 +01:00
dependabot[bot]
168561ae16
chore(deps-dev): bump undici from 5.28.3 to 5.28.4 in /tools (#5791)
* chore(deps-dev): bump undici from 5.28.3 to 5.28.4 in /tools

Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* update package-lock

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
2024-05-09 10:41:03 +01:00
Pete Bacon Darwin
c9a8224196
ci: ensure that both C3 and DevProd accounts are cleaned up after e2e… (#5781)
* ci: ensure that both C3 and DevProd accounts are cleaned up after e2e tests

Previously we were only deleting stale projects/workers from the C3 test account.

* fixup! ci: ensure that both C3 and DevProd accounts are cleaned up after e2e tests
2024-05-09 07:30:30 +01:00
Somhairle MacLeòid
2ec4b930ba
Enable test caching (#5521)
* Enable test caching

* more cach plz

* fix lockfile

* Run all tests in CI

* fix test

* lockfile
2024-04-18 19:19:05 +01:00
Pete Bacon Darwin
00d5ee03b2
ci: add dependabot configuration to handle miniflare workerd dependency updates (#5243)
* ci: add dependabot configuration to handle miniflare workerd and workers-types dependency updates

* Add tool for generically generating dependabot changesets

* update github action to generate dependabot changesets for C3 and miniflare

* fixup! update github action to generate dependabot changesets for C3 and miniflare
2024-03-20 09:48:25 +00:00
Pete Bacon Darwin
594d688b1d
Deploy non-npm packages via changesets (#5130)
* 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
2024-03-05 15:15:45 +00:00