@figma/create-widget
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -13,2 +13,10 @@ import fs from "fs-extra"; | ||
const INITIAL_PROMPT = `This tool will create a FigJam widget project using a template that serves as a starting point for building your widget. | ||
See the generated README.md for more information on how to use this template and get started building your widget. | ||
You can find the API reference for widgets here: https://www.figma.com/widget-docs/api/api-reference/ | ||
Press ^C at any time to quit.\n` | ||
function makeid(length) { | ||
@@ -91,10 +99,3 @@ var result = ""; | ||
try { | ||
console.log(`This tool will create a FigJam widget using a template. | ||
It aims to provide an extensible starting point with sensible defaults for building your widget. | ||
See the generated README.md for more information for how to use this template and get started building your widget. | ||
You can find API reference for widgets here: https://www.figma.com/widget-docs/api/api-reference/ | ||
Press ^C at any time to quit.\n`); | ||
console.log(INITIAL_PROMPT); | ||
let widgetName = input.options.name; | ||
@@ -101,0 +102,0 @@ if (widgetName === undefined) { |
{ | ||
"name": "@figma/create-widget", | ||
"repository": "git@github.com:figma/create-widget.git", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Create a widget from figma widget templates", | ||
@@ -6,0 +6,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18722
1