Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Upgrade Babel to v7, Jest to v23.6 (jaredpalmer#775)

* Upgrade Babel to v7, Jest to v23.6

Fix the following examples

* with-custom-babel-config
* with-inferno
* with-preact
* with-react-native-web
* with-rax

* Mimic other CRA defaults

* Move to Circle 2.0

* Rename folder to .circleci

* Change image to 8.12.0

* Change to generic node:8

* Change name of the mdx example

* v3.0.0-alpha.0

* Remove polyfills, add treeshaking in production (jaredpalmer#788)

* Sync with CRA 2

* Remove unused deps

* Remove array

* Add @babel/runtime as dependency for babel-preset-razzle (jaredpalmer#845)

* Close jaredpalmer#875. Only create one server watcher during development

* Bump file-loader to v3

* Remove yarn.lock

* Add @babel/core to razzle preset

* Upgrade react-loadable example

* v3.0.0-alpha.1

* fix: launchEditorEndpoint warning (jaredpalmer#877)

* v3.0.0-alpha.2

* Bump bs-platform in reason-react example

* Bump some deps

* Remove dead code

* Upgrade to webpack-dev-server 3. Drop speedy fork

* [v3] Create razzle-plugin-eslint (jaredpalmer#888)

* Remove eslint handling from razzle-plugin-typescript

* Remove parts from docs mentioning eslint

* Move eslint specific code over to razzle-plugin-eslint

* Add a temporary eslint-plugin-react setting

* Update to the latest eslint packages as defined in react-scripts

* Add globalSetup, globalTeardown and moduleDirectories as jest options (jaredpalmer#903)

* add globalSetup, globalTeardown and moduleDirectories to jest allowed

* rerun tests
  • Loading branch information
jaredpalmer authored Apr 16, 2019
1 parent 43160eb commit b089543
Show file tree
Hide file tree
Showing 72 changed files with 7,359 additions and 7,770 deletions.
149 changes: 81 additions & 68 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-basic",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -14,6 +14,6 @@
"react-dom": "^16.0.0"
},
"devDependencies": {
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-afterjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-afterjs",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -11,7 +11,7 @@
"dependencies": {
"@jaredpalmer/after": "latest",
"express": "^4.16.2",
"razzle": "^2.4.1",
"razzle": "^3.0.0-alpha.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-helmet": "^5.2.0",
Expand Down
6 changes: 4 additions & 2 deletions examples/with-custom-babel-config/.babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"presets": [
"razzle/babel",
"stage-0"
"razzle/babel"
],
"plugins": [
"@babel/plugin-proposal-do-expressions"
]
}
16 changes: 8 additions & 8 deletions examples/with-custom-babel-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-custom-babel-config",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -9,14 +9,14 @@
"start:prod": "NODE_ENV=production node build/server.js"
},
"dependencies": {
"express": "^4.15.2",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-router-dom": "^4.2.2",
"serialize-javascript": "^1.3.0"
"express": "^4.16.3",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-router-dom": "^4.3.1",
"serialize-javascript": "^1.5.0"
},
"devDependencies": {
"babel-preset-stage-0": "^6.22.0",
"razzle": "^2.4.1"
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-custom-environment-variables/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-custom-environment-variables",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -15,6 +15,6 @@
"serialize-javascript": "^1.3.0"
},
"devDependencies": {
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-custom-webpack-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-custom-webpack-config",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -15,6 +15,6 @@
"serialize-javascript": "^1.3.0"
},
"devDependencies": {
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-elm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-elm",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"postinstall": "elm-package install -y",
Expand All @@ -16,6 +16,6 @@
"devDependencies": {
"elm-hot-loader": "^0.5.4",
"elm-webpack-loader": "4.5.0",
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-firebase-functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-firebase-functions",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -17,6 +17,6 @@
"react-dom": "^16.0.0"
},
"devDependencies": {
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-heroku/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-heroku",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -12,7 +12,7 @@
},
"dependencies": {
"express": "^4.15.2",
"razzle": "^2.4.1",
"razzle": "^3.0.0-alpha.2",
"react": "^16.0.0",
"react-dom": "^16.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions examples/with-hyperapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-hyperapp",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -15,6 +15,6 @@
},
"devDependencies": {
"babel-plugin-transform-react-jsx": "^6.23.0",
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
16 changes: 8 additions & 8 deletions examples/with-inferno/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-inferno",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -9,15 +9,15 @@
"start:prod": "NODE_ENV=production node build/server.js"
},
"dependencies": {
"eslint-plugin-inferno": "^7.7.0",
"eslint-plugin-inferno": "^7.10.0",
"express": "4.16.3",
"inferno": "5.0.1",
"inferno-component": "5.0.1",
"inferno-server": "5.0.1 "
"inferno": "5.6.1",
"inferno-component": "5.6.1",
"inferno-server": "5.6.1"
},
"devDependencies": {
"babel-plugin-inferno": "5.0.1",
"inferno-devtools": "5.0.1",
"razzle": "^2.4.1"
"babel-plugin-inferno": "5.1.0",
"inferno-devtools": "5.6.1",
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-jest-snapshots/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-jest",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -15,7 +15,7 @@
"react-router-dom": "^4.2.2"
},
"devDependencies": {
"razzle": "^2.4.1",
"razzle": "^3.0.0-alpha.2",
"react-test-renderer": "^16.0.0"
}
}
4 changes: 2 additions & 2 deletions examples/with-jsxstyle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-jsxstyle",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -16,6 +16,6 @@
"react-router-dom": "^4.2.2"
},
"devDependencies": {
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
16 changes: 8 additions & 8 deletions examples/with-koa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-koa",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -9,15 +9,15 @@
"start:prod": "NODE_ENV=production node build/server.js"
},
"dependencies": {
"koa": "^2.5.0",
"koa-helmet": "^3.3.0",
"koa": "^2.5.3",
"koa-helmet": "^4.0.0",
"koa-router": "^7.4.0",
"koa-static": "^4.0.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-router-dom": "^4.2.2"
"koa-static": "^5.0.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-router-dom": "^4.3.1"
},
"devDependencies": {
"razzle": "^0.8.12"
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-loadable-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-loadable-components",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -11,7 +11,7 @@
"dependencies": {
"express": "^4.16.3",
"loadable-components": "^1.4.0",
"razzle": "^2.4.1",
"razzle": "^3.0.0-alpha.2",
"react": "^16.0.0",
"react-dom": "^16.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions examples/with-material-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-material-ui",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -15,6 +15,6 @@
"react-dom": "^16.0.0"
},
"devDependencies": {
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
11 changes: 5 additions & 6 deletions examples/with-mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "mdx-razzle",
"name": "razzle-examples-with-mdx",
"version": "3.0.0-alpha.2",
"scripts": {
"start": "razzle start",
"build": "razzle build",
Expand All @@ -9,11 +9,10 @@
},
"dependencies": {
"express": "^4.15.2",
"razzle": "^2.4.1",
"razzle-plugin-mdx": "^2.4.1",
"razzle": "^3.0.0-alpha.2",
"razzle-plugin-mdx": "^3.0.0-alpha.2",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"remark-emoji": "^2.0.1"
},
"version": "2.4.1"
}
}
4 changes: 2 additions & 2 deletions examples/with-now/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-now",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -15,6 +15,6 @@
"react-dom": "^16.0.0"
},
"devDependencies": {
"razzle": "^2.4.1"
"razzle": "^3.0.0-alpha.2"
}
}
4 changes: 2 additions & 2 deletions examples/with-polka/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-polka",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -15,6 +15,6 @@
"serve-static": "^1.13.2"
},
"devDependencies": {
"razzle": "^0.8.12"
"razzle": "^3.0.0-alpha.2"
}
}
2 changes: 1 addition & 1 deletion examples/with-preact/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
],
"plugins": [
[
"transform-react-jsx",
"@babel/plugin-transform-react-jsx",
{
"pragma": "h"
}
Expand Down
12 changes: 6 additions & 6 deletions examples/with-preact/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razzle-examples-with-preact",
"version": "2.4.1",
"version": "3.0.0-alpha.2",
"license": "MIT",
"scripts": {
"start": "razzle start",
Expand All @@ -9,12 +9,12 @@
"start:prod": "NODE_ENV=production node build/server.js"
},
"dependencies": {
"express": "^4.15.2",
"preact": "^7.2.0",
"preact-render-to-string": "^3.6.0"
"express": "^4.16.3",
"preact": "^8.3.1",
"preact-render-to-string": "^3.8.2"
},
"devDependencies": {
"babel-plugin-transform-react-jsx": "^6.23.0",
"razzle": "^2.4.1"
"@babel/plugin-transform-react-jsx": "^7.0.0",
"razzle": "^3.0.0-alpha.2"
}
}
1 change: 1 addition & 0 deletions examples/with-preact/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import App from './App';
let root;
function renderApp() {
root = render(<App />, document.body, document.body.firstElementChild);
return root;
}

// Initial render.
Expand Down
Loading

0 comments on commit b089543

Please sign in to comment.