@volter/world 3.0.126 → 3.0.128

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": "@volter/world",
3
- "version": "3.0.126",
3
+ "version": "3.0.128",
4
4
  "description": "Run your app against a world of twins. `World` and `Repo` — one method per verb: init, up, run, log, diff, reset, branch, checkout, clone, fetch, changeset, push — and the `volter` command, one client of them.",
5
5
  "keywords": [
6
6
  "volter",
@@ -30,12 +30,12 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@modelcontextprotocol/sdk": "^1.30.1",
33
- "@volter/world-core": "3.0.126",
34
- "@volter/world-runtime": "3.0.126",
33
+ "@volter/world-core": "3.0.128",
34
+ "@volter/world-runtime": "3.0.128",
35
35
  "zod": "^4.6.5"
36
36
  },
37
37
  "peerDependencies": {
38
- "@volter/world-console": "3.0.121"
38
+ "@volter/world-console": "3.0.123"
39
39
  },
40
40
  "peerDependenciesMeta": {
41
41
  "@volter/world-console": {
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  "devDependencies": {
46
- "@volter/world-console": "3.0.121"
46
+ "@volter/world-console": "3.0.123"
47
47
  },
48
48
  "bin": {
49
49
  "volter": "dist/src/cli.js"
@@ -115,7 +115,12 @@ export function tutorialApp(name: string, registry: { env: Record<string, string
115
115
  mkdirSync(dir);
116
116
  const global = join(parent, 'bun-global');
117
117
  mkdirSync(join(global, 'bin'), { recursive: true });
118
- const env = { ...process.env as Record<string, string>, ...registry.env, BUN_INSTALL: global, npm_config_prefix: global, npm_config_cache: join(parent, 'npm-cache'), npm_config_update_notifier: 'false', PATH: globalPath(global), XDG_CONFIG_HOME: join(parent, 'config'), PS1: '$ ' };
118
+ const globalDir = join(global, 'install', 'global');
119
+ mkdirSync(globalDir, { recursive: true });
120
+ // Bun searches for a package manifest above its global directory if it is empty.
121
+ // Anchor this install here, and override a caller's explicit global directory settings.
122
+ writeFileSync(join(globalDir, 'package.json'), JSON.stringify({ name: 'tutorial-global-tools', private: true }) + '\n');
123
+ const env = { ...process.env as Record<string, string>, ...registry.env, BUN_INSTALL: global, BUN_INSTALL_GLOBAL_DIR: globalDir, BUN_INSTALL_BIN: join(global, 'bin'), npm_config_prefix: global, npm_config_cache: join(parent, 'npm-cache'), npm_config_update_notifier: 'false', PATH: globalPath(global), XDG_CONFIG_HOME: join(parent, 'config'), PS1: '$ ' };
119
124
  const localRegistry = registry.env.NPM_CONFIG_REGISTRY;
120
125
  if (localRegistry) {
121
126
  // Both clients read this private scope config, including global installs and nested dirs.