kanban-lite 1.2.18 → 1.2.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kanban-lite",
3
- "version": "1.2.18",
3
+ "version": "1.2.20",
4
4
  "description": "Kanban board manager - VSCode extension, CLI, MCP server, and standalone web app",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -128,9 +128,9 @@
128
128
  "publish:npm": "npm publish --ignore-scripts",
129
129
  "publish:marketplace": "vsce publish --no-dependencies && ovsx publish --no-dependencies",
130
130
  "publish:all": "pnpm run publish:npm && pnpm run publish:marketplace",
131
- "release": "npm version patch && pnpm run build && pnpm run package && pnpm run publish:all",
132
- "release:minor": "npm version minor && pnpm run build && pnpm run package && pnpm run publish:all",
133
- "release:major": "npm version major && pnpm run build && pnpm run package && pnpm run publish:all"
131
+ "release": "pnpm --dir ../.. run release",
132
+ "release:minor": "pnpm --dir ../.. run release:minor",
133
+ "release:major": "pnpm --dir ../.. run release:major"
134
134
  },
135
135
  "dependencies": {
136
136
  "kl-plugin-auth": "workspace:*",
@@ -7,9 +7,14 @@ import { defineConfig, type Plugin } from 'vite'
7
7
  // Spawn the standalone server from TS source when Vite starts in watch mode
8
8
  function standaloneServerPlugin(configFile: string, port = 2954): Plugin {
9
9
  let child: ChildProcess | null = null
10
+ let isWatchMode = false
10
11
  return {
11
12
  name: 'standalone-server',
13
+ buildStart() {
14
+ isWatchMode = this.meta.watchMode
15
+ },
12
16
  closeBundle() {
17
+ if (!isWatchMode) return // only spawn in watch/dev mode, not during plain build
13
18
  if (child) return // already running after first build
14
19
  child = spawn(
15
20
  'tsx',