@lssm/example.lifecycle-cli 0.0.0-canary-20251220041653 → 0.0.0-canary-20251221114240
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/.turbo/turbo-build$colon$bundle.log +4 -4
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -6
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +6 -6
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -1
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -56,8 +56,8 @@ $ tsdown
|
|
|
56
56
|
[34mℹ[39m [2mdist/[22mlibs/logger/dist/context.node.js.map [2m 2.74 kB[22m [2m│ gzip: 1.00 kB[22m
|
|
57
57
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map [2m 2.68 kB[22m [2m│ gzip: 1.21 kB[22m
|
|
58
58
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map [2m 2.58 kB[22m [2m│ gzip: 1.16 kB[22m
|
|
59
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map [2m 2.58 kB[22m [2m│ gzip: 1.16 kB[22m
|
|
59
60
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/registry.js.map [2m 2.51 kB[22m [2m│ gzip: 1.01 kB[22m
|
|
60
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map [2m 2.51 kB[22m [2m│ gzip: 1.15 kB[22m
|
|
61
61
|
[34mℹ[39m [2mdist/[22mlibs/logger/dist/timer.js [2m 2.46 kB[22m [2m│ gzip: 0.87 kB[22m
|
|
62
62
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/team-invitations.docblock.js [2m 2.46 kB[22m [2m│ gzip: 1.15 kB[22m
|
|
63
63
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map [2m 2.41 kB[22m [2m│ gzip: 1.06 kB[22m
|
|
@@ -65,7 +65,7 @@ $ tsdown
|
|
|
65
65
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/presentations.js [2m 2.22 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
66
66
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspaces.docblock.js [2m 2.18 kB[22m [2m│ gzip: 1.04 kB[22m
|
|
67
67
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/learning-events.docblock.js [2m 2.09 kB[22m [2m│ gzip: 0.99 kB[22m
|
|
68
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js [2m 2.
|
|
68
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js [2m 2.08 kB[22m [2m│ gzip: 1.00 kB[22m
|
|
69
69
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map [2m 1.95 kB[22m [2m│ gzip: 0.95 kB[22m
|
|
70
70
|
[34mℹ[39m [2mdist/[22mdocs/lifecycle-cli.docblock.js.map [2m 1.92 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
71
71
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js [2m 1.91 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
@@ -97,7 +97,7 @@ $ tsdown
|
|
|
97
97
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 0.13 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
98
98
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
99
99
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/lifecycle-cli.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
100
|
-
[34mℹ[39m 91 files, total: 3426.
|
|
100
|
+
[34mℹ[39m 91 files, total: 3426.25 kB
|
|
101
101
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:async_hooks' in ../../libs/logger/dist/context.node.mjs
|
|
102
102
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/logger/dist/context.node.mjs:1:35 [38;5;246m][0m
|
|
103
103
|
[38;5;246m│[0m
|
|
@@ -108,4 +108,4 @@ $ tsdown
|
|
|
108
108
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
109
109
|
[38;5;246m───╯[0m
|
|
110
110
|
|
|
111
|
-
[32m✔[39m Build complete in [
|
|
111
|
+
[32m✔[39m Build complete in [32m34233ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -56,8 +56,8 @@ $ tsdown
|
|
|
56
56
|
[34mℹ[39m [2mdist/[22mlibs/logger/dist/context.node.js.map [2m 2.74 kB[22m [2m│ gzip: 1.00 kB[22m
|
|
57
57
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map [2m 2.68 kB[22m [2m│ gzip: 1.21 kB[22m
|
|
58
58
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map [2m 2.58 kB[22m [2m│ gzip: 1.16 kB[22m
|
|
59
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map [2m 2.58 kB[22m [2m│ gzip: 1.16 kB[22m
|
|
59
60
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/registry.js.map [2m 2.51 kB[22m [2m│ gzip: 1.01 kB[22m
|
|
60
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map [2m 2.51 kB[22m [2m│ gzip: 1.15 kB[22m
|
|
61
61
|
[34mℹ[39m [2mdist/[22mlibs/logger/dist/timer.js [2m 2.46 kB[22m [2m│ gzip: 0.87 kB[22m
|
|
62
62
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/team-invitations.docblock.js [2m 2.46 kB[22m [2m│ gzip: 1.15 kB[22m
|
|
63
63
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map [2m 2.41 kB[22m [2m│ gzip: 1.06 kB[22m
|
|
@@ -65,7 +65,7 @@ $ tsdown
|
|
|
65
65
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/presentations.js [2m 2.22 kB[22m [2m│ gzip: 0.79 kB[22m
|
|
66
66
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/workspaces.docblock.js [2m 2.18 kB[22m [2m│ gzip: 1.04 kB[22m
|
|
67
67
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/learning-events.docblock.js [2m 2.09 kB[22m [2m│ gzip: 0.99 kB[22m
|
|
68
|
-
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js [2m 2.
|
|
68
|
+
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js [2m 2.08 kB[22m [2m│ gzip: 1.00 kB[22m
|
|
69
69
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map [2m 1.95 kB[22m [2m│ gzip: 0.95 kB[22m
|
|
70
70
|
[34mℹ[39m [2mdist/[22mdocs/lifecycle-cli.docblock.js.map [2m 1.92 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
71
71
|
[34mℹ[39m [2mdist/[22mlibs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js [2m 1.91 kB[22m [2m│ gzip: 0.90 kB[22m
|
|
@@ -97,7 +97,7 @@ $ tsdown
|
|
|
97
97
|
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.ts[22m[39m [2m 0.13 kB[22m [2m│ gzip: 0.10 kB[22m
|
|
98
98
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/index.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
99
99
|
[34mℹ[39m [2mdist/[22m[32m[1mdocs/lifecycle-cli.docblock.d.ts[22m[39m [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
100
|
-
[34mℹ[39m 91 files, total: 3426.
|
|
100
|
+
[34mℹ[39m 91 files, total: 3426.25 kB
|
|
101
101
|
[33m[UNRESOLVED_IMPORT] Warning:[0m Could not resolve 'node:async_hooks' in ../../libs/logger/dist/context.node.mjs
|
|
102
102
|
[38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m ../../libs/logger/dist/context.node.mjs:1:35 [38;5;246m][0m
|
|
103
103
|
[38;5;246m│[0m
|
|
@@ -108,5 +108,5 @@ $ tsdown
|
|
|
108
108
|
[38;5;240m │[0m [38;5;115mHelp[0m: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
|
|
109
109
|
[38;5;246m───╯[0m
|
|
110
110
|
|
|
111
|
-
[32m✔[39m Build complete in [
|
|
111
|
+
[32m✔[39m Build complete in [32m39449ms[39m
|
|
112
112
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lssm/example.lifecycle-cli
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251221114240
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
11
|
- Updated dependencies [66a5dfd]
|
|
12
|
-
- @lssm/bundle.lifecycle-managed@0.0.0-canary-
|
|
13
|
-
- @lssm/lib.contracts@0.0.0-canary-
|
|
14
|
-
- @lssm/lib.lifecycle@0.0.0-canary-
|
|
15
|
-
- @lssm/lib.logger@0.0.0-canary-
|
|
16
|
-
- @lssm/lib.schema@0.0.0-canary-
|
|
12
|
+
- @lssm/bundle.lifecycle-managed@0.0.0-canary-20251221114240
|
|
13
|
+
- @lssm/lib.contracts@0.0.0-canary-20251221114240
|
|
14
|
+
- @lssm/lib.lifecycle@0.0.0-canary-20251221114240
|
|
15
|
+
- @lssm/lib.logger@0.0.0-canary-20251221114240
|
|
16
|
+
- @lssm/lib.schema@0.0.0-canary-20251221114240
|
|
@@ -3,8 +3,8 @@ import { registerDocBlocks } from "../../registry.js";
|
|
|
3
3
|
//#region ../../libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js
|
|
4
4
|
const tech_contracts_openapi_export_DocBlocks = [{
|
|
5
5
|
id: "docs.tech.contracts.openapi-export",
|
|
6
|
-
title: "OpenAPI export (OpenAPI 3.1) from
|
|
7
|
-
summary: "Generate a deterministic OpenAPI document from a
|
|
6
|
+
title: "OpenAPI export (OpenAPI 3.1) from OperationSpecRegistry",
|
|
7
|
+
summary: "Generate a deterministic OpenAPI document from a OperationSpecRegistry using jsonSchemaForSpec + REST transport metadata.",
|
|
8
8
|
kind: "reference",
|
|
9
9
|
visibility: "public",
|
|
10
10
|
route: "/docs/tech/contracts/openapi-export",
|
|
@@ -13,7 +13,7 @@ const tech_contracts_openapi_export_DocBlocks = [{
|
|
|
13
13
|
"openapi",
|
|
14
14
|
"rest"
|
|
15
15
|
],
|
|
16
|
-
body: `## OpenAPI export (OpenAPI 3.1) from
|
|
16
|
+
body: `## OpenAPI export (OpenAPI 3.1) from OperationSpecRegistry
|
|
17
17
|
|
|
18
18
|
### Purpose
|
|
19
19
|
|
|
@@ -42,9 +42,9 @@ contractspec openapi --registry ./src/registry.ts --out ./openapi.json
|
|
|
42
42
|
|
|
43
43
|
The registry module must export one of:
|
|
44
44
|
|
|
45
|
-
- \`registry:
|
|
46
|
-
- \`default():
|
|
47
|
-
- \`createRegistry():
|
|
45
|
+
- \`registry: OperationSpecRegistry\`
|
|
46
|
+
- \`default(): OperationSpecRegistry | Promise<OperationSpecRegistry>\`
|
|
47
|
+
- \`createRegistry(): OperationSpecRegistry | Promise<OperationSpecRegistry>\`
|
|
48
48
|
|
|
49
49
|
### Notes / limitations (current)
|
|
50
50
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapi-export.docblock.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region src/docs/tech/contracts/openapi-export.docblock.ts\nconst tech_contracts_openapi_export_DocBlocks = [{\n\tid: \"docs.tech.contracts.openapi-export\",\n\ttitle: \"OpenAPI export (OpenAPI 3.1) from
|
|
1
|
+
{"version":3,"file":"openapi-export.docblock.js","names":[],"sources":["../../../../../../../../../libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js"],"sourcesContent":["import { registerDocBlocks } from \"../../registry.js\";\n\n//#region src/docs/tech/contracts/openapi-export.docblock.ts\nconst tech_contracts_openapi_export_DocBlocks = [{\n\tid: \"docs.tech.contracts.openapi-export\",\n\ttitle: \"OpenAPI export (OpenAPI 3.1) from OperationSpecRegistry\",\n\tsummary: \"Generate a deterministic OpenAPI document from a OperationSpecRegistry using jsonSchemaForSpec + REST transport metadata.\",\n\tkind: \"reference\",\n\tvisibility: \"public\",\n\troute: \"/docs/tech/contracts/openapi-export\",\n\ttags: [\n\t\t\"contracts\",\n\t\t\"openapi\",\n\t\t\"rest\"\n\t],\n\tbody: `## OpenAPI export (OpenAPI 3.1) from OperationSpecRegistry\n\n### Purpose\n\nContractSpec specs can be exported into an **OpenAPI 3.1** document for tooling (SDK generation, docs, gateways).\n\nThe export is **spec-first**:\n\n- Uses \\`jsonSchemaForSpec(spec)\\` for input/output JSON Schema (from SchemaModel → zod → JSON Schema)\n- Uses \\`spec.transport.rest.method/path\\` when present\n- Falls back to deterministic defaults:\n - Method: \\`POST\\` for commands, \\`GET\\` for queries\n - Path: \\`defaultRestPath(name, version)\\` → \\`/<dot/name>/v<version>\\`\n\n### Library API\n\n- Function: \\`openApiForRegistry(registry, options?)\\`\n- Location: \\`@lssm/lib.contracts/openapi\\`\n\n### CLI\n\nExport OpenAPI from a registry module:\n\n\\`\\`\\`bash\ncontractspec openapi --registry ./src/registry.ts --out ./openapi.json\n\\`\\`\\`\n\nThe registry module must export one of:\n\n- \\`registry: OperationSpecRegistry\\`\n- \\`default(): OperationSpecRegistry | Promise<OperationSpecRegistry>\\`\n- \\`createRegistry(): OperationSpecRegistry | Promise<OperationSpecRegistry>\\`\n\n### Notes / limitations (current)\n\n- Responses are generated as a basic \\`200\\` response (plus schemas when available).\n- Query (GET) inputs are currently represented as a JSON request body when an input schema exists.\n- Errors are not yet expanded into OpenAPI responses; that will be added when we standardize error envelopes.`\n}];\nregisterDocBlocks(tech_contracts_openapi_export_DocBlocks);\n\n//#endregion\nexport { tech_contracts_openapi_export_DocBlocks };"],"mappings":";;;AAGA,MAAM,0CAA0C,CAAC;CAChD,IAAI;CACJ,OAAO;CACP,SAAS;CACT,MAAM;CACN,YAAY;CACZ,OAAO;CACP,MAAM;EACL;EACA;EACA;EACA;CACD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCN,CAAC;AACF,kBAAkB,wCAAwC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.lifecycle-cli",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251221114240",
|
|
4
4
|
"description": "Lifecycle CLI demo (example): run lifecycle assessment without an HTTP server.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"test": "bun test"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@lssm/bundle.lifecycle-managed": "0.0.0-canary-
|
|
31
|
-
"@lssm/lib.lifecycle": "0.0.0-canary-
|
|
32
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
33
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
34
|
-
"@lssm/lib.logger": "0.0.0-canary-
|
|
30
|
+
"@lssm/bundle.lifecycle-managed": "0.0.0-canary-20251221114240",
|
|
31
|
+
"@lssm/lib.lifecycle": "0.0.0-canary-20251221114240",
|
|
32
|
+
"@lssm/lib.schema": "0.0.0-canary-20251221114240",
|
|
33
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251221114240",
|
|
34
|
+
"@lssm/lib.logger": "0.0.0-canary-20251221114240"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
38
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
37
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251221114240",
|
|
38
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251221114240",
|
|
39
39
|
"tsdown": "^0.18.1",
|
|
40
40
|
"typescript": "^5.9.3"
|
|
41
41
|
},
|