@ui5/create-webcomponents-package
Advanced tools
Comparing version 0.0.0-1d11e4833 to 0.0.0-2f7664755
@@ -6,2 +6,50 @@ # Change Log | ||
# [1.11.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.4-rc.0...v1.11.0-rc.0) (2023-02-02) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
## [1.10.4-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.10.3...v1.10.4-rc.0) (2023-01-26) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
## [1.10.3](https://github.com/SAP/ui5-webcomponents/compare/v1.10.2...v1.10.3) (2023-01-25) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
## [1.10.1](https://github.com/SAP/ui5-webcomponents/compare/v0.0.0-7b49a7ff1...v1.10.1) (2023-01-24) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.10.0](https://github.com/SAP/ui5-webcomponents/compare/v1.9.3...v1.10.0) (2023-01-20) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
## [1.9.3](https://github.com/SAP/ui5-webcomponents/compare/v1.9.2...v1.9.3) (2022-12-16) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
## [1.9.1](https://github.com/SAP/ui5-webcomponents/compare/v1.9.0...v1.9.1) (2022-11-10) | ||
@@ -8,0 +56,0 @@ |
{ | ||
"name": "@ui5/create-webcomponents-package", | ||
"version": "0.0.0-1d11e4833", | ||
"version": "0.0.0-2f7664755", | ||
"description": "UI5 Web Components: create package", | ||
@@ -14,3 +14,3 @@ "author": "SAP SE (https://www.sap.com)", | ||
"bin": { | ||
"create-webcomponents-package": "index.js" | ||
"create-webcomponents-package": "create-package.js" | ||
}, | ||
@@ -25,4 +25,5 @@ "repository": { | ||
"npm-config-user-agent-parser": "^1.0.0", | ||
"prompts": "^2.4.1" | ||
"prompts": "^2.4.1", | ||
"yargs": "^17.5.1" | ||
} | ||
} |
@@ -9,14 +9,34 @@ ![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-webcomponents/main/docs/images/UI5_logo_wide.png) | ||
## Usage | ||
## Usage with npm | ||
with `npm` | ||
``` | ||
Usage: | ||
- `npm init @ui5/webcomponents-package` (the user will be asked for **name**, **port**, **tag**); | ||
- `npm init @ui5/webcomponents-package <NEW-PACKAGE-NAME>` (the user will be asked for **port** and **tag** only). | ||
# npm 6.x | ||
npm init @ui5/webcomponents-package [OPTIONS] | ||
# npm 7+, extra double-dash is needed: | ||
npm init @ui5/webcomponents-package -- [OPTIONS] | ||
And with `yarn` | ||
Options: | ||
--name <string> - defines package name | ||
--tag <string> - defines predefined custom element tag name | ||
--enable-typescript - enables TypeScript support to the package | ||
--skip - skips configuration and generates package with a default value for each parameter that wasn't passed | ||
``` | ||
- `yarn create @ui5/webcomponents-package` | ||
- `yarn create @ui5/webcomponents-package <NEW-PACKAGE-NAME>`. | ||
The script creates a new directory, and fills it with a `package.json` file and all necessary source files, and resources for a new | ||
components package. | ||
## Usage with yarn | ||
``` | ||
Usage: | ||
yarn create @ui5/webcomponents-package [OPTIONS] | ||
Options: | ||
--name <string> - defines package name | ||
--tag <string> - defines predefined custom element tag name | ||
--enable-typescript - enables TypeScript support to the package | ||
--skip - skips all configurations and generates package with default configurations | ||
``` | ||
The script creates a new directory, and fills it with a `package.json` file and all necessary source files, and resources for a new | ||
@@ -23,0 +43,0 @@ components package. |
const getScripts = require("@ui5/webcomponents-tools/components-package/nps.js"); //eslint-disable-line | ||
const options = { | ||
port: INIT_PACKAGE_VAR_PORT, | ||
port: 8080, | ||
typescript: INIT_PACKAGE_VAR_TYPESCRIPT, | ||
}; | ||
@@ -6,0 +7,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
21629
32
388
58
15
4
1
+ Addedyargs@^17.5.1
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedcliui@8.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedget-caller-file@2.0.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@17.7.2(transitive)
+ Addedyargs-parser@21.1.1(transitive)