Skip to content

Commit

Permalink
[Samples] Move react-scripts to devDependencies (#4023)
Browse files Browse the repository at this point in the history
* Move react-scripts in samples to devDependencies

* Move react-scripts to devDependencies

* Bump deps on samples

* Bump http-proxy-middleware

* Add entry

* Update entry
  • Loading branch information
compulim authored Aug 27, 2021
1 parent 0572256 commit 5390f5c
Show file tree
Hide file tree
Showing 47 changed files with 36,898 additions and 15,174 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Changed

- Resolves [#4017](https://github.com/microsoft/BotFramework-WebChat/issues/4017). In samples, moved [`react-scripts`](https://npmjs.com/package/react-scripts`) to `devDependencies`, in PR [#4023](https://github.com/microsoft/BotFramework-WebChat/pull/4023)
- Forked [`cldr-data`](https://npmjs.com/package/cldr-data) and [`cldr-data-downloader`](https://npmjs.com/package/cldr-data-downloader), in PR [#3998](https://github.com/microsoft/BotFramework-WebChat/pull/3998)
- Moved source code to under `./src` folder
- Moved to `fs.readFileSync()` from `require()` when reading JSON files
Expand All @@ -35,7 +36,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Use [`read-pkg-up`](https://npmjs.com/package/read-pkg-up) to determines parent `package.json`
- In Web Chat, since we use `lerna` to run the `install` script, we need to relax how `cldr-data` read from parent `package.json`
- Updated peer dependency of `react` to `>= 16.8.6`, in PR [#3996](https://github.com/microsoft/BotFramework-WebChat/pull/3996)
- Bumped all dependencies to the latest versions and sample bumps, by [@compulim](https://github.com/compulim) in PR [#3996](https://github.com/microsoft/BotFramework-WebChat/pull/3996) and PR [#3998](https://github.com/microsoft/BotFramework-WebChat/pull/3998)
- Bumped all dependencies to the latest versions and sample bumps, by [@compulim](https://github.com/compulim) in PR [#3996](https://github.com/microsoft/BotFramework-WebChat/pull/3996), PR [#3998](https://github.com/microsoft/BotFramework-WebChat/pull/3998), and PR [#4023](https://github.com/microsoft/BotFramework-WebChat/pull/4023)
- Production dependencies
- [`@babel/runtime@7.14.6`](https://npmjs.com/package/@babel/runtime)
- [`abort-controller-es5@2.0.0`](https://npmjs.com/package/abort-controller-es5)
Expand Down Expand Up @@ -91,6 +92,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- [`strip-ansi@6.0.0`](https://npmjs.com/package/strip-ansi)
- [`typescript@4.3.5`](https://npmjs.com/package/typescript)
- [`webpack@5.45.1`](https://npmjs.com/package/webpack)
- Dependencies used by samples
- [`@azure/storage-blob@12.7.0`](https://npmjs.com/package/@azure/storage-blob)
- [`base64-arraybuffer@1.0.1`](https://npmjs.com/package/base64-arraybuffer)
- [`http-proxy-middleware@1.3.1`](https://npmjs.com/package/http-proxy-middleware)
- [`restify@8.5.1`](https://npmjs.com/package/restify)

## [4.14.0] - 2021-07-09

Expand Down
111 changes: 53 additions & 58 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"react": "16.8.6",
"react-dom": "16.8.6",
"selenium-webdriver": "^4.0.0-beta.4",
"serve": "^11.3.2",
"serve": "^12.0.0",
"serve-handler": "^6.1.3",
"strip-ansi": "^6.0.0",
"typescript": "^4.3.5",
Expand Down
Loading

0 comments on commit 5390f5c

Please sign in to comment.