@imgly/plugin-background-removal-web 1.1.0-rc.0 → 1.2.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/dist/plugin.d.ts CHANGED
@@ -6,5 +6,5 @@ export interface PluginConfiguration {
6
6
  ui?: UserInterfaceConfiguration;
7
7
  provider?: BackgroundRemovalProvider;
8
8
  }
9
- declare const _default: (pluginConfiguration?: PluginConfiguration) => Omit<EditorPlugin, 'name' | 'version'>;
9
+ declare const _default: (pluginConfiguration?: PluginConfiguration) => Omit<EditorPlugin, "name" | "version">;
10
10
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imgly/plugin-background-removal-web",
3
- "version": "1.1.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "description": "Background Removal plugin for the CE.SDK editor",
5
5
  "keywords": [
6
6
  "CE.SDK",
@@ -44,36 +44,44 @@
44
44
  ],
45
45
  "scripts": {
46
46
  "start": "npm run watch",
47
- "clean": "npx rimraf dist",
48
- "purge": "npx rimraf node_modules",
49
- "build": "npm run clean && node scripts/build.mjs",
50
- "dev": "node scripts/watch.mjs",
51
- "dev:wait": "npx wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
47
+ "clean": "pnpm exec rimraf dist",
48
+ "purge": "pnpm exec rimraf node_modules",
49
+ "build": "pnpm run clean && pnpm _syncPnpm && pnpm exec node scripts/build.mjs",
50
+ "test": "echo No tests",
51
+ "dev": "pnpm exec concurrently 'node scripts/watch.mjs' 'pnpm _syncPnpm --watch' --names 'build,sync deps'",
52
+ "dev:wait": "pnpm exec wait-on ./dist/index.mjs ./dist/index.d.ts --window 250 --timeout 60000",
52
53
  "dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
53
- "publish:latest": "npm run build && npm publish --tag latest --access public",
54
- "publish:next": "npm run build && npm publish --tag next --access public",
55
- "check:all": "concurrently -n lint,type,pretty \"yarn check:lint\" \"yarn check:types\" \"yarn check:pretty\"",
54
+ "publish:latest": "pnpm run build && npm publish --tag latest --access public",
55
+ "publish:next": "pnpm run build && npm publish --tag next --access public",
56
+ "check:all": "concurrently -n lint,type,pretty \"pnpm run check:lint\" \"pnpm run check:types\" \"pnpm run check:pretty\"",
56
57
  "check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
57
58
  "check:pretty": "prettier --list-different './src/**/*.{ts,tsx}'",
58
59
  "check:types": "tsc --noEmit",
59
- "types:create": "tsc --emitDeclarationOnly"
60
+ "types:create": "tsc --emitDeclarationOnly",
61
+ "_syncPnpm": "pnpm sync-dependencies-meta-injected"
60
62
  },
61
63
  "devDependencies": {
62
- "@imgly/plugin-utils": "*",
64
+ "@cesdk/cesdk-js": "~1.32.0",
65
+ "@imgly/plugin-utils": "workspace:*",
63
66
  "@types/lodash-es": "^4.17.12",
64
67
  "@types/ndarray": "^1.0.14",
65
- "chalk": "^5.3.0",
68
+ "chalk": "^5.4.1",
66
69
  "concurrently": "^8.2.2",
67
- "esbuild": "^0.19.11",
68
- "eslint": "^8.51.0",
70
+ "esbuild": "^0.19.12",
71
+ "eslint": "^8.57.1",
69
72
  "lodash-es": "^4.17.21",
70
- "typescript": "^5.3.3"
73
+ "typescript": "^5.7.3"
74
+ },
75
+ "dependenciesMeta": {
76
+ "@imgly/plugin-utils": {
77
+ "injected": true
78
+ }
71
79
  },
72
80
  "peerDependencies": {
73
81
  "@cesdk/cesdk-js": "^1.32.0",
74
- "onnxruntime-web": "1.21.0-dev.20250114-228dd16893"
82
+ "onnxruntime-web": "1.21.0"
75
83
  },
76
84
  "dependencies": {
77
- "@imgly/background-removal": "1.6.0-rc.0"
85
+ "@imgly/background-removal": "1.7.0"
78
86
  }
79
87
  }