delacour 0.1.0-alpha.4 → 0.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/index.js +875 -891
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,7 +158,7 @@ a JS reload alone will red-box. `add` says so at the point it becomes true.
|
|
|
158
158
|
## Working on this package
|
|
159
159
|
|
|
160
160
|
```bash
|
|
161
|
-
bun run registry:build # rebuild registry/ from packages/native-ui
|
|
161
|
+
bun run registry:build # rebuild registry/ from packages/react-native-ui
|
|
162
162
|
bun test # unit + end-to-end against the local registry
|
|
163
163
|
bun run verify:expo # scaffold a real Expo app, add everything, typecheck it
|
|
164
164
|
bun run build # bundle dist/index.js
|
|
@@ -226,14 +226,14 @@ watching the check fire.
|
|
|
226
226
|
`--all` adds components and what they pull in, so the run also names the standalone utilities
|
|
227
227
|
explicitly — a verification pass has to cover the whole registry, not most of it.
|
|
228
228
|
|
|
229
|
-
The registry is **derived** from `packages/native-ui/src` — one item per
|
|
229
|
+
The registry is **derived** from `packages/react-native-ui/src` — one item per
|
|
230
230
|
component folder, dependencies read off the imports. There is no `registry.json`
|
|
231
231
|
to maintain, and the builder throws rather than guessing: an unclassified npm
|
|
232
232
|
import or a component folder without an `index.ts` fails the build.
|
|
233
233
|
|
|
234
234
|
It writes `registry.json` (the index), `r/<name>.json` (one item per component,
|
|
235
235
|
naming its files) and the three JSON schemas. It writes **no copy of the
|
|
236
|
-
source**: an item names the library's own file — `packages/native-ui/src/components/button/button.tsx` —
|
|
236
|
+
source**: an item names the library's own file — `packages/react-native-ui/src/components/button/button.tsx` —
|
|
237
237
|
and the client fetches it at the same ref the item came from, so the two cannot
|
|
238
238
|
disagree. A component's diff is therefore the TypeScript that changed rather
|
|
239
239
|
than a JSON string nobody can read.
|