Skip to content

chore: test debug shim with wrangler #9987

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

edmundhung
Copy link
Member

@edmundhung edmundhung commented Jul 16, 2025

Fixes DEVX-1973

I was planning to bump the unenv-preset version on both Wrangler and the Vite plugin on this PR but it is already updated on #10031. So this simply add an extra test to confirm whether wrangler can shim the debug module properly.


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: no docs for unenv
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: new feature

Copy link

changeset-bot bot commented Jul 16, 2025

⚠️ No Changeset found

Latest commit: 88cd95b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Jul 16, 2025
@edmundhung edmundhung changed the title feat: remove npm shims from unenv feat(unenv-preset): bundle debug with cloudflare env support Jul 17, 2025
@edmundhung edmundhung changed the title feat(unenv-preset): bundle debug with cloudflare env support feat(unenv-preset): shim debug package for cloudflare env support Jul 17, 2025
@edmundhung edmundhung force-pushed the edmundhung/DEVX-1973 branch from d1b97df to 2214e66 Compare July 17, 2025 18:56
Copy link

pkg-pr-new bot commented Jul 17, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@9987

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@9987

miniflare

npm i https://pkg.pr.new/miniflare@9987

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@9987

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@9987

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@9987

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@9987

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@9987

wrangler

npm i https://pkg.pr.new/wrangler@9987

commit: 88cd95b

@edmundhung edmundhung changed the title feat(unenv-preset): shim debug package for cloudflare env support feat: update unenv-preset version Jul 18, 2025
@edmundhung edmundhung closed this Jul 22, 2025
@edmundhung edmundhung force-pushed the edmundhung/DEVX-1973 branch from 05d2152 to dbcdd39 Compare July 22, 2025 13:20
@github-project-automation github-project-automation bot moved this from Untriaged to Done in workers-sdk Jul 22, 2025
@edmundhung edmundhung reopened this Jul 23, 2025
@github-project-automation github-project-automation bot moved this from Done to Untriaged in workers-sdk Jul 23, 2025
@edmundhung edmundhung force-pushed the edmundhung/DEVX-1973 branch from 8d57d88 to 4685b32 Compare July 23, 2025 20:02
@edmundhung edmundhung changed the title feat: update unenv-preset version chore: test debug shim with wrangler Jul 23, 2025
@edmundhung edmundhung force-pushed the edmundhung/DEVX-1973 branch from 4685b32 to 88cd95b Compare July 23, 2025 20:09
@edmundhung edmundhung marked this pull request as ready for review July 23, 2025 20:11
@edmundhung edmundhung requested a review from a team as a code owner July 23, 2025 20:11
@edmundhung edmundhung requested a review from emily-shen July 24, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Untriaged
Development

Successfully merging this pull request may close these issues.

1 participant