Commit Graph

7 Commits

Author SHA1 Message Date
James Anderson a84a038fe6 fix(config): share CommonJS module fallback (#1990)
* fix(config): share CommonJS module fallback

* fix(config): harden CommonJS retry detection
2026-06-13 00:13:22 +01:00
James Anderson 222f18b0d9 fix(css): load local CommonJS PostCSS plugins (#1961)
* fix(css): load local CommonJS PostCSS plugins

* fix(css): avoid temporary PostCSS plugin copies
2026-06-12 22:42:33 +01:00
James Anderson aea90aca05 fix(build): don't crash build when a PostCSS string plugin can't be resolved (#1509) (#1840)
* fix(build): don't crash build when a PostCSS string plugin can't be resolved (#1509)

resolvePostcssStringPlugins runs in the Vite config hook for every
environment (RSC/SSR/client). When a named PostCSS plugin failed to
resolve from the project root (e.g. a CSS-modules + PostCSS app whose
config lists a plugin that doesn't resolve from where vinext looks), the
thrown error was uncaught and aborted the whole build with an opaque
failure.

Wrap plugin resolution in try/catch and fall back to undefined so Vite's
own postcss-load-config resolves the config relative to the config file
instead of crashing.

Closes #1509

* docs(postcss): clarify whole-config fallback on resolution failure (#1509)
2026-06-08 19:15:50 +01:00
James Anderson 02bf53195c refactor: extract postcss plugin to own file (#830) 2026-04-13 09:08:11 +00:00
Stephen Zhou c17d6941be chore: migrate to vite plus (#535)
* chore: migrate to vite plus

* Disable typeAware and typeCheck

* Update CI

* Fix CI

* Fix test

* Clean

* Run test with vp

* Try revert

* react: false In test

* Fix test

* Revert "Try revert"

This reverts commit 009da10473.

* Update

* Update

* Try revert ci changes

* revert

* Run vp migrate

* Disable typeAware and typeCheck for now

* Better resolve for test

* Use vp dev instead of vite

* Update expect

* Fix NormalizeManifestModuleId

* Try increase timeout

* Update to use vp

* Try new check

* Bring back npx vp

* Migrate CI

* Make next-intl resolvable

* Update

* Update

* Update
2026-03-15 10:50:13 +00:00
James Anderson 764a496ce7 add oxfmt formatter (#380)
* add oxfmt formatter: config, scripts, CI, editor setup, docs

* rebuild lockfile

* fix: add Format to required checks list, remove dead ignore pattern

* run fmt

* add format to agents.md again
2026-03-09 14:56:14 +00:00
Steve Faulkner 12fea722b6 Initial public release of vinext 2026-02-24 09:29:39 -06:00