nylorun 0.9.0-beta → 0.11.0-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/CHANGELOG.md +80 -0
- package/README.md +54 -40
- package/dist/doctor.js +2 -2
- package/dist/project/link.d.ts +12 -4
- package/dist/project/link.js +19 -6
- package/dist/project/seed.d.ts +2 -1
- package/dist/project/seed.js +5 -5
- package/dist/stack/commands.d.ts +29 -20
- package/dist/stack/commands.js +133 -134
- package/dist/stack/compose-file.d.ts +10 -12
- package/dist/stack/compose-file.js +21 -35
- package/dist/stack/env-file.d.ts +0 -3
- package/dist/stack/env-file.js +0 -5
- package/dist/stack/host-files.d.ts +0 -3
- package/dist/stack/host-files.js +2 -3
- package/dist/stack/keys.d.ts +1 -1
- package/dist/stack/keys.js +17 -15
- package/dist/stack/mcp.js +6 -6
- package/dist/stack/operator-keys.d.ts +20 -20
- package/dist/stack/operator-keys.js +61 -69
- package/dist/stack/paths.d.ts +2 -13
- package/dist/stack/paths.js +1 -7
- package/dist/stack/ports.d.ts +0 -2
- package/dist/stack/ports.js +0 -2
- package/dist/stack/prepare.js +0 -3
- package/package.json +4 -4
package/dist/stack/paths.js
CHANGED
|
@@ -13,13 +13,7 @@ export function stackPaths(hostRoot) {
|
|
|
13
13
|
record: join(root, "tenant.json"),
|
|
14
14
|
identity: join(root, "identity.yaml"),
|
|
15
15
|
tenant: join(root, "tenant"),
|
|
16
|
-
harness: {
|
|
17
|
-
sandboxes: join(root, "tenant", "sandboxes"),
|
|
18
|
-
pluginData: join(root, "tenant", "plugin-data"),
|
|
19
|
-
home: join(root, "tenant", "home"),
|
|
20
|
-
tmp: join(root, "tenant", "tmp"),
|
|
21
|
-
},
|
|
22
|
-
plugins: join(root, "plugins"),
|
|
16
|
+
harness: { sandboxes: join(root, "tenant", "sandboxes") },
|
|
23
17
|
keys: join(root, "keys"),
|
|
24
18
|
vaultKey: join(root, "keys", "vault-kek"),
|
|
25
19
|
home: join(root, "home"),
|
package/dist/stack/ports.d.ts
CHANGED
package/dist/stack/ports.js
CHANGED
package/dist/stack/prepare.js
CHANGED
|
@@ -49,7 +49,6 @@ export async function prepareStack(input) {
|
|
|
49
49
|
return port;
|
|
50
50
|
};
|
|
51
51
|
const runtimePort = await pick(DEFAULT_PORTS.runtime, persisted.runtimePort);
|
|
52
|
-
const adminPort = await pick(DEFAULT_PORTS.admin, persisted.adminPort);
|
|
53
52
|
const studioPort = await pick(DEFAULT_PORTS.studio, persisted.studioPort);
|
|
54
53
|
const restatePort = await pick(DEFAULT_PORTS.restate, persisted.restatePort);
|
|
55
54
|
const identity = await ensureIdentityKey(paths.restateIdentity, writeFileMode);
|
|
@@ -66,7 +65,6 @@ export async function prepareStack(input) {
|
|
|
66
65
|
const studioFrameAncestors = [...new Set([...base, ...added])].join(" ");
|
|
67
66
|
const env = {
|
|
68
67
|
runtimePort,
|
|
69
|
-
adminPort,
|
|
70
68
|
studioPort,
|
|
71
69
|
restatePort,
|
|
72
70
|
postgresPassword: persisted.postgresPassword ?? randomBytes(24).toString("hex"),
|
|
@@ -98,7 +96,6 @@ export async function prepareStack(input) {
|
|
|
98
96
|
await ensureVaultKey(paths);
|
|
99
97
|
const host = await writeStackHostConfig(paths, {
|
|
100
98
|
port: runtimePort,
|
|
101
|
-
adminPort,
|
|
102
99
|
runtimeVersion: input.runtimeVersion,
|
|
103
100
|
});
|
|
104
101
|
await writeFileMode(paths.env, renderEnvFile(env), 0o600);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nylorun",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-beta",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Set up and run local Nylorun Tenants (Runtime and Studio) with Docker Compose",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepack": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nylorun/core": "0.
|
|
33
|
+
"@nylorun/core": "0.15.0-beta"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"nylorun": "dist/cli.js"
|
|
42
42
|
},
|
|
43
43
|
"nylorun": {
|
|
44
|
-
"runtime": "0.
|
|
45
|
-
"studio": "0.
|
|
44
|
+
"runtime": "0.19.0-beta",
|
|
45
|
+
"studio": "0.22.0-beta"
|
|
46
46
|
}
|
|
47
47
|
}
|