Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
fix(package.json): fix react-router-dom error on production build (#36)
Browse files Browse the repository at this point in the history
* fix(package.json): fix react-router-dom error on production build

degraded react-router-dom to 4.3.1 from 5.0.0 to avoid errors on production build
  • Loading branch information
riftsplitter authored and Salman Al Fariz committed Sep 2, 2019
1 parent 0bf67fb commit 02f1d92
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 30 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="0.4.2"></a>


### Bug Fixes

* fix react-router-dom error on production build. ([#36](https://github.com/tokopedia/treats/pull/35))



<a name="0.4.1"></a>
# 0.4.1 (2019-08-21)

Expand Down
4 changes: 2 additions & 2 deletions example/app-with-workbox/generate-sw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-with-workbox",
"version": "0.0.2",
"version": "0.0.3",
"description": "My First Treats App",
"license": "ISC",
"scripts": {
Expand All @@ -22,6 +22,6 @@
"test:coverage": "treats test --coverage"
},
"dependencies": {
"treats": "0.4.1"
"treats": "0.4.2"
}
}
4 changes: 2 additions & 2 deletions example/app-with-workbox/inject-manifest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-with-workbox",
"version": "0.0.2",
"version": "0.0.3",
"description": "My First Treats App",
"license": "ISC",
"scripts": {
Expand All @@ -22,6 +22,6 @@
"test:coverage": "treats test --coverage"
},
"dependencies": {
"treats": "0.4.1"
"treats": "0.4.2"
}
}
4 changes: 2 additions & 2 deletions example/authoring-addons/my-first-addons/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@treats/my-first-addons",
"license": "Apache-2.0",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Tokopedia Engineering",
"peerDependencies": {
"treats": "0.4.1"
"treats": "0.4.2"
}
}
4 changes: 2 additions & 2 deletions example/authoring-addons/my-treats-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "my-treats-app",
"version": "0.4.1",
"version": "0.4.2",
"description": "My First Treats App",
"license": "ISC",
"scripts": {
Expand All @@ -20,6 +20,6 @@
},
"dependencies": {
"@treats/my-first-addons": "^1.0.0",
"treats": "0.4.1"
"treats": "0.4.2"
}
}
4 changes: 2 additions & 2 deletions example/emotion-critical-css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emotion-example",
"version": "0.4.1",
"version": "0.4.2",
"description": "Emotion Critical CSS Example",
"license": "ISC",
"scripts": {
Expand All @@ -22,7 +22,7 @@
"emotion": "9.2.12",
"emotion-server": "9.2.12",
"react-emotion": "9.2.12",
"treats": "0.4.1"
"treats": "0.4.2"
},
"devDependencies": {
"babel-plugin-emotion": "9.2.11"
Expand Down
4 changes: 2 additions & 2 deletions example/emotion-css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emotion-css",
"version": "0.4.1",
"version": "0.4.2",
"description": "Emotion CSS Example",
"license": "ISC",
"scripts": {
Expand All @@ -22,7 +22,7 @@
"emotion": "9.2.12",
"emotion-server": "9.2.12",
"react-emotion": "9.2.12",
"treats": "0.4.1"
"treats": "0.4.2"
},
"devDependencies": {
"babel-plugin-emotion": "9.2.11"
Expand Down
4 changes: 2 additions & 2 deletions example/less-css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "less-css",
"version": "0.4.1",
"version": "0.4.2",
"description": "Less CSS example",
"license": "ISC",
"scripts": {
Expand All @@ -19,7 +19,7 @@
"documentation:flush": "treats documentation flush src/"
},
"dependencies": {
"treats": "0.4.1",
"treats": "0.4.2",
"less": "2.3.1"
}
}
4 changes: 2 additions & 2 deletions example/sass-css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-css",
"version": "0.4.1",
"version": "0.4.2",
"description": "Sass CSS example",
"license": "ISC",
"scripts": {
Expand All @@ -19,7 +19,7 @@
"documentation:flush": "treats documentation flush src/"
},
"dependencies": {
"treats": "0.4.1",
"treats": "0.4.2",
"node-sass": "4.10.0"
}
}
4 changes: 2 additions & 2 deletions example/styled-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "styled-components",
"version": "0.4.1",
"version": "0.4.2",
"description": "Styled Components Example",
"license": "ISC",
"scripts": {
Expand All @@ -20,7 +20,7 @@
},
"dependencies": {
"styled-components": "4.1.1",
"treats": "0.4.1"
"treats": "0.4.2"
},
"devDependencies": {
"babel-plugin-styled-components": "1.8.0"
Expand Down
6 changes: 3 additions & 3 deletions example/tutorial-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "todo",
"version": "0.4.1",
"version": "0.4.2",
"description": "first todo app",
"license": "ISC",
"scripts": {
Expand All @@ -22,8 +22,8 @@
"test:coverage": "treats test --coverage"
},
"dependencies": {
"@treats/addons-base": "0.4.1",
"@treats/addons-base": "0.4.2",
"axios": "^0.18.0",
"treats": "0.4.1"
"treats": "0.4.2"
}
}
4 changes: 2 additions & 2 deletions example/typescript-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-app",
"version": "0.4.1",
"version": "0.4.2",
"description": "My First Treats App with Typescript Language!",
"license": "ISC",
"scripts": {
Expand All @@ -22,7 +22,7 @@
"test:coverage": "treats test --coverage"
},
"dependencies": {
"treats": "0.4.1",
"treats": "0.4.2",
"typescript": "3.2.2",
"@types/enzyme": "3.1.15",
"@types/jest": "23.3.10",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "2.11.0",
"version": "0.4.1",
"version": "0.4.2",
"packages": [
"packages/*"
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "treats-repo",
"version": "0.4.1",
"version": "0.4.2",
"description": "Tokopedia React Development Kits Repository",
"author": "Tokopedia Engineering",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/addons-base/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@treats/addons-base",
"license": "Apache-2.0",
"version": "0.4.1",
"version": "0.4.2",
"description": "Treats Addons Base",
"main": "index.js",
"author": "Tokopedia Engineering",
"peerDependencies": {
"treats": "0.4.1"
"treats": "0.4.2"
},
"dependencies": {
"bluebird": "3.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-treats-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-treats-app",
"license": "Apache-2.0",
"version": "0.4.1",
"version": "0.4.2",
"description": "Create Treats App",
"main": "./index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions packages/treats/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "treats",
"license": "Apache-2.0",
"version": "0.4.1",
"version": "0.4.2",
"description": "Tokopedia React Development Kits",
"author": "Tokopedia Engineering",
"types": "./lib/treats.d.ts",
Expand Down Expand Up @@ -110,7 +110,7 @@
"react-hot-loader": "4.6.0",
"react-intl": "2.7.2",
"react-redux": "5.1.0",
"react-router-dom": "5.0.0",
"react-router-dom": "4.3.1",
"react-universal-component": "3.0.3",
"redux": "4.0.1",
"redux-devtools-extension": "2.13.5",
Expand Down

0 comments on commit 02f1d92

Please sign in to comment.