create-co-app
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -40,3 +40,3 @@ #!/usr/bin/env node | ||
} | ||
const { appId } = yield createAppDC3(projectName); | ||
const { appId } = yield createAppDC3('my-new-app'); | ||
const { compId } = yield addCustomElementComponent(appId); | ||
@@ -43,0 +43,0 @@ const answer = yield inquirer.prompt({ |
@@ -46,69 +46,11 @@ export const appServiceBaseUrl = 'https://dev.wix.com/_api/app-service-webapp/v1/apps'; | ||
"label": "Settings", | ||
"items": [ | ||
{ | ||
"textInputLabeled": { | ||
"title": "Title", | ||
"value": "Gallery", | ||
"key": "title-default-key" | ||
} | ||
}, | ||
{ | ||
"textInputLabeled": { | ||
"title": "Button", | ||
"value": "Add to Cart", | ||
"key": "button-1-default-key" | ||
} | ||
} | ||
] | ||
"items": [] | ||
}, | ||
{ | ||
"label": "Layout", | ||
"items": [ | ||
{ | ||
"radioButtonLabeled": { | ||
"title": "Layout", | ||
"value": "Box layout", | ||
"options": [ | ||
"Box layout", | ||
"Strip layout" | ||
], | ||
"key": "layout-default-key" | ||
} | ||
}, | ||
{ | ||
"toggleLabeled": { | ||
"title": "Stretch to full width", | ||
"value": true, | ||
"key": "stretch-default-key" | ||
} | ||
}, | ||
{ | ||
"sliderLabeled": { | ||
"title": "Spacing", | ||
"size": "4", | ||
"minSize": 0, | ||
"maxSize": 4, | ||
"key": "column-default-key" | ||
} | ||
} | ||
] | ||
"items": [] | ||
}, | ||
{ | ||
"label": "Display", | ||
"items": [ | ||
{ | ||
"toggleLabeled": { | ||
"title": "Show title", | ||
"value": true, | ||
"key": "show-title-default-key" | ||
} | ||
}, | ||
{ | ||
"toggleLabeled": { | ||
"title": "Show like button", | ||
"value": true, | ||
"key": "show-like-button-default-key" | ||
} | ||
} | ||
] | ||
"items": [] | ||
}, | ||
@@ -119,10 +61,4 @@ { | ||
{ | ||
"section": { | ||
"label": "Button Design", | ||
"key": "button-design-default-key" | ||
} | ||
}, | ||
{ | ||
"colorSelectLabeled": { | ||
"title": "Fill color & opacity", | ||
"title": "Primary Color", | ||
"customColor": { | ||
@@ -132,3 +68,3 @@ "value": "#E62214", | ||
}, | ||
"key": "fill-color-default-key" | ||
"key": "primaryColor" | ||
} | ||
@@ -138,34 +74,23 @@ }, | ||
"colorSelectLabeled": { | ||
"title": "Border Color", | ||
"title": "Secondary Color", | ||
"customColor": { | ||
"value": "#E62214" | ||
"value": "#E62214", | ||
"opacity": "100" | ||
}, | ||
"key": "border-color-default-key" | ||
"key": "secondaryColor" | ||
} | ||
}, | ||
{ | ||
"sliderLabeled": { | ||
"title": "Border Width", | ||
"size": "0", | ||
"minSize": 0, | ||
"maxSize": 4, | ||
"key": "border-width-default-key" | ||
"toggleLabeled": { | ||
"title": "Toggle", | ||
"value": true, | ||
"key": "toggle" | ||
} | ||
}, | ||
{ | ||
"textStyle": { | ||
"title": "Text style & color", | ||
"customColor": { | ||
"value": "#FFB700", | ||
"opacity": "0" | ||
}, | ||
"defaultTextStyle": "PARAGRAPH", | ||
"key": "text-style-default-key" | ||
"textInputLabeled": { | ||
"title": "Input", | ||
"value": "Add to Cart", | ||
"key": "textInput" | ||
} | ||
}, | ||
{ | ||
"resetButton": { | ||
"label": "Reset Settings", | ||
"key": "reset-button-default-key" | ||
} | ||
} | ||
@@ -172,0 +97,0 @@ ] |
@@ -47,3 +47,3 @@ #!/usr/bin/env node | ||
const { appId } = await createAppDC3(projectName); | ||
const { appId } = await createAppDC3('my-new-app'); | ||
const { compId } = await addCustomElementComponent(appId); | ||
@@ -50,0 +50,0 @@ |
{ | ||
"name": "create-co-app", | ||
"version": "1.0.01", | ||
"version": "1.0.02", | ||
"description": "My New Project description.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -47,16 +47,2 @@ export const appServiceBaseUrl = 'https://dev.wix.com/_api/app-service-webapp/v1/apps'; | ||
"items": [ | ||
{ | ||
"textInputLabeled": { | ||
"title": "Title", | ||
"value": "Gallery", | ||
"key": "title-default-key" | ||
} | ||
}, | ||
{ | ||
"textInputLabeled": { | ||
"title": "Button", | ||
"value": "Add to Cart", | ||
"key": "button-1-default-key" | ||
} | ||
} | ||
] | ||
@@ -66,50 +52,7 @@ }, | ||
"label": "Layout", | ||
"items": [ | ||
{ | ||
"radioButtonLabeled": { | ||
"title": "Layout", | ||
"value": "Box layout", | ||
"options": [ | ||
"Box layout", | ||
"Strip layout" | ||
], | ||
"key": "layout-default-key" | ||
} | ||
}, | ||
{ | ||
"toggleLabeled": { | ||
"title": "Stretch to full width", | ||
"value": true, | ||
"key": "stretch-default-key" | ||
} | ||
}, | ||
{ | ||
"sliderLabeled": { | ||
"title": "Spacing", | ||
"size": "4", | ||
"minSize": 0, | ||
"maxSize": 4, | ||
"key": "column-default-key" | ||
} | ||
} | ||
] | ||
"items": [] | ||
}, | ||
{ | ||
"label": "Display", | ||
"items": [ | ||
{ | ||
"toggleLabeled": { | ||
"title": "Show title", | ||
"value": true, | ||
"key": "show-title-default-key" | ||
} | ||
}, | ||
{ | ||
"toggleLabeled": { | ||
"title": "Show like button", | ||
"value": true, | ||
"key": "show-like-button-default-key" | ||
} | ||
} | ||
] | ||
"items": [] | ||
}, | ||
@@ -120,10 +63,4 @@ { | ||
{ | ||
"section": { | ||
"label": "Button Design", | ||
"key": "button-design-default-key" | ||
} | ||
}, | ||
{ | ||
"colorSelectLabeled": { | ||
"title": "Fill color & opacity", | ||
"title": "Primary Color", | ||
"customColor": { | ||
@@ -133,3 +70,3 @@ "value": "#E62214", | ||
}, | ||
"key": "fill-color-default-key" | ||
"key": "primaryColor" | ||
} | ||
@@ -139,34 +76,23 @@ }, | ||
"colorSelectLabeled": { | ||
"title": "Border Color", | ||
"title": "Secondary Color", | ||
"customColor": { | ||
"value": "#E62214" | ||
"value": "#E62214", | ||
"opacity": "100" | ||
}, | ||
"key": "border-color-default-key" | ||
"key": "secondaryColor" | ||
} | ||
}, | ||
{ | ||
"sliderLabeled": { | ||
"title": "Border Width", | ||
"size": "0", | ||
"minSize": 0, | ||
"maxSize": 4, | ||
"key": "border-width-default-key" | ||
"toggleLabeled": { | ||
"title": "Toggle", | ||
"value": true, | ||
"key": "toggle" | ||
} | ||
}, | ||
{ | ||
"textStyle": { | ||
"title": "Text style & color", | ||
"customColor": { | ||
"value": "#FFB700", | ||
"opacity": "0" | ||
}, | ||
"defaultTextStyle": "PARAGRAPH", | ||
"key": "text-style-default-key" | ||
"textInputLabeled": { | ||
"title": "Input", | ||
"value": "Add to Cart", | ||
"key": "textInput" | ||
} | ||
}, | ||
{ | ||
"resetButton": { | ||
"label": "Reset Settings", | ||
"key": "reset-button-default-key" | ||
} | ||
} | ||
@@ -173,0 +99,0 @@ ] |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
36307
991