From 663b32958a20025ccaa9cd5afdbe3b4cfc1ffdf3 Mon Sep 17 00:00:00 2001 From: t-kelly Date: Fri, 14 Sep 2018 11:25:38 -0400 Subject: [PATCH] v1.0.0-beta.8 --- CHANGELOG.md | 51 +++++++++++++++++++ lerna.json | 2 +- packages/concat-style-loader/package.json | 2 +- packages/create-slate-theme/package.json | 6 +-- .../package.json | 2 +- 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 +- .../slate-liquid-asset-loader/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 | 20 ++++---- 15 files changed, 86 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e8ba9d49..e6a7cfbcf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,56 @@ # Change Log +## v1.0.0-beta.8 (2018-09-14) + +#### :broken_heart: Breaking + +You will need to update your `slate.config.js` to the new, simplified, more powerful format. For more information see the new [Slate Configuration](https://github.com/Shopify/slate/wiki/Slate-Configuration) wiki page. + +There is no longer seperate development or production configurations. A configuration can return different values for prod or dev by checking if `process.env.NODE_ENV === 'production'` or `process.env.NODE_ENV === 'development'`. + +#### :rocket: Enhancement + +* `slate-config`, `slate-cssvar-loader`, `slate-env`, `slate-rc`, `slate-sync`, `slate-tools` + * [#725](https://github.com/Shopify/slate/pull/725) Simplify @shopify/slate-config and refactor where it's used. ([@t-kelly](https://github.com/t-kelly)) + +#### :bug: Bug Fix + +* `slate-config` + * [#750](https://github.com/Shopify/slate/pull/750) Throw any errors that occur in slate.config.js. ([@t-kelly](https://github.com/t-kelly)) + +#### :memo: Documentation + +* `slate-config` + * [#729](https://github.com/Shopify/slate/pull/729) Update @shopify/slate-config README. ([@t-kelly](https://github.com/t-kelly)) + +#### :house: Internal + +* `slate-config` + * [#756](https://github.com/Shopify/slate/pull/756) Pass computed default value to slate.config.js functions. ([@t-kelly](https://github.com/t-kelly)) +* `slate-tools` + * [#755](https://github.com/Shopify/slate/pull/755) Add 'webpack.babel.exclude' config. ([@t-kelly](https://github.com/t-kelly)) + * [#753](https://github.com/Shopify/slate/pull/753) Add 'webpack.postcss.plugins' config to set plugins for PostCSS. ([@t-kelly](https://github.com/t-kelly)) + * [#746](https://github.com/Shopify/slate/pull/746) Add tests to Eslint config items. ([@t-kelly](https://github.com/t-kelly)) + * [#745](https://github.com/Shopify/slate/pull/745) Add tests to prettier config items. ([@t-kelly](https://github.com/t-kelly)) + * [#744](https://github.com/Shopify/slate/pull/744) Add config tests for stylelint. ([@t-kelly](https://github.com/t-kelly)) + * [#743](https://github.com/Shopify/slate/pull/743) Themelint config test. ([@t-kelly](https://github.com/t-kelly)) + * [#742](https://github.com/Shopify/slate/pull/742) Add test for 'webpack.entrypoints' config. ([@t-kelly](https://github.com/t-kelly)) + * [#740](https://github.com/Shopify/slate/pull/740) Add tests for 'webpack.config.extend.prod' and 'webpack.config.extend.dev'. ([@t-kelly](https://github.com/t-kelly)) + * [#739](https://github.com/Shopify/slate/pull/739) Add test for 'webpack.commonExcludes' config. ([@t-kelly](https://github.com/t-kelly)) + * [#738](https://github.com/Shopify/slate/pull/738) Add tests for cssnano config item. ([@t-kelly](https://github.com/t-kelly)) +* `slate-analytics`, `slate-env`, `slate-tools` + * [#752](https://github.com/Shopify/slate/pull/752) Turn off no-process-env eslint rule. ([@t-kelly](https://github.com/t-kelly)) +* `slate-config`, `slate-tools` + * [#737](https://github.com/Shopify/slate/pull/737) Add tests to babel config items. ([@t-kelly](https://github.com/t-kelly)) +* `slate-analytics`, `slate-tools` + * [#731](https://github.com/Shopify/slate/pull/731) Stop clearing console when testing. ([@t-kelly](https://github.com/t-kelly)) +* `slate-config`, `slate-cssvar-loader`, `slate-tools` + * [#730](https://github.com/Shopify/slate/pull/730) Correct tests to use global.slateUserConfig. ([@t-kelly](https://github.com/t-kelly)) + +#### Committers: 1 + +* Thomas Kelly ([t-kelly](https://github.com/t-kelly)) + ## v1.0.0-beta.7 (2018-09-04) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index 3163f88ae..ebf1a2c8f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "2.0.0", - "version": "1.0.0-beta.7", + "version": "1.0.0-beta.8", "npmClient": "yarn", "useWorkspaces": true, "changelog": { diff --git a/packages/concat-style-loader/package.json b/packages/concat-style-loader/package.json index 4fe596587..028e0a3a9 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.7", + "version": "1.0.0-beta.8", "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 9d722469e..022f90364 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.7", + "version": "1.0.0-beta.8", "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.7", - "@shopify/slate-env": "1.0.0-beta.7", + "@shopify/slate-analytics": "1.0.0-beta.8", + "@shopify/slate-env": "1.0.0-beta.8", "chalk": "^2.3.0", "commander": "^2.12.2", "execa": "^0.9.0", diff --git a/packages/html-webpack-liquid-asset-tags-plugin/package.json b/packages/html-webpack-liquid-asset-tags-plugin/package.json index d78b998cd..52c92b450 100644 --- a/packages/html-webpack-liquid-asset-tags-plugin/package.json +++ b/packages/html-webpack-liquid-asset-tags-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/html-webpack-liquid-asset-tags-plugin", - "version": "1.0.0-beta.7", + "version": "1.0.0-beta.8", "description": "Finds static asset references and turns them into liquid tags with the 'asset_url' filter", "main": "index.js", "author": "Shopify Inc.", diff --git a/packages/slate-analytics/package.json b/packages/slate-analytics/package.json index 726224eb9..40553c497 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.7", + "version": "1.0.0-beta.8", "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.7", - "@shopify/slate-error": "1.0.0-beta.7", - "@shopify/slate-rc": "1.0.0-beta.7", + "@shopify/slate-env": "1.0.0-beta.8", + "@shopify/slate-error": "1.0.0-beta.8", + "@shopify/slate-rc": "1.0.0-beta.8", "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 c2861de64..95c89adb0 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.7", + "version": "1.0.0-beta.8", "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 5ab9df8ff..c16038362 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.7", + "version": "1.0.0-beta.8", "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.7", + "@shopify/slate-config": "1.0.0-beta.8", "loader-utils": "^1.1.0" }, "devDependencies": { diff --git a/packages/slate-env/package.json b/packages/slate-env/package.json index bd0c50e08..1744ac429 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.7", + "version": "1.0.0-beta.8", "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.7", + "@shopify/slate-config": "1.0.0-beta.8", "dotenv": "^4.0.0" }, "devDependencies": { diff --git a/packages/slate-error/package.json b/packages/slate-error/package.json index b09828e17..6674563e5 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.7", + "version": "1.0.0-beta.8", "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-liquid-asset-loader/package.json b/packages/slate-liquid-asset-loader/package.json index 60fb996a2..20e5cddf8 100644 --- a/packages/slate-liquid-asset-loader/package.json +++ b/packages/slate-liquid-asset-loader/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/slate-liquid-asset-loader", - "version": "1.0.0-beta.7", + "version": "1.0.0-beta.8", "description": "Parses liquid files, searching for assets that are piped to `asset_url` and transforming them into `require()` call so that images are run through the correct loader and their name are fingerprinted.", "main": "index.js", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-liquid-asset-loader", diff --git a/packages/slate-rc/package.json b/packages/slate-rc/package.json index 53189d437..c550bf4c2 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.7", + "version": "1.0.0-beta.8", "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.7", - "@shopify/slate-error": "1.0.0-beta.7", + "@shopify/slate-config": "1.0.0-beta.8", + "@shopify/slate-error": "1.0.0-beta.8", "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 2de344f2e..925dc8ab4 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.7", + "version": "1.0.0-beta.8", "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.7", - "@shopify/slate-config": "1.0.0-beta.7", - "@shopify/slate-env": "1.0.0-beta.7", + "@shopify/slate-analytics": "1.0.0-beta.8", + "@shopify/slate-config": "1.0.0-beta.8", + "@shopify/slate-env": "1.0.0-beta.8", "@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 284b1841f..e6230c630 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.7", + "version": "1.0.0-beta.8", "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 8870cb9ef..671c5c1bd 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.7", + "version": "1.0.0-beta.8", "description": "A modern development toolkit for Shopify themes", "repository": "https://github.com/Shopify/slate/tree/1.x/packages/slate-tools", "license": "MIT", @@ -13,14 +13,14 @@ }, "engine": ">=8.9.4", "dependencies": { - "@shopify/html-webpack-liquid-asset-tags-plugin": "1.0.0-beta.7", - "@shopify/slate-analytics": "1.0.0-beta.7", - "@shopify/slate-config": "1.0.0-beta.7", - "@shopify/slate-cssvar-loader": "1.0.0-beta.7", - "@shopify/slate-env": "1.0.0-beta.7", - "@shopify/slate-liquid-asset-loader": "1.0.0-beta.7", - "@shopify/slate-sync": "1.0.0-beta.7", - "@shopify/slate-tag-webpack-plugin": "1.0.0-beta.7", + "@shopify/html-webpack-liquid-asset-tags-plugin": "1.0.0-beta.8", + "@shopify/slate-analytics": "1.0.0-beta.8", + "@shopify/slate-config": "1.0.0-beta.8", + "@shopify/slate-cssvar-loader": "1.0.0-beta.8", + "@shopify/slate-env": "1.0.0-beta.8", + "@shopify/slate-liquid-asset-loader": "1.0.0-beta.8", + "@shopify/slate-sync": "1.0.0-beta.8", + "@shopify/slate-tag-webpack-plugin": "1.0.0-beta.8", "@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.7", + "concat-style-loader": "1.0.0-beta.8", "console-control-strings": "^1.1.0", "copy-webpack-plugin": "^4.2.3", "cors": "^2.8.4",