@contractspec/example.content-generation 3.1.1 → 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.
- package/.turbo/turbo-build.log +15 -12
- package/CHANGELOG.md +26 -0
- package/dist/browser/content-generation.feature.js +21 -0
- package/dist/browser/index.js +21 -1
- package/dist/content-generation.feature.d.ts +1 -0
- package/dist/content-generation.feature.js +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +21 -1
- package/dist/node/content-generation.feature.js +21 -0
- package/dist/node/index.js +21 -1
- package/package.json +20 -6
- package/src/content-generation.feature.ts +20 -0
- package/src/index.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,30 +2,33 @@ $ 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=
|
|
6
|
-
Bundled
|
|
5
|
+
[contractspec-bun-build] transpile target=bun root=src entries=6
|
|
6
|
+
Bundled 6 modules in 25ms
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
./index.js 4.
|
|
8
|
+
./content-generation.feature.js 0.62 KB (entry point)
|
|
9
|
+
./index.js 4.65 KB (entry point)
|
|
10
10
|
docs/index.js 1.37 KB (entry point)
|
|
11
|
+
docs/content-generation.docblock.js 1.37 KB (entry point)
|
|
11
12
|
./example.js 0.99 KB (entry point)
|
|
12
13
|
./generate.js 1.72 KB (entry point)
|
|
13
14
|
|
|
14
|
-
[contractspec-bun-build] transpile target=node root=src entries=
|
|
15
|
-
Bundled
|
|
15
|
+
[contractspec-bun-build] transpile target=node root=src entries=6
|
|
16
|
+
Bundled 6 modules in 24ms
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
./index.js 4.
|
|
18
|
+
./content-generation.feature.js 0.61 KB (entry point)
|
|
19
|
+
./index.js 4.63 KB (entry point)
|
|
19
20
|
docs/index.js 1.35 KB (entry point)
|
|
21
|
+
docs/content-generation.docblock.js 1.35 KB (entry point)
|
|
20
22
|
./example.js 0.98 KB (entry point)
|
|
21
23
|
./generate.js 1.71 KB (entry point)
|
|
22
24
|
|
|
23
|
-
[contractspec-bun-build] transpile target=browser root=src entries=
|
|
24
|
-
Bundled
|
|
25
|
+
[contractspec-bun-build] transpile target=browser root=src entries=6
|
|
26
|
+
Bundled 6 modules in 33ms
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
./index.js 4.
|
|
28
|
+
./content-generation.feature.js 0.61 KB (entry point)
|
|
29
|
+
./index.js 4.63 KB (entry point)
|
|
28
30
|
docs/index.js 1.35 KB (entry point)
|
|
31
|
+
docs/content-generation.docblock.js 1.35 KB (entry point)
|
|
29
32
|
./example.js 0.98 KB (entry point)
|
|
30
33
|
./generate.js 1.71 KB (entry point)
|
|
31
34
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @contractspec/example.content-generation
|
|
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
|
+
- @contractspec/lib.content-gen@3.3.0
|
|
14
|
+
- @contractspec/lib.logger@3.3.0
|
|
15
|
+
|
|
16
|
+
## 3.2.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- a281fc5: fix: missing dependencies
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [a281fc5]
|
|
25
|
+
- @contractspec/lib.contracts-spec@3.2.0
|
|
26
|
+
- @contractspec/lib.content-gen@3.2.0
|
|
27
|
+
- @contractspec/lib.logger@3.2.0
|
|
28
|
+
|
|
3
29
|
## 3.1.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/content-generation.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var ContentGenerationFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "content-generation",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Content Generation",
|
|
8
|
+
description: "AI content generation for blog posts, landing pages, emails, and social media",
|
|
9
|
+
domain: "content",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["content", "ai", "generation"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
docs: [
|
|
15
|
+
"docs.examples.content-generation",
|
|
16
|
+
"docs.examples.content-generation.usage"
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
ContentGenerationFeature
|
|
21
|
+
};
|
package/dist/browser/index.js
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
// src/content-generation.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var ContentGenerationFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "content-generation",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Content Generation",
|
|
8
|
+
description: "AI content generation for blog posts, landing pages, emails, and social media",
|
|
9
|
+
domain: "content",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["content", "ai", "generation"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
docs: [
|
|
15
|
+
"docs.examples.content-generation",
|
|
16
|
+
"docs.examples.content-generation.usage"
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
|
|
1
20
|
// src/docs/content-generation.docblock.ts
|
|
2
21
|
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
22
|
var blocks = [
|
|
@@ -118,5 +137,6 @@ async function runContentGenerationExample() {
|
|
|
118
137
|
}
|
|
119
138
|
export {
|
|
120
139
|
runContentGenerationExample,
|
|
121
|
-
example_default as example
|
|
140
|
+
example_default as example,
|
|
141
|
+
ContentGenerationFeature
|
|
122
142
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ContentGenerationFeature: import("@contractspec/lib.contracts-spec").FeatureModuleSpec;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/content-generation.feature.ts
|
|
3
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
var ContentGenerationFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "content-generation",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "Content Generation",
|
|
9
|
+
description: "AI content generation for blog posts, landing pages, emails, and social media",
|
|
10
|
+
domain: "content",
|
|
11
|
+
owners: ["@examples"],
|
|
12
|
+
tags: ["content", "ai", "generation"],
|
|
13
|
+
stability: "experimental"
|
|
14
|
+
},
|
|
15
|
+
docs: [
|
|
16
|
+
"docs.examples.content-generation",
|
|
17
|
+
"docs.examples.content-generation.usage"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
ContentGenerationFeature
|
|
22
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
// src/content-generation.feature.ts
|
|
3
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
+
var ContentGenerationFeature = defineFeature({
|
|
5
|
+
meta: {
|
|
6
|
+
key: "content-generation",
|
|
7
|
+
version: "1.0.0",
|
|
8
|
+
title: "Content Generation",
|
|
9
|
+
description: "AI content generation for blog posts, landing pages, emails, and social media",
|
|
10
|
+
domain: "content",
|
|
11
|
+
owners: ["@examples"],
|
|
12
|
+
tags: ["content", "ai", "generation"],
|
|
13
|
+
stability: "experimental"
|
|
14
|
+
},
|
|
15
|
+
docs: [
|
|
16
|
+
"docs.examples.content-generation",
|
|
17
|
+
"docs.examples.content-generation.usage"
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
|
|
2
21
|
// src/docs/content-generation.docblock.ts
|
|
3
22
|
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
4
23
|
var blocks = [
|
|
@@ -119,5 +138,6 @@ async function runContentGenerationExample() {
|
|
|
119
138
|
}
|
|
120
139
|
export {
|
|
121
140
|
runContentGenerationExample,
|
|
122
|
-
example_default as example
|
|
141
|
+
example_default as example,
|
|
142
|
+
ContentGenerationFeature
|
|
123
143
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/content-generation.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var ContentGenerationFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "content-generation",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Content Generation",
|
|
8
|
+
description: "AI content generation for blog posts, landing pages, emails, and social media",
|
|
9
|
+
domain: "content",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["content", "ai", "generation"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
docs: [
|
|
15
|
+
"docs.examples.content-generation",
|
|
16
|
+
"docs.examples.content-generation.usage"
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
ContentGenerationFeature
|
|
21
|
+
};
|
package/dist/node/index.js
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
// src/content-generation.feature.ts
|
|
2
|
+
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
3
|
+
var ContentGenerationFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: "content-generation",
|
|
6
|
+
version: "1.0.0",
|
|
7
|
+
title: "Content Generation",
|
|
8
|
+
description: "AI content generation for blog posts, landing pages, emails, and social media",
|
|
9
|
+
domain: "content",
|
|
10
|
+
owners: ["@examples"],
|
|
11
|
+
tags: ["content", "ai", "generation"],
|
|
12
|
+
stability: "experimental"
|
|
13
|
+
},
|
|
14
|
+
docs: [
|
|
15
|
+
"docs.examples.content-generation",
|
|
16
|
+
"docs.examples.content-generation.usage"
|
|
17
|
+
]
|
|
18
|
+
});
|
|
19
|
+
|
|
1
20
|
// src/docs/content-generation.docblock.ts
|
|
2
21
|
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
22
|
var blocks = [
|
|
@@ -118,5 +137,6 @@ async function runContentGenerationExample() {
|
|
|
118
137
|
}
|
|
119
138
|
export {
|
|
120
139
|
runContentGenerationExample,
|
|
121
|
-
example_default as example
|
|
140
|
+
example_default as example,
|
|
141
|
+
ContentGenerationFeature
|
|
122
142
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.content-generation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Content generation example using @contractspec/lib.content-gen.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
"browser": "./dist/browser/index.js",
|
|
13
13
|
"default": "./dist/index.js"
|
|
14
14
|
},
|
|
15
|
+
"./content-generation.feature": {
|
|
16
|
+
"types": "./dist/content-generation.feature.d.ts",
|
|
17
|
+
"bun": "./dist/content-generation.feature.js",
|
|
18
|
+
"node": "./dist/node/content-generation.feature.js",
|
|
19
|
+
"browser": "./dist/browser/content-generation.feature.js",
|
|
20
|
+
"default": "./dist/content-generation.feature.js"
|
|
21
|
+
},
|
|
15
22
|
"./docs": {
|
|
16
23
|
"types": "./dist/docs/index.d.ts",
|
|
17
24
|
"bun": "./dist/docs/index.js",
|
|
@@ -64,14 +71,14 @@
|
|
|
64
71
|
"typecheck": "tsc --noEmit"
|
|
65
72
|
},
|
|
66
73
|
"dependencies": {
|
|
67
|
-
"@contractspec/lib.contracts-spec": "3.
|
|
68
|
-
"@contractspec/lib.content-gen": "3.
|
|
69
|
-
"@contractspec/lib.logger": "3.
|
|
74
|
+
"@contractspec/lib.contracts-spec": "3.3.0",
|
|
75
|
+
"@contractspec/lib.content-gen": "3.3.0",
|
|
76
|
+
"@contractspec/lib.logger": "3.3.0"
|
|
70
77
|
},
|
|
71
78
|
"devDependencies": {
|
|
72
|
-
"@contractspec/tool.typescript": "3.
|
|
79
|
+
"@contractspec/tool.typescript": "3.3.0",
|
|
73
80
|
"typescript": "^5.9.3",
|
|
74
|
-
"@contractspec/tool.bun": "3.
|
|
81
|
+
"@contractspec/tool.bun": "3.3.0"
|
|
75
82
|
},
|
|
76
83
|
"publishConfig": {
|
|
77
84
|
"access": "public",
|
|
@@ -83,6 +90,13 @@
|
|
|
83
90
|
"browser": "./dist/browser/index.js",
|
|
84
91
|
"default": "./dist/index.js"
|
|
85
92
|
},
|
|
93
|
+
"./content-generation.feature": {
|
|
94
|
+
"types": "./dist/content-generation.feature.d.ts",
|
|
95
|
+
"bun": "./dist/content-generation.feature.js",
|
|
96
|
+
"node": "./dist/node/content-generation.feature.js",
|
|
97
|
+
"browser": "./dist/browser/content-generation.feature.js",
|
|
98
|
+
"default": "./dist/content-generation.feature.js"
|
|
99
|
+
},
|
|
86
100
|
"./docs": {
|
|
87
101
|
"types": "./dist/docs/index.d.ts",
|
|
88
102
|
"bun": "./dist/docs/index.js",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineFeature } from '@contractspec/lib.contracts-spec';
|
|
2
|
+
|
|
3
|
+
export const ContentGenerationFeature = defineFeature({
|
|
4
|
+
meta: {
|
|
5
|
+
key: 'content-generation',
|
|
6
|
+
version: '1.0.0',
|
|
7
|
+
title: 'Content Generation',
|
|
8
|
+
description:
|
|
9
|
+
'AI content generation for blog posts, landing pages, emails, and social media',
|
|
10
|
+
domain: 'content',
|
|
11
|
+
owners: ['@examples'],
|
|
12
|
+
tags: ['content', 'ai', 'generation'],
|
|
13
|
+
stability: 'experimental',
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
docs: [
|
|
17
|
+
'docs.examples.content-generation',
|
|
18
|
+
'docs.examples.content-generation.usage',
|
|
19
|
+
],
|
|
20
|
+
});
|
package/src/index.ts
CHANGED