@contractspec/example.lifecycle-dashboard 3.2.0 → 3.3.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.
@@ -2,31 +2,34 @@ $ contractspec-bun-build prebuild
2
2
  $ bun run prebuild && bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build prebuild
4
4
  $ contractspec-bun-build transpile
5
- [contractspec-bun-build] transpile target=bun root=src entries=5
6
- Bundled 5 modules in 35ms
5
+ [contractspec-bun-build] transpile target=bun root=src entries=6
6
+ Bundled 6 modules in 23ms
7
7
 
8
8
  docs/index.js 0.95 KB (entry point)
9
- ./index.js 3.47 KB (entry point)
9
+ ./index.js 4.0 KB (entry point)
10
10
  docs/lifecycle-dashboard.docblock.js 0.95 KB (entry point)
11
11
  ./example.js 0.96 KB (entry point)
12
+ ./lifecycle-dashboard.feature.js 0.58 KB (entry point)
12
13
  snippets/page.js 1.58 KB (entry point)
13
14
 
14
- [contractspec-bun-build] transpile target=node root=src entries=5
15
- Bundled 5 modules in 49ms
15
+ [contractspec-bun-build] transpile target=node root=src entries=6
16
+ Bundled 6 modules in 24ms
16
17
 
17
18
  docs/index.js 0.94 KB (entry point)
18
- ./index.js 3.46 KB (entry point)
19
+ ./index.js 4.0 KB (entry point)
19
20
  docs/lifecycle-dashboard.docblock.js 0.94 KB (entry point)
20
21
  ./example.js 0.95 KB (entry point)
22
+ ./lifecycle-dashboard.feature.js 0.57 KB (entry point)
21
23
  snippets/page.js 1.58 KB (entry point)
22
24
 
23
- [contractspec-bun-build] transpile target=browser root=src entries=5
24
- Bundled 5 modules in 37ms
25
+ [contractspec-bun-build] transpile target=browser root=src entries=6
26
+ Bundled 6 modules in 12ms
25
27
 
26
28
  docs/index.js 0.94 KB (entry point)
27
- ./index.js 3.46 KB (entry point)
29
+ ./index.js 4.0 KB (entry point)
28
30
  docs/lifecycle-dashboard.docblock.js 0.94 KB (entry point)
29
31
  ./example.js 0.95 KB (entry point)
32
+ ./lifecycle-dashboard.feature.js 0.57 KB (entry point)
30
33
  snippets/page.js 1.58 KB (entry point)
31
34
 
32
35
  $ contractspec-bun-build types
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @contractspec/example.lifecycle-dashboard
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 890a0da: fix: stability improvements
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [890a0da]
12
+ - @contractspec/lib.contracts-spec@3.3.0
13
+
3
14
  ## 3.2.0
4
15
 
5
16
  ### Minor Changes
@@ -103,7 +103,24 @@ export default function LifecycleDashboardPage() {
103
103
  return null;
104
104
  }
105
105
  `;
106
+
107
+ // src/lifecycle-dashboard.feature.ts
108
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
109
+ var LifecycleDashboardFeature = defineFeature({
110
+ meta: {
111
+ key: "lifecycle-dashboard",
112
+ version: "1.0.0",
113
+ title: "Lifecycle Dashboard",
114
+ description: "Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",
115
+ domain: "lifecycle",
116
+ owners: ["@examples"],
117
+ tags: ["lifecycle", "dashboard", "status"],
118
+ stability: "experimental"
119
+ },
120
+ docs: ["docs.examples.lifecycle-dashboard"]
121
+ });
106
122
  export {
107
123
  lifecycleDashboardNextPageSnippet,
108
- example_default as example
124
+ example_default as example,
125
+ LifecycleDashboardFeature
109
126
  };
@@ -0,0 +1,18 @@
1
+ // src/lifecycle-dashboard.feature.ts
2
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
3
+ var LifecycleDashboardFeature = defineFeature({
4
+ meta: {
5
+ key: "lifecycle-dashboard",
6
+ version: "1.0.0",
7
+ title: "Lifecycle Dashboard",
8
+ description: "Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",
9
+ domain: "lifecycle",
10
+ owners: ["@examples"],
11
+ tags: ["lifecycle", "dashboard", "status"],
12
+ stability: "experimental"
13
+ },
14
+ docs: ["docs.examples.lifecycle-dashboard"]
15
+ });
16
+ export {
17
+ LifecycleDashboardFeature
18
+ };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { default as example } from './example';
2
2
  export * from './snippets/page';
3
+ export * from './lifecycle-dashboard.feature';
3
4
  import './docs';
package/dist/index.js CHANGED
@@ -104,7 +104,24 @@ export default function LifecycleDashboardPage() {
104
104
  return null;
105
105
  }
106
106
  `;
107
+
108
+ // src/lifecycle-dashboard.feature.ts
109
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
110
+ var LifecycleDashboardFeature = defineFeature({
111
+ meta: {
112
+ key: "lifecycle-dashboard",
113
+ version: "1.0.0",
114
+ title: "Lifecycle Dashboard",
115
+ description: "Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",
116
+ domain: "lifecycle",
117
+ owners: ["@examples"],
118
+ tags: ["lifecycle", "dashboard", "status"],
119
+ stability: "experimental"
120
+ },
121
+ docs: ["docs.examples.lifecycle-dashboard"]
122
+ });
107
123
  export {
108
124
  lifecycleDashboardNextPageSnippet,
109
- example_default as example
125
+ example_default as example,
126
+ LifecycleDashboardFeature
110
127
  };
@@ -0,0 +1 @@
1
+ export declare const LifecycleDashboardFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
@@ -0,0 +1,19 @@
1
+ // @bun
2
+ // src/lifecycle-dashboard.feature.ts
3
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
4
+ var LifecycleDashboardFeature = defineFeature({
5
+ meta: {
6
+ key: "lifecycle-dashboard",
7
+ version: "1.0.0",
8
+ title: "Lifecycle Dashboard",
9
+ description: "Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",
10
+ domain: "lifecycle",
11
+ owners: ["@examples"],
12
+ tags: ["lifecycle", "dashboard", "status"],
13
+ stability: "experimental"
14
+ },
15
+ docs: ["docs.examples.lifecycle-dashboard"]
16
+ });
17
+ export {
18
+ LifecycleDashboardFeature
19
+ };
@@ -103,7 +103,24 @@ export default function LifecycleDashboardPage() {
103
103
  return null;
104
104
  }
105
105
  `;
106
+
107
+ // src/lifecycle-dashboard.feature.ts
108
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
109
+ var LifecycleDashboardFeature = defineFeature({
110
+ meta: {
111
+ key: "lifecycle-dashboard",
112
+ version: "1.0.0",
113
+ title: "Lifecycle Dashboard",
114
+ description: "Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",
115
+ domain: "lifecycle",
116
+ owners: ["@examples"],
117
+ tags: ["lifecycle", "dashboard", "status"],
118
+ stability: "experimental"
119
+ },
120
+ docs: ["docs.examples.lifecycle-dashboard"]
121
+ });
106
122
  export {
107
123
  lifecycleDashboardNextPageSnippet,
108
- example_default as example
124
+ example_default as example,
125
+ LifecycleDashboardFeature
109
126
  };
@@ -0,0 +1,18 @@
1
+ // src/lifecycle-dashboard.feature.ts
2
+ import { defineFeature } from "@contractspec/lib.contracts-spec";
3
+ var LifecycleDashboardFeature = defineFeature({
4
+ meta: {
5
+ key: "lifecycle-dashboard",
6
+ version: "1.0.0",
7
+ title: "Lifecycle Dashboard",
8
+ description: "Lifecycle API usage snippet with status cards and lifecycle-managed endpoints",
9
+ domain: "lifecycle",
10
+ owners: ["@examples"],
11
+ tags: ["lifecycle", "dashboard", "status"],
12
+ stability: "experimental"
13
+ },
14
+ docs: ["docs.examples.lifecycle-dashboard"]
15
+ });
16
+ export {
17
+ LifecycleDashboardFeature
18
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.lifecycle-dashboard",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
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",
@@ -40,6 +40,13 @@
40
40
  "browser": "./dist/browser/example.js",
41
41
  "default": "./dist/example.js"
42
42
  },
43
+ "./lifecycle-dashboard.feature": {
44
+ "types": "./dist/lifecycle-dashboard.feature.d.ts",
45
+ "bun": "./dist/lifecycle-dashboard.feature.js",
46
+ "node": "./dist/node/lifecycle-dashboard.feature.js",
47
+ "browser": "./dist/browser/lifecycle-dashboard.feature.js",
48
+ "default": "./dist/lifecycle-dashboard.feature.js"
49
+ },
43
50
  "./snippets/page": {
44
51
  "types": "./dist/snippets/page.d.ts",
45
52
  "bun": "./dist/snippets/page.js",
@@ -64,12 +71,12 @@
64
71
  "typecheck": "tsc --noEmit"
65
72
  },
66
73
  "dependencies": {
67
- "@contractspec/lib.contracts-spec": "3.2.0"
74
+ "@contractspec/lib.contracts-spec": "3.3.0"
68
75
  },
69
76
  "devDependencies": {
70
- "@contractspec/tool.typescript": "3.2.0",
77
+ "@contractspec/tool.typescript": "3.3.0",
71
78
  "typescript": "^5.9.3",
72
- "@contractspec/tool.bun": "3.2.0"
79
+ "@contractspec/tool.bun": "3.3.0"
73
80
  },
74
81
  "publishConfig": {
75
82
  "access": "public",
@@ -109,6 +116,13 @@
109
116
  "browser": "./dist/browser/example.js",
110
117
  "default": "./dist/example.js"
111
118
  },
119
+ "./lifecycle-dashboard.feature": {
120
+ "types": "./dist/lifecycle-dashboard.feature.d.ts",
121
+ "bun": "./dist/lifecycle-dashboard.feature.js",
122
+ "node": "./dist/node/lifecycle-dashboard.feature.js",
123
+ "browser": "./dist/browser/lifecycle-dashboard.feature.js",
124
+ "default": "./dist/lifecycle-dashboard.feature.js"
125
+ },
112
126
  "./snippets/page": {
113
127
  "types": "./dist/snippets/page.d.ts",
114
128
  "bun": "./dist/snippets/page.js",
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { default as example } from './example';
2
2
  export * from './snippets/page';
3
+ export * from './lifecycle-dashboard.feature';
3
4
  import './docs';
@@ -0,0 +1,17 @@
1
+ import { defineFeature } from '@contractspec/lib.contracts-spec';
2
+
3
+ export const LifecycleDashboardFeature = defineFeature({
4
+ meta: {
5
+ key: 'lifecycle-dashboard',
6
+ version: '1.0.0',
7
+ title: 'Lifecycle Dashboard',
8
+ description:
9
+ 'Lifecycle API usage snippet with status cards and lifecycle-managed endpoints',
10
+ domain: 'lifecycle',
11
+ owners: ['@examples'],
12
+ tags: ['lifecycle', 'dashboard', 'status'],
13
+ stability: 'experimental',
14
+ },
15
+
16
+ docs: ['docs.examples.lifecycle-dashboard'],
17
+ });