mirror of
https://github.com/penpot/penpot-mcp.git
synced 2026-04-25 03:08:19 +00:00
Move prettier configuration to top level
This commit is contained in:
parent
0b9404e2a2
commit
8a6848a663
4
.prettierignore
Normal file
4
.prettierignore
Normal file
@ -0,0 +1,4 @@
|
||||
*.md
|
||||
*.yml
|
||||
*.json
|
||||
python-scripts/
|
||||
3
common/package-lock.json
generated
3
common/package-lock.json
generated
@ -19,6 +19,9 @@
|
||||
"dependencies": {
|
||||
"concurrently": "^8.2.2",
|
||||
"kill-port": "^2.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/penpot-mcp": {
|
||||
|
||||
@ -1 +1 @@
|
||||
export * from './types';
|
||||
export * from "./types";
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Result of a plugin task execution.
|
||||
*
|
||||
*
|
||||
* Contains the outcome status of a task and any additional result data.
|
||||
*/
|
||||
export interface PluginTaskResult<T> {
|
||||
@ -12,7 +12,7 @@ export interface PluginTaskResult<T> {
|
||||
|
||||
/**
|
||||
* Request message sent from server to plugin.
|
||||
*
|
||||
*
|
||||
* Contains a unique identifier, task name, and parameters for execution.
|
||||
*/
|
||||
export interface PluginTaskRequest {
|
||||
@ -20,12 +20,12 @@ export interface PluginTaskRequest {
|
||||
* Unique identifier for request/response correlation.
|
||||
*/
|
||||
id: string;
|
||||
|
||||
|
||||
/**
|
||||
* The name of the task to execute.
|
||||
*/
|
||||
task: string;
|
||||
|
||||
|
||||
/**
|
||||
* The parameters for task execution.
|
||||
*/
|
||||
@ -34,7 +34,7 @@ export interface PluginTaskRequest {
|
||||
|
||||
/**
|
||||
* Response message sent from plugin back to server.
|
||||
*
|
||||
*
|
||||
* Contains the original request ID and the execution result.
|
||||
*/
|
||||
export interface PluginTaskResponse<T> {
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
*.md
|
||||
*.yml
|
||||
|
||||
20
mcp-server/package-lock.json
generated
20
mcp-server/package-lock.json
generated
@ -27,7 +27,6 @@
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/ws": "^8.5.10",
|
||||
"esbuild": "^0.19.0",
|
||||
"prettier": "^3.0.0",
|
||||
"ts-node": "^10.9.0",
|
||||
"typescript": "^5.0.0"
|
||||
}
|
||||
@ -37,6 +36,9 @@
|
||||
"dependencies": {
|
||||
"concurrently": "^8.2.2",
|
||||
"kill-port": "^2.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"../common": {
|
||||
@ -1934,22 +1936,6 @@
|
||||
"node": ">=16.20.0"
|
||||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "3.6.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
|
||||
"integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"prettier": "bin/prettier.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/process-warning": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/process-warning/-/process-warning-5.0.0.tgz",
|
||||
|
||||
@ -10,9 +10,7 @@
|
||||
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
||||
"build:full": "npm run build && npm run build:types",
|
||||
"start": "node dist/index.js",
|
||||
"dev": "node --loader ts-node/esm src/index.ts",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check ."
|
||||
"dev": "node --loader ts-node/esm src/index.ts"
|
||||
},
|
||||
"keywords": [
|
||||
"mcp",
|
||||
@ -40,7 +38,6 @@
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/ws": "^8.5.10",
|
||||
"esbuild": "^0.19.0",
|
||||
"prettier": "^3.0.0",
|
||||
"ts-node": "^10.9.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
||||
@ -6,7 +6,8 @@
|
||||
"install:all": "concurrently --names \"COMMON,MCP-SERVER,PLUGIN\" --prefix-colors \"green,cyan,magenta\" \"npm --prefix common install\" \"npm --prefix mcp-server install\" \"npm --prefix penpot-plugin install\"",
|
||||
"build:all": "concurrently --names \"COMMON,MCP-SERVER,PLUGIN\" --prefix-colors \"green,cyan,magenta\" --success first \"npm --prefix common install && npm --prefix common run build\" \"npm --prefix mcp-server run build\" \"npm --prefix penpot-plugin run build\"",
|
||||
"start:all": "concurrently --names \"MCP-SERVER,PLUGIN-SERVER\" --prefix-colors \"cyan,magenta\" --kill-others-on-fail \"npm --prefix mcp-server start\" \"npm --prefix penpot-plugin run dev\"",
|
||||
"bootstrap": "npm run install:all && npm run build:all && npm run start:all"
|
||||
"bootstrap": "npm run install:all && npm run build:all && npm run start:all",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -16,5 +17,8 @@
|
||||
"dependencies": {
|
||||
"concurrently": "^8.2.2",
|
||||
"kill-port": "^2.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1 +0,0 @@
|
||||
*.md
|
||||
@ -1,12 +0,0 @@
|
||||
{
|
||||
"tabWidth": 4,
|
||||
"useTabs": false,
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"quoteProps": "as-needed",
|
||||
"trailingComma": "es5",
|
||||
"bracketSpacing": true,
|
||||
"arrowParens": "always",
|
||||
"printWidth": 120,
|
||||
"endOfLine": "auto"
|
||||
}
|
||||
20
penpot-plugin/package-lock.json
generated
20
penpot-plugin/package-lock.json
generated
@ -14,7 +14,6 @@
|
||||
"penpot-mcp": "file:.."
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.8.3",
|
||||
"vite": "^7.0.5",
|
||||
"vite-live-preview": "^0.3.2"
|
||||
@ -25,6 +24,9 @@
|
||||
"dependencies": {
|
||||
"concurrently": "^8.2.2",
|
||||
"kill-port": "^2.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"../common": {
|
||||
@ -998,22 +1000,6 @@
|
||||
"node": "^10 || ^12 || >=14"
|
||||
}
|
||||
},
|
||||
"node_modules/prettier": {
|
||||
"version": "3.6.2",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
|
||||
"integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"prettier": "bin/prettier.cjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/prettier/prettier?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/rollup": {
|
||||
"version": "4.45.1",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.45.1.tgz",
|
||||
|
||||
@ -5,9 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite build --watch",
|
||||
"build": "tsc && vite build",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check ."
|
||||
"build": "tsc && vite build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@penpot-mcp/common": "file:../common",
|
||||
@ -16,7 +14,6 @@
|
||||
"penpot-mcp": "file:.."
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.8.3",
|
||||
"vite": "^7.0.5",
|
||||
"vite-live-preview": "^0.3.2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user