@jskit-ai/create-app 0.1.139 → 0.1.141
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 +2 -2
- package/templates/base-shell/.vibe64/bin/preview-identity +4 -0
- package/templates/base-shell/tests/server/minimalShell.validator.test.js +7 -1
- package/templates/minimal-shell/.vibe64/bin/preview-identity +4 -0
- package/templates/minimal-shell/tests/server/minimalShell.validator.test.js +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/create-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.141",
|
|
4
4
|
"description": "Scaffold JSKIT app shells.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./client": "./src/client/index.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@jskit-ai/jskit-cli": "0.2.
|
|
23
|
+
"@jskit-ai/jskit-cli": "0.2.144"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": "^22.12.0 || ^24.0.0 || ^26.0.0"
|
|
@@ -2,7 +2,7 @@ import assert from "node:assert/strict";
|
|
|
2
2
|
import test from "node:test";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
|
-
import { access, readdir, readFile } from "node:fs/promises";
|
|
5
|
+
import { access, readdir, readFile, stat } from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
const __filename = fileURLToPath(import.meta.url);
|
|
8
8
|
const __dirname = path.dirname(__filename);
|
|
@@ -99,6 +99,12 @@ test("latest JSKIT scaffold files are present at the app root", async () => {
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
+
test("latest JSKIT scaffold provides the app-owned Vibe64 preview identity executable", async () => {
|
|
103
|
+
const executablePath = path.join(APP_ROOT, ".vibe64", "bin", "preview-identity");
|
|
104
|
+
assert.match(await readFile(executablePath, "utf8"), /npx --no-install jskit app preview-identity/u);
|
|
105
|
+
assert.notEqual((await stat(executablePath)).mode & 0o111, 0);
|
|
106
|
+
});
|
|
107
|
+
|
|
102
108
|
test("starter shell keeps one JSKIT-managed hosted CI workflow", async () => {
|
|
103
109
|
const workflowSource = await readFile(path.join(APP_ROOT, ".github", "workflows", "jskit-verify.yml"), "utf8");
|
|
104
110
|
|
|
@@ -2,7 +2,7 @@ import assert from "node:assert/strict";
|
|
|
2
2
|
import test from "node:test";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
|
-
import { access, readdir, readFile } from "node:fs/promises";
|
|
5
|
+
import { access, readdir, readFile, stat } from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
const __filename = fileURLToPath(import.meta.url);
|
|
8
8
|
const __dirname = path.dirname(__filename);
|
|
@@ -99,6 +99,12 @@ test("latest JSKIT scaffold files are present at the app root", async () => {
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
+
test("latest JSKIT scaffold provides the app-owned Vibe64 preview identity executable", async () => {
|
|
103
|
+
const executablePath = path.join(APP_ROOT, ".vibe64", "bin", "preview-identity");
|
|
104
|
+
assert.match(await readFile(executablePath, "utf8"), /npx --no-install jskit app preview-identity/u);
|
|
105
|
+
assert.notEqual((await stat(executablePath)).mode & 0o111, 0);
|
|
106
|
+
});
|
|
107
|
+
|
|
102
108
|
test("starter shell keeps one JSKIT-managed hosted CI workflow", async () => {
|
|
103
109
|
const workflowSource = await readFile(path.join(APP_ROOT, ".github", "workflows", "jskit-verify.yml"), "utf8");
|
|
104
110
|
|