From 4039f597c0b6d71fa115277b53f201c71612649f Mon Sep 17 00:00:00 2001 From: t-kelly Date: Thu, 25 Oct 2018 15:22:30 -0400 Subject: [PATCH] v1.0.0-beta.12 --- CHANGELOG.md | 34 +++++++++++++++++++ lerna.json | 2 +- packages/concat-style-loader/package.json | 2 +- packages/create-slate-theme/package.json | 6 ++-- packages/slate-analytics/package.json | 8 ++--- packages/slate-config/package.json | 2 +- packages/slate-cssvar-loader/package.json | 4 +-- packages/slate-env/package.json | 4 +-- packages/slate-error/package.json | 2 +- packages/slate-rc/package.json | 6 ++-- packages/slate-sync/package.json | 8 ++--- .../slate-tag-webpack-plugin/package.json | 2 +- packages/slate-tools/package.json | 16 ++++----- 13 files changed, 65 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa7ddcd10..a19b6f83c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Change Log +## v1.0.0-beta.12 (2018-10-25) + +#### :broken_heart: Breaking + +All pre-exisiting logic and operations that were performed to folders inside the the `src/assets` directory has been removed. All contents of the assets folder are now statically copied to the `dist/assets` folder. + +The `src/assets/scripts` directory has moved to `src/scripts`. + +The `src/assets/styles` directory has moved to `src/styles`. + +SVGs contained in the `src/assets/svgs` directory, which were copied to the `dist/snippets` directory and renamed to `.liquid` files, should now be moved into the `src/snippets` directory and manually renamed with a `.liquid` extension. This will allows these SVGs to continue to be inlined into your theme via the `{% include %}` tag. + +Referencing assets via relative paths, e.g. ``, has been replaced by native Shopify asset references, e.g. ``. + +See [Pull Request #850](https://github.com/Shopify/slate/pull/850) for all the details. + +#### :rocket: Enhancement + +* `slate-env` + * [#821](https://github.com/Shopify/slate/pull/821) Prevent trailing slashes at the end of store URLs. ([@maximevaillancourt](https://github.com/maximevaillancourt)) + +#### :bug: Bug Fix + +* `html-webpack-liquid-asset-tags-plugin`, `slate-config`, `slate-liquid-asset-loader`, `slate-tools` + * [#850](https://github.com/Shopify/slate/pull/850) (WIP) Simplify Slate assets. ([@t-kelly](https://github.com/t-kelly)) +* `slate-tools` + * [#824](https://github.com/Shopify/slate/pull/824) Fix typo in eslint spawn command. ([@kazazes](https://github.com/kazazes)) + +#### Committers: 3 + +* Maxime Vaillancourt ([maximevaillancourt](https://github.com/maximevaillancourt)) +* Peter Kazazes ([kazazes](https://github.com/kazazes)) +* Thomas Kelly ([t-kelly](https://github.com/t-kelly)) + ## v1.0.0-beta.11 (2018-10-16) #### :bug: Bug Fix diff --git a/lerna.json b/lerna.json index 1d7cec49f..e94798765 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "2.0.0", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "npmClient": "yarn", "useWorkspaces": true, "changelog": { diff --git a/packages/concat-style-loader/package.json b/packages/concat-style-loader/package.json index a576d1bda..634dccaed 100644 --- a/packages/concat-style-loader/package.json +++ b/packages/concat-style-loader/package.json @@ -1,6 +1,6 @@ { "name": "concat-style-loader", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Finds CSS custom properties (variables) in your stylesheets and replaces them with their corresponding liquid variable", "main": "index.js", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-cssvar-loader", diff --git a/packages/create-slate-theme/package.json b/packages/create-slate-theme/package.json index bbaa8434d..fb1622da6 100644 --- a/packages/create-slate-theme/package.json +++ b/packages/create-slate-theme/package.json @@ -1,6 +1,6 @@ { "name": "create-slate-theme", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Create a new slate project from an existing slate theme repo", "main": "index.js", "author": "Shopify Inc.", @@ -15,8 +15,8 @@ "create-slate-theme": "./index.js" }, "dependencies": { - "@shopify/slate-analytics": "1.0.0-beta.11", - "@shopify/slate-env": "1.0.0-beta.11", + "@shopify/slate-analytics": "1.0.0-beta.12", + "@shopify/slate-env": "1.0.0-beta.12", "chalk": "^2.3.0", "commander": "^2.12.2", "execa": "^0.9.0", diff --git a/packages/slate-analytics/package.json b/packages/slate-analytics/package.json index 59f070a22..d95e85429 100644 --- a/packages/slate-analytics/package.json +++ b/packages/slate-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-analytics", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Slate's analytics controller and event emitter", "main": "index.js", "scripts": { @@ -17,9 +17,9 @@ }, "homepage": "https://github.com/shopify/slate#readme", "dependencies": { - "@shopify/slate-env": "1.0.0-beta.11", - "@shopify/slate-error": "1.0.0-beta.11", - "@shopify/slate-rc": "1.0.0-beta.11", + "@shopify/slate-env": "1.0.0-beta.12", + "@shopify/slate-error": "1.0.0-beta.12", + "@shopify/slate-rc": "1.0.0-beta.12", "axios": "^0.18.0", "chalk": "^2.3.0", "inquirer": "^5.0.1", diff --git a/packages/slate-config/package.json b/packages/slate-config/package.json index e8bd7b3ee..e06369c81 100644 --- a/packages/slate-config/package.json +++ b/packages/slate-config/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-config", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Generate configurations for Slate packages by applying values from slate.config.js to override default values", "main": "index.js", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-config", diff --git a/packages/slate-cssvar-loader/package.json b/packages/slate-cssvar-loader/package.json index ab87b601d..0cc7e0804 100644 --- a/packages/slate-cssvar-loader/package.json +++ b/packages/slate-cssvar-loader/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-cssvar-loader", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Finds CSS custom properties (variables) in your stylesheets and replaces them with their corresponding liquid variable", "main": "index.js", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-cssvar-loader", @@ -11,7 +11,7 @@ }, "homepage": "https://github.com/Shopify/slate#readme", "dependencies": { - "@shopify/slate-config": "1.0.0-beta.11", + "@shopify/slate-config": "1.0.0-beta.12", "loader-utils": "^1.1.0" }, "devDependencies": { diff --git a/packages/slate-env/package.json b/packages/slate-env/package.json index 934bbc30a..d6e416353 100644 --- a/packages/slate-env/package.json +++ b/packages/slate-env/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-env", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Manages the environment variables which are needed by Slate to interact with Shopify servers.", "main": "index.js", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-env", @@ -11,7 +11,7 @@ }, "homepage": "https://github.com/shopify/slate#readme", "dependencies": { - "@shopify/slate-config": "1.0.0-beta.11", + "@shopify/slate-config": "1.0.0-beta.12", "dotenv": "^4.0.0" }, "devDependencies": { diff --git a/packages/slate-error/package.json b/packages/slate-error/package.json index a525bee82..a6d03afc4 100644 --- a/packages/slate-error/package.json +++ b/packages/slate-error/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-error", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Slate's global error class", "main": "index.js", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-error", diff --git a/packages/slate-rc/package.json b/packages/slate-rc/package.json index aa74a80fe..4dc8bf32c 100644 --- a/packages/slate-rc/package.json +++ b/packages/slate-rc/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-rc", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Slate's global configuration manager. Generates, reads, and applies values to a global .slaterc file", "main": "index.js", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-rc", @@ -11,8 +11,8 @@ }, "homepage": "https://github.com/shopify/slate", "dependencies": { - "@shopify/slate-config": "1.0.0-beta.11", - "@shopify/slate-error": "1.0.0-beta.11", + "@shopify/slate-config": "1.0.0-beta.12", + "@shopify/slate-error": "1.0.0-beta.12", "fs-extra": "^5.0.0", "mock-fs": "^4.4.2", "semver": "^5.5.0", diff --git a/packages/slate-sync/package.json b/packages/slate-sync/package.json index 0a84dfb71..3c7f05ccd 100755 --- a/packages/slate-sync/package.json +++ b/packages/slate-sync/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-sync", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "Slate's Shopify API client which handles all theme development requests", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-sync", "license": "MIT", @@ -11,9 +11,9 @@ }, "engine": ">=8.9.4", "dependencies": { - "@shopify/slate-analytics": "1.0.0-beta.11", - "@shopify/slate-config": "1.0.0-beta.11", - "@shopify/slate-env": "1.0.0-beta.11", + "@shopify/slate-analytics": "1.0.0-beta.12", + "@shopify/slate-config": "1.0.0-beta.12", + "@shopify/slate-env": "1.0.0-beta.12", "@shopify/themekit": "0.6.12", "array-flatten": "^2.1.1", "chalk": "2.3.2", diff --git a/packages/slate-tag-webpack-plugin/package.json b/packages/slate-tag-webpack-plugin/package.json index 2f4071cc9..72b5c6e6d 100644 --- a/packages/slate-tag-webpack-plugin/package.json +++ b/packages/slate-tag-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-tag-webpack-plugin", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "A webpack plugin that tags a Slate theme settings_schema.json so it's easy to identify on Shopify servers", "main": "index.js", "scripts": { diff --git a/packages/slate-tools/package.json b/packages/slate-tools/package.json index d4b5be44d..7e6c7c333 100755 --- a/packages/slate-tools/package.json +++ b/packages/slate-tools/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-tools", - "version": "1.0.0-beta.11", + "version": "1.0.0-beta.12", "description": "A modern development toolkit for Shopify themes", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-tools", "license": "MIT", @@ -14,13 +14,13 @@ "engine": ">=8.9.4", "dependencies": { "@shopify/html-webpack-liquid-asset-tags-plugin": "1.0.0-beta.11", - "@shopify/slate-analytics": "1.0.0-beta.11", - "@shopify/slate-config": "1.0.0-beta.11", - "@shopify/slate-cssvar-loader": "1.0.0-beta.11", - "@shopify/slate-env": "1.0.0-beta.11", + "@shopify/slate-analytics": "1.0.0-beta.12", + "@shopify/slate-config": "1.0.0-beta.12", + "@shopify/slate-cssvar-loader": "1.0.0-beta.12", + "@shopify/slate-env": "1.0.0-beta.12", "@shopify/slate-liquid-asset-loader": "1.0.0-beta.11", - "@shopify/slate-sync": "1.0.0-beta.11", - "@shopify/slate-tag-webpack-plugin": "1.0.0-beta.11", + "@shopify/slate-sync": "1.0.0-beta.12", + "@shopify/slate-tag-webpack-plugin": "1.0.0-beta.12", "@shopify/theme-lint": "^2.0.0", "@shopify/themekit": "0.6.12", "archiver": "^2.1.0", @@ -32,7 +32,7 @@ "browser-sync": "^2.24.6", "chalk": "2.3.2", "clean-webpack-plugin": "0.1.19", - "concat-style-loader": "1.0.0-beta.11", + "concat-style-loader": "1.0.0-beta.12", "console-control-strings": "^1.1.0", "copy-webpack-plugin": "^4.2.3", "cors": "^2.8.4",