GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — vp migrate beta test by fengmk2 · Pull Request #1 · fengmk2/iles

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Description 📖

This pull request

Background 📜

This was happening because

The Fix 🔨

By changing

Screenshots 📷

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
@fengmk2
vp migrate beta test
5551251
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Jun 26, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the project to the Vite+ unified toolchain, configuring Oxlint and Oxfmt via 'vite.config.ts' and removing old standalone configuration files. It also applies widespread formatting updates across the codebase. Feedback on the changes highlights issues with MDX/JSX formatting: the directory tree layout in 'development.mdx' was flattened and rendered unreadable, and list items inside '' components in 'turbo.mdx' and 'frameworks.mdx' collapsed into single paragraphs due to a lack of blank lines separating them from JSX tags.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/src/pages/guide/development.mdx
Comment on lines +21 to +47
<pre class="code">
<code>
<kbd class="-ml-2">
<a href="/config#srcDir">src/</a>
</kbd>
├──{' '}
<kbd>
<a href="#components">components/</a>
</kbd>
│ ├── ReadingTime.vue │ └── Author.vue │ ├──{' '}
<kbd>
<a href="#layouts">layouts/</a>
</kbd>
│ ├── default.vue │ └── post.vue │ ├──{' '}
<kbd>
<a href="#pages">pages/</a>
</kbd>
│ ├── posts/ │ │ ├── intro.mdx │ │ └── goodbye.mdx │ ├── about.vue │ └── index.mdx │ ├──{' '}
<kbd>
<a href="/config#your-app">app.ts</a>
</kbd>
└──{' '}
<kbd>
<a href="#site">site.ts</a>
</kbd>
</code>
</pre>

@gemini-code-assist gemini-code-assist Bot Jun 26, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The formatting changes have flattened the directory tree structure, making it unreadable. Since this is MDX/JSX, the formatter collapses newlines and whitespaces. To preserve the visual tree layout while keeping the links, you can use explicit {"\\n"} expressions for newlines.

  <pre class="code">
    <code>
      <kbd class="-ml-2">
        <a href="/config#srcDir">src/</a>
      </kbd>{"\n"}
      ├──{' '}
      <kbd>
        <a href="#components">components/</a>
      </kbd>{"\n"}
      │    ├── ReadingTime.vue{"\n"}
      │    └── Author.vue{"\n"}
      │{"\n"}
      ├──{' '}
      <kbd>
        <a href="#layouts">layouts/</a>
      </kbd>{"\n"}
      │    ├── default.vue{"\n"}
      │    └── post.vue{"\n"}
      │{"\n"}
      ├──{' '}
      <kbd>
        <a href="#pages">pages/</a>
      </kbd>{"\n"}
      │    ├── posts/{"\n"}
      │    │    ├── intro.mdx{"\n"}
      │    │    └── goodbye.mdx{"\n"}
      │    ├── about.vue{"\n"}
      │    └── index.mdx{"\n"}
      │{"\n"}
      ├──{' '}
      <kbd>
        <a href="/config#your-app">app.ts</a>
      </kbd>{"\n"}
      └──{' '}
      <kbd>
        <a href="#site">site.ts</a>
      </kbd>
    </code>
  </pre>

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/src/pages/guide/turbo.mdx
Comment on lines 33 to 39
<Tip title="Caveats" warn>
- All `script type="module"` [execute once][modules]
- For islands, use the lifecycle of each component as usual (`onMounted`, `onUnmounted`)
- In [client scripts], use the `onLoad` callback for effects that should run on every page load
- Code __outside__ components or callbacks won't run on each page navigation
- Add the `once` attribute to non-module scripts that should only execute once
- All `script type="module"` [execute once][modules] - For islands, use the lifecycle of each
component as usual (`onMounted`, `onUnmounted`) - In [client scripts], use the `onLoad` callback
for effects that should run on every page load - Code __outside__ components or callbacks won't
run on each page navigation - Add the `once` attribute to non-module scripts that should only
execute once
</Tip>

@gemini-code-assist gemini-code-assist Bot Jun 26, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The list items inside the <Tip> component have been collapsed into a single paragraph because they are not separated from the JSX tags by blank lines. In MDX, block-level markdown elements inside JSX components must be separated by blank lines to prevent the parser and formatter from collapsing them.

<Tip title="Caveats" warn>

- All `script type="module"` [execute once][modules]
- For islands, use the lifecycle of each component as usual (`onMounted`, `onUnmounted`)
- In [client scripts], use the `onLoad` callback for effects that should run on every page load
- Code __outside__ components or callbacks won't run on each page navigation
- Add the `once` attribute to non-module scripts that should only execute once

</Tip>

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/src/pages/guide/frameworks.mdx
Comment on lines 74 to 77
<Tip title="If the amount of interactive components per page is">
- `less than 3` — use [Svelte] to get the smallest bundle size
- `between 3 and 10` — you could give [SolidJS] a try
- `more than 10` — [Preact] is a reasonable choice
- `less than 3` — use [Svelte] to get the smallest bundle size - `between 3 and 10` — you could
give [SolidJS] a try - `more than 10` — [Preact] is a reasonable choice
</Tip>

@gemini-code-assist gemini-code-assist Bot Jun 26, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The list items inside the <Tip> component have been collapsed into a single paragraph because they are not separated from the JSX tags by blank lines. In MDX, block-level markdown elements inside JSX components must be separated by blank lines to prevent the parser and formatter from collapsing them.

<Tip title="If the amount of interactive components per page is">

- `less than 3` — use [Svelte] to get the smallest bundle size
- `between 3 and 10` — you could give [SolidJS] a try
- `more than 10` — [Preact] is a reasonable choice

</Tip>

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fengmk2 fengmk2 mentioned this pull request Jun 26, 2026
feat(migrate): upgrade existing Vite+ projects across versions voidzero-dev/vite-plus#1891
Merged
fengmk2 added 7 commits June 26, 2026 15:14
@fengmk2
fix: restore vp run test under vite-plus 0.2.1
70ffc9a
- enable resolve.tsconfigPaths so @node/* and @client/* aliases resolve
- bump @types/node to ^20.19.0 to satisfy vite-plus-core peer range,
  collapsing the duplicate vitest instances that broke snapshots
@fengmk2
test: update build snapshots for vite-plus 0.2.1 output
89801af
Whitespace-only rendering differences (template whitespace handling and
CSS chunk concatenation) from the new build toolchain.
@fengmk2
fix: restore docs:check and blog:check under vite-plus 0.2.1
621e583
vite now resolves to @voidzero-dev/vite-plus-core, which exposes vite/client
types only via package exports. Use moduleResolution bundler so the
ImportMeta.env augmentation and asset module declarations are picked up, and
import OnLoadFn from the @islands/hydration/vanilla export rather than the deep
/dist/ path that exports-aware resolution cannot find.
@fengmk2
fix: keep vite-plus external in iles dts build
a04386b
The previous commit switched the OnLoadFn re-export to the @islands/hydration
/vanilla export subpath, which let the dts bundler fully traverse shared.d.ts
and inline vite-plus types (a devDependency). Those reference postcss/esbuild
CommonJS declarations that rolldown-plugin-dts cannot bundle, breaking
vp run build:all. Mark vite-plus external (vite is already an external
dependency) so its types are not inlined.
@fengmk2
fix: make CI lint and docs build pass under vite-plus 0.2.1
4fdd4fa
- lint:all: switch prerender/hydration tsconfig moduleResolution to Bundler
  (node10 was removed by tsgolint), add noEmit to docs tsconfig (declaration +
  allowJs collided on .js inputs), rewrite vite imports to vite-plus and
  uppercase hex literals via vp lint --fix, cast MdxjsEsm[] in mdx remark plugin
- docs:build: fix indented </Tip> in guide/plugins.mdx that MDX parsed as list
  content
@fengmk2
fix: disable unicorn/number-literal-case to stop oxfmt lint conflict
1ff8410
oxfmt normalizes hex literals to lowercase while this rule required
uppercase, so vp check --fix (the pre-commit hook) and vp lint disagreed,
making CI lint fail on devtools.ts. The formatter wins; disable the rule.
@fengmk2
fix: regenerate copied shared sources before linting iles
72b978d
copyShared writes src/node/shared.ts and src/client/shared.ts (gitignored)
during build:prepare. When nx restores a cached iles build, those side-effect
files are not recreated, so the type-aware lint cannot resolve '../shared' and
fails in CI. Run copyShared before vp lint so the files always exist.
@fengmk2 fengmk2 mentioned this pull request Jul 3, 2026
vp migrate: follow-up UX & correctness issues from real-world e2e voidzero-dev/vite-plus#2037
Open
2 of 16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@fengmk2
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.