@imgly/plugin-ai-generation-web 0.2.7 → 0.2.9

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.
@@ -19,14 +19,7 @@ export interface DisposableGenerationResult<O extends Output> {
19
19
  */
20
20
  export type Middleware<I, O extends Output> = (input: I, options: GenerationOptions & {
21
21
  /**
22
- * The block ids the generation is applied on
23
- * If this value is undefined, the selected blocks will be used.
24
- * Setting this value to null will explicitly tell every
25
- * middleware that no block shall be used.
26
- */
27
- blockIds?: number[] | null;
28
- /**
29
- * Adds a disposer function to this genereation which is called
22
+ * Adds a disposer function to this generation which is called
30
23
  * when the generation is cancelled or completely finished
31
24
  * including the confirmation of the generation if applicable.
32
25
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imgly/plugin-ai-generation-web",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "AI generation plugin for the CE.SDK editor",
5
5
  "keywords": [
6
6
  "CE.SDK",
@@ -42,20 +42,20 @@
42
42
  "start": "pnpm run watch",
43
43
  "clean": "pnpm exec rimraf dist",
44
44
  "purge": "pnpm exec rimraf node_modules",
45
- "build": "pnpm run clean && pnpm _syncPnpm && pnpm exec node scripts/build.mjs",
45
+ "build": "pnpm run clean && pnpm exec node scripts/build.mjs",
46
46
  "publish:latest": "pnpm run build && npm publish --tag latest --access public",
47
47
  "publish:next": "pnpm run build && npm publish --tag next --access public",
48
48
  "test": "jest",
49
49
  "test:watch": "jest --watch",
50
50
  "test:coverage": "jest --coverage",
51
- "dev": "pnpm --filter \"${npm_package_name}^...\" --parallel run dev:wait && node scripts/watch.mjs",
52
- "dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --window 250 --timeout 60000",
51
+ "dev": "SKIP_DTS=true node scripts/watch.mjs",
52
+ "dev:wait": "node ../../scripts/dev-wait.mjs",
53
+ "dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput --incremental",
53
54
  "check:all": "concurrently -n lint,type,pretty \"pnpm run check:lint\" \"pnpm run check:types\" \"pnpm run check:pretty\"",
54
55
  "check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
55
56
  "check:pretty": "prettier --list-different './src/**/*.{ts,tsx}'",
56
57
  "check:types": "tsc --noEmit",
57
- "types:create": "tsc --emitDeclarationOnly",
58
- "_syncPnpm": "pnpm sync-dependencies-meta-injected"
58
+ "types:create": "tsc --emitDeclarationOnly"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@imgly/plugin-utils": "workspace:*",
@@ -67,11 +67,6 @@
67
67
  "ts-jest": "^29.1.2",
68
68
  "ts-node": "^10.9.2"
69
69
  },
70
- "dependenciesMeta": {
71
- "@imgly/plugin-utils": {
72
- "injected": true
73
- }
74
- },
75
70
  "peerDependencies": {
76
71
  "@cesdk/cesdk-js": "^1.49.1"
77
72
  }