diff --git a/plugins/apps/create-palette-plugin/package.json b/plugins/apps/create-palette-plugin/package.json index f5ffe20460..919d3035fc 100644 --- a/plugins/apps/create-palette-plugin/package.json +++ b/plugins/apps/create-palette-plugin/package.json @@ -5,10 +5,10 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build", - "build:watch": "vite build --watch --mode development", - "preview": "vite preview", - "init": "concurrently --kill-others --names build,serve \"pnpm run build:watch\" \"pnpm run preview\"", + "build": "vite build --emptyOutDir", + "watch": "vite build --watch --mode development", + "serve": "vite preview", + "init": "concurrently --kill-others --names build,serve \"pnpm run watch\" \"pnpm run serve\"", "lint": "eslint .", "test": "vitest" } diff --git a/plugins/apps/create-palette-plugin/public/manifest.json b/plugins/apps/create-palette-plugin/public/manifest.json new file mode 100644 index 0000000000..7bdf225a83 --- /dev/null +++ b/plugins/apps/create-palette-plugin/public/manifest.json @@ -0,0 +1,8 @@ +{ + "name": "Create Palette from library", + "description": "Create a board with all the colors in the local library", + "code": "plugin.js", + "version": 2, + "icon": "assets/icon.png", + "permissions": ["content:read", "content:write", "library:read"] +} diff --git a/plugins/apps/create-palette-plugin/vite.config.ts b/plugins/apps/create-palette-plugin/vite.config.ts index 28b4810798..3cf63d955b 100644 --- a/plugins/apps/create-palette-plugin/vite.config.ts +++ b/plugins/apps/create-palette-plugin/vite.config.ts @@ -5,12 +5,11 @@ import tsconfigPaths from 'vite-tsconfig-paths'; export default defineConfig({ root: __dirname, server: { - port: 4305, + port: 4202, host: '0.0.0.0', }, - preview: { - port: 4305, + port: 4202, host: '0.0.0.0', }, plugins: [tsconfigPaths()],