@ui5/create-webcomponents-package 2.19.0-rc.2 → 2.19.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.19.0](https://github.com/UI5/webcomponents/compare/v2.19.0-rc.3...v2.19.0) (2026-02-05)
7
+
8
+ **Note:** Version bump only for package @ui5/create-webcomponents-package
9
+
10
+
11
+
12
+
13
+
14
+ # [2.19.0-rc.3](https://github.com/UI5/webcomponents/compare/v2.19.0-rc.2...v2.19.0-rc.3) (2026-02-05)
15
+
16
+ **Note:** Version bump only for package @ui5/create-webcomponents-package
17
+
18
+
19
+
20
+
21
+
6
22
  # [2.19.0-rc.2](https://github.com/UI5/webcomponents/compare/v2.19.0-rc.1...v2.19.0-rc.2) (2026-01-22)
7
23
 
8
24
  **Note:** Version bump only for package @ui5/create-webcomponents-package
package/create-package.js CHANGED
@@ -10,11 +10,55 @@ import * as prettier from "prettier";
10
10
 
11
11
  const __filename = fileURLToPath(import.meta.url);
12
12
  const __dirname = dirname(__filename);
13
- const argv = yargs(hideBin(process.argv)).argv;
14
13
  const VERSION = JSON.parse(
15
14
  await fs.readFile(path.join(__dirname, "package.json")),
16
15
  ).version;
17
16
 
17
+ const argv = yargs(hideBin(process.argv))
18
+ .usage("Usage: npm create @ui5/webcomponents-package [options]")
19
+ .option("name", {
20
+ type: "string",
21
+ description: "Package name (npm-compatible)",
22
+ default: "my-package",
23
+ })
24
+ .option("tag", {
25
+ type: "string",
26
+ description: "Component tag name (e.g., my-button)",
27
+ })
28
+ .option("testSetup", {
29
+ type: "string",
30
+ choices: ["cypress", "manual"],
31
+ description: "Test setup configuration",
32
+ default: "manual",
33
+ })
34
+ .option("skip", {
35
+ type: "boolean",
36
+ description: "Skip interactive prompts and use defaults/provided values",
37
+ default: false,
38
+ })
39
+ .option("skipSubfolder", {
40
+ type: "boolean",
41
+ description: "Create files in current directory instead of a subfolder",
42
+ default: false,
43
+ })
44
+ .example(
45
+ "npm create @ui5/webcomponents-package",
46
+ "Interactive mode with prompts",
47
+ )
48
+ .example(
49
+ "npm create @ui5/webcomponents-package -- --name my-components --skip",
50
+ "Non-interactive with custom name",
51
+ )
52
+ .example(
53
+ "npm create @ui5/webcomponents-package -- --name @scope/my-lib --testSetup cypress --skip",
54
+ "Non-interactive with scoped name and Cypress",
55
+ )
56
+ .help()
57
+ .alias("h", "help")
58
+ .version(VERSION)
59
+ .alias("v", "version")
60
+ .wrap(100).argv;
61
+
18
62
  // Constants
19
63
  const SUPPORTED_TEST_SETUPS = ["cypress", "manual"];
20
64
  const SRC_DIR = path.join(__dirname, "template");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/create-webcomponents-package",
3
- "version": "2.19.0-rc.2",
3
+ "version": "2.19.0",
4
4
  "description": "UI5 Web Components: create package",
5
5
  "author": "SAP SE (https://www.sap.com)",
6
6
  "license": "Apache-2.0",
@@ -22,5 +22,5 @@
22
22
  "prompts": "^2.4.1",
23
23
  "yargs": "^17.5.1"
24
24
  },
25
- "gitHead": "4407982a1dd6a3799413303d1157fc5e9fb96260"
25
+ "gitHead": "a926cd9d74fdc66b22609eb80b26015ba5391cea"
26
26
  }