From c8d517244088ff5c70e04e6fda8d156c9253cb34 Mon Sep 17 00:00:00 2001 From: Sergej Samsonenko Date: Tue, 15 Sep 2020 00:23:43 +0200 Subject: [PATCH 1/3] cosmetics --- .config/shopify/shopify.init.js | 6 +++--- README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/shopify/shopify.init.js b/.config/shopify/shopify.init.js index c868770d..1de680f5 100644 --- a/.config/shopify/shopify.init.js +++ b/.config/shopify/shopify.init.js @@ -68,7 +68,7 @@ const initTheme = async () => { }) // write shopify config file - try{ + try { await fs.outputFile(configPath, yamlConfig) } catch (e) { console.error(chalk.red(e)) @@ -76,7 +76,7 @@ const initTheme = async () => { } // write settings_data.json to shopify/config - try{ + try { const settingsData = { current: 'Default', presets: { @@ -91,7 +91,7 @@ const initTheme = async () => { } // upload shopify theme to remote - try{ + try { await themeKit.command('deploy', { config: configPath, env: options.env diff --git a/README.md b/README.md index d53575a2..e5176b8d 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ $ yarn deploy:live | dev | bundle and watch for changes in `src/` files with webpack | | build | create dist files for Shopify in `shopify/assets/` directory with webpack | | reloadr | run a http server and websocket server for remote auto reloading | +| lint | lint `js` and `vue` files inside the`src/` directory | | shopify:watch | watch for changes in the `shopify/` directory and upload to the dev store | | shopify:init | initializes theme on remote shopware store and creates a shopify config file for specified environment | | deploy:dev | upload the `shopify/` directory to the dev store | @@ -67,5 +68,4 @@ $ yarn deploy:live | settings:dev | download `settings_data.json` from dev store | | settings:live | download `settings_data.json` from live store | | open:dev | open the url of the dev store | -| open:live | open the url of the live store | -| lint | lint `js` and `vue` files inside the`src/` directory | \ No newline at end of file +| open:live | open the url of the live store | \ No newline at end of file From 0364455488b0d809beb63a294ac28b20aa5250f6 Mon Sep 17 00:00:00 2001 From: Sergej Samsonenko Date: Wed, 16 Sep 2020 00:07:52 +0200 Subject: [PATCH 2/3] updated readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e5176b8d..1587d272 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ The kit provides an easy way to build a custom Shopify theme from scratch. It co - Webpack - ESLint - Auto-Reload +- Easily expandable ## System requirements - Node.js @@ -68,4 +69,8 @@ $ yarn deploy:live | settings:dev | download `settings_data.json` from dev store | | settings:live | download `settings_data.json` from live store | | open:dev | open the url of the dev store | -| open:live | open the url of the live store | \ No newline at end of file +| open:live | open the url of the live store | + +## Limitations +- Vue components can only be used in `` +- `` will be removed on mount inside vue components (basically everything inside #app), use `` instead \ No newline at end of file From 6c06422b46dfe8734bb275205c4762978e392bc5 Mon Sep 17 00:00:00 2001 From: Sergej Samsonenko Date: Wed, 16 Sep 2020 00:08:05 +0200 Subject: [PATCH 3/3] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1eaf0c8e..fa88a8e5 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "shopify-starterkit", "description": "Environment for rapid Shopify theme development with Vue and Tailwind CSS", "author": "Sergej Samsonenko", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "repository": { "type": "git",