@happyvertical/smrt-template-sveltekit 0.51.37 → 0.52.0

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/AGENTS.md CHANGED
@@ -13,7 +13,7 @@ It is the ground-up alternative to `smrt-saas-starter`.
13
13
 
14
14
  ## Current generated-project contract
15
15
 
16
- - Node `>=24.18.0`; pnpm `11.11.0` via `packageManager` and `engines`.
16
+ - Node `>=24.18.0`; pnpm `11.25.0` via `packageManager` and `engines`.
17
17
  - `runtime.profile` is the canonical infrastructure selector. Generated apps
18
18
  expose deterministic `app:*` operations and keep runtime state outside source.
19
19
  - The production baseline uses adapter-node with separate web, task-worker, and
package/README.md CHANGED
@@ -20,7 +20,7 @@ Run the copy command from the monorepo root. The public 0.43.10 CLI advertises
20
20
  `gnode create`, but its command dispatcher currently rejects `gnode`; this
21
21
  package's tested `copyTemplate()` export is the working scaffold path.
22
22
 
23
- Generated projects require Node.js 24.18.0 or newer and pnpm 11.11.0. They pin
23
+ Generated projects require Node.js 24.18.0 or newer and pnpm 11.25.0. They pin
24
24
  all directly used `@happyvertical/smrt-*` packages to the current monorepo
25
25
  release (synced at publish by `scripts/sync-template-versions.mjs`).
26
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-template-sveltekit",
3
- "version": "0.51.37",
3
+ "version": "0.52.0",
4
4
  "description": "Minimal SvelteKit project template with s-m-r-t framework integration",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,22 +29,22 @@
29
29
  "directory": "packages/template-sveltekit"
30
30
  },
31
31
  "peerDependencies": {
32
- "@happyvertical/smrt-core": "0.51.37"
32
+ "@happyvertical/smrt-core": "0.52.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@happyvertical/smrt-app-runtime": "0.51.37",
36
- "@happyvertical/smrt-assets": "0.51.37",
37
- "@happyvertical/smrt-cli": "0.51.37",
38
- "@happyvertical/smrt-config": "0.51.37",
39
- "@happyvertical/smrt-jobs": "0.51.37",
40
- "@happyvertical/smrt-playbooks": "0.51.37",
41
- "@happyvertical/smrt-profiles": "0.51.37",
42
- "@happyvertical/smrt-scanner": "0.51.37",
43
- "@happyvertical/smrt-svelte": "0.51.37",
44
- "@happyvertical/smrt-tenancy": "0.51.37",
45
- "@happyvertical/smrt-ui": "0.51.37",
46
- "@happyvertical/smrt-users": "0.51.37",
47
- "@happyvertical/smrt-web": "0.51.37",
35
+ "@happyvertical/smrt-app-runtime": "0.52.0",
36
+ "@happyvertical/smrt-assets": "0.52.0",
37
+ "@happyvertical/smrt-cli": "0.52.0",
38
+ "@happyvertical/smrt-config": "0.52.0",
39
+ "@happyvertical/smrt-jobs": "0.52.0",
40
+ "@happyvertical/smrt-playbooks": "0.52.0",
41
+ "@happyvertical/smrt-profiles": "0.52.0",
42
+ "@happyvertical/smrt-scanner": "0.52.0",
43
+ "@happyvertical/smrt-svelte": "0.52.0",
44
+ "@happyvertical/smrt-tenancy": "0.52.0",
45
+ "@happyvertical/smrt-ui": "0.52.0",
46
+ "@happyvertical/smrt-users": "0.52.0",
47
+ "@happyvertical/smrt-web": "0.52.0",
48
48
  "@happyvertical/sql": "^0.89.12",
49
49
  "@modelcontextprotocol/server": "^2.0.0",
50
50
  "@playwright/test": "^1.63.0",
@@ -6,7 +6,7 @@ managed-cloud environments. It does not provision external providers.
6
6
 
7
7
  ## 1. Install and run
8
8
 
9
- Requirements: Node.js 24.18.0 or newer and pnpm 11.11.0. The exact pnpm version
9
+ Requirements: Node.js 24.18.0 or newer and pnpm 11.25.0. The exact pnpm version
10
10
  is declared in `packageManager`.
11
11
 
12
12
  ```bash
@@ -24,6 +24,10 @@ prints secret-free JSON diagnostics and recovery steps. Individual
24
24
  setup/start/doctor/open/stop/backup/export/import operations are available as
25
25
  `pnpm app:<operation>`.
26
26
 
27
+ `app:start` defaults adapter-node `ORIGIN` to its loopback HTTP URL (including
28
+ the selected `PORT`) and preserves an explicitly configured `ORIGIN`. Origin
29
+ changes invalidate the managed process configuration identity.
30
+
27
31
  `app:install`, `app:start`, `app:stop`, and `app:recover` are local-profile
28
32
  operations. Self-hosted and cloud web processes run the production Node build
29
33
  or container directly; workers use the separate worker commands below.
@@ -3,10 +3,10 @@
3
3
  "version": "0.0.1",
4
4
  "private": true,
5
5
  "type": "module",
6
- "packageManager": "pnpm@11.11.0",
6
+ "packageManager": "pnpm@11.25.0",
7
7
  "engines": {
8
8
  "node": ">=24.18.0",
9
- "pnpm": "11.11.0"
9
+ "pnpm": "11.25.0"
10
10
  },
11
11
  "scripts": {
12
12
  "dev": "node --env-file-if-exists=.env scripts/smrt-vite.mjs dev",
@@ -37,19 +37,19 @@
37
37
  "svelte-check": "^4.7.6",
38
38
  "typescript": "6.0.3",
39
39
  "vite": "8.3.0",
40
- "@happyvertical/smrt-cli": "^0.51.37"
40
+ "@happyvertical/smrt-cli": "^0.52.0"
41
41
  },
42
42
  "dependencies": {
43
- "@happyvertical/smrt-app-runtime": "^0.51.37",
44
- "@happyvertical/smrt-config": "^0.51.37",
45
- "@happyvertical/smrt-core": "^0.51.37",
46
- "@happyvertical/smrt-jobs": "^0.51.37",
47
- "@happyvertical/smrt-profiles": "^0.51.37",
48
- "@happyvertical/smrt-svelte": "^0.51.37",
49
- "@happyvertical/smrt-tenancy": "^0.51.37",
50
- "@happyvertical/smrt-ui": "^0.51.37",
51
- "@happyvertical/smrt-users": "^0.51.37",
52
- "@happyvertical/smrt-web": "^0.51.37",
43
+ "@happyvertical/smrt-app-runtime": "^0.52.0",
44
+ "@happyvertical/smrt-config": "^0.52.0",
45
+ "@happyvertical/smrt-core": "^0.52.0",
46
+ "@happyvertical/smrt-jobs": "^0.52.0",
47
+ "@happyvertical/smrt-profiles": "^0.52.0",
48
+ "@happyvertical/smrt-svelte": "^0.52.0",
49
+ "@happyvertical/smrt-tenancy": "^0.52.0",
50
+ "@happyvertical/smrt-ui": "^0.52.0",
51
+ "@happyvertical/smrt-users": "^0.52.0",
52
+ "@happyvertical/smrt-web": "^0.52.0",
53
53
  "@happyvertical/sql": "^0.89.12",
54
54
  "@modelcontextprotocol/server": "^2.0.0"
55
55
  }
@@ -421,6 +421,7 @@ async function start(operationLock) {
421
421
  const runtime = await assertLocalOperation('app:start');
422
422
  const { env } = runtimeEnvironment(runtime);
423
423
  const url = `http://127.0.0.1:${env.PORT || '5173'}/`;
424
+ env.ORIGIN ||= url;
424
425
  const configuration = runtimeConfigurationFingerprint(runtime, env);
425
426
  const existing = readProcess();
426
427
  if (existing) {
@@ -99,6 +99,7 @@ export function runtimeConfigurationFingerprint(
99
99
  databaseTarget: databaseTargetIdentity(environment.DATABASE_URL),
100
100
  host: environment.HOST || null,
101
101
  port: environment.PORT || null,
102
+ origin: environment.ORIGIN || null,
102
103
  backgroundJobs: environment.SMRT_BACKGROUND_JOBS === 'true',
103
104
  readinessModules: {
104
105
  authentication: environment.SMRT_AUTH_READINESS_MODULE || null,