@contractspec/example.lifecycle-dashboard 3.7.20 → 3.7.22
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 +12 -12
- package/CHANGELOG.md +18 -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
|
@@ -2,33 +2,33 @@ $ contractspec-bun-build prebuild
|
|
|
2
2
|
$ bun run build:bundle && bun run build:types
|
|
3
3
|
$ contractspec-bun-build transpile
|
|
4
4
|
[contractspec-bun-build] transpile target=bun root=src entries=6 noBundle=false
|
|
5
|
-
Bundled 6 modules in
|
|
5
|
+
Bundled 6 modules in 31ms
|
|
6
6
|
|
|
7
7
|
docs/index.js 0.82 KB (entry point)
|
|
8
|
-
./index.js 3.
|
|
8
|
+
./index.js 3.45 KB (entry point)
|
|
9
9
|
docs/lifecycle-dashboard.docblock.js 0.82 KB (entry point)
|
|
10
|
-
./example.js 0.
|
|
11
|
-
./lifecycle-dashboard.feature.js
|
|
10
|
+
./example.js 0.70 KB (entry point)
|
|
11
|
+
./lifecycle-dashboard.feature.js 450 bytes (entry point)
|
|
12
12
|
snippets/page.js 1.53 KB (entry point)
|
|
13
13
|
|
|
14
14
|
[contractspec-bun-build] transpile target=node root=src entries=6 noBundle=false
|
|
15
|
-
Bundled 6 modules in
|
|
15
|
+
Bundled 6 modules in 33ms
|
|
16
16
|
|
|
17
17
|
docs/index.js 0.81 KB (entry point)
|
|
18
|
-
./index.js 3.
|
|
18
|
+
./index.js 3.45 KB (entry point)
|
|
19
19
|
docs/lifecycle-dashboard.docblock.js 0.81 KB (entry point)
|
|
20
|
-
./example.js 0.
|
|
21
|
-
./lifecycle-dashboard.feature.js
|
|
20
|
+
./example.js 0.69 KB (entry point)
|
|
21
|
+
./lifecycle-dashboard.feature.js 442 bytes (entry point)
|
|
22
22
|
snippets/page.js 1.52 KB (entry point)
|
|
23
23
|
|
|
24
24
|
[contractspec-bun-build] transpile target=browser root=src entries=6 noBundle=false
|
|
25
|
-
Bundled 6 modules in
|
|
25
|
+
Bundled 6 modules in 23ms
|
|
26
26
|
|
|
27
27
|
docs/index.js 0.81 KB (entry point)
|
|
28
|
-
./index.js 3.
|
|
28
|
+
./index.js 3.45 KB (entry point)
|
|
29
29
|
docs/lifecycle-dashboard.docblock.js 0.81 KB (entry point)
|
|
30
|
-
./example.js 0.
|
|
31
|
-
./lifecycle-dashboard.feature.js
|
|
30
|
+
./example.js 0.69 KB (entry point)
|
|
31
|
+
./lifecycle-dashboard.feature.js 442 bytes (entry point)
|
|
32
32
|
snippets/page.js 1.52 KB (entry point)
|
|
33
33
|
|
|
34
34
|
$ contractspec-bun-build types
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @contractspec/example.lifecycle-dashboard
|
|
2
2
|
|
|
3
|
+
## 3.7.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: auto-bump internal dependents
|
|
8
|
+
- Updated dependencies because of Stabilize Turborepo build caching by making generated artifacts deterministic, modeling web LLM generation explicitly, and avoiding no-op build-tool rewrites.
|
|
9
|
+
- @contractspec/lib.contracts-spec@5.5.1
|
|
10
|
+
|
|
11
|
+
## 3.7.21
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- chore: auto-bump internal dependents
|
|
16
|
+
- Updated dependencies because of Add FormSpec layout hints, semantic field rendering, and portable text/textarea input-group addons.
|
|
17
|
+
- 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.
|
|
18
|
+
- 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.
|
|
19
|
+
- @contractspec/lib.contracts-spec@5.5.0
|
|
20
|
+
|
|
3
21
|
## 3.7.20
|
|
4
22
|
|
|
5
23
|
### 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.22",
|
|
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.1"
|
|
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.17"
|
|
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