create-deka-app 0.53.4 → 0.53.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.
- package/README.md +11 -7
- package/package.json +1 -1
- package/src/scaffold.js +6 -6
package/README.md
CHANGED
|
@@ -41,13 +41,17 @@ two publish together, from the same CI run (`.github/workflows/publish-runtime.y
|
|
|
41
41
|
the `deka` family), so a given create-deka-app version always produces the
|
|
42
42
|
same project: no registry lookup needed to decide the pin.
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
`
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
There is one publish path for this whole repo: create-deka-app has no
|
|
45
|
+
standalone release of its own. The version in this repo's own
|
|
46
|
+
`package.json` is a `0.0.0` placeholder — it is never bumped by hand or
|
|
47
|
+
committed as part of a release; the workflow stamps the real version into
|
|
48
|
+
it at publish time, in the working tree only.
|
|
49
|
+
|
|
50
|
+
The one exception to the lockstep pin is a create-deka-app release whose
|
|
51
|
+
exact-matching runtime build isn't published yet. If installing the exact
|
|
52
|
+
pin fails, create-deka-app falls back to the latest published
|
|
53
|
+
`@dekaruntime/deka` version, prints a clear warning, and never leaves a
|
|
54
|
+
nonexistent version pinned in the generated `package.json`.
|
|
51
55
|
|
|
52
56
|
## Platforms
|
|
53
57
|
|
package/package.json
CHANGED
package/src/scaffold.js
CHANGED
|
@@ -199,12 +199,12 @@ export function createApp({
|
|
|
199
199
|
// given create-deka-app version always produces the same project).
|
|
200
200
|
//
|
|
201
201
|
// The one case this doesn't cover is a create-deka-app release whose
|
|
202
|
-
// exact-matching runtime build isn't published yet (
|
|
203
|
-
//
|
|
204
|
-
//
|
|
205
|
-
// as a fallback: re-resolve against the
|
|
206
|
-
// silently leaving a nonexistent version
|
|
207
|
-
// package.json (the ETARGET bug fixed in 0.0.3).
|
|
202
|
+
// exact-matching runtime build isn't published yet (there is no
|
|
203
|
+
// standalone scaffolder-only release path -- one publish path,
|
|
204
|
+
// .github/workflows/publish-runtime.yml). That surfaces as the install
|
|
205
|
+
// below failing, and is handled as a fallback: re-resolve against the
|
|
206
|
+
// registry and retry once, never silently leaving a nonexistent version
|
|
207
|
+
// pinned in the final package.json (the ETARGET bug fixed in 0.0.3).
|
|
208
208
|
let runtimeVersion = resolveRuntimeVersion({ ownVersion })
|
|
209
209
|
|
|
210
210
|
const writePackageJson = (version) => {
|