@shoplineos/cli 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(e,s){for(var o in s)Object.defineProperty(e,o,{enumerable:!0,get:s[o]})}(exports,{EXTENSION_ENDPOINTS:()=>o,DEFAULT_EXTENSION_ENDPOINT:()=>t,DEFAULT_EXTENSION_NAME:()=>_,ENVS:()=>E,TARGETS:()=>i,EXTENSION_LINK_PATH:()=>n,APP_VERSION_MANAGE_LINK_PATH:()=>r,TAGS:()=>c,OPTION_TYPES:()=>T,EXTENSION_NAME_LENGTH_LIMIT:()=>N,MAX_ALL_FILE_SIZE:()=>a,MAX_BLOCKS_FILE_COUNT:()=>l,MAX_BLOCKS_FILE_SIZE:()=>p,MAX_BLOCKS_FILE_SIZE_3:()=>I,SUPPORTED_ASSET_EXTS:()=>O,SUPPORTED_ASSET_EXTS_3:()=>m,SUPPORTED_BUCKETS:()=>d,SUPPORTED_BUCKETS_3:()=>S,SUPPORTED_LOCALE_EXTS:()=>u,EXTENSION_CONFIG_FILE:()=>L,CHECKOUT_UI_CONFIG_FILE:()=>A,PIXELS_CONFIG_FILE:()=>P,FUNCTION_CONFIG_FILE:()=>g,ERRORS:()=>h,ALL_TEMPLATES:()=>U,ALL_TEMPLATES_3:()=>R,EXTENSION_TYPES:()=>x,DEFAULT_EXTENSION_TYPE:()=>C,DEFAULT_CHECKOUT_UI_CUSTOMIZER_NAME:()=>F,DEFAULT_PIXELS_EXTENSION_NAME:()=>M});const e=require("../../utils/messages"),s=require("./types"),o={dev:"https://devcenter.myshoplinedev.com",test:"https://opendoc.myshoplinestg.com",pre:"https://devcenter-pre.myshopline.com",prod:"https://developer.myshopline.com"},t=o.prod,_="shopline-app-extension",E=["dev","test","pre","prod"],i=["section","head","body"],n="app/edit-extension",r="app/version-manage/add",c=["article","aside","div","footer","header","section"],T=["checkbox","radio","select"],N=50,a=10485760,l=25,p=102400,I=102400,O=[".jpg",".js",".css",".png",".svg",".hbs"],m=[".jpg",".js",".css",".png",".svg"],d=["assets","blocks","snippets","locales"],S=["blocks","components","i18n","public","compatibility"],u=[".json"],L=".shopline-cli.yml",A="shopline.ui.customizer.toml",P="shopline.pixels.extension.toml",g="shopline.function.extension.toml",h={EXTENSION_NAME_LENGTH_LIMIT:(0,e.getMessage)("extension.create.invalid_name",{limit:N}),ENV_INVALID:(0,e.getMessage)("extension.invalid_env",{envs:E.join(", ")}),ENV_FILE_NOT_FOUND:(0,e.getMessage)("extension.no_env_file"),SHOPLINE_CONFIG_NOT_FOUND:(0,e.getMessage)("extension.no_config_file",{config_name:L}),UNSUPPORTED_PROJECT_TYPE:(0,e.getMessage)("extension.invalid_type"),REPEAT_DIR_NAME:"The theme app extension directory already exists. Please rename or use another name.",INVALID_INTERPOLATION:"must be of the form {{ apps.metafields.<namespace>.<key>.value }}",PARTNER_INFO_NOT_COMPLETE:"PARTNER_INFO_NOT_COMPLETE",USER_NOT_LOGIN:"USER_NOT_LOGIN",NOT_IN_PARTNER:"NOT_IN_PARTNER"},U=["index","collections_all","collection","products/detail","cart","blogs/list","blogs/detail","404","products/search","page","customers/login","customers/register","customers/account","customers/reset_password","customers/addresses","customers/order/list","customers/order/detail","password"],R=["index","collections_all","collection","product","cart","blog","article","404","search","page","policy","password","gift_card","customers/login","customers/register","customers/account","customers/addresses","customers/orders","customers/order","customers/activate_account","customers/forgot_password","customers/company"],x=[{label:"Theme App Extension",value:s.EExtensionTypes.themeAppExtension},{label:"Checkout UI Customizer",value:s.EExtensionTypes.checkoutUiCustomizer},!1].filter(Boolean),C="themeAppExtension",F="checkout-ui-customizer",M="pixels-extension";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(e,s){for(var o in s)Object.defineProperty(e,o,{enumerable:!0,get:s[o]})}(exports,{EXTENSION_ENDPOINTS:()=>o,DEFAULT_EXTENSION_ENDPOINT:()=>t,DEFAULT_EXTENSION_NAME:()=>_,ENVS:()=>E,TARGETS:()=>i,EXTENSION_LINK_PATH:()=>n,APP_VERSION_MANAGE_LINK_PATH:()=>r,TAGS:()=>c,OPTION_TYPES:()=>T,EXTENSION_NAME_LENGTH_LIMIT:()=>p,MAX_ALL_FILE_SIZE:()=>N,MAX_BLOCKS_FILE_COUNT:()=>a,MAX_BLOCKS_FILE_SIZE:()=>l,MAX_BLOCKS_FILE_SIZE_3:()=>I,SUPPORTED_ASSET_EXTS:()=>O,SUPPORTED_ASSET_EXTS_3:()=>m,SUPPORTED_BUCKETS:()=>d,SUPPORTED_BUCKETS_3:()=>S,SUPPORTED_LOCALE_EXTS:()=>u,EXTENSION_CONFIG_FILE:()=>L,CHECKOUT_UI_CONFIG_FILE:()=>A,PIXELS_CONFIG_FILE:()=>P,FUNCTION_CONFIG_FILE:()=>g,ERRORS:()=>h,ALL_TEMPLATES:()=>U,ALL_TEMPLATES_3:()=>x,EXTENSION_TYPES:()=>R,DEFAULT_EXTENSION_TYPE:()=>C,DEFAULT_CHECKOUT_UI_CUSTOMIZER_NAME:()=>F,DEFAULT_PIXELS_EXTENSION_NAME:()=>M});const e=require("../../utils/messages"),s=require("./types"),o={dev:"https://devcenter.myshoplinedev.com",test:"https://opendoc.myshoplinestg.com",pre:"https://devcenter-pre.myshopline.com",prod:"https://developer.myshopline.com"},t=o.prod,_="shopline-app-extension",E=["dev","test","pre","prod"],i=["section","head","body"],n="app/edit-extension",r="app/version-manage/add",c=["article","aside","div","footer","header","section"],T=["checkbox","radio","select"],p=50,N=10485760,a=25,l=102400,I=102400,O=[".jpg",".js",".css",".png",".svg",".hbs"],m=[".jpg",".js",".css",".png",".svg"],d=["assets","blocks","snippets","locales"],S=["blocks","components","i18n","public","compatibility"],u=[".json"],L=".shopline-cli.yml",A="shopline.ui.customizer.toml",P="shopline.pixels.extension.toml",g="shopline.function.extension.toml",h={EXTENSION_NAME_LENGTH_LIMIT:(0,e.getMessage)("extension.create.invalid_name",{limit:p}),ENV_INVALID:(0,e.getMessage)("extension.invalid_env",{envs:E.join(", ")}),ENV_FILE_NOT_FOUND:(0,e.getMessage)("extension.no_env_file"),SHOPLINE_CONFIG_NOT_FOUND:(0,e.getMessage)("extension.no_config_file",{config_name:L}),UNSUPPORTED_PROJECT_TYPE:(0,e.getMessage)("extension.invalid_type"),REPEAT_DIR_NAME:"The theme app extension directory already exists. Please rename or use another name.",INVALID_INTERPOLATION:"must be of the form {{ apps.metafields.<namespace>.<key>.value }}",PARTNER_INFO_NOT_COMPLETE:"PARTNER_INFO_NOT_COMPLETE",USER_NOT_LOGIN:"USER_NOT_LOGIN",NOT_IN_PARTNER:"NOT_IN_PARTNER"},U=["index","collections_all","collection","products/detail","cart","blogs/list","blogs/detail","404","products/search","page","customers/login","customers/register","customers/account","customers/reset_password","customers/addresses","customers/order/list","customers/order/detail","password","app_proxy"],x=["index","collections_all","collection","product","cart","blog","article","404","search","page","policy","password","gift_card","customers/login","customers/register","customers/account","customers/addresses","customers/orders","customers/order","customers/activate_account","customers/forgot_password","customers/company","app_proxy"],R=[{label:"Theme App Extension",value:s.EExtensionTypes.themeAppExtension},{label:"Checkout UI Customizer",value:s.EExtensionTypes.checkoutUiCustomizer},!1].filter(Boolean),C="themeAppExtension",F="checkout-ui-customizer",M="pixels-extension";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplineos/cli",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "A CLI tool to build for the Shopline platform",
5
5
  "bin": {
6
6
  "sl": "./bin/index.js"