Commit dbd4ba8
committed
Remove invalid exports from react_on_rails_pro/package.json
The react_on_rails_pro/package.json had exports pointing to
../packages/react-on-rails-pro-node-renderer/ which is invalid - npm exports
cannot use parent directory references (../).
Since node-renderer is now a separate package, users should import directly from
'react-on-rails-pro-node-renderer' instead. The old react_on_rails_pro/ directory
is a placeholder for development/testing only.
Changes:
- Renamed package to 'react-on-rails-pro-dummy-placeholder' to avoid confusion
- Removed exports (node-renderer has its own package.json with exports)
- Removed files array (this package is not published)
- Added private: true
- Updated description to clarify this is a placeholder
This fixes the ESLint error:
Invalid exports main target ../packages/... must start with ./
Related: #20691 parent 51c36bc commit dbd4ba8
1 file changed
+3
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 4 | + | |
| 5 | + | |
17 | 6 | | |
18 | 7 | | |
19 | 8 | | |
| |||
94 | 83 | | |
95 | 84 | | |
96 | 85 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 86 | | |
102 | 87 | | |
103 | 88 | | |
| |||
0 commit comments