@solidrt/cli 0.0.19 → 0.0.21

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": "@solidrt/cli",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "license": "MIT",
5
5
  "author": "Antoine van Wel",
6
6
  "type": "module",
@@ -22,12 +22,12 @@
22
22
  "qrcode-generator": "^2.0.4"
23
23
  },
24
24
  "optionalDependencies": {
25
- "@solidrt/darwin-arm64": "0.0.19",
26
- "@solidrt/linux-x64-gnu": "0.0.19",
27
- "@solidrt/win32-x64-msvc": "0.0.19"
25
+ "@solidrt/darwin-arm64": "0.0.21",
26
+ "@solidrt/linux-x64-gnu": "0.0.21",
27
+ "@solidrt/win32-x64-msvc": "0.0.21"
28
28
  },
29
29
  "peerDependencies": {
30
- "@solidrt/core": "0.0.19",
30
+ "@solidrt/core": "0.0.21",
31
31
  "typescript": "^6"
32
32
  },
33
33
  "devDependencies": {
@@ -8,6 +8,7 @@ Authoritative references ship inside the installed packages - read them:
8
8
  - node_modules/solid-js/CHEATSHEET.md - SolidJS 2.0 reactivity/control-flow model
9
9
  - node_modules/@solidrt/components/AGENTS.md - the component vocabulary; build UI from these
10
10
  - node_modules/@solidrt/components/README.md - full prop tables for every component
11
+ - node_modules/@solidrt/components/examples/ - single-concept usage patterns to copy (see its README.md index)
11
12
  - node_modules/@solidrt/core/AGENTS.md - the underlying element/prop/reactivity model
12
13
  - node_modules/@solidrt/core/examples/ - single-concept usage patterns to copy (see its README.md index)
13
14
  - node_modules/@solidrt/cli/AGENTS.md - running, bundling, headless verify
@@ -68,6 +69,13 @@ Authoritative references ship inside the installed packages - read them:
68
69
  em-dashes (use a hyphen), no smart/curly quotes, no unicode symbols.
69
70
  11. Prefer let over const. Use const only for real constants - a single fixed
70
71
  string or number value - and name those in ALL_CAPS.
72
+ 12. Reading a signal/prop/store at the top level of a component body (not
73
+ inside JSX, a `createMemo`, or an effect's compute phase) reads it
74
+ untracked - it silently freezes at the initial value instead of updating
75
+ on change. `createEffect` takes two arguments now: `(compute, apply)`.
76
+ `compute` is the tracked read phase; `apply(value, prev)` runs untracked
77
+ and is where side effects/DOM-equivalent writes belong. The old
78
+ single-arg `createEffect(fn)` form is gone - using it is an error.
71
79
 
72
80
  ## Run / verify
73
81
 
@@ -9,12 +9,12 @@
9
9
  "android": "srt client --android"
10
10
  },
11
11
  "dependencies": {
12
- "@solidrt/core": "0.0.19",
13
- "@solidrt/components": "0.0.19"
12
+ "@solidrt/core": "0.0.21",
13
+ "@solidrt/components": "0.0.21"
14
14
  },
15
15
  "devDependencies": {
16
- "@solidrt/cli": "0.0.0",
17
- "@solidrt/flux-types": "0.0.0",
16
+ "@solidrt/cli": "0.0.21",
17
+ "@solidrt/flux-types": "0.0.21",
18
18
  "typescript": "^6"
19
19
  }
20
20
  }