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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kerf-component",
3
- "version": "2.0.1",
3
+ "version": "3.0.0",
4
4
  "description": "Scaffold a publishable kerf component package that already follows kerf's hard packaging rules.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -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
 
@@ -30,6 +30,6 @@
30
30
  "devDependencies": {
31
31
  "kerfjs": "^0.15.0",
32
32
  "tsup": "^8",
33
- "typescript": "^5"
33
+ "typescript": "^5 || ^6"
34
34
  }
35
35
  }