@devshop/crew 0.8.0 → 0.8.1

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
@@ -1,3 +1,10 @@
1
+ ## [0.8.1](https://github.com/devshop-software/crew/compare/v0.8.0...v0.8.1) (2026-04-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * don't rewrite users' version range on self-update ([a85a3c3](https://github.com/devshop-software/crew/commit/a85a3c38485f9613bb5a3f679dff08d472601568))
7
+
1
8
  # [0.8.0](https://github.com/devshop-software/crew/compare/v0.7.0...v0.8.0) (2026-04-30)
2
9
 
3
10
 
package/README.md CHANGED
@@ -19,7 +19,7 @@ pnpm exec crew init
19
19
 
20
20
  To pull newer skill content later, run `pnpm exec crew update`. The flow:
21
21
 
22
- 1. Auto-detects the package manager (pnpm / npm / yarn / bun) from your lockfile and runs `<pm> update @devshop/crew --latest` to bump the package.
22
+ 1. Auto-detects the package manager (pnpm / npm / yarn / bun) from your lockfile and runs `<pm> update @devshop/crew` to bump the package within the range you've pinned in `package.json`. To always pull the absolute newest (including across major versions), set the range to `"latest"`; for "any 0.x" use `"0.x"`.
23
23
  2. Re-execs the freshly-installed CLI.
24
24
  3. Computes the diff and prints a plan: which skills will be added, updated, replaced (had local edits), or removed (no longer in the package).
25
25
  4. Prompts `Apply these changes? [Y/n]`. Default Y. Press `n` to abort with no writes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devshop/crew",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Project-agnostic Claude Code skills for spec → implement → qa → review → ship",
5
5
  "bin": {
6
6
  "crew": "scripts/cli.js"
@@ -38,11 +38,16 @@ function isLocalDep(projectRoot) {
38
38
  } catch { return false; }
39
39
  }
40
40
 
41
+ // Range-respecting update so we don't rewrite the user's package.json
42
+ // version specifier. To always pull the absolute latest across majors,
43
+ // users can pin "@devshop/crew": "latest" in their package.json (a dist-tag,
44
+ // not a semver range — never gets rewritten); for "all 0.x but never 1.x"
45
+ // use "0.x". Any caret/tilde range will be honored as written.
41
46
  const UPDATE_ARGS = {
42
- pnpm: ['update', PACKAGE_NAME, '--latest'],
43
- npm: ['install', `${PACKAGE_NAME}@latest`],
44
- yarn: ['upgrade', PACKAGE_NAME, '--latest'],
45
- bun: ['update', PACKAGE_NAME, '--latest']
47
+ pnpm: ['update', PACKAGE_NAME],
48
+ npm: ['update', PACKAGE_NAME],
49
+ yarn: ['upgrade', PACKAGE_NAME],
50
+ bun: ['update', PACKAGE_NAME]
46
51
  };
47
52
 
48
53
  // Returns one of: