Skip to content

Commit

Permalink
Next.js 8
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-konshin committed Feb 11, 2019
1 parent cd4397b commit b32258b
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 35 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "3.0.0-alpha.0"
"version": "3.0.0-alpha.1"
}
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -11,10 +11,10 @@
"clean": "lerna run clean && lerna clean --yes && rimraf node_modules",
"start": "npm run build && lerna run start --parallel",
"build": "lerna run build --concurrency=1 --stream",
"test": "lerna run test --concurrency=1 --stream",
"test": "npm run build && lerna run test --concurrency=1 --stream",
"test:coverage": "cat packages/*/coverage/lcov.info | coveralls",
"publish:canary": "lerna publish --canary --force-publish=*",
"publish:fromgit": "lerna publish from-git",
"publish:fromgit": "lerna publish from-git --tag-version-prefix=''",
"prepare:release": "lerna version --tag-version-prefix='' --force-publish=*",
"prepare:prerelease": "npm run prepare:release -- prerelease --preid alpha",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint --fix",
Expand All @@ -23,14 +23,14 @@
},
"devDependencies": {
"coveralls": "3.0.2",
"eslint": "5.12.1",
"eslint": "5.13.0",
"eslint-config-ringcentral-typescript": "0.1.0",
"husky": "1.3.1",
"lerna": "3.10.7",
"lint-staged": "8.1.0",
"prettier": "1.16.1",
"lerna": "3.11.0",
"lint-staged": "8.1.3",
"prettier": "1.16.4",
"rimraf": "2.6.3",
"typescript": "3.2.4"
"typescript": "3.3.3"
},
"author": "Kirill Konshin",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/configs/package.json
@@ -1,5 +1,5 @@
{
"name": "next-redux-wrapper-configs",
"private": true,
"version": "3.0.0-alpha.0"
"version": "3.0.0-alpha.1"
}
27 changes: 14 additions & 13 deletions packages/demo/package.json
@@ -1,36 +1,37 @@
{
"name": "next-redux-wrapper-demo",
"private": true,
"version": "3.0.0-alpha.0",
"version": "3.0.0-alpha.1",
"description": "Demo of redux wrapper for Next.js",
"scripts": {
"clean": "rimraf .next coverage",
"test": "jest --runInBand",
"start": "next || exit 0"
},
"dependencies": {
"next-redux-wrapper": "^3.0.0-alpha.0",
"react": "16.7.0",
"react-dom": "16.7.0",
"next-redux-wrapper": "^3.0.0-alpha.1",
"react": "16.8.1",
"react-dom": "16.8.1",
"react-redux": "6.0.0",
"redux": "4.0.1"
},
"devDependencies": {
"@types/jest": "23.3.13",
"@types/jest": "24.0.0",
"@types/jest-environment-puppeteer": "2.2.1",
"@types/next": "7.0.6",
"@types/puppeteer": "1.11.2",
"@types/react": "16.7.20",
"@types/react-redux": "6.0.13",
"@types/next": "7.0.9",
"@types/puppeteer": "1.12.1",
"@types/react": "16.8.2",
"@types/react-redux": "7.0.1",
"@types/redux-promise-middleware": "0.0.11",
"@types/webpack-env": "1.13.7",
"@zeit/next-typescript": "1.1.1",
"jest-puppeteer": "3.9.0",
"next": "7.0.2",
"next-redux-wrapper-configs": "^3.0.0-alpha.0",
"puppeteer": "1.11.0",
"next": "8.0.0",
"next-redux-wrapper-configs": "^3.0.0-alpha.1",
"puppeteer": "1.12.2",
"rimraf": "2.6.3",
"ts-jest": "23.10.5",
"typescript": "3.2.4"
"typescript": "3.3.3"
},
"author": "Kirill Konshin",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/demo/pages/index.tsx
Expand Up @@ -31,6 +31,7 @@ class Page extends React.Component<any> {
<Link href="/other">
<a>Navigate</a>
</Link>
{' | '}
<Link href="/error">
<a>Navigate to error</a>
</Link>
Expand Down
24 changes: 12 additions & 12 deletions packages/wrapper/package.json
@@ -1,6 +1,6 @@
{
"name": "next-redux-wrapper",
"version": "3.0.0-alpha.0",
"version": "3.0.0-alpha.1",
"description": "Redux wrapper for Next.js",
"main": "lib/index.js",
"module": "es6/index.js",
Expand All @@ -17,24 +17,24 @@
"start:tsc:es6": "npm run build:tsc:es6 -- --watch --preserveWatchOutput"
},
"devDependencies": {
"@types/jest": "23.3.13",
"@types/next": "7.0.6",
"@types/react": "16.7.20",
"@types/react-redux": "6.0.13",
"@types/jest": "24.0.0",
"@types/next": "7.0.9",
"@types/react": "16.8.2",
"@types/react-redux": "7.0.1",
"@types/redux-promise-middleware": "0.0.11",
"@zeit/next-typescript": "1.1.1",
"jest": "23.6.0",
"next-redux-wrapper-configs": "^3.0.0-alpha.0",
"jest": "24.1.0",
"next-redux-wrapper-configs": "^3.0.0-alpha.1",
"npm-run-all": "4.1.5",
"react": "16.7.0",
"react-dom": "16.7.0",
"react": "16.8.1",
"react-dom": "16.8.1",
"react-redux": "6.0.0",
"react-test-renderer": "16.7.0",
"react-test-renderer": "16.8.1",
"redux": "4.0.1",
"redux-promise-middleware": "5.1.1",
"redux-promise-middleware": "6.0.1",
"rimraf": "2.6.3",
"ts-jest": "23.10.5",
"typescript": "3.2.4"
"typescript": "3.3.3"
},
"peerDependencies": {
"next": ">=6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/wrapper/src/index.spec.tsx
Expand Up @@ -21,7 +21,7 @@ const reducer = (state = {reduxStatus: 'init'}, action) => {
}
};

const makeStore = initialState => createStore(reducer, initialState, applyMiddleware(promiseMiddleware()));
const makeStore = initialState => createStore(reducer, initialState, applyMiddleware(promiseMiddleware));

class SyncPageBase extends Component<any> {
public render() {
Expand Down

0 comments on commit b32258b

Please sign in to comment.