@contractspec/example.lifecycle-dashboard 3.7.19 → 3.7.21
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.log +35 -34
- package/CHANGELOG.md +21 -0
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +2 -2
- package/dist/browser/lifecycle-dashboard.feature.js +1 -1
- package/dist/example.d.ts +3 -2
- package/dist/example.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/lifecycle-dashboard.feature.js +1 -1
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +2 -2
- package/dist/node/lifecycle-dashboard.feature.js +1 -1
- package/package.json +3 -3
- package/src/example.ts +16 -19
- package/src/index.ts +2 -0
- package/src/lifecycle-dashboard.feature.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
[
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
./
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
./
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
./
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
5
|
+
[contractspec-bun-build] transpile target=bun root=src entries=6 noBundle=false
|
|
6
|
+
[32mBundled 6 modules in 29ms[0m
|
|
7
|
+
|
|
8
|
+
[34mdocs/index.js[0m 0.82 KB [2m(entry point)[0m
|
|
9
|
+
[34m./index.js[0m 3.45 KB [2m(entry point)[0m
|
|
10
|
+
[34mdocs/lifecycle-dashboard.docblock.js[0m 0.82 KB [2m(entry point)[0m
|
|
11
|
+
[34m./example.js[0m 0.70 KB [2m(entry point)[0m
|
|
12
|
+
[34m./lifecycle-dashboard.feature.js[0m 450 bytes [2m(entry point)[0m
|
|
13
|
+
[34msnippets/page.js[0m 1.53 KB [2m(entry point)[0m
|
|
14
|
+
|
|
15
|
+
[contractspec-bun-build] transpile target=node root=src entries=6 noBundle=false
|
|
16
|
+
[32mBundled 6 modules in 30ms[0m
|
|
17
|
+
|
|
18
|
+
[34mdocs/index.js[0m 0.81 KB [2m(entry point)[0m
|
|
19
|
+
[34m./index.js[0m 3.45 KB [2m(entry point)[0m
|
|
20
|
+
[34mdocs/lifecycle-dashboard.docblock.js[0m 0.81 KB [2m(entry point)[0m
|
|
21
|
+
[34m./example.js[0m 0.69 KB [2m(entry point)[0m
|
|
22
|
+
[34m./lifecycle-dashboard.feature.js[0m 442 bytes [2m(entry point)[0m
|
|
23
|
+
[34msnippets/page.js[0m 1.52 KB [2m(entry point)[0m
|
|
24
|
+
|
|
25
|
+
[contractspec-bun-build] transpile target=browser root=src entries=6 noBundle=false
|
|
26
|
+
[32mBundled 6 modules in 19ms[0m
|
|
27
|
+
|
|
28
|
+
[34mdocs/index.js[0m 0.81 KB [2m(entry point)[0m
|
|
29
|
+
[34m./index.js[0m 3.45 KB [2m(entry point)[0m
|
|
30
|
+
[34mdocs/lifecycle-dashboard.docblock.js[0m 0.81 KB [2m(entry point)[0m
|
|
31
|
+
[34m./example.js[0m 0.69 KB [2m(entry point)[0m
|
|
32
|
+
[34m./lifecycle-dashboard.feature.js[0m 442 bytes [2m(entry point)[0m
|
|
33
|
+
[34msnippets/page.js[0m 1.52 KB [2m(entry point)[0m
|
|
34
|
+
|
|
35
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @contractspec/example.lifecycle-dashboard
|
|
2
2
|
|
|
3
|
+
## 3.7.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: auto-bump internal dependents
|
|
8
|
+
- Updated dependencies because of Add FormSpec layout hints, semantic field rendering, and portable text/textarea input-group addons.
|
|
9
|
+
- Updated dependencies because of Add ThemeSpec light/dark modes and a design-system Tailwind bridge for CSS variables, presets, CSS text, and OKLCH color pass-through.
|
|
10
|
+
- Updated dependencies because of Add a canonical typed result system for ContractSpec success and failure propagation across operations, workflows, jobs, server adapters, MCP, GraphQL, and React clients.
|
|
11
|
+
- @contractspec/lib.contracts-spec@5.5.0
|
|
12
|
+
|
|
13
|
+
## 3.7.20
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- chore: auto-bump internal dependents
|
|
18
|
+
- Updated dependencies because of Add a family-aware ContractSpec Adoption Engine, expand contract authoring targets across CLI and VS Code tooling, and refresh release-facing schema and policy artifacts for downstream workspaces.
|
|
19
|
+
- Updated dependencies because of Improve app-config, theme, and feature authoring with explicit validation APIs, first-class theme discovery and scaffolding, and key-based app-config generation across contracts, workspace tooling, and the CLI.
|
|
20
|
+
- Updated dependencies because of Refresh root, package, website, and LLM-facing docs so Connect, Builder, release capsules, and the current contracts-spec export surface stay aligned.
|
|
21
|
+
- Updated dependencies because of Persist canonical knowledge payload text during indexing and align the retrieval/query docs with the corrected behavior.
|
|
22
|
+
- @contractspec/lib.contracts-spec@5.4.0
|
|
23
|
+
|
|
3
24
|
## 3.7.19
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/browser/example.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineExample as g}from"@contractspec/lib.contracts-spec";var
|
|
1
|
+
import{defineExample as g}from"@contractspec/lib.contracts-spec/examples";var j=g({meta:{key:"examples.lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.",kind:"template",visibility:"experimental",stability:"experimental",owners:["@contractspec-core"],tags:["package","examples","lifecycle-dashboard"]},surfaces:{templates:!0,sandbox:{enabled:!0,modes:["playground","specs"]},studio:{enabled:!1,installable:!1},mcp:{enabled:!1}},entrypoints:{packageName:"@contractspec/example.lifecycle-dashboard"}}),q=j;export{q as default,j as ExamplesLifecycleDashboardExample};
|
package/dist/browser/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import{registerDocBlocks as e}from"@contractspec/lib.contracts-spec/docs";var s=
|
|
|
5
5
|
## Notes
|
|
6
6
|
- Keep your app design-system-first (no raw HTML in application code).
|
|
7
7
|
- Add explicit loading/error/empty states with accessible messaging.
|
|
8
|
-
- Implement API routes in your app as thin adapters over lifecycle-managed services.`}];e(s);import{defineExample as t}from"@contractspec/lib.contracts-spec";var
|
|
8
|
+
- Implement API routes in your app as thin adapters over lifecycle-managed services.`}];e(s);import{defineExample as t}from"@contractspec/lib.contracts-spec/examples";var n=t({meta:{key:"examples.lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.",kind:"template",visibility:"experimental",stability:"experimental",owners:["@contractspec-core"],tags:["package","examples","lifecycle-dashboard"]},surfaces:{templates:!0,sandbox:{enabled:!0,modes:["playground","specs"]},studio:{enabled:!1,installable:!1},mcp:{enabled:!1}},entrypoints:{packageName:"@contractspec/example.lifecycle-dashboard"}}),a=n;import{defineFeature as r}from"@contractspec/lib.contracts-spec/features";var p=r({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});var c=`'use client';
|
|
9
9
|
|
|
10
10
|
import { useEffect, useState } from 'react';
|
|
11
11
|
|
|
@@ -56,4 +56,4 @@ export default function LifecycleDashboardPage() {
|
|
|
56
56
|
// Render using your app's design system components in real code.
|
|
57
57
|
return null;
|
|
58
58
|
}
|
|
59
|
-
`;export{
|
|
59
|
+
`;export{c as lifecycleDashboardNextPageSnippet,a as example,p as LifecycleDashboardFeature,n as ExamplesLifecycleDashboardExample};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineFeature as g}from"@contractspec/lib.contracts-spec";var j=g({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});export{j as LifecycleDashboardFeature};
|
|
1
|
+
import{defineFeature as g}from"@contractspec/lib.contracts-spec/features";var j=g({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});export{j as LifecycleDashboardFeature};
|
package/dist/example.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export default
|
|
1
|
+
declare const ExamplesLifecycleDashboardExample: import("@contractspec/lib.contracts-spec").ExampleSpec;
|
|
2
|
+
export default ExamplesLifecycleDashboardExample;
|
|
3
|
+
export { ExamplesLifecycleDashboardExample };
|
package/dist/example.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{defineExample as g}from"@contractspec/lib.contracts-spec";var
|
|
2
|
+
import{defineExample as g}from"@contractspec/lib.contracts-spec/examples";var j=g({meta:{key:"examples.lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.",kind:"template",visibility:"experimental",stability:"experimental",owners:["@contractspec-core"],tags:["package","examples","lifecycle-dashboard"]},surfaces:{templates:!0,sandbox:{enabled:!0,modes:["playground","specs"]},studio:{enabled:!1,installable:!1},mcp:{enabled:!1}},entrypoints:{packageName:"@contractspec/example.lifecycle-dashboard"}}),q=j;export{q as default,j as ExamplesLifecycleDashboardExample};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import{registerDocBlocks as e}from"@contractspec/lib.contracts-spec/docs";var s=
|
|
|
6
6
|
## Notes
|
|
7
7
|
- Keep your app design-system-first (no raw HTML in application code).
|
|
8
8
|
- Add explicit loading/error/empty states with accessible messaging.
|
|
9
|
-
- Implement API routes in your app as thin adapters over lifecycle-managed services.`}];e(s);import{defineExample as t}from"@contractspec/lib.contracts-spec";var
|
|
9
|
+
- Implement API routes in your app as thin adapters over lifecycle-managed services.`}];e(s);import{defineExample as t}from"@contractspec/lib.contracts-spec/examples";var n=t({meta:{key:"examples.lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.",kind:"template",visibility:"experimental",stability:"experimental",owners:["@contractspec-core"],tags:["package","examples","lifecycle-dashboard"]},surfaces:{templates:!0,sandbox:{enabled:!0,modes:["playground","specs"]},studio:{enabled:!1,installable:!1},mcp:{enabled:!1}},entrypoints:{packageName:"@contractspec/example.lifecycle-dashboard"}}),a=n;import{defineFeature as r}from"@contractspec/lib.contracts-spec/features";var p=r({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});var c=`'use client';
|
|
10
10
|
|
|
11
11
|
import { useEffect, useState } from 'react';
|
|
12
12
|
|
|
@@ -57,4 +57,4 @@ export default function LifecycleDashboardPage() {
|
|
|
57
57
|
// Render using your app's design system components in real code.
|
|
58
58
|
return null;
|
|
59
59
|
}
|
|
60
|
-
`;export{
|
|
60
|
+
`;export{c as lifecycleDashboardNextPageSnippet,a as example,p as LifecycleDashboardFeature,n as ExamplesLifecycleDashboardExample};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{defineFeature as g}from"@contractspec/lib.contracts-spec";var j=g({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});export{j as LifecycleDashboardFeature};
|
|
2
|
+
import{defineFeature as g}from"@contractspec/lib.contracts-spec/features";var j=g({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});export{j as LifecycleDashboardFeature};
|
package/dist/node/example.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineExample as g}from"@contractspec/lib.contracts-spec";var
|
|
1
|
+
import{defineExample as g}from"@contractspec/lib.contracts-spec/examples";var j=g({meta:{key:"examples.lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.",kind:"template",visibility:"experimental",stability:"experimental",owners:["@contractspec-core"],tags:["package","examples","lifecycle-dashboard"]},surfaces:{templates:!0,sandbox:{enabled:!0,modes:["playground","specs"]},studio:{enabled:!1,installable:!1},mcp:{enabled:!1}},entrypoints:{packageName:"@contractspec/example.lifecycle-dashboard"}}),q=j;export{q as default,j as ExamplesLifecycleDashboardExample};
|
package/dist/node/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import{registerDocBlocks as e}from"@contractspec/lib.contracts-spec/docs";var s=
|
|
|
5
5
|
## Notes
|
|
6
6
|
- Keep your app design-system-first (no raw HTML in application code).
|
|
7
7
|
- Add explicit loading/error/empty states with accessible messaging.
|
|
8
|
-
- Implement API routes in your app as thin adapters over lifecycle-managed services.`}];e(s);import{defineExample as t}from"@contractspec/lib.contracts-spec";var
|
|
8
|
+
- Implement API routes in your app as thin adapters over lifecycle-managed services.`}];e(s);import{defineExample as t}from"@contractspec/lib.contracts-spec/examples";var n=t({meta:{key:"examples.lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.",kind:"template",visibility:"experimental",stability:"experimental",owners:["@contractspec-core"],tags:["package","examples","lifecycle-dashboard"]},surfaces:{templates:!0,sandbox:{enabled:!0,modes:["playground","specs"]},studio:{enabled:!1,installable:!1},mcp:{enabled:!1}},entrypoints:{packageName:"@contractspec/example.lifecycle-dashboard"}}),a=n;import{defineFeature as r}from"@contractspec/lib.contracts-spec/features";var p=r({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});var c=`'use client';
|
|
9
9
|
|
|
10
10
|
import { useEffect, useState } from 'react';
|
|
11
11
|
|
|
@@ -56,4 +56,4 @@ export default function LifecycleDashboardPage() {
|
|
|
56
56
|
// Render using your app's design system components in real code.
|
|
57
57
|
return null;
|
|
58
58
|
}
|
|
59
|
-
`;export{
|
|
59
|
+
`;export{c as lifecycleDashboardNextPageSnippet,a as example,p as LifecycleDashboardFeature,n as ExamplesLifecycleDashboardExample};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineFeature as g}from"@contractspec/lib.contracts-spec";var j=g({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});export{j as LifecycleDashboardFeature};
|
|
1
|
+
import{defineFeature as g}from"@contractspec/lib.contracts-spec/features";var j=g({meta:{key:"lifecycle-dashboard",version:"1.0.0",title:"Lifecycle Dashboard",description:"Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",domain:"lifecycle",owners:["@examples"],tags:["lifecycle","dashboard","status"],stability:"experimental"},docs:["docs.examples.lifecycle-dashboard"]});export{j as LifecycleDashboardFeature};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.lifecycle-dashboard",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.21",
|
|
4
4
|
"description": "Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"typecheck": "tsc --noEmit"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@contractspec/lib.contracts-spec": "5.
|
|
67
|
+
"@contractspec/lib.contracts-spec": "5.5.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@contractspec/tool.typescript": "3.7.13",
|
|
71
71
|
"typescript": "^5.9.3",
|
|
72
|
-
"@contractspec/tool.bun": "3.7.
|
|
72
|
+
"@contractspec/tool.bun": "3.7.15"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public",
|
package/src/example.ts
CHANGED
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import { defineExample } from '@contractspec/lib.contracts-spec';
|
|
1
|
+
import { defineExample } from '@contractspec/lib.contracts-spec/examples';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const ExamplesLifecycleDashboardExample = defineExample({
|
|
4
4
|
meta: {
|
|
5
|
-
key: 'lifecycle-dashboard',
|
|
5
|
+
key: 'examples.lifecycle-dashboard',
|
|
6
6
|
version: '1.0.0',
|
|
7
|
-
title: 'Lifecycle Dashboard
|
|
7
|
+
title: 'Lifecycle Dashboard',
|
|
8
8
|
description:
|
|
9
|
-
'
|
|
10
|
-
kind: '
|
|
11
|
-
visibility: '
|
|
9
|
+
'Lifecycle dashboard example (snippet): how to call lifecycle-managed APIs and render a status card.',
|
|
10
|
+
kind: 'template',
|
|
11
|
+
visibility: 'experimental',
|
|
12
12
|
stability: 'experimental',
|
|
13
|
-
owners: ['@
|
|
14
|
-
tags: ['
|
|
13
|
+
owners: ['@contractspec-core'],
|
|
14
|
+
tags: ['package', 'examples', 'lifecycle-dashboard'],
|
|
15
15
|
},
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
surfaces: {
|
|
17
|
+
templates: true,
|
|
18
|
+
sandbox: { enabled: true, modes: ['playground', 'specs'] },
|
|
19
|
+
studio: { enabled: false, installable: false },
|
|
20
|
+
mcp: { enabled: false },
|
|
18
21
|
},
|
|
19
22
|
entrypoints: {
|
|
20
23
|
packageName: '@contractspec/example.lifecycle-dashboard',
|
|
21
|
-
docs: './docs',
|
|
22
|
-
},
|
|
23
|
-
surfaces: {
|
|
24
|
-
templates: true,
|
|
25
|
-
sandbox: { enabled: true, modes: ['markdown', 'specs'] },
|
|
26
|
-
studio: { enabled: true, installable: true },
|
|
27
|
-
mcp: { enabled: true },
|
|
28
24
|
},
|
|
29
25
|
});
|
|
30
26
|
|
|
31
|
-
export default
|
|
27
|
+
export default ExamplesLifecycleDashboardExample;
|
|
28
|
+
export { ExamplesLifecycleDashboardExample };
|
package/src/index.ts
CHANGED