@flemist/mcp-project-tools 4.0.1 → 4.0.3

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.
@@ -60,6 +60,18 @@
60
60
  "items": { "$ref": "#/definitions/commandLineRule" },
61
61
  "description": "Rules processed in order for command line validation. Later rules override earlier ones"
62
62
  },
63
+ "env": {
64
+ "type": ["object", "null"],
65
+ "additionalProperties": {
66
+ "type": ["string", "null"]
67
+ },
68
+ "description": "Environment variables for spawned processes. String value adds/overrides, null value deletes the variable"
69
+ },
70
+ "envCleanup": {
71
+ "type": ["string", "null"],
72
+ "enum": ["clear", "replaceServerPaths", "deleteServerPaths", null],
73
+ "description": "Cleanup env before applying project env: 'clear' starts with empty env, 'replaceServerPaths' replaces server paths with project paths, 'deleteServerPaths' removes vars containing server paths, null inherits server env"
74
+ },
63
75
  "run": {
64
76
  "type": ["boolean", "null"],
65
77
  "default": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flemist/mcp-project-tools",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "MCP project tools",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,6 +10,7 @@
10
10
  "mcp-project-tools": "build/cli.js"
11
11
  },
12
12
  "type": "module",
13
+ "packageManager": "pnpm@10.18.3",
13
14
  "engines": {
14
15
  "node": ">=20"
15
16
  },
@@ -21,6 +22,35 @@
21
22
  "stylelint --fix --allow-empty-input"
22
23
  ]
23
24
  },
25
+ "scripts": {
26
+ "========================= install =========================": "",
27
+ "prepare": "node .husky/install.mjs",
28
+ "_prepublishOnly": "pnpm build && pnpm test:unit && npm login",
29
+ "publish:check": "pnpm pack",
30
+ "========================= deploy =========================": "",
31
+ "build": "vite build",
32
+ "build:portable": "vite build && shx cp static/** build && shx cp package.json build && cd build && pnpm install --prod --shamefully-hoist --node-linker=hoisted --ignore-scripts && cd ..",
33
+ "========================= start =========================": "",
34
+ "dev": "tsx src/cli.ts",
35
+ "preview": "node build",
36
+ "========================= lint =========================": "",
37
+ "audit": "pnpm audit --prod",
38
+ "lint:es": "eslint --config eslint.config.mjs .",
39
+ "lint:es:fix": "eslint --config eslint.config.mjs --fix .",
40
+ "lint": "run-p lint:es",
41
+ "lint:fix": "run-s lint:es:fix",
42
+ "lint-staged": "lint-staged",
43
+ "========================= test =========================": "",
44
+ "test": "run-s test:unit test:api test:e2e",
45
+ "test:e2e": "vitest --run --bail 3 .e2e.",
46
+ "test:api": "vitest --run --bail 3 .api.",
47
+ "test:unit": "vitest --run --bail 3 .test.",
48
+ "test:types": "tsc --noEmit",
49
+ "========================= dev =========================": "",
50
+ "kill-node": "taskkill /F /IM node.exe",
51
+ "kill-java": "taskkill /F /IM java.exe",
52
+ "kill-chrome": "taskkill /F /IM chrome.exe"
53
+ },
24
54
  "repository": {
25
55
  "type": "git",
26
56
  "url": "git+https://github.com/NikolayMakhonin/mcp-project.git"
@@ -87,32 +117,5 @@
87
117
  "playwright": "^1.54.1",
88
118
  "tree-kill": "1.2.2",
89
119
  "zod": "3.25.74"
90
- },
91
- "scripts": {
92
- "========================= install =========================": "",
93
- "publish:check": "pnpm pack",
94
- "========================= deploy =========================": "",
95
- "build": "vite build",
96
- "build:portable": "vite build && shx cp static/** build && shx cp package.json build && cd build && pnpm install --prod --shamefully-hoist --node-linker=hoisted --ignore-scripts && cd ..",
97
- "========================= start =========================": "",
98
- "dev": "tsx src/cli.ts",
99
- "preview": "node build",
100
- "========================= lint =========================": "",
101
- "audit": "pnpm audit --prod",
102
- "lint:es": "eslint --config eslint.config.mjs .",
103
- "lint:es:fix": "eslint --config eslint.config.mjs --fix .",
104
- "lint": "run-p lint:es",
105
- "lint:fix": "run-s lint:es:fix",
106
- "lint-staged": "lint-staged",
107
- "========================= test =========================": "",
108
- "test": "run-s test:unit test:api test:e2e",
109
- "test:e2e": "vitest --run --bail 3 .e2e.",
110
- "test:api": "vitest --run --bail 3 .api.",
111
- "test:unit": "vitest --run --bail 3 .test.",
112
- "test:types": "tsc --noEmit",
113
- "========================= dev =========================": "",
114
- "kill-node": "taskkill /F /IM node.exe",
115
- "kill-java": "taskkill /F /IM java.exe",
116
- "kill-chrome": "taskkill /F /IM chrome.exe"
117
120
  }
118
- }
121
+ }