@ampt/cli 1.4.0 → 1.4.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,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.1](https://github.com/getampt/cloud/compare/@ampt/cli-v1.4.0...@ampt/cli-v1.4.1) (2026-11-08)
4
+
5
+ ### Performance
6
+
7
+ - **cli:** speed up help, version, and initial sync ([#2925](https://github.com/getampt/cloud/issues/2925)) ([4742162](https://github.com/getampt/cloud/commit/4742162e9879b665c9173bf0c9e32b9a4fa098a5))
8
+
3
9
  ## [1.4.0](https://github.com/getampt/cloud/compare/@ampt/cli-v1.3.6...@ampt/cli-v1.4.0) (2026-11-06)
4
10
 
5
11
  ### Features
package/bin/bin CHANGED
@@ -41,8 +41,10 @@ process.env.ESBUILD_PATH = 'esbuild'
41
41
  // Disable logs on Windows initially due to higher permission requirements required for deletion
42
42
  process.env.AMPT_DISABLE_LOGS = process.platform === 'win32' ? 'true' : 'false'
43
43
 
44
- require('source-map-support').install({
45
- handleUncaughtExceptions: false,
46
- environment: 'node'
47
- })
48
- require('../dist/cli.js')
44
+ if (!require('../dist/local.js').runLocalCommand(process.argv.slice(2))) {
45
+ require('source-map-support').install({
46
+ handleUncaughtExceptions: false,
47
+ environment: 'node'
48
+ })
49
+ require('../dist/cli.js')
50
+ }