Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-konshin committed Aug 22, 2019
1 parent d2185f6 commit fda06f6
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .huskyrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"hooks": {
"pre-commit": "npm run lint:staged && npm test:quick"
"pre-commit": "npm run lint:staged && npm run test:quick"
}
}
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: node_js

cache:
directories:
- node_modules

node_js:
- stable

Expand All @@ -11,15 +15,8 @@ before_script:
- npm run build

deploy:
#- provider: script
# script: npm run publish:canary -- --yes
# skip_cleanup: true
# on:
# tags: false
# branch: master
# repo: kirill-konshin/next-redux-wrapper
- provider: script
script: npm run publish:release -- --yes
script: npm run publish:release -- ${TRAVIS_TAG} --yes
skip_cleanup: true
on:
tags: true
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "3.0.0-alpha.3"
"version": "0.0.0"
}
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-redux-wrapper-mono",
"private": true,
"version": "3.0.0",
"version": "0.0.0",
"description": "Redux wrapper for Next.js",
"scripts": {
"postinstall": "lerna bootstrap --hoist --no-ci",
Expand All @@ -11,18 +11,15 @@
"test": "lerna run test --concurrency=1 --stream",
"test:quick": "lerna run test:quick --concurrency=1 --stream",
"test:coverage": "cat packages/*/coverage/lcov.info | coveralls",
"publish:canary": "lerna publish --canary --force-publish=*",
"publish:release": "lerna publish from-package --tag-version-prefix=''",
"prepare:release": "lerna version --tag-version-prefix='' --force-publish=*",
"prepare:prerelease": "npm run prepare:release prerelease -- --preid alpha",
"publish:release": "lerna publish --tag-version-prefix=\"\" --force-publish=* --no-push --no-git-tag-version",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint --fix",
"lint:all": "npm run lint -- 'packages/*/**/*.ts?' 'packages/*/*.js'",
"lint:staged": "lint-staged --debug"
},
"devDependencies": {
"coveralls": "3.0.3",
"eslint": "5.16.0",
"eslint-config-ringcentral-typescript": "1.0.0",
"eslint-config-ringcentral-typescript": "1.0.1",
"husky": "2.4.0",
"lerna": "3.14.1",
"lint-staged": "8.1.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/configs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "next-redux-wrapper-configs",
"private": true,
"version": "3.0.0-alpha.3"
"version": "3.0.0"
}
2 changes: 1 addition & 1 deletion packages/demo/jest-puppeteer.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
server: {
command: 'npm start',
command: 'npm run serve',
debug: true,
port: 3000,
launchTimeout: 30000,
Expand Down
8 changes: 4 additions & 4 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-redux-wrapper-demo",
"private": true,
"version": "3.0.0-alpha.3",
"version": "3.0.0",
"description": "Demo of redux wrapper for Next.js",
"scripts": {
"clean": "rimraf .next coverage",
Expand All @@ -11,7 +11,7 @@
"serve": "next start"
},
"dependencies": {
"next-redux-wrapper": "^3.0.0-alpha.3",
"next-redux-wrapper": "^3.0.0",
"react": "16.8.6",
"react-dom": "16.8.6",
"react-redux": "7.0.3",
Expand All @@ -23,14 +23,14 @@
"@types/jest-environment-puppeteer": "4.0.0",
"@types/next": "8.0.5",
"@types/puppeteer": "1.12.4",
"@types/react": "16.8.19",
"@types/react": "16.9.2",
"@types/react-redux": "7.0.9",
"@types/redux-promise-middleware": "0.0.11",
"@types/webpack-env": "1.13.9",
"@zeit/next-typescript": "1.1.1",
"jest-puppeteer": "4.2.0",
"next": "8.1.0",
"next-redux-wrapper-configs": "^3.0.0-alpha.3",
"next-redux-wrapper-configs": "^3.0.0",
"puppeteer": "1.17.0",
"rimraf": "2.6.3",
"ts-jest": "24.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/tests/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const config = require('../jest-puppeteer.config');
import config from '../jest-puppeteer.config';

const openPage = (url = '/') => page.goto(`http://localhost:${config.server.port}${url}`);

Expand Down
6 changes: 3 additions & 3 deletions packages/wrapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-redux-wrapper",
"version": "3.0.0-alpha.3",
"version": "3.0.0",
"description": "Redux wrapper for Next.js",
"main": "lib/index.js",
"module": "es6/index.js",
Expand All @@ -20,12 +20,12 @@
"devDependencies": {
"@types/jest": "24.0.13",
"@types/next": "8.0.5",
"@types/react": "16.8.19",
"@types/react": "16.9.2",
"@types/react-redux": "7.0.9",
"@types/redux-promise-middleware": "0.0.11",
"@zeit/next-typescript": "1.1.1",
"jest": "24.8.0",
"next-redux-wrapper-configs": "^3.0.0-alpha.3",
"next-redux-wrapper-configs": "^3.0.0",
"npm-run-all": "4.1.5",
"react": "16.8.6",
"react-dom": "16.8.6",
Expand Down

0 comments on commit fda06f6

Please sign in to comment.