@imgly/plugin-ai-text-generation-web 0.2.6 → 0.2.8
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/CHANGELOG.md +29 -0
- package/README.md +24 -6
- package/dist/.tsbuildinfo +1 -0
- package/dist/anthropic/index.mjs +16 -24
- package/dist/anthropic/index.mjs.map +4 -4
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +25 -48
- package/dist/index.mjs.map +4 -4
- package/dist/open-ai/index.mjs +21 -29
- package/dist/open-ai/index.mjs.map +4 -4
- package/package.json +8 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imgly/plugin-ai-text-generation-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "AI text generation plugin for the CE.SDK editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CE.SDK",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"start": "npm run watch",
|
|
52
52
|
"clean": "pnpm exec rimraf dist",
|
|
53
53
|
"purge": "pnpm exec rimraf node_modules",
|
|
54
|
-
"build": "pnpm run clean && pnpm
|
|
54
|
+
"build": "pnpm run clean && pnpm exec node scripts/build.mjs",
|
|
55
55
|
"test": "echo No tests",
|
|
56
|
-
"dev": "
|
|
57
|
-
"dev:wait": "
|
|
56
|
+
"dev": "SKIP_DTS=true node scripts/watch.mjs",
|
|
57
|
+
"dev:wait": "node ../../scripts/dev-wait.mjs",
|
|
58
58
|
"dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
|
|
59
59
|
"publish:latest": "pnpm run build && npm publish --tag latest --access public",
|
|
60
60
|
"publish:next": "pnpm run build && npm publish --tag next --access public",
|
|
@@ -62,11 +62,13 @@
|
|
|
62
62
|
"check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
|
|
63
63
|
"check:pretty": "prettier --list-different './src/**/*.{ts,tsx}'",
|
|
64
64
|
"check:types": "tsc --noEmit",
|
|
65
|
-
"types:create": "tsc --emitDeclarationOnly"
|
|
66
|
-
"_syncPnpm": "pnpm sync-dependencies-meta-injected"
|
|
65
|
+
"types:create": "tsc --emitDeclarationOnly"
|
|
67
66
|
},
|
|
67
|
+
"dependencies": {},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@imgly/plugin-ai-generation-web": "workspace:*",
|
|
70
|
+
"@anthropic-ai/sdk": "^0.39.0",
|
|
71
|
+
"openai": "^4.68.4",
|
|
70
72
|
"@imgly/plugin-utils": "workspace:*",
|
|
71
73
|
"@types/jest": "^30.0.0",
|
|
72
74
|
"@types/ndarray": "^1.0.14",
|
|
@@ -78,19 +80,7 @@
|
|
|
78
80
|
"openapi-types": "^12.1.3",
|
|
79
81
|
"typescript": "^5.3.3"
|
|
80
82
|
},
|
|
81
|
-
"dependenciesMeta": {
|
|
82
|
-
"@imgly/plugin-utils": {
|
|
83
|
-
"injected": true
|
|
84
|
-
},
|
|
85
|
-
"@imgly/plugin-ai-generation-web": {
|
|
86
|
-
"injected": true
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
83
|
"peerDependencies": {
|
|
90
84
|
"@cesdk/cesdk-js": "^1.49.1"
|
|
91
|
-
},
|
|
92
|
-
"dependencies": {
|
|
93
|
-
"@anthropic-ai/sdk": "^0.39.0",
|
|
94
|
-
"openai": "^4.68.4"
|
|
95
85
|
}
|
|
96
86
|
}
|