@fishawack/lab-env 5.8.1 → 5.8.2

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,17 @@
1
1
  ## Changelog
2
2
 
3
+ ### 5.8.2 (2026-09-08)
4
+
5
+ #### Bug Fixes
6
+
7
+ * install linters together to dedupe deps across peers ([58ec727](https://bitbucket.org/fishawackdigital/lab-env/commits/58ec72791af749663b30f44deede9a519570f781))
8
+
9
+ ### 5.8.2-beta.1 (2026-09-08)
10
+
11
+ #### Bug Fixes
12
+
13
+ * install linters together to dedupe deps across peers ([58ec727](https://bitbucket.org/fishawackdigital/lab-env/commits/58ec72791af749663b30f44deede9a519570f781))
14
+
3
15
  ### 5.8.1 (2026-09-08)
4
16
 
5
17
  #### Bug Fixes
@@ -493,17 +493,16 @@ module.exports.globalModules = async ({ confirm }) => {
493
493
  ]);
494
494
 
495
495
  if (inputs.confirm) {
496
- let spinner;
497
-
498
- for (let i = 0; i < globalModules.length; i++) {
499
- const { package: packageName, version } = globalModules[i];
496
+ // Install as one invocation so npm resolves/dedupes shared peer deps (e.g. prettier) together
497
+ const specifiers = globalModules.map(
498
+ ({ package: packageName, version }) => `${packageName}@${version}`,
499
+ );
500
500
 
501
- spinner = new Spinner(`Installing ${packageName}@${version}`);
501
+ const spinner = new Spinner(`Installing ${specifiers.join(", ")}`);
502
502
 
503
- execSync(`npm install -g ${packageName}@${version}`);
503
+ execSync(`npm install -g ${specifiers.join(" ")}`);
504
504
 
505
- spinner.update(`Installed ${packageName}@${version}`);
506
- }
505
+ spinner.update(`Installed ${specifiers.join(", ")}`);
507
506
  } else {
508
507
  throw "";
509
508
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "5.8.1",
3
+ "version": "5.8.2",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {