@buffcore/cli 0.8.39 → 0.8.40

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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ One section per release (a git tag). **Upgrade notes** list anything that breaks
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## v0.8.40 (2026-12-01)
8
+
9
+ - **What 0.8.40 holds:** `ape add` and `ape remove` work in CI. No upgrade notes: nothing changes for an existing product.
10
+
11
+ - **Known issues:** those of 0.8.38.
12
+
13
+ - `ape add` and `ape remove` run `pnpm install --no-frozen-lockfile`. Both change `package.json`, so the lockfile must change too; where `CI` is set, pnpm refused with `ERR_PNPM_OUTDATED_LOCKFILE` and the add was put back.
14
+
7
15
  ## v0.8.39 (2026-11-30)
8
16
 
9
17
  - **What 0.8.39 holds:** a new example app, the one the tutorial makes, passes its first full prototype snapshot. No upgrade notes: nothing changes for an existing product.
@@ -73,11 +73,15 @@ async function tables(root, key, drop, owner) {
73
73
  await app.close();
74
74
  }
75
75
  }
76
- /** Keep the synchronous step shared with remove, while a child streams and captures pnpm's output. */
76
+ /**
77
+ * Keep the synchronous step shared with remove, while a child streams and captures pnpm's output.
78
+ * Add and remove change package.json, so the lockfile must change too, also where CI is set and pnpm
79
+ * would otherwise refuse (frozen lockfile).
80
+ */
77
81
  const INSTALL = `
78
82
  const { spawn } = require('node:child_process');
79
83
  const { writeSync } = require('node:fs');
80
- const child = spawn('pnpm install', { shell: true, stdio: ['inherit', 'pipe', 'pipe'] });
84
+ const child = spawn('pnpm install --no-frozen-lockfile', { shell: true, stdio: ['inherit', 'pipe', 'pipe'] });
81
85
  let tail = Buffer.alloc(0);
82
86
  const keep = (chunk) => { tail = Buffer.concat([tail, Buffer.from(chunk)]).subarray(-65536); };
83
87
  for (const [source, target] of [[child.stdout, process.stdout], [child.stderr, process.stderr]]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buffcore/cli",
3
- "version": "0.8.39",
3
+ "version": "0.8.40",
4
4
  "description": "The `ape` command: create, dev, migrate, seed, prototype, deploy and a local MCP server for coding agents.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "BuffApe",
@@ -45,20 +45,20 @@
45
45
  "playwright-core": "1.63.0",
46
46
  "yaml": "2.9.1",
47
47
  "zod": "4.6.5",
48
- "@buffcore/config": "0.8.39",
49
- "@buffcore/contracts": "0.8.39",
50
- "@buffcore/build-agent": "0.8.39",
51
- "@buffcore/i18n": "0.8.39",
52
- "@buffcore/server": "0.8.39",
53
- "@buffcore/db": "0.8.39",
54
- "@buffcore/storage": "0.8.39",
55
- "@buffcore/tokens": "0.8.39",
56
- "@buffcore/modules": "0.8.39"
48
+ "@buffcore/i18n": "0.8.40",
49
+ "@buffcore/build-agent": "0.8.40",
50
+ "@buffcore/config": "0.8.40",
51
+ "@buffcore/db": "0.8.40",
52
+ "@buffcore/storage": "0.8.40",
53
+ "@buffcore/server": "0.8.40",
54
+ "@buffcore/contracts": "0.8.40",
55
+ "@buffcore/tokens": "0.8.40",
56
+ "@buffcore/modules": "0.8.40"
57
57
  },
58
58
  "devDependencies": {
59
59
  "marked": "18.1.3",
60
60
  "tsx": "4.23.15",
61
- "@buffcore/admin-shell": "0.8.39"
61
+ "@buffcore/admin-shell": "0.8.40"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "node ../../scripts/build-package.mjs && node scripts/bundle.mjs",