@tridion-docs/extensions-cli 2.1.5 → 2.1.6

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,13 @@
1
1
  # @tridion-docs/extensions-cli
2
2
 
3
+ ## 2.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Make styled-components an optional peer dependency and omit it from generated extensions, avoiding missing-peer warnings for extensions that don’t use it.
8
+ - Updated dependencies
9
+ - @tridion-docs/extensions@2.1.6
10
+
3
11
  ## 2.1.5
4
12
 
5
13
  ### Patch Changes
@@ -51,7 +51,6 @@
51
51
  "postcss": "8.5.30",
52
52
  "postcss-loader": "8.2.1",
53
53
  "prettier": "3.9.10",
54
- "styled-components": "^6.3",
55
54
  "typescript": "5.9.3",
56
55
  "webpack": "5.112.0",
57
56
  "webpack-cli": "7.2.3",
package/dist/cli.js CHANGED
@@ -628,7 +628,9 @@ const packCommand = ({ inputFilesPath, outputPath, manifestPath, uiFilesPath, as
628
628
  process.exit(1);
629
629
  });
630
630
  archive.on('error', error => {
631
- console.warn(chalk.red(`We were unable to create a package due to ${error.message}.`));
631
+ var _a, _b;
632
+ const path = (_b = (_a = error.data) === null || _a === void 0 ? void 0 : _a.path) !== null && _b !== void 0 ? _b : '<unknown path>';
633
+ console.warn(chalk.red(`We were unable to create a package due to ${String(error)} for ${path}.`));
632
634
  process.exit(1);
633
635
  });
634
636
  archive.pipe(stream);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tridion-docs/extensions-cli",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "CLI to develop, build and package extensions for Tridion Docs Organize Space",
5
5
  "author": "RWS Group for and on behalf of its affiliates and subsidiaries",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -33,7 +33,7 @@
33
33
  "@inquirer/confirm": "6.0.7",
34
34
  "@inquirer/input": "5.0.7",
35
35
  "@inquirer/select": "5.0.7",
36
- "@tridion-docs/extensions": "2.1.5",
36
+ "@tridion-docs/extensions": "2.1.6",
37
37
  "archiver": "8.0.0",
38
38
  "chalk": "5.6.2",
39
39
  "commander": "14.0.3",