kreftjs 0.0.1-beta → 0.0.2-beta

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 CHANGED
@@ -75,7 +75,7 @@ Views are escaped, logins use HttpOnly cookies with CSRF protection, passwords u
75
75
 
76
76
  ## Migrating from Som.js
77
77
 
78
- Kreft is Som.js under a new name: the package is `kreftjs` (version 0.0.1-beta), the command is `kreftjs`, the global is `Kreftjs` and component files end in `.kreftjs`. The old names keep working, so an existing project runs without edits. New files and everything the tools write use the new names. Move over when it suits you. (`kreft` was an earlier spelling of the new name; it is accepted in the same places.)
78
+ Kreft is Som.js under a new name: the package is `kreftjs` (version 0.0.2-beta), the command is `kreftjs`, the global is `Kreftjs` and component files end in `.kreftjs`. The old names keep working, so an existing project runs without edits. New files and everything the tools write use the new names. Move over when it suits you. (`kreft` was an earlier spelling of the new name; it is accepted in the same places.)
79
79
 
80
80
  | Som.js | Kreft | Still works? |
81
81
  |---|---|---|
package/docs/README.md CHANGED
@@ -82,7 +82,7 @@ npx kreftjs dev
82
82
  ### Check that it works
83
83
 
84
84
  ```bash
85
- kreftjs --version # for example 0.0.1-beta
85
+ kreftjs --version # for example 0.0.2-beta
86
86
  kreftjs about # Kreft and Node.js versions, this project's settings and drivers
87
87
  kreftjs list # every command your version has
88
88
  ```
package/kreftjs.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Kreft 0.0.1-beta
1
+ // Type definitions for Kreft 0.0.2-beta
2
2
  // Use from TypeScript or for editor hints in plain JavaScript (// @ts-check).
3
3
 
4
4
  export interface Signal<T> { value: T }
package/kreftjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Kreft v0.0.1-beta — reactive by nature
2
+ * Kreft v0.0.2-beta — reactive by nature
3
3
  * The .kreftjs component language (state · derive · action · when · watch · on),
4
4
  * { } views with k-if / k-each / k-model, components, slots, router, stores,
5
5
  * share / receive, event bus and a template engine.
@@ -5032,7 +5032,7 @@
5032
5032
  stores, storeLog, busLog,
5033
5033
  };
5034
5034
 
5035
- const VERSION = '0.0.1-beta';
5035
+ const VERSION = '0.0.2-beta';
5036
5036
  const Kreftjs = {
5037
5037
  version: VERSION,
5038
5038
  // PUBLIC_ values from .env (kreftjs dev and kreftjs build put them here); never secrets
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kreftjs",
3
- "version": "0.0.1-beta",
3
+ "version": "0.0.2-beta",
4
4
  "description": "A tiny reactive framework with its own component language (.kreftjs files): router with nested routes, stores, saved data, animations, an API client, hot reload, DevTools and a template engine.",
5
5
  "main": "kreftjs.js",
6
6
  "browser": "kreftjs.js",
@@ -55,10 +55,6 @@
55
55
  },
56
56
  "./package.json": "./package.json"
57
57
  },
58
- "optionalDependencies": {
59
- "esbuild": "^0.28.2",
60
- "vite": "^6.2.0"
61
- },
62
58
  "allowScripts": {
63
59
  "esbuild@0.28.2": true
64
60
  },
@@ -90,7 +90,7 @@ action copyReport() {
90
90
  <div class="badges">
91
91
  <span class="badge danger-badge">HTTP {status}</span>
92
92
  <span class="badge solid">{currentTitle}</span>
93
- <span class="badge">Kreft {Kreftjs.version || '0.0.1-beta'}</span>
93
+ <span class="badge">Kreft {Kreftjs.version || '0.0.2-beta'}</span>
94
94
  </div>
95
95
  <div class="actions">
96
96
  <button class="sm" @click={copyReport}>{copied ? 'Copied Markdown' : 'Copy Report'}</button>
@@ -187,7 +187,7 @@ action copyReport() {
187
187
  <h3>Kreft Runtime</h3>
188
188
  <table>
189
189
  <tbody>
190
- <tr><th>Engine</th><td><code>Kreft v{Kreftjs.version || '0.0.1-beta'}</code></td></tr>
190
+ <tr><th>Engine</th><td><code>Kreft v{Kreftjs.version || '0.0.2-beta'}</code></td></tr>
191
191
  <tr><th>Sanitizer</th><td><code>Active (cleanHtml / SafeHtml)</code></td></tr>
192
192
  <tr><th>Environment</th><td><code>development (APP_DEBUG=true)</code></td></tr>
193
193
  </tbody>
@@ -1,4 +1,4 @@
1
- // Type definitions for Kreft 0.0.1-beta
1
+ // Type definitions for Kreft 0.0.2-beta
2
2
  // Use from TypeScript or for editor hints in plain JavaScript (// @ts-check).
3
3
 
4
4
  export interface Signal<T> { value: T }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Kreft v0.0.1-beta — reactive by nature
2
+ * Kreft v0.0.2-beta — reactive by nature
3
3
  * The .kreftjs component language (state · derive · action · when · watch · on),
4
4
  * { } views with k-if / k-each / k-model, components, slots, router, stores,
5
5
  * share / receive, event bus and a template engine.
@@ -5032,7 +5032,7 @@
5032
5032
  stores, storeLog, busLog,
5033
5033
  };
5034
5034
 
5035
- const VERSION = '0.0.1-beta';
5035
+ const VERSION = '0.0.2-beta';
5036
5036
  const Kreftjs = {
5037
5037
  version: VERSION,
5038
5038
  // PUBLIC_ values from .env (kreftjs dev and kreftjs build put them here); never secrets
@@ -110,7 +110,7 @@ load board = api.get('/api/dashboard')
110
110
  <div class="info-list">
111
111
  <div class="info-item">
112
112
  <span class="info-label">Framework Engine</span>
113
- <span class="info-value">Kreft {Kreftjs.version || '0.0.1-beta'}</span>
113
+ <span class="info-value">Kreft {Kreftjs.version || '0.0.2-beta'}</span>
114
114
  </div>
115
115
  <div class="info-item">
116
116
  <span class="info-label">Active Database</span>
@@ -116,7 +116,7 @@ action copyReport() {
116
116
  <div class="hero-badges">
117
117
  <span class="badge-exception">{currentTitle}</span>
118
118
  <span class="badge-env">Node.js {typeof process !== 'undefined' ? process.version : 'v22.0.0'}</span>
119
- <span class="badge-env">Kreft v0.0.1-beta</span>
119
+ <span class="badge-env">Kreft v0.0.2-beta</span>
120
120
  </div>
121
121
  <h1 class="hero-error-message">{currentMessage}</h1>
122
122
  </div>