Add Vite 8 support, BoxLang layout paths, and comprehensive docs#1
Closed
lmajano wants to merge 1 commit into
Closed
Add Vite 8 support, BoxLang layout paths, and comprehensive docs#1lmajano wants to merge 1 commit into
lmajano wants to merge 1 commit into
Conversation
- 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
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.
(app/layouts/, app/views/, app/config/Router.bx)
compatibility (Vite 8 may not set viteMetadata on every chunk)
avoid breakage if Vite renames the type in future versions
(Vite 5+ default) instead of manifest.json
config, required for ESLint 9)
configuration reference table, refresh paths, aliases, SSR, Inertia,
env vars, and framework integration examples
with appRefreshPaths (29 tests total, all passing)