6657faa96a
chore(deps-dev): bump vite from 8.3.2 to 8.3.3 ( #5052 )
...
* chore(deps-dev): bump vite from 8.3.2 to 8.3.3
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v8.3.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.3.3
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore(deps): bump vite override to ^8.3.3 to dedupe vitest
The vite bump left the root vitest resolved against vite 8.3.2 while
workspace test helpers (jest-dom, testing-library, vitest-browser-*)
linked to a second vitest copy built against vite 8.3.3, breaking
snapshots and jest-dom matcher types.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* chore(deps-dev): bump vite from 8.3.2 to 8.3.3
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v8.3.3/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 8.3.3
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix lockfile
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric <eric.fennis@gmail.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 17:18:25 +01:00
1802f33f6c
feat(lucide-react): add package exports for per-icon imports without changing how Node resolves the package ( #4822 )
...
* feat(lucide-react): add package exports for per-icon imports without changing how Node resolves the package
Makes `lucide-react/icons/<name>` and `lucide-react/types` public so a
single icon can be imported with a small shared declaration instead of
the 2.2 MB `dist/lucide-react.d.ts`, and without loading the CJS barrel
on the server.
The root entry only lists `module` and `default`, so bundlers keep the
ESM barrel and Node keeps resolving to `dist/cjs/lucide-react.js` as it
does today through `main`. The map reverted in #2814 sent Node to the
ESM barrel, which is what #2743 hit. `./dist/*` keeps existing deep
imports working.
* Modify getting started guide for icon imports
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* fix(lucide-react): add node, import and require conditions after module and keep the extension-specific and src subpaths exported
Resolvers that are called with a custom condition list drop `module` and fell through to `default`, the CJS bundle; esbuild with `conditions: ['workerd', 'worker']` bundled 1.3 MB instead of the 58 KB tree-shaken output it gets on main. The root and `./icons` entries now list `node`, `import` and `require` after `module`, with `node` ahead of `import` so Node keeps resolving to `dist/cjs/lucide-react.js` for both `import` and `require`.
`lucide-react/dynamic.mjs`, `lucide-react/dynamic.js` and `lucide-react/dynamicIconImports.mjs` are imported by consumers and threw ERR_PACKAGE_PATH_NOT_EXPORTED; they have explicit entries again. The docs API routes import `lucide-react/src/createLucideIcon` and `lucide-react/src/Icon`, which Nitro left as external imports without a `./src/*` entry, so the entry from the 0.470.0 map is back.
* test(lucide-react): resolve the package entry points with Node itself in the React Router fixture
The browser suite resolves lucide-react through Vite, so nothing checked the `exports` map the way a server runtime does. `tests/exports.node.test.ts` runs under `node --test` from the fixture's `check` script and asserts where `import.meta.resolve` and `require.resolve` land for the root, `./icons`, a single icon, the dynamic entries with and without an extension, the `dist/*` passthrough and `package.json`, that `./types` is declaration-only, and that the resolved modules load. Vitest is told to leave that file to Node.
* docs(lucide-react): note that per-icon imports are ESM only
`require()` of `lucide-react/icons/<name>` needs Node.js 20.19 or 22.12; 20.18 throws ERR_REQUIRE_ESM.
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-10-26 11:05:25 +01:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fa238cf278
chore(deps): bump the react-deps group across 1 directory with 2 updates ( #5026 )
...
Bumps the react-deps group with 2 updates in the / directory: [react](https://github.com/react/react/tree/HEAD/packages/react ) and [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom ).
Updates `react` from 19.3.0 to 19.3.1
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react )
Updates `react-dom` from 19.3.0 to 19.3.1
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.1/packages/react-dom )
---
updated-dependencies:
- dependency-name: react
dependency-version: 19.3.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: react-deps
- dependency-name: react-dom
dependency-version: 19.3.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: react-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-19 12:08:22 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3f1255ecfa
chore(deps-dev): bump @vitejs/plugin-react ( #4995 )
...
Bumps the react-deps group with 1 update: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ).
Updates `@vitejs/plugin-react` from 6.1.1 to 6.1.2
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.1.2/packages/plugin-react )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-version: 6.1.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: react-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-13 09:40:00 +02:00
Eric Fennis
3efde520fc
Upgrade vitest ( #4953 )
2026-10-02 16:28:41 +02:00
98331e2870
chore(deps): bump the react-deps group across 1 directory with 3 updates ( #4951 )
...
* chore(deps): bump the react-deps group across 1 directory with 3 updates
Bumps the react-deps group with 3 updates in the / directory: [react](https://github.com/react/react/tree/HEAD/packages/react ), [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) and [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom ).
Updates `react` from 18.3.1 to 19.3.0
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react )
Updates `@types/react` from 18.3.31 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Updates `react-dom` from 18.3.1 to 19.3.0
- [Release notes](https://github.com/react/react/releases )
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react-dom )
---
updated-dependencies:
- dependency-name: react
dependency-version: 19.3.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: react-deps
- dependency-name: "@types/react"
dependency-version: 19.3.0
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: react-deps
- dependency-name: react-dom
dependency-version: 19.3.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: react-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix types
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric <eric.fennis@gmail.com >
2026-10-02 15:18:28 +02:00
Eric Fennis
09aa9c5c62
chore(deps): Upgrade to vite 8 ( #4950 )
...
* Upgrade to vite 8
* Fix types
2026-10-02 13:54:37 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4a26fa58e0
chore(deps-dev): bump vitest from 4.1.10 to 4.1.11 ( #4845 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 4.1.10 to 4.1.11.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md )
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.11/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-version: 4.1.11
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-11 09:26:09 +02:00
94e4cb9d9d
chore(dependencies): Update dependencies ( #4806 )
...
* chore(deps): upgrade dependencies across workspace and unify shared versions
Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com >
* chore(deps): finish workspace dependency upgrade and align versions
* fix: keep vitest on 4.1.10, drop deprecated baseUrl, reformat with prettier
* fix(lucide-react): drop inert outDir so TS 6 rootDir check passes
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com >
2026-09-04 17:34:58 +02:00
07a2c792ef
chore(lucide-react): Add Lucide React integration tests ( #4804 )
...
* Add Lucide React integration tests
* Apply batched suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Remove redundant icon comparison test
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* test(lucide-react): fix browser locator markup assertions
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-09-04 16:26:02 +02:00