Skip to content

Commit

Permalink
Test updater script on examples folder (vercel#5993)
Browse files Browse the repository at this point in the history
I wrote a [script](https://github.com/j0lv3r4/dependency-version-updater) to update dependencies recursively in `package.json` files, e.g.:

```
$ node index.js --path="./examples" --dependencies="react=^16.7.0,react-dom=^16.7.0"
```

This PR contains the result against the examples folder.
  • Loading branch information
j0lvera authored and timneutkens committed Jan 5, 2019
1 parent 89a4cab commit 7e12997
Show file tree
Hide file tree
Showing 146 changed files with 334 additions and 335 deletions.
4 changes: 2 additions & 2 deletions examples/active-class-name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Remy Sharp <[email protected]>",
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/analyze-bundles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@zeit/next-bundle-analyzer": "^0.1.2",
"faker": "^4.1.0",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/basic-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/basic-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/custom-charset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/custom-server-actionhero/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"ioredis": "^3.2.2",
"isomorphic-fetch": "^2.2.1",
"next": "^5.0.1-canary.9",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"ws": "^4.1.0"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-server-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"express": "^4.14.0",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/custom-server-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"fastify": "1.8.0",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/custom-server-hapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"hapi": "^17.1.1",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/custom-server-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"koa": "^2.0.1",
"koa-router": "^7.1.0",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/custom-server-micro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"micro": "^9.1.0",
"micro-route": "^2.4.0",
"next": "latest",
"react": "^16.1.1",
"react-dom": "^16.1.1"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"micro-dev": "^2.2.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-server-nodemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.2.0",
"react-dom": "^16.2.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"nodemon": "^1.12.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-server-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"dependencies": {
"@zeit/next-typescript": "^1.1.0",
"next": "^7.0.0",
"react": "^16.6.0",
"react-dom": "^16.6.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"@types/next": "^7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/data-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"dependencies": {
"isomorphic-unfetch": "^2.0.0",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/form-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"dependencies": {
"express": "^4.15.4",
"next": "latest",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"next-redux-wrapper": "^1.3.2",
"react-bootstrap": "^0.31.3",
"react-redux": "^5.0.6",
Expand Down
4 changes: 2 additions & 2 deletions examples/gh-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/head-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/layout-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/nested-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"recharts": "^1.1.0"
},
"license": "ISC"
Expand Down
4 changes: 2 additions & 2 deletions examples/parameterized-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"next": "latest",
"path-match": "1.2.4",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/pass-server-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"express": "^4.14.0",
"isomorphic-unfetch": "^2.0.0",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/progressive-render/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-no-ssr": "1.1.0"
}
}
4 changes: 2 additions & 2 deletions examples/root-static-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/shared-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/ssr-caching/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"express": "^4.14.0",
"lru-cache": "^4.0.2",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/svg-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "latest",
"react-dom": "latest"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"babel-plugin-inline-react-svg": "^1.0.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/using-inferno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"inferno-server": "^1.4.0",
"module-alias": "^2.0.0",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "MIT"
}
4 changes: 2 additions & 2 deletions examples/using-nerv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"module-alias": "^2.0.0",
"next": "latest",
"nervjs": "^1.2.4",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/using-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/using-with-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"dependencies": {
"hoist-non-react-statics": "^2.2.2",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/with-absolute-imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"dependencies": {
"next": "latest",
"react": "^16.1.1",
"react-dom": "^16.1.1"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}
}
4 changes: 2 additions & 2 deletions examples/with-algolia-react-instantsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"prop-types": "^15.5.10",
"qs": "^6.4.0",
"next": "latest",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-instantsearch": "beta",
"react-instantsearch-theme-algolia": "beta",
"style-loader": "^0.17.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/with-amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"dependencies": {
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC"
}
4 changes: 2 additions & 2 deletions examples/with-ant-design-less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"less": "3.0.4",
"less-vars-to-js": "1.3.0",
"next": "latest",
"react": "^16.4.0",
"react-dom": "^16.4.0"
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"license": "ISC",
"devDependencies": {
Expand Down
Loading

0 comments on commit 7e12997

Please sign in to comment.