genesis-stack 1.1.4 → 1.1.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 +16 -0
- package/genesis.templates.json +12 -4
- package/package.json +1 -1
- package/stacks/pieces/jskit.md +12 -0
- package/stacks/pieces/nodejs.md +23 -0
- package/stacks/pieces/sqlite.md +7 -0
package/README.md
CHANGED
|
@@ -68,3 +68,19 @@ project's complete reviewed section wins; a catalog upgrade never rewrites it.
|
|
|
68
68
|
Projects with different output ids or commands must review the proposal during
|
|
69
69
|
preparation. A project can omit estimates and use its host's generic starting
|
|
70
70
|
policy. Neither the catalog nor the project stores host observations or limits.
|
|
71
|
+
|
|
72
|
+
## Connected package default
|
|
73
|
+
|
|
74
|
+
Node proposes Vibe64's opaque `Connected development` section containing only
|
|
75
|
+
`- Default package type: \`npm\``. Vibe64 can inspect this default without treating
|
|
76
|
+
it as a prepared development recipe. The project must add its real source-map,
|
|
77
|
+
preparation and verification declarations before connected development can run;
|
|
78
|
+
no repositories or commands are inferred from selecting Node. A project-owned
|
|
79
|
+
section wins unchanged, including an explicit different default.
|
|
80
|
+
|
|
81
|
+
For an existing current-format project whose selected Node catalog gains this
|
|
82
|
+
proposal, Genesis reports `STACK_PROJECT_CONTRACTS_INCOMPLETE` if the project
|
|
83
|
+
section is missing. Explicitly reconcile the already-selected Stack with
|
|
84
|
+
`genesis stack add nodejs`, then review the materialized contract. Older project
|
|
85
|
+
formats use the normal `genesis migrate` workflow. Catalog updates never install
|
|
86
|
+
a hidden runtime default or rewrite an existing project section.
|
package/genesis.templates.json
CHANGED
|
@@ -4,16 +4,24 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "jskit/public",
|
|
6
6
|
"technology": "jskit",
|
|
7
|
-
"name": "JSKIT ·
|
|
8
|
-
"description": "
|
|
7
|
+
"name": "JSKIT · Basic app",
|
|
8
|
+
"description": "Adaptive shell and ready unit, client and browser tests. No accounts or database.",
|
|
9
9
|
"repository": "https://github.com/vibe64-dev/seed-jskit.git",
|
|
10
10
|
"branch": "public"
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
"id": "jskit/database",
|
|
14
|
+
"technology": "jskit",
|
|
15
|
+
"name": "JSKIT · Database app",
|
|
16
|
+
"description": "Adaptive shell, MySQL migrations and isolated database/browser tests. No accounts.",
|
|
17
|
+
"repository": "https://github.com/vibe64-dev/seed-jskit.git",
|
|
18
|
+
"branch": "database"
|
|
19
|
+
},
|
|
12
20
|
{
|
|
13
21
|
"id": "jskit/accounts",
|
|
14
22
|
"technology": "jskit",
|
|
15
|
-
"name": "JSKIT · Accounts
|
|
16
|
-
"description": "
|
|
23
|
+
"name": "JSKIT · Accounts app",
|
|
24
|
+
"description": "Sign-up, login, a private home, MySQL persistence and isolated database/browser tests.",
|
|
17
25
|
"repository": "https://github.com/vibe64-dev/seed-jskit.git",
|
|
18
26
|
"branch": "accounts"
|
|
19
27
|
}
|
package/package.json
CHANGED
package/stacks/pieces/jskit.md
CHANGED
|
@@ -111,6 +111,18 @@ https://mobily-enterprises.github.io/jskit-ai/
|
|
|
111
111
|
|
|
112
112
|
- Dotenv `.env`
|
|
113
113
|
|
|
114
|
+
## UI discovery
|
|
115
|
+
|
|
116
|
+
### Discovery `vue-pages`: Application pages
|
|
117
|
+
|
|
118
|
+
- Adapter: `jskit`
|
|
119
|
+
- Surface: `app`
|
|
120
|
+
- Mode: `filesystem`
|
|
121
|
+
- Page root: `src/pages`
|
|
122
|
+
- Registration: `vite.config.mjs`
|
|
123
|
+
- Component root: `src/components`
|
|
124
|
+
- Component root: `packages`
|
|
125
|
+
|
|
114
126
|
## City regions
|
|
115
127
|
|
|
116
128
|
- Ignore `**/test/**`
|
package/stacks/pieces/nodejs.md
CHANGED
|
@@ -31,9 +31,28 @@ Node.js package, command, module, dependency, and test conventions.
|
|
|
31
31
|
|
|
32
32
|
## Adoption
|
|
33
33
|
|
|
34
|
+
- The proposed `## Connected development` section declares Vibe64's default
|
|
35
|
+
connected package type, `npm`. It does not declare repositories or executable
|
|
36
|
+
preparation. When connected development is needed, preserve that default in
|
|
37
|
+
the complete project-owned section and declare the application's real source
|
|
38
|
+
map, preparation and verification commands. An explicit `custom` connection
|
|
39
|
+
uses its project-defined script instead of npm treatment. Do not invent a
|
|
40
|
+
working recipe from the component name.
|
|
34
41
|
- Identify the package manager from the lockfile and preserve the existing
|
|
35
42
|
module system, supported Node.js version, package entrypoints, and executable
|
|
36
43
|
commands.
|
|
44
|
+
- For optional architecture package boundaries, propose a project-owned
|
|
45
|
+
`## Package discovery` section with `### Discovery \`npm\`: Direct dependencies`,
|
|
46
|
+
`- Adapter: \`npm\``, `- Manifest: \`package.json\`` and
|
|
47
|
+
`- Package root: \`node_modules\``. These are npm's usual project defaults,
|
|
48
|
+
not a scan of every manifest or dependency tree. Declare additional manifests
|
|
49
|
+
explicitly for independent packages, relative to the project; the package root
|
|
50
|
+
is relative to each manifest's directory. Preserve an existing declaration.
|
|
51
|
+
Only direct declarations and declared public entry files are inspected.
|
|
52
|
+
Project-owned `file:` dependencies remain inspectable source; installed
|
|
53
|
+
external packages are opaque. Linked or unavailable entries, runtime exports,
|
|
54
|
+
re-exports and unsupported parsers retain explicit partial coverage. Do not
|
|
55
|
+
install dependencies just to open an architecture view.
|
|
37
56
|
- Record the source's real dependency installation, build, verification,
|
|
38
57
|
development, and production commands. Do not assume `npm run develop`,
|
|
39
58
|
`npm test`, or `npm start` exists merely because a current foundation uses it.
|
|
@@ -51,6 +70,10 @@ Node.js package, command, module, dependency, and test conventions.
|
|
|
51
70
|
estimate for the same process tree. Host measurements and owner limits stay
|
|
52
71
|
in runtime-local state, not in this source contract.
|
|
53
72
|
|
|
73
|
+
## Connected development
|
|
74
|
+
|
|
75
|
+
- Default package type: `npm`
|
|
76
|
+
|
|
54
77
|
## Deslop
|
|
55
78
|
|
|
56
79
|
- Preserve the package's existing module system, package manager, public
|
package/stacks/pieces/sqlite.md
CHANGED
|
@@ -10,6 +10,13 @@ SQLite file-backed persistence, migrations, and backup conventions.
|
|
|
10
10
|
|
|
11
11
|
## Guidance
|
|
12
12
|
|
|
13
|
+
- For application integrations and payments, `integrations.json` remains the
|
|
14
|
+
configuration authority; SQLite stores app-owned connections, provider mappings,
|
|
15
|
+
event receipts, subscriptions and credit records only when the app needs them.
|
|
16
|
+
Keep provider secrets under the application's secret-storage policy.
|
|
17
|
+
- Provider calls, signature verification and authorization belong to the app's
|
|
18
|
+
runtime. Database configuration alone does not implement a provider, and the
|
|
19
|
+
editor does not acquire ownership of application billing records.
|
|
13
20
|
- Use the application's existing SQLite driver and migration owner. Declare a
|
|
14
21
|
persistent database filename through the `database` resource semantic and
|
|
15
22
|
the environment name the application actually reads. A driver selector such
|