create-kerf-component 2.0.1 → 3.0.0
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/package.json +1 -1
- package/template/README.md +5 -0
- package/template/package.json +1 -1
package/package.json
CHANGED
package/template/README.md
CHANGED
|
@@ -44,6 +44,11 @@ have to:
|
|
|
44
44
|
string-builders; emit `data-action` hooks and let the host wire events with
|
|
45
45
|
`delegate()` (see `wireCounter`), which returns a disposer.
|
|
46
46
|
- **Build emits ESM + `.d.ts`; `tsconfig` sets `jsxImportSource: "kerfjs"`.**
|
|
47
|
+
- **Never import `kerfjs/dev`.** kerf's dev diagnostics install global hooks, so
|
|
48
|
+
installing them is the consuming *app's* call, not a library's — the app
|
|
49
|
+
writes `if (import.meta.env.DEV) await import('kerfjs/dev')` in its own entry.
|
|
50
|
+
To get the diagnostics while developing this package, add that line to your own
|
|
51
|
+
test harness or demo page instead (it belongs to the harness, not to `src/`).
|
|
47
52
|
|
|
48
53
|
## Publish
|
|
49
54
|
|