@contractspec/example.content-generation 3.2.0 → 3.4.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 +36 -32
- package/.turbo/turbo-prebuild.log +2 -1
- package/CHANGELOG.md +27 -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
|
@@ -1,32 +1,36 @@
|
|
|
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
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
3
|
+
[0m[2m[35m$[0m [2m[1mbun run prebuild && bun run build:bundle && bun run build:types[0m
|
|
4
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
|
5
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build transpile[0m
|
|
6
|
+
[contractspec-bun-build] transpile target=bun root=src entries=6
|
|
7
|
+
[32mBundled 6 modules in 9ms[0m
|
|
8
|
+
|
|
9
|
+
[34m./content-generation.feature.js[0m 0.62 KB [2m(entry point)[0m
|
|
10
|
+
[34m./index.js[0m 4.65 KB [2m(entry point)[0m
|
|
11
|
+
[34mdocs/index.js[0m 1.37 KB [2m(entry point)[0m
|
|
12
|
+
[34mdocs/content-generation.docblock.js[0m 1.37 KB [2m(entry point)[0m
|
|
13
|
+
[34m./example.js[0m 0.99 KB [2m(entry point)[0m
|
|
14
|
+
[34m./generate.js[0m 1.72 KB [2m(entry point)[0m
|
|
15
|
+
|
|
16
|
+
[contractspec-bun-build] transpile target=node root=src entries=6
|
|
17
|
+
[32mBundled 6 modules in 9ms[0m
|
|
18
|
+
|
|
19
|
+
[34m./content-generation.feature.js[0m 0.61 KB [2m(entry point)[0m
|
|
20
|
+
[34m./index.js[0m 4.63 KB [2m(entry point)[0m
|
|
21
|
+
[34mdocs/index.js[0m 1.35 KB [2m(entry point)[0m
|
|
22
|
+
[34mdocs/content-generation.docblock.js[0m 1.35 KB [2m(entry point)[0m
|
|
23
|
+
[34m./example.js[0m 0.98 KB [2m(entry point)[0m
|
|
24
|
+
[34m./generate.js[0m 1.71 KB [2m(entry point)[0m
|
|
25
|
+
|
|
26
|
+
[contractspec-bun-build] transpile target=browser root=src entries=6
|
|
27
|
+
[32mBundled 6 modules in 6ms[0m
|
|
28
|
+
|
|
29
|
+
[34m./content-generation.feature.js[0m 0.61 KB [2m(entry point)[0m
|
|
30
|
+
[34m./index.js[0m 4.63 KB [2m(entry point)[0m
|
|
31
|
+
[34mdocs/index.js[0m 1.35 KB [2m(entry point)[0m
|
|
32
|
+
[34mdocs/content-generation.docblock.js[0m 1.35 KB [2m(entry point)[0m
|
|
33
|
+
[34m./example.js[0m 0.98 KB [2m(entry point)[0m
|
|
34
|
+
[34m./generate.js[0m 1.71 KB [2m(entry point)[0m
|
|
35
|
+
|
|
36
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build types[0m
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mcontractspec-bun-build prebuild[0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @contractspec/example.content-generation
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0ee467a: feat: improve ai and customization
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [0ee467a]
|
|
12
|
+
- Updated dependencies [56ee8e6]
|
|
13
|
+
- @contractspec/lib.contracts-spec@3.4.0
|
|
14
|
+
- @contractspec/lib.content-gen@3.4.0
|
|
15
|
+
- @contractspec/lib.logger@3.4.0
|
|
16
|
+
|
|
17
|
+
## 3.3.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 890a0da: fix: stability improvements
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [890a0da]
|
|
26
|
+
- @contractspec/lib.contracts-spec@3.3.0
|
|
27
|
+
- @contractspec/lib.content-gen@3.3.0
|
|
28
|
+
- @contractspec/lib.logger@3.3.0
|
|
29
|
+
|
|
3
30
|
## 3.2.0
|
|
4
31
|
|
|
5
32
|
### Minor 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.4.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.4.0",
|
|
75
|
+
"@contractspec/lib.content-gen": "3.4.0",
|
|
76
|
+
"@contractspec/lib.logger": "3.4.0"
|
|
70
77
|
},
|
|
71
78
|
"devDependencies": {
|
|
72
|
-
"@contractspec/tool.typescript": "3.
|
|
79
|
+
"@contractspec/tool.typescript": "3.4.0",
|
|
73
80
|
"typescript": "^5.9.3",
|
|
74
|
-
"@contractspec/tool.bun": "3.
|
|
81
|
+
"@contractspec/tool.bun": "3.4.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