New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ui5/create-webcomponents-package

Package Overview
Dependencies
Maintainers
7
Versions
344
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/create-webcomponents-package - npm Package Compare versions

Comparing version 1.11.0-rc.0 to 1.11.0-rc.1

create-package.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [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)

@@ -8,0 +19,0 @@

9

package.json
{
"name": "@ui5/create-webcomponents-package",
"version": "1.11.0-rc.0",
"version": "1.11.0-rc.1",
"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,5 +25,6 @@ "repository": {

"npm-config-user-agent-parser": "^1.0.0",
"prompts": "^2.4.1"
"prompts": "^2.4.1",
"yargs": "^17.5.1"
},
"gitHead": "6464abd79265425ce65232ebeee53cf6585e6ec6"
"gitHead": "a76323e09b0190bbb72cbff141bb8093b8d0f4ff"
}

@@ -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 +6,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc