Deduplicate codemod logic in C3 and autoconfig by moving it to its own @cloudflare/codemod package#13102
Conversation
🦋 Changeset detectedLatest commit: 6b1aa34 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This comment was marked as outdated.
This comment was marked as outdated.
@cloudflare/codemod package@cloudflare/codemod package
7302596 to
d23326b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
ef7fce4 to
1bbbf97
Compare
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
3eb6c10 to
d004659
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
Does this need addressing @dario-piotrowicz ? |
It's already been addressed 🙂 |
…n `@cloudflare/codemod` package
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
36f3ea8 to
90091b3
Compare
|
File:
Suggested fix: ---
"@cloudflare/codemod": minor
---
Add `@cloudflare/codemod` package with internal AST-based codemod utilities
Introduces the `@cloudflare/codemod` package, providing AST-based codemod utilities (`parseJs`, `parseTs`, `parseFile`, `transformFile`, `mergeObjectProperties`) built on `recast`.The |
This changeset is kind of fine but we can still stick to the rules.
…n `@cloudflare/codemod` package (#13102) Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
Fixes partially https://jira.cfdata.org/browse/DEVX-2380
A picture of a cute animal (not mandatory, but encouraged)