@ui5/create-webcomponents-package
Advanced tools
Comparing version 0.0.0-8393c7cdd to 0.0.0-8dc1dc294
158
CHANGELOG.md
@@ -6,2 +6,160 @@ # Change Log | ||
# [1.12.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.12.0-rc.1...v1.12.0-rc.2) (2023-03-23) | ||
### Bug Fixes | ||
* inline sources in the .map file so the src folder is not mandatory ([#6732](https://github.com/SAP/ui5-webcomponents/issues/6732)) ([16771a6](https://github.com/SAP/ui5-webcomponents/commit/16771a64d7b13f418af9afa1a03b224fe3762775)) | ||
# [1.12.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.12.0-rc.0...v1.12.0-rc.1) (2023-03-16) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.12.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0...v1.12.0-rc.0) (2023-03-09) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.11.0](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.4...v1.11.0) (2023-03-06) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.11.0-rc.4](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.3...v1.11.0-rc.4) (2023-03-02) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.11.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.2...v1.11.0-rc.3) (2023-02-23) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.11.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.1...v1.11.0-rc.2) (2023-02-16) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.11.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v1.11.0-rc.0...v1.11.0-rc.1) (2023-02-09) | ||
### Features | ||
* **framework:** add option to define package name, tag and typescript support from CLI ([#6379](https://github.com/SAP/ui5-webcomponents/issues/6379)) ([687c0f7](https://github.com/SAP/ui5-webcomponents/commit/687c0f7a420a72f77f294ace2898223c48708ae2)), closes [#6382](https://github.com/SAP/ui5-webcomponents/issues/6382) | ||
# [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) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.9.0](https://github.com/SAP/ui5-webcomponents/compare/v1.8.0...v1.9.0) (2022-10-31) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.8.0](https://github.com/SAP/ui5-webcomponents/compare/v1.7.1...v1.8.0) (2022-10-03) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
## [1.7.1](https://github.com/SAP/ui5-webcomponents/compare/v1.7.0...v1.7.1) (2022-09-08) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.7.0](https://github.com/SAP/ui5-webcomponents/compare/v1.6.0...v1.7.0) (2022-09-02) | ||
**Note:** Version bump only for package @ui5/create-webcomponents-package | ||
# [1.6.0](https://github.com/SAP/ui5-webcomponents/compare/v1.5.0...v1.6.0) (2022-07-25) | ||
@@ -8,0 +166,0 @@ |
{ | ||
"name": "@ui5/create-webcomponents-package", | ||
"version": "0.0.0-8393c7cdd", | ||
"version": "0.0.0-8dc1dc294", | ||
"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+, an extra double-dash is needed: | ||
npm init @ui5/webcomponents-package -- [OPTIONS] | ||
And with `yarn` | ||
Options: | ||
--name <string> - defines the package name | ||
--tag <string> - defines the tag name of the sample web component that will be created in your new package | ||
--enable-typescript - enables TypeScript support for 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 the package name | ||
--tag <string> - defines the tag name of the sample web component that will be created in your new package | ||
--enable-typescript - enables TypeScript support for the package | ||
--skip - skips configuration and generates package with a default value for each parameter that wasn't passed | ||
``` | ||
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 @@ |
@@ -35,3 +35,3 @@ import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js"; | ||
* @alias demo.components.INIT_PACKAGE_VAR_CLASS_NAME | ||
* @extends UI5Element | ||
* @extends sap.ui.webc.base.UI5Element | ||
* @tagname INIT_PACKAGE_VAR_TAG | ||
@@ -38,0 +38,0 @@ * @public |
const assert = require("assert"); | ||
describe("INIT_PACKAGE_VAR_TAG rendering", async () => { | ||
await browser.url("test/pages/index.html"); | ||
before(async () => { | ||
await browser.url("test/pages/index.html"); | ||
}); | ||
@@ -6,0 +8,0 @@ it("tests if web component is correctly rendered", async () => { |
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
24587
34
407
58
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)