From 667c2ef31df71d8b978fda304c45ecc30f65a839 Mon Sep 17 00:00:00 2001 From: Maxime Thirouin Date: Tue, 22 May 2018 12:33:03 +0200 Subject: [PATCH] v1.0.0-beta.3 --- examples/react-app-blog/package.json | 8 +- .../react-app-getting-started/package.json | 8 +- .../package.json | 8 +- .../package.json | 8 +- .../package.json | 8 +- .../react-app-styles-with-css/package.json | 8 +- .../package.json | 8 +- .../react-app-styles-with-glamor/package.json | 8 +- .../package.json | 8 +- .../react-app-styles-with-radium/package.json | 8 +- .../package.json | 8 +- examples/react-app-with-basename/package.json | 8 +- examples/react-native-web-app/package.json | 8 +- examples/reason-react-app/package.json | 8 +- lerna.json | 2 +- packages/api-client/package.json | 2 +- packages/babel-preset/package.json | 2 +- packages/cli/package.json | 8 +- packages/core/package.json | 4 +- packages/helpers-transform/package.json | 6 +- .../plugin-api-related-content/package.json | 6 +- packages/plugin-bundler-webpack/package.json | 8 +- packages/plugin-collector-files/package.json | 6 +- packages/plugin-public-assets/package.json | 6 +- packages/plugin-renderer-react/package.json | 8 +- packages/plugin-rss-feed/package.json | 8 +- packages/plugin-sitemap/package.json | 2 +- .../plugin-transform-asciidoc/package.json | 8 +- packages/plugin-transform-json/package.json | 6 +- .../plugin-transform-markdown/package.json | 8 +- packages/preset-react-app/package.json | 16 +- .../content/blog/2018-05-22-v1.0.0-beta.3.md | 202 ++++++++++++++++++ website/package.json | 8 +- 33 files changed, 315 insertions(+), 113 deletions(-) create mode 100644 website/content/blog/2018-05-22-v1.0.0-beta.3.md diff --git a/examples/react-app-blog/package.json b/examples/react-app-blog/package.json index de2374bfd..43dd4240e 100644 --- a/examples/react-app-blog/package.json +++ b/examples/react-app-blog/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-blog", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-helmet": "^5.0.0", diff --git a/examples/react-app-getting-started/package.json b/examples/react-app-getting-started/package.json index 599c1641c..b4beeeb0c 100644 --- a/examples/react-app-getting-started/package.json +++ b/examples/react-app-getting-started/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-getting-started", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-helmet": "^5.0.0", diff --git a/examples/react-app-markdown-with-custom-components/package.json b/examples/react-app-markdown-with-custom-components/package.json index b70bdc572..5863a7f95 100644 --- a/examples/react-app-markdown-with-custom-components/package.json +++ b/examples/react-app-markdown-with-custom-components/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-markdown-with-custom-components", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-router": "^3.2.0" diff --git a/examples/react-app-minimal-hello-world/package.json b/examples/react-app-minimal-hello-world/package.json index 0a3964ce6..6d3165181 100644 --- a/examples/react-app-minimal-hello-world/package.json +++ b/examples/react-app-minimal-hello-world/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-minimal-hello-world", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-router": "^3.2.0" diff --git a/examples/react-app-styles-with-aphrodite/package.json b/examples/react-app-styles-with-aphrodite/package.json index cea3f8559..a6f8dbd54 100644 --- a/examples/react-app-styles-with-aphrodite/package.json +++ b/examples/react-app-styles-with-aphrodite/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-styles-with-aphrodite", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "aphrodite": "^1.0.0", "react": "^16.3.0", "react-dom": "^16.3.0", diff --git a/examples/react-app-styles-with-css/package.json b/examples/react-app-styles-with-css/package.json index a3fcf7d63..3af8453bc 100644 --- a/examples/react-app-styles-with-css/package.json +++ b/examples/react-app-styles-with-css/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-styles-with-css", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-router": "^3.2.0" diff --git a/examples/react-app-styles-with-emotion/package.json b/examples/react-app-styles-with-emotion/package.json index a5ab25912..24c97221f 100644 --- a/examples/react-app-styles-with-emotion/package.json +++ b/examples/react-app-styles-with-emotion/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-styles-with-emotion", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "emotion": "^8.0.0", "emotion-server": "^8.0.0", "react": "^16.3.0", diff --git a/examples/react-app-styles-with-glamor/package.json b/examples/react-app-styles-with-glamor/package.json index 2692da8c4..3b91f9fa4 100644 --- a/examples/react-app-styles-with-glamor/package.json +++ b/examples/react-app-styles-with-glamor/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-styles-with-glamor", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "glamor": "^2.0.0", "react": "^16.3.0", "react-dom": "^16.3.0", diff --git a/examples/react-app-styles-with-glamorous/package.json b/examples/react-app-styles-with-glamorous/package.json index 56d60eaaf..df34a5939 100644 --- a/examples/react-app-styles-with-glamorous/package.json +++ b/examples/react-app-styles-with-glamorous/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-styles-with-glamorous", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "glamor": "^2.0.0", "glamorous": "^4.0.0", "react": "^16.3.0", diff --git a/examples/react-app-styles-with-radium/package.json b/examples/react-app-styles-with-radium/package.json index 4ffe34497..cac9fedcd 100644 --- a/examples/react-app-styles-with-radium/package.json +++ b/examples/react-app-styles-with-radium/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-styles-with-radium", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "radium": "^0.19.0", "react": "^16.3.0", "react-dom": "^16.3.0", diff --git a/examples/react-app-styles-with-styled-components/package.json b/examples/react-app-styles-with-styled-components/package.json index 2ceaa3442..d1fadd9ec 100644 --- a/examples/react-app-styles-with-styled-components/package.json +++ b/examples/react-app-styles-with-styled-components/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-styles-with-styled-components", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-router": "^3.2.0", diff --git a/examples/react-app-with-basename/package.json b/examples/react-app-with-basename/package.json index 9e51771a0..d469a5e42 100644 --- a/examples/react-app-with-basename/package.json +++ b/examples/react-app-with-basename/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-app-with-basename", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-router": "^3.2.0" diff --git a/examples/react-native-web-app/package.json b/examples/react-native-web-app/package.json index c7464cb48..5a7365d55 100644 --- a/examples/react-native-web-app/package.json +++ b/examples/react-native-web-app/package.json @@ -1,11 +1,11 @@ { "private": true, "name": "@phenomic/example-react-native-app", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-native-web": "^0.5.0", diff --git a/examples/reason-react-app/package.json b/examples/reason-react-app/package.json index 5ada368bc..32bc935a2 100644 --- a/examples/reason-react-app/package.json +++ b/examples/reason-react-app/package.json @@ -2,9 +2,9 @@ "private": true, "name": "@phenomic/example-reason-react-app", "devDependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "bs-platform": "^2.2.0", "bs-react-helmet": "^0.2.1", "npm-run-all": "^4.0.2", @@ -26,5 +26,5 @@ "phenomic": { "presets": ["@phenomic/preset-react-app"] }, - "version": "1.0.0-beta.2" + "version": "1.0.0-beta.3" } diff --git a/lerna.json b/lerna.json index 7bcf042a4..c1c0e5db5 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "2.5.1", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "registry": "https://registry.npmjs.org/", "npmClient": "yarn", "useWorkspaces": true, diff --git a/packages/api-client/package.json b/packages/api-client/package.json index 3fae2df24..43606379e 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/api-client", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, diff --git a/packages/babel-preset/package.json b/packages/babel-preset/package.json index 8af741496..bba85ed96 100644 --- a/packages/babel-preset/package.json +++ b/packages/babel-preset/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/babel-preset", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, diff --git a/packages/cli/package.json b/packages/cli/package.json index 50b48baab..39f4cb943 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/cli", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -15,7 +15,7 @@ }, "files": ["index.js", "lib"], "dependencies": { - "@phenomic/core": "^1.0.0-beta.2", + "@phenomic/core": "^1.0.0-beta.3", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.0", "babel-register": "^6.24.0", @@ -25,9 +25,9 @@ "yargs": "^7.0.2" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/core/package.json b/packages/core/package.json index d5d816f68..d372574d5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/core", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -13,7 +13,7 @@ "main": "lib/index.js", "files": ["lib", "src", "!**/__tests__"], "dependencies": { - "@phenomic/api-client": "^1.0.0-beta.2", + "@phenomic/api-client": "^1.0.0-beta.3", "chalk": "^1.1.3", "cosmiconfig": "^2.1.1", "debug": "^2.6.0", diff --git a/packages/helpers-transform/package.json b/packages/helpers-transform/package.json index 973e9e1d5..571fd444c 100644 --- a/packages/helpers-transform/package.json +++ b/packages/helpers-transform/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/helpers-transform", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -26,10 +26,10 @@ "unified": "^6.0.0" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2", + "@phenomic/core": "^1.0.0-beta.3", "rehype-autolink-headings": "^2.0.0", "rehype-raw": "^2.0.0", "rehype-react": "^3.0.0", diff --git a/packages/plugin-api-related-content/package.json b/packages/plugin-api-related-content/package.json index a2e4f7d69..bd2aa5d58 100644 --- a/packages/plugin-api-related-content/package.json +++ b/packages/plugin-api-related-content/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-api-related-content", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -29,9 +29,9 @@ "lodash.flatten": "^4.4.0" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/plugin-bundler-webpack/package.json b/packages/plugin-bundler-webpack/package.json index 2e5e41962..8e86f049a 100644 --- a/packages/plugin-bundler-webpack/package.json +++ b/packages/plugin-bundler-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-bundler-webpack", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -24,7 +24,7 @@ "main": "lib/index.js", "files": ["lib", "src", "!**/__tests__"], "dependencies": { - "@phenomic/babel-preset": "^1.0.0-beta.2", + "@phenomic/babel-preset": "^1.0.0-beta.3", "babel-loader": "^7.0.0", "chalk": "^1.1.3", "css-loader": "^0.28.0", @@ -40,9 +40,9 @@ "webpack-hot-middleware": "^2.18.0" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/plugin-collector-files/package.json b/packages/plugin-collector-files/package.json index 40691c060..d3523fcad 100644 --- a/packages/plugin-collector-files/package.json +++ b/packages/plugin-collector-files/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-collector-files", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -27,9 +27,9 @@ "debug": "^2.6.0" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/plugin-public-assets/package.json b/packages/plugin-public-assets/package.json index b82f77f60..de0fec96e 100644 --- a/packages/plugin-public-assets/package.json +++ b/packages/plugin-public-assets/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-public-assets", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -27,9 +27,9 @@ "fs-extra": "^3.0.1" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/plugin-renderer-react/package.json b/packages/plugin-renderer-react/package.json index 8cc6cc3c4..b075003ca 100644 --- a/packages/plugin-renderer-react/package.json +++ b/packages/plugin-renderer-react/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-renderer-react", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -24,7 +24,7 @@ "main": "lib/index.js", "files": ["lib", "src", "!**/__tests__", "bsconfig.json"], "dependencies": { - "@phenomic/api-client": "^1.0.0-beta.2", + "@phenomic/api-client": "^1.0.0-beta.3", "chalk": "^1.1.3", "classnames": "^2.2.5", "debug": "^2.6.0", @@ -36,13 +36,13 @@ "url-join": "^2.0.2" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2", + "@phenomic/core": "^1.0.0-beta.3", "react": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0", "react-router": "^3.2.0" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2", + "@phenomic/core": "^1.0.0-beta.3", "bs-platform": "^2.2.0", "jsx-test-helpers": "^3.0.0", "react": "^16.3.0", diff --git a/packages/plugin-rss-feed/package.json b/packages/plugin-rss-feed/package.json index b29276ad5..57e2eb0e8 100644 --- a/packages/plugin-rss-feed/package.json +++ b/packages/plugin-rss-feed/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-rss-feed", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -22,15 +22,15 @@ "main": "lib/index.js", "files": ["lib", "src", "!**/__tests__"], "dependencies": { - "@phenomic/api-client": "^1.0.0-beta.2", + "@phenomic/api-client": "^1.0.0-beta.3", "debug": "^2.6.0", "express": "^4.14.0", "rss": "^1.2.1" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/plugin-sitemap/package.json b/packages/plugin-sitemap/package.json index 32030cbdf..47a483865 100644 --- a/packages/plugin-sitemap/package.json +++ b/packages/plugin-sitemap/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@phenomic/plugin-sitemap", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, diff --git a/packages/plugin-transform-asciidoc/package.json b/packages/plugin-transform-asciidoc/package.json index ee2bd0647..ef3eed950 100644 --- a/packages/plugin-transform-asciidoc/package.json +++ b/packages/plugin-transform-asciidoc/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-transform-asciidoc", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -22,7 +22,7 @@ "main": "lib/index.js", "files": ["lib", "src", "!**/__tests__"], "dependencies": { - "@phenomic/helpers-transform": "^1.0.0-beta.2", + "@phenomic/helpers-transform": "^1.0.0-beta.3", "asciidoctor.js": "^1.5.6-preview.3", "debug": "^2.6.0", "lodash.deburr": "^4.1.0", @@ -34,9 +34,9 @@ "rehype-slug": "^2.0.0" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/plugin-transform-json/package.json b/packages/plugin-transform-json/package.json index f81ce0104..65afead92 100644 --- a/packages/plugin-transform-json/package.json +++ b/packages/plugin-transform-json/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-transform-json", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -24,9 +24,9 @@ "debug": "^2.6.0" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/plugin-transform-markdown/package.json b/packages/plugin-transform-markdown/package.json index 51af02a03..b0dd38ced 100644 --- a/packages/plugin-transform-markdown/package.json +++ b/packages/plugin-transform-markdown/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/plugin-transform-markdown", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -21,7 +21,7 @@ "main": "lib/index.js", "files": ["lib", "src", "!**/__tests__"], "dependencies": { - "@phenomic/helpers-transform": "^1.0.0-beta.2", + "@phenomic/helpers-transform": "^1.0.0-beta.3", "debug": "^2.6.0", "gray-matter": "^3.0.0", "lodash.deburr": "^4.1.0", @@ -36,9 +36,9 @@ "remark-toc": "^4.0.0" }, "peerDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" }, "devDependencies": { - "@phenomic/core": "^1.0.0-beta.2" + "@phenomic/core": "^1.0.0-beta.3" } } diff --git a/packages/preset-react-app/package.json b/packages/preset-react-app/package.json index 933816d5d..524f66324 100644 --- a/packages/preset-react-app/package.json +++ b/packages/preset-react-app/package.json @@ -1,6 +1,6 @@ { "name": "@phenomic/preset-react-app", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "publishConfig": { "access": "public" }, @@ -25,13 +25,13 @@ "main": "lib/index.js", "files": ["lib", "src", "!**/__tests__", "bsconfig.json"], "dependencies": { - "@phenomic/plugin-api-related-content": "^1.0.0-beta.2", - "@phenomic/plugin-bundler-webpack": "^1.0.0-beta.2", - "@phenomic/plugin-collector-files": "^1.0.0-beta.2", - "@phenomic/plugin-public-assets": "^1.0.0-beta.2", - "@phenomic/plugin-renderer-react": "^1.0.0-beta.2", - "@phenomic/plugin-transform-json": "^1.0.0-beta.2", - "@phenomic/plugin-transform-markdown": "^1.0.0-beta.2" + "@phenomic/plugin-api-related-content": "^1.0.0-beta.3", + "@phenomic/plugin-bundler-webpack": "^1.0.0-beta.3", + "@phenomic/plugin-collector-files": "^1.0.0-beta.3", + "@phenomic/plugin-public-assets": "^1.0.0-beta.3", + "@phenomic/plugin-renderer-react": "^1.0.0-beta.3", + "@phenomic/plugin-transform-json": "^1.0.0-beta.3", + "@phenomic/plugin-transform-markdown": "^1.0.0-beta.3" }, "devDependencies": { "bs-platform": "^2.2.0" diff --git a/website/content/blog/2018-05-22-v1.0.0-beta.3.md b/website/content/blog/2018-05-22-v1.0.0-beta.3.md new file mode 100644 index 000000000..7dbaa62c6 --- /dev/null +++ b/website/content/blog/2018-05-22-v1.0.0-beta.3.md @@ -0,0 +1,202 @@ +--- +title: 1.0.0-beta.3 +tag_name: v1.0.0-beta.3 +link: https://github.com/phenomic/phenomic/releases/tag/v1.0.0-beta.3 +author: MoOx +prerelease: true +--- + +# Hopefully, the last beta + +We are very close to our final and stable release for v1. Why we didn't ship +this version already? Some people like to move fast & break things. But we +wanted to have a correct design for the v1 so future majors version won't break +too much things. + +What we did for v0.x was an experiment and we learned a lot of things by running +this in production on moderate websites. We have spent a lot of brain energy to +make a scalable & flexible solution with a small API surface. + +We have designed an architecture that follow React way of thinking, by offering +a [centralized lifecycle](/en/packages/core/docs/writing-plugins/). With that in +mind we have adjusted our goal and make React & Webpack, 2 core pieces of v0.x, +first class plugins in our v1.x. This opens up lot of nice things to support +React or Webpack alternatives. + +## Documentation is a work in progress 🎉 + +First thing to celebrate, we started to work on our website! You can now find +[documentation for the core](/en/packages/core/docs/) and the +[react preset tutorial](/en/packages/preset-react-app/docs/)! More things will +follow! + +## 2 small breaking changes + +Below you will find 2 small breaking changes, **very easy to adjust** (that will +probably consist of adding `content` in front of all your current existing query +to our content api or to adjust your configuration). + +[🚨 `@phenomic/core`: `content` options now supports multiples entries and globs ](https://github.com/phenomic/phenomic/commit/05ef940603981bb9971b02234a31e601d29067f7) +(+ +[fixup](https://github.com/phenomic/phenomic/commit/c79b572fa9c54cf88419dac1f6367e3cd5a5c0ef)) +by @MoOx + +**All your previous queries won't work with this breaking change** but don't +worry, it's very easy to adjust your code. + +We are sorry to add a breaking change now, but it's for the better. + +**Solution 1 (recommended)**: You will have to add "content/" in front of all +your `path` in your queries. Why? It's for being more explicit and also be able +to support multiples sources (multiples folders) to avoid duplicate names +without a weird configuration. The upgrade is pretty easy. + +For example + +```js +const HomeContainer = withPhenomicApi(Home, props => ({ + posts: query({ + path: "posts" + }) +})); +``` + +Will become + +```js +const HomeContainer = withPhenomicApi(Home, props => ({ + posts: query({ + path: "content/posts" + }) +})); +``` + +**Solution 2 (for lazy people)**: You can keep the previous behavior very easily +by using this value for `content` option: `"": {root: "content", globs: +["**/*"]}`. You can throw that in your `package.json` in a `phenomic` like this: + +```json + "phenomic": { + "content": { + "": {root: "content", globs: ["**/*"]} + }, + "presets": ["@phenomic/preset-react-app"] + } +``` + +[🚨 `@phenomic/plugin-rss-feed`: now lookup in `content/posts` by default. ](https://github.com/phenomic/phenomic/commit/05ef940603981bb9971b02234a31e601d29067f7) +by @MoOx + +To get previous behavior back, just use this configuration (adjust to match +yours): + +```json + "phenomic": { + "presets": ["@phenomic/preset-react-app"], + "plugins": [ + [ + "@phenomic/plugin-rss-feed", + { + "feeds": { + "feed.xml": { + "query": { + "path": "content/posts" + } + } + } + } + ] + ] + }, +``` + +## Bugfixes + +[🐛 `@phenomic/plugin-renderer-react`: Handle scroll like it should (to top or to the hash if any) ](https://github.com/phenomic/phenomic/commit/d4824c531073e31fa1b74f45bbdaf7db1ba642e3) +by @MoOx + +[🐛`phenomic/plugin-collector-files`: correctly clean extensions from filename for id (not only md|json but all extensions by the plugin loaded at runtime) ](https://github.com/phenomic/phenomic/commit/b924d0bca097ba31e9f38c0c0a35c68fa98865ae) +by @MoOx + +## Tons of small improvements + +As we started to actively working on our documentation, we have added tons of +small improvements. + +[✨ `@phenomic/plugin-renderer-react`: add render + callback option to createApp/renderApp for custom rendering ](https://github.com/phenomic/phenomic/commit/ce083d92f7abced22dbc8a2884649a92f47cdf41) +by @MoOx + +This commit allows you to use a custom render() function. This way to render the +app is required by some solutions that needs a custom wrapper for styles +pre-rendering (eg: react-native-web). + +[🎉 examples/react-native-web-app ](https://github.com/phenomic/phenomic/commit/dd9d19f6e3a5dba60e7262311c8eb060d8661070) +by @MoOx + +[✨ `@phenomic/core`: add socketPort option (and switch to 3334 since 1415 can be used by dbstar) ](https://github.com/phenomic/phenomic/commit/645c89977f955b619c7bb9018f08f0d3259a379a) +by @MoOx + +[✨`@phenomic/core`: Improve error shown from database access ](https://github.com/phenomic/phenomic/commit/4df49e34e6eeef33e0676f5293933d67db8daa3c) +by @MoOx + +[✨ `@phenomic/core`: Improve error message from database not found entry ](https://github.com/phenomic/phenomic/commit/fc729aa0dee61d2fc81b5b294f583f705bf40bf6) +by @MoOx + +[🔥 Add a new helper to extract meta from body nodes (title + headings list) ](https://github.com/phenomic/phenomic/commit/da0d4da4d5a39c865dd68d78a14ee3533adcb943) +(+ +[fixup](https://github.com/phenomic/phenomic/commit/1b68eff0c6a0e299da3e3c7a9c897cc4338525aa)) +by @MoOx + +This helper is used in `@phenomic/plugin-transform-markdown` and +`@phenomic/plugin-transform-asciidoc` to **automatically add a `title` meta** +even if you don't have frontmatter. Pretty cool for files that you don't +control. This helper also returns a list of headings in your content, which is +pretty convenient to make a **table of content** at the top of you page or in a +sidebar. + +[✨ `@phenomic/plugin-transform-markdown`: add title fallback extracted from markdown body if no title is in the frontmatter + add a list of markdown headings ](https://github.com/phenomic/phenomic/commit/3f35a51dc09f5a00cb2ad3d268d820563addbcab) +(+ +[fixup](https://github.com/phenomic/phenomic/commit/1b68eff0c6a0e299da3e3c7a9c897cc4338525aa)) +by @MoOx + +[✨ `@phenomic/plugin-transform-asciidoc`: add title fallback extracted from markdown body if no title is in the frontmatter + add a list of markdown headings ](https://github.com/phenomic/phenomic/commit/3f35a51dc09f5a00cb2ad3d268d820563addbcab) +(+ +[fixup](https://github.com/phenomic/phenomic/commit/1b68eff0c6a0e299da3e3c7a9c897cc4338525aa)) +by @MoOx + +[✨ `@phenomic/plugin-transform-json`: add title fallback ](https://github.com/phenomic/phenomic/commit/3f35a51dc09f5a00cb2ad3d268d820563addbcab) +by @MoOx + +[✨ `@phenomic/core`: better display in case of error during start/build ](https://github.com/phenomic/phenomic/commit/ef32bb098a9a561aa483d2267a355c20f3a69beb) +by @MoOx + +[✨ `@phenomic/core`: add options to sort db results ](https://github.com/phenomic/phenomic/commit/a1f869ab5669083073dcdb310a1c86bfa87b213b) +by @MoOx + +This feature is pretty awesome and allows you to add custom order to your query. +As a good example, we wanted to sort our showcase with the following algorithm: + +* Sites with a flag `curated` first +* Sites with many tags +* Sites with tags "blog" at the end. + +In order to do so, we have introduced this option and we hope you will like it. +You can check out the +[documentation for `db.sortFunctions`](/en/packages/core/docs/configuration/#dbsortfunctions) +and take a look to the +[one we use for the showcase](https://github.com/phenomic/phenomic/blob/801c2ad9720cb17cb599597f0dc1e020e1b581b9/website/phenomic.config.js#L32-L52). + +[✨ `@phenomic/cli`: add preview command ](https://github.com/phenomic/phenomic/commit/88c10b94c26830b2c2397da2fc2477f6175e5626) +by @MoOx + +[✨ `@phenomic/core`: add preview command to build & serve results ](https://github.com/phenomic/phenomic/commit/c2e0ecc9c7d6d75b4817eb7551dc690e4280081f) +by @MoOx + +Now you can run + +```console +phenomic preview +``` + +This will build and serve the website, to mimic production (as you will have the +pre-rendered files and the client side reconciliation). diff --git a/website/package.json b/website/package.json index 0e641df27..8a2d64a8f 100644 --- a/website/package.json +++ b/website/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "website", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "repository": "https://github.com/phenomic/phenomic.git", "scripts": { "prepare": "svgr --no-dimensions --out-dir svgs svgs", @@ -18,9 +18,9 @@ "deploy": "./scripts/deploy.sh" }, "dependencies": { - "@phenomic/cli": "^1.0.0-beta.2", - "@phenomic/core": "^1.0.0-beta.2", - "@phenomic/preset-react-app": "^1.0.0-beta.2", + "@phenomic/cli": "^1.0.0-beta.3", + "@phenomic/core": "^1.0.0-beta.3", + "@phenomic/preset-react-app": "^1.0.0-beta.3", "react": "^16.3.0", "react-dom": "^16.3.0", "react-ga": "^2.0.0",