create-deka-app 0.53.7-canary-2048473 → 0.60.1
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 +30 -2
- package/package.json +1 -2
- package/src/scaffold.js +2 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ everything non-interactively — no prompts:
|
|
|
24
24
|
|
|
25
25
|
1. creates `myapp/` (refuses if it already exists and is non-empty)
|
|
26
26
|
2. writes `myapp/package.json`, pinning `@dekaruntime/deka` as a
|
|
27
|
-
devDependency at this package's own version, with `dev`/`build`/`start`
|
|
27
|
+
devDependency at this package's own version, with `dev`/`build`/`start`/`test`
|
|
28
28
|
scripts that call `deka`
|
|
29
29
|
3. runs your package manager's install (detected automatically: npm, pnpm,
|
|
30
30
|
yarn or bun)
|
|
@@ -84,7 +84,7 @@ create-deka-app pins the *matching* canary `@dekaruntime/deka`, never a
|
|
|
84
84
|
stable one.
|
|
85
85
|
|
|
86
86
|
A canary's binaries report their **base version** on `deka --version` /
|
|
87
|
-
|
|
87
|
+
the source manifest — `0.59.0`, never `0.59.0-canary-d5661ed`. Promotion
|
|
88
88
|
republishes the exact same compiled bytes under the plain stable tag, so
|
|
89
89
|
the binary itself never learns it was ever a canary; only the git tag, the
|
|
90
90
|
R2 path and the npm version string say so.
|
|
@@ -104,3 +104,31 @@ Unsupported platforms get a clear message, never a half-installed project.
|
|
|
104
104
|
## License
|
|
105
105
|
|
|
106
106
|
Apache-2.0, matching deka and dsc.
|
|
107
|
+
|
|
108
|
+
## Native runtime delivery
|
|
109
|
+
|
|
110
|
+
Native releases distribute only `deka`, containing the local compiler, Rust VM
|
|
111
|
+
and desktop window host. `@dekaruntime/deka` has no standalone DSC dependency,
|
|
112
|
+
and platform tarballs contain only `bin/deka`. Historical `@dekaruntime/dsc`
|
|
113
|
+
packages remain for their existing users; the hourly release watcher follows
|
|
114
|
+
Deka's native stable/canary channels only.
|
|
115
|
+
|
|
116
|
+
Created apps use `npm run dev`, `npm test`, `npm run build`, and `npm start`.
|
|
117
|
+
Build produces a single executable at `dist/deka-app`. Source reload restarts
|
|
118
|
+
state; invalid edits keep the last working view. The current native language
|
|
119
|
+
subset is documented in the runtime repository; legacy JS/Node APIs are not
|
|
120
|
+
implied by this package.
|
|
121
|
+
|
|
122
|
+
The fixed `publish-runtime.yml` trusted-publishing identity is unchanged.
|
|
123
|
+
Before publishing it verifies every downloaded checksum, then packs and
|
|
124
|
+
fresh-installs the actual native executable through a local npm registry,
|
|
125
|
+
executes the public scaffolder and npm commands, and runs a compiled app after
|
|
126
|
+
removing its source. This repository never compiles Rust.
|
|
127
|
+
|
|
128
|
+
Reproduce that complete check with a locally built Deka executable:
|
|
129
|
+
|
|
130
|
+
```sh
|
|
131
|
+
node scripts/test-native-install.mjs /absolute/path/to/deka .tmp/native-install 0.60.1
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Linux desktop binaries require the system `libxkbcommon-x11` library. On Ubuntu/Debian, install `libxkbcommon-x11-0`; graphical desktop installations commonly already include it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-deka-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.1",
|
|
4
4
|
"description": "Scaffold a new deka app",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-deka-app": "./index.js"
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"deka",
|
|
30
30
|
"dekascript",
|
|
31
31
|
"runtime",
|
|
32
|
-
"react",
|
|
33
32
|
"scaffold",
|
|
34
33
|
"create-deka-app"
|
|
35
34
|
]
|
package/src/scaffold.js
CHANGED
|
@@ -130,7 +130,8 @@ export function buildPackageJson(dirName, runtimeVersion) {
|
|
|
130
130
|
scripts: {
|
|
131
131
|
dev: 'deka dev',
|
|
132
132
|
build: 'deka build',
|
|
133
|
-
start: 'deka
|
|
133
|
+
start: 'deka run',
|
|
134
|
+
test: 'deka test',
|
|
134
135
|
},
|
|
135
136
|
devDependencies: {
|
|
136
137
|
[RUNTIME_PACKAGE]: runtimeVersion,
|