Skip to content

Commit aa7065d

Browse files
authored
bump: migrate to Nx 22 (#529)
1 parent fb22ac2 commit aa7065d

File tree

13 files changed

+6620
-5600
lines changed

13 files changed

+6620
-5600
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@ledgerhq/lumen-ui-rnative': patch
3+
'@ledgerhq/lumen-ui-react': patch
4+
---
5+
6+
bump: migrate to Nx 22 + Storybook 10.2

apps/app-sandbox-react/tsconfig.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
"files": [],
33
"include": [],
44
"references": [
5-
{
6-
"path": "../../libs/design-core"
7-
},
8-
{
9-
"path": "../../libs/ui-react"
10-
},
115
{
126
"path": "./tsconfig.app.json"
137
},

apps/app-sandbox-rnative/tsconfig.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
"extends": "../../tsconfig.base.json",
33
"files": [],
44
"references": [
5-
{
6-
"path": "../../libs/ui-rnative"
7-
},
8-
{
9-
"path": "../../libs/design-core"
10-
},
115
{
126
"path": "./tsconfig.app.json"
137
}

libs/design-core/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"files": [],
44
"include": [],
55
"references": [
6-
{
7-
"path": "../utils-shared"
8-
},
96
{
107
"path": "./tsconfig.lib.json"
118
}

libs/ui-react/tsconfig.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
"files": [],
77
"include": [],
88
"references": [
9-
{
10-
"path": "../design-core"
11-
},
12-
{
13-
"path": "../utils-shared"
14-
},
159
{
1610
"path": "./tsconfig.lib.json"
1711
},
@@ -21,5 +15,5 @@
2115
{
2216
"path": "./tsconfig.storybook.json"
2317
}
24-
],
18+
]
2519
}

libs/ui-rnative/jest.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export default {
1313
displayName: '@ledgerhq/lumen-ui-rnative',
1414
preset: 'react-native',
1515
setupFiles: ['<rootDir>/jest.setup.ts'],
16-
setupFilesAfterEnv: ['@testing-library/jest-native/extend-expect'],
1716
transformIgnorePatterns: [
1817
`node_modules/(?!(.pnpm|${transformIncludePatterns.join('|')})/)`,
1918
],

libs/ui-rnative/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Meta, StoryObj } from '@storybook/react-native-web-vite';
2-
import { useTheme } from 'src/styles';
2+
import { useTheme } from '../../../../../styles';
33
import { Box } from '../../Box';
44
import { Text } from '../../Text';
55
import { LinearGradient } from './LinearGradient';

libs/ui-rnative/tsconfig.json

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,7 @@
66
"files": [],
77
"include": [],
88
"references": [
9-
{
10-
"path": "../design-core"
11-
},
12-
{
13-
"path": "../utils-shared"
14-
},
15-
{
16-
"path": "./tsconfig.lib.json"
17-
},
18-
{
19-
"path": "./tsconfig.spec.json"
20-
},
21-
{
22-
"path": "./tsconfig.storybook.json"
23-
}
24-
],
9+
{ "path": "./tsconfig.lib.json" },
10+
{ "path": "./tsconfig.spec.json" }
11+
]
2512
}

libs/ui-rnative/tsconfig.lib.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
"src/**/*.test.tsx",
1616
"src/**/*.test.js",
1717
"src/**/*.test.jsx",
18+
"src/**/*.stories.ts",
19+
"src/**/*.stories.tsx",
20+
"src/**/*.stories.js",
21+
"src/**/*.stories.jsx",
22+
"src/**/*.mdx",
1823
"eslint.config.js",
1924
"eslint.config.cjs",
2025
"eslint.config.mjs",

nx.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
"plugin": "@nx/vite/plugin",
5757
"options": {
5858
"buildTargetName": "build",
59-
"testTargetName": "test",
6059
"serveTargetName": "serve",
6160
"devTargetName": "dev",
6261
"previewTargetName": "preview",
@@ -103,6 +102,12 @@
103102
"options": {
104103
"targetName": "test"
105104
}
105+
},
106+
{
107+
"plugin": "@nx/vitest",
108+
"options": {
109+
"testTargetName": "test"
110+
}
106111
}
107112
],
108113
"targetDefaults": {

0 commit comments

Comments
 (0)