[C3] Bump create-vike from 0.0.599 to 0.0.616 in /packages/create-cloudflare/src/frameworks#13438
Merged
petebacondarwin merged 9 commits intomainfrom Apr 13, 2026
Conversation
Bumps [create-vike](https://github.com/vikejs/bati) from 0.0.599 to 0.0.616. - [Commits](vikejs/bati@v0.0.599...v0.0.616) --- updated-dependencies: - dependency-name: create-vike dependency-version: 0.0.616 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
🦋 Changeset detectedLatest commit: 5e2d7a0 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 |
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers |
The following dependency versions have been updated: | Dependency | From | To | | ----------- | ------- | ------- | | create-vike | 0.0.599 | 0.0.616 |
Contributor
|
✅ All changesets look good Summary:
|
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: |
…port
The new create-vike (0.0.616) generates config files using
`const config: Config = { ... }; export default config;` instead of
`export default { ... } satisfies Config;`. The autoconfig AST
transformation now resolves Identifier exports to their variable
declarations, supporting both old and new formats.
The dedup guard was checking for a CallExpression named "extends" but vikePhoton is added as an Identifier node. This meant vikePhoton would be added to the extends array on every configure() call. Also strengthened the test to verify extends array non-duplication.
The image snapshot comparison was using the default 0% threshold, causing flaky failures on CI macOS runners due to minor font rendering differences (~0.9% pixel diff). Added a 2% threshold to tolerate these platform rendering variations.
petebacondarwin
approved these changes
Apr 13, 2026
workers-devprod
approved these changes
Apr 13, 2026
Contributor
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
edmundhung
approved these changes
Apr 13, 2026
Instead of hardcoding "vikePhoton" in the extends array dedup check, resolve the actual local name from the existing import declaration for "vike-photon/config". This handles cases where the user imported it under a different name (e.g. `import photon from "vike-photon/config"`).
Merged
NuroDev
pushed a commit
that referenced
this pull request
Apr 13, 2026
…udflare/src/frameworks (#13438) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wrangler automated PR updater <wrangler@cloudflare.com> Co-authored-by: Pete Bacon Darwin <pbacondarwin@cloudflare.com>
petebacondarwin
added a commit
that referenced
this pull request
Apr 14, 2026
…udflare/src/frameworks (#13438) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wrangler automated PR updater <wrangler@cloudflare.com> Co-authored-by: Pete Bacon Darwin <pbacondarwin@cloudflare.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps create-vike from 0.0.599 to 0.0.616.
Autoconfig fix for new Vike config format
The new
create-vike(0.0.616) changed the generatedpages/+config.tsformat from:to:
The Wrangler autoconfig AST transformation in
packages/wrangler/src/autoconfig/frameworks/vike.tsonly handled inline object exports (ObjectExpression,TSAsExpression,TSSatisfiesExpression). It did not handleIdentifierreferences to variables, causing the"Could not determine Vike default object export"error in the C3 experimental e2e tests.The fix adds
Identifierresolution: when the default export is a variable reference, the code searches the program body for the matching variable declaration and uses its initializer. Both old and new formats continue to work.Unit tests added in
packages/wrangler/src/__tests__/autoconfig/frameworks/vike.test.tscovering all config file formats.Dependabot info
Commits
840ddc9chore: release v0.0.6168eb8ec0chore: revert bumpp versiond09fa78chore: release v0.0.615397a734chore: release v0.0.61436cb126chore(ci): trying to fix release workflowsb2595e0chore: release v0.0.607435c0cfeat: enable Netlify (#719)54a197dfix:@cloudflare/vite-pluginas devDependencies164d36achore: release v0.0.59b3ec3acchore: release v0.0.58Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.