Commit 20da02b
committed
chore: tier-1 monorepo cleanups
Move .editorconfig from package/ to the repo root so it covers every
workspace.
Drop dead code:
- package/rollup-react-native-image.js: no callers, no rollup dep, no
rollup.config; carried over from a pre-builder-bob layout.
- package/metro-dev-helpers/: not in core's published `files` allowlist
(would 404 for any npm consumer following the README recipe), no
in-repo users, recipe used the legacy Metro `blacklistRE` API that
examples/SampleApp/metro.config.js already supersedes. README updated
to point at the live SampleApp metro config.
- examples/{SampleApp,TypeScriptMessaging}/__tests__/App-test.tsx and
their jest.config.js: unmodified RN scaffold smoke tests; CI never
runs example tests (root test:coverage proxies to core), SampleApp's
own test:unit script was literally `echo Skipping...`. Drops jest,
react-test-renderer, @types/jest, @types/react-test-renderer from
both example apps.
- babel-eslint@10.1.0 from package/devDependencies: deprecated package
and the source of a recurring peer-warning during install.
Sync version pins:
- root resolutions: @types/react ^19.0.0 -> ^19.1.0 to match actual
usage across workspaces.
- examples/{SampleApp,TypeScriptMessaging}: @types/jest ^29.5.14 ->
^30.0.0 to match the jest 30 already installed.
ESLint flat-config future-proofing:
- Drop the legacy `/* eslint-env node */` comment in
package/metro-dev-helpers/extract-linked-packages.js (the file was
deleted) and there are no others left. Removes the deprecation
warning that ESLint 10 will turn into an error.
Add engines.node `>=20.19.4` to root package.json (mirrors the floor
SampleApp already declared).1 parent c2153f0 commit 20da02b
17 files changed
Lines changed: 15 additions & 425 deletions
File tree
- examples
- SampleApp
- __tests__
- TypeScriptMessaging
- __tests__
- package
- metro-dev-helpers
- lib
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
41 | 38 | | |
42 | | - | |
43 | | - | |
| 39 | + | |
44 | 40 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 41 | + | |
81 | 42 | | |
82 | 43 | | |
83 | 44 | | |
| |||
87 | 48 | | |
88 | 49 | | |
89 | 50 | | |
90 | | - | |
| 51 | + | |
91 | 52 | | |
92 | 53 | | |
93 | 54 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
88 | | - | |
89 | 86 | | |
90 | 87 | | |
91 | | - | |
92 | 88 | | |
93 | | - | |
94 | | - | |
95 | 89 | | |
96 | 90 | | |
97 | 91 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
52 | 50 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 51 | | |
57 | 52 | | |
58 | 53 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
0 commit comments