@meridiona/meridian 1.15.1 → 1.17.0

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.
Files changed (2) hide show
  1. package/bin/meridian.js +9 -1
  2. package/package.json +2 -2
package/bin/meridian.js CHANGED
@@ -54,7 +54,9 @@ function npmGlobalWritable() {
54
54
  // root. The rest of `update` (setup: per-user launchd agents, venv) must NOT run
55
55
  // as root, so we never sudo the whole command — just this one install.
56
56
  function npmInstallLatest() {
57
- const args = ['install', '-g', '@meridiona/meridian@latest'];
57
+ // Install both packages explicitly — npm won't always upgrade the optional
58
+ // arch package when only the main package is requested.
59
+ const args = ['install', '-g', '@meridiona/meridian@latest', '@meridiona/meridian-darwin-arm64@latest'];
58
60
  if (npmGlobalWritable()) {
59
61
  return spawnSync('npm', args, { stdio: 'inherit' });
60
62
  }
@@ -84,8 +86,14 @@ if (cmd === 'setup' || cmd === 'install') {
84
86
  const bundle = resolveBundle();
85
87
  run('bash', [path.join(bundle, 'scripts', 'meridian-npm-setup.sh'), bundle, ...rest]);
86
88
  } else if (cmd === 'update') {
89
+ console.log('meridian update: downloading latest release…');
90
+ console.log(' The package includes a pre-built Python venv (~160 MB).');
91
+ console.log(' First update after 1.15.0 will take ~1-3 min; subsequent updates are faster.');
92
+ const _updateStart = Date.now();
87
93
  const up = npmInstallLatest();
88
94
  if (up.status) process.exit(up.status);
95
+ const _elapsed = Math.round((Date.now() - _updateStart) / 1000);
96
+ console.log(` Downloaded in ${_elapsed}s`);
89
97
  const bundle = resolveBundle();
90
98
  run('bash', [path.join(bundle, 'scripts', 'meridian-npm-setup.sh'), bundle, '--skip-permissions']);
91
99
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridiona/meridian",
3
- "version": "1.15.1",
3
+ "version": "1.17.0",
4
4
  "description": "Your project management, written by your work — local-first PM automation from real dev activity (macOS, Apple Silicon).",
5
5
  "homepage": "https://github.com/Meridiona/meridian",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "node": ">=18"
25
25
  },
26
26
  "optionalDependencies": {
27
- "@meridiona/meridian-darwin-arm64": "1.15.1"
27
+ "@meridiona/meridian-darwin-arm64": "1.17.0"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"