Skip to content

Commit

Permalink
Remove unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Aug 6, 2019
1 parent 6532e53 commit bdf4cfc
Show file tree
Hide file tree
Showing 11 changed files with 70 additions and 302 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Breaking changes

- We will no longer include `react` and `react-dom` in our NPM package, instead, we will requires peer dependencies of `react@^16.8.6` and `react-dom@^16.8.6`

### Changed

- `*`: Bumps all dev dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182), notably
Expand Down
45 changes: 45 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@
"lerna": "^3.15.0",
"lint-staged": "^9.2.0",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"selenium-webdriver": "^4.0.0-alpha.4",
"serve-handler": "^6.1.0"
}
Expand Down
60 changes: 9 additions & 51 deletions packages/bundle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions packages/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@
"memoize-one": "^5.0.2",
"microsoft-speech-browser-sdk": "^0.0.12",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"sanitize-html": "^1.19.0",
"url-search-params-polyfill": "^5.0.0",
"web-speech-cognitive-services": "4.0.1-master.c12f923",
"web-speech-cognitive-services": "4.0.1-master.ad6e780",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
Expand All @@ -75,5 +73,9 @@
"webpack": "^4.35.3",
"webpack-cli": "^3.3.5",
"webpack-visualizer-plugin": "^0.1.11"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
}
34 changes: 0 additions & 34 deletions packages/component/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
"concurrently": "^4.1.1",
"eslint-plugin-prettier": "^3.1.0",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rimraf": "^2.6.3",
"typescript": "^3.5.3"
},
Expand Down
Loading

0 comments on commit bdf4cfc

Please sign in to comment.