@techninja/clearstack 0.2.5 → 0.2.6

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.
@@ -43,6 +43,7 @@ export async function writePackageJson(dest, vars, existing) {
43
43
 
44
44
  const specDevDeps = {
45
45
  '@techninja/clearstack': '^0.2.0',
46
+ '@types/node': '^22.0.0',
46
47
  '@open-wc/testing': '^4.0.0',
47
48
  '@web/test-runner': '^0.20.0',
48
49
  '@web/test-runner-playwright': '^0.11.0',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techninja/clearstack",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "type": "module",
5
5
  "description": "A no-build web component framework specification — scaffold, validate, and evolve spec-compliant projects",
6
6
  "bin": {
@@ -8,6 +8,7 @@
8
8
  "noEmit": true,
9
9
  "strict": false,
10
10
  "skipLibCheck": true,
11
+ "types": ["node"],
11
12
  "paths": {
12
13
  "hybrids": ["../node_modules/hybrids/types/index.d.ts"]
13
14
  }
@@ -26,7 +26,8 @@ export default define({
26
26
  <div class="home-view">
27
27
  <h1>{{name}}</h1>
28
28
  <p>Your Clearstack project is ready. Start building!</p>
29
- ${store.ready(state) && html`
29
+ ${store.ready(state) &&
30
+ html`
30
31
  <p>Count: ${state.count}</p>
31
32
  <button class="btn btn-primary" onclick="${increment}">Increment</button>
32
33
  <p class="hint">State persists in localStorage — refresh to verify.</p>