Skip to content

Commit 848a0c1

Browse files
committed
Package updates and small flexbox fix
1 parent c622c8f commit 848a0c1

File tree

27 files changed

+2978
-2873
lines changed

27 files changed

+2978
-2873
lines changed

.changeset/bumpy-bags-guess.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@plextv/react-lightning": patch
3+
"@plextv/react-lightning-plugin-flexbox": patch
4+
---
5+
6+
fix: Layout event sometimes does not get fired

.changeset/jolly-ghosts-return.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
"@plextv/vite-plugin-react-reanimated-lightning": patch
3+
"@plextv/vite-plugin-react-native-lightning": patch
4+
"@plextv/react-native-lightning-components": patch
5+
"@plextv/react-native-lightning-example": patch
6+
"@plextv/react-lightning-components": patch
7+
"@plextv/vite-plugin-msdf-fontgen": patch
8+
"@plextv/react-native-lightning": patch
9+
"@plextv/react-lightning-plugin-css-transform": patch
10+
"@plextv/react-lightning-example": patch
11+
"@plextv/react-lightning-plugin-reanimated": patch
12+
"@plextv/react-lightning": patch
13+
"@plextv/react-lightning-plugin-flexbox": patch
14+
"@plextv/react-lightning-storybook": patch
15+
---
16+
17+
chore: Dependency version bumps

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"threadx"
1111
],
1212
"biome.enabled": true,
13+
"biome.lsp.bin": "./node_modules/.bin/biome",
1314
"json.schemas": [
1415
{
1516
"fileMatch": [

apps/react-lightning-example/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,24 @@
2323
"test:unit": "vitest run --passWithNoTests"
2424
},
2525
"dependencies": {
26-
"@lightningjs/renderer": "3.0.0-beta16",
26+
"@lightningjs/renderer": "3.0.0-beta20",
2727
"@plextv/react-lightning": "workspace:*",
2828
"@plextv/react-lightning-components": "workspace:*",
2929
"@plextv/react-lightning-plugin-css-transform": "workspace:*",
3030
"@plextv/react-lightning-plugin-flexbox": "workspace:*",
31-
"react": "19.2.0",
32-
"react-dom": "19.2.0",
33-
"react-router-dom": "7.9.4",
34-
"swr": "2.3.6"
31+
"react": "19.2.3",
32+
"react-dom": "19.2.3",
33+
"react-router-dom": "7.12.0",
34+
"swr": "2.3.8"
3535
},
3636
"devDependencies": {
3737
"@plextv/vite-plugin-msdf-fontgen": "workspace:*",
3838
"@repo/configs": "workspace:*",
39-
"@types/react": "19.2.2",
40-
"@types/react-dom": "19.2.2",
39+
"@types/react": "19.2.8",
40+
"@types/react-dom": "19.2.3",
4141
"@vitejs/plugin-legacy": "7.2.1",
42-
"@vitejs/plugin-react": "5.0.4",
43-
"vite-tsconfig-paths": "5.1.4"
42+
"@vitejs/plugin-react": "5.1.2",
43+
"vite-tsconfig-paths": "6.0.4"
4444
},
4545
"volta": {
4646
"extends": "../../package.json"

apps/react-native-lightning-example/package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,27 @@
2323
"test:unit": "vitest run --passWithNoTests"
2424
},
2525
"dependencies": {
26-
"@lightningjs/renderer": "3.0.0-beta16",
26+
"@lightningjs/renderer": "3.0.0-beta20",
2727
"@plextv/react-lightning": "workspace:*",
2828
"@plextv/react-lightning-components": "workspace:*",
2929
"@plextv/react-lightning-plugin-flexbox": "workspace:*",
3030
"@plextv/react-lightning-plugin-reanimated": "workspace:*",
3131
"@plextv/react-native-lightning": "workspace:*",
3232
"@plextv/react-native-lightning-components": "workspace:*",
33-
"@react-navigation/native": "7.1.18",
34-
"react": "19.2.0",
35-
"react-dom": "19.2.0",
36-
"react-native": "0.82.0",
37-
"react-native-reanimated": "4.1.3"
33+
"@react-navigation/native": "7.1.28",
34+
"react": "19.2.3",
35+
"react-dom": "19.2.3",
36+
"react-native": "0.82.1",
37+
"react-native-reanimated": "4.2.1"
3838
},
3939
"devDependencies": {
40-
"@babel/core": "7.28.4",
4140
"@plextv/vite-plugin-msdf-fontgen": "workspace:*",
4241
"@plextv/vite-plugin-react-native-lightning": "workspace:*",
4342
"@plextv/vite-plugin-react-reanimated-lightning": "workspace:*",
4443
"@repo/configs": "workspace:*",
4544
"@shopify/flash-list": "2.2.0",
46-
"@types/react": "19.2.2",
47-
"@types/react-dom": "19.2.2",
45+
"@types/react": "19.2.8",
46+
"@types/react-dom": "19.2.3",
4847
"@vitejs/plugin-legacy": "7.2.1",
4948
"typescript": "5.9.3"
5049
},

apps/react-native-lightning-example/src/components/ScrollItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const ScrollItem = focusable<ScrollItemProps, View>(
3232
const width = Math.round(horizontal ? 75 * multiplier : 200);
3333
const height = Math.round(horizontal ? 200 : 75 * multiplier);
3434
const imageSrc = useMemo(
35-
() => `https://picsum.photos/${width}/${height}?seed=${Math.random()}`,
36-
[width, height],
35+
() => `https://picsum.photos/${width}/${height}?seed=${index}`,
36+
[index, width, height],
3737
);
3838

3939
return (

apps/storybook/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@
2020
"dev": "storybook dev -p 6006 --no-open"
2121
},
2222
"dependencies": {
23-
"@lightningjs/renderer": "3.0.0-beta16",
23+
"@lightningjs/renderer": "3.0.0-beta20",
2424
"@plextv/react-lightning": "workspace:*",
2525
"@plextv/react-lightning-components": "workspace:*",
2626
"@plextv/react-lightning-plugin-flexbox": "workspace:*",
2727
"@plextv/react-lightning-plugin-flexbox-lite": "workspace:*",
2828
"@plextv/react-lightning-plugin-reanimated": "workspace:*",
2929
"@plextv/react-native-lightning": "workspace:*",
3030
"@plextv/react-native-lightning-components": "workspace:*",
31-
"@storybook/addon-docs": "9.1.10",
32-
"@storybook/addon-links": "9.1.10",
33-
"@storybook/builder-vite": "9.1.10",
34-
"@storybook/react-vite": "9.1.10",
35-
"react": "19.2.0",
36-
"react-native": "0.82.0",
37-
"react-native-reanimated": "4.1.3",
38-
"storybook": "9.1.10"
31+
"@storybook/addon-docs": "9.1.17",
32+
"@storybook/addon-links": "9.1.17",
33+
"@storybook/builder-vite": "9.1.17",
34+
"@storybook/react-vite": "9.1.17",
35+
"react": "19.2.3",
36+
"react-native": "0.82.1",
37+
"react-native-reanimated": "4.2.1",
38+
"storybook": "9.1.17"
3939
},
4040
"devDependencies": {
4141
"@plextv/vite-plugin-msdf-fontgen": "workspace:*",
4242
"@plextv/vite-plugin-react-native-lightning": "workspace:*",
4343
"@plextv/vite-plugin-react-reanimated-lightning": "workspace:*",
4444
"@repo/configs": "workspace:*",
45-
"@types/react": "19.2.2"
45+
"@types/react": "19.2.8"
4646
},
4747
"volta": {
4848
"extends": "../../package.json"

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,24 @@
3232
"prepare": "husky"
3333
},
3434
"devDependencies": {
35-
"@biomejs/biome": "2.2.6",
36-
"@changesets/cli": "2.29.7",
35+
"@biomejs/biome": "2.3.11",
36+
"@changesets/cli": "2.29.8",
3737
"@repo/configs": "workspace:*",
38-
"@types/node": "24.7.2",
38+
"@types/node": "25.0.9",
3939
"del-cli": "7.0.0",
4040
"depcheck": "1.4.7",
41-
"glob": "11.0.3",
41+
"glob": "13.0.0",
4242
"husky": "9.1.7",
43-
"listr2": "9.0.4",
44-
"tsdown": "0.16.6",
45-
"tsx": "4.20.6",
46-
"turbo": "2.5.8",
47-
"type-fest": "5.1.0",
43+
"listr2": "10.0.0",
44+
"tsdown": "0.20.0-beta.4",
45+
"tsx": "4.21.0",
46+
"turbo": "2.7.5",
47+
"type-fest": "5.4.1",
4848
"typescript": "5.9.3",
49-
"vite": "7.1.10",
49+
"vite": "7.3.1",
5050
"vite-plugin-externalize-deps": "0.10.0",
51-
"vitest": "3.2.4",
52-
"yaml": "2.8.1"
51+
"vitest": "4.0.17",
52+
"yaml": "2.8.2"
5353
},
5454
"packageManager": "pnpm@10.12.3",
5555
"engines": {

packages/configs/tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig, type UserConfig } from 'tsdown';
22

33
const config: UserConfig = defineConfig({
44
entry: ['src/index.ts'],
5-
format: ['cjs', 'esm'],
5+
format: ['esm', 'cjs'],
66
target: 'chrome56',
77
platform: 'browser',
88
sourcemap: true,

packages/configs/tsdown.withExports.config.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { defineConfig } from 'tsdown';
2-
import baseConfig from './tsdown.config';
1+
import { defineConfig, type UserConfig } from 'tsdown';
2+
// @ts-expect-error: Needed for unrun to resolve this module correctly
3+
import baseConfig from './tsdown.config.ts';
34

4-
export default defineConfig({
5+
const config: UserConfig = defineConfig({
56
...baseConfig,
67
entry: ['src/index.ts', 'src/exports/**/*.{tsx,ts}'],
78
exports: {
@@ -23,3 +24,5 @@ export default defineConfig({
2324
},
2425
},
2526
});
27+
28+
export default config;

0 commit comments

Comments
 (0)