Skip to content

Add Vite 8 support, BoxLang layout paths, and comprehensive docs#2

Merged
lmajano merged 3 commits into
mainfrom
feature/vite-upgrade-with-boxlang-support
Jun 20, 2026
Merged

Add Vite 8 support, BoxLang layout paths, and comprehensive docs#2
lmajano merged 3 commits into
mainfrom
feature/vite-upgrade-with-boxlang-support

Conversation

@lmajano

@lmajano lmajano commented Jun 20, 2026

Copy link
Copy Markdown
Member
  • Bump version to 4.0.0
  • Update peerDependencies to include Vite 7 and 8
  • Update devDependencies: vite ^8.0.0, esbuild ^0.28.0
  • Add appRefreshPaths export for BoxLang / tiered app layout
    (app/layouts/, app/views/, app/config/Router.bx)
  • Guard chunk.viteMetadata?.importedCss in renderChunk for Rolldown
    compatibility (Vite 8 may not set viteMetadata on every chunk)
  • Replace Manifest import from vite with a local type definition to
    avoid breakage if Vite renames the type in future versions
  • Replace any-typed renderChunk chunk param with ViteChunk interface
  • Fix resolveManifestConfig fallback to use .vite/manifest.json
    (Vite 5+ default) instead of manifest.json
  • Add package.json "type": "module" to support ESM eslint.config.js
  • Migrate ESLint config from .eslintrc.js to eslint.config.js (flat
    config, required for ESLint 9)
  • Update CI Node versions: 14/16/18 -> 18/20/22; upgrade actions to v4
  • Rewrite README with full documentation: both layout configurations,
    configuration reference table, refresh paths, aliases, SSR, Inertia,
    env vars, and framework integration examples
  • Add tests for appRefreshPaths, BoxLang layout outDir, and refresh
    with appRefreshPaths (29 tests total, all passing)

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_011e6SYiDYZZazmdKsssrG5D

claude added 3 commits June 19, 2026 21:00
- Bump version to 4.0.0
- Update peerDependencies to include Vite 7 and 8
- Update devDependencies: vite ^8.0.0, esbuild ^0.28.0
- Add appRefreshPaths export for BoxLang / tiered app layout
  (app/layouts/**, app/views/**, app/config/Router.bx)
- Guard chunk.viteMetadata?.importedCss in renderChunk for Rolldown
  compatibility (Vite 8 may not set viteMetadata on every chunk)
- Replace Manifest import from vite with a local type definition to
  avoid breakage if Vite renames the type in future versions
- Replace any-typed renderChunk chunk param with ViteChunk interface
- Fix resolveManifestConfig fallback to use .vite/manifest.json
  (Vite 5+ default) instead of manifest.json
- Add package.json "type": "module" to support ESM eslint.config.js
- Migrate ESLint config from .eslintrc.js to eslint.config.js (flat
  config, required for ESLint 9)
- Update CI Node versions: 14/16/18 -> 18/20/22; upgrade actions to v4
- Rewrite README with full documentation: both layout configurations,
  configuration reference table, refresh paths, aliases, SSR, Inertia,
  env vars, and framework integration examples
- Add tests for appRefreshPaths, BoxLang layout outDir, and refresh
  with appRefreshPaths (29 tests total, all passing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011e6SYiDYZZazmdKsssrG5D
Vite 8 uses util.styleText internally which requires Node.js 20.12+,
so the plugin cannot be tested against Node 18 when Vite 8 is the
devDependency. Drop Node 18 from the CI matrix and set engines to
>=20.19.0 to match Vite 8's minimum requirement.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011e6SYiDYZZazmdKsssrG5D
codeql-action v1 was deprecated in January 2023. Updates all three
action steps to v3 and checkout to v4. Adds required permissions block
and category annotation for the analyze step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011e6SYiDYZZazmdKsssrG5D
@lmajano lmajano merged commit 0adfd4a into main Jun 20, 2026
6 checks passed
@lmajano lmajano deleted the feature/vite-upgrade-with-boxlang-support branch June 21, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants