Skip to content

Commit

Permalink
Update files field in package.json (#4318)
Browse files Browse the repository at this point in the history
* Update files field

* Add entry

* Update entry

* Update CHANGELOG.md

Co-authored-by: TJ Durnford <tjdford@gmail.com>

* Update CHANGELOG.md

Co-authored-by: TJ Durnford <tjdford@gmail.com>

Co-authored-by: TJ Durnford <tjdford@gmail.com>
  • Loading branch information
compulim and tdurnford authored Jun 17, 2022
1 parent 9fa8d2b commit b65edc8
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- New style options added `suggestedActionsVisualKeyboardIndicatorColor`, `suggestedActionsVisualKeyboardIndicatorStyle`, `suggestedActionsVisualKeyboardIndicatorWidth`
- Suggested actions container will be unmounted when there are no suggested action button to display
- Suggested actions container is not longer a live region. The suggested action buttons will now be narrated by the chat history live region
- Published NPM packages will now include `/dist`, `/lib`, and `/src` folders
- The `/dist` folder was previously missing from our NPM packages

### Changed

- Resolves [#4301](https://github.com/microsoft/BotFramework-WebChat/issues/4301). Updated `Dockerfile` to support secure container supply chain, by [@compulim](https://github.com/compulim) in PR [#4303](https://github.com/microsoft/BotFramework-WebChat/pull/4303)
- Resolves [#4317](https://github.com/microsoft/BotFramework-WebChat/issues/4317). Updated `package.json` to allowlist `/dist`, `/lib`, `/src`, by [@compulim](https://github.com/compulim) in PR [#4318](https://github.com/microsoft/BotFramework-WebChat/pull/4318)

### Fixed

Expand Down
4 changes: 4 additions & 0 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"bugs": {
"url": "https://github.com/microsoft/BotFramework-WebChat/issues"
},
"files": [
"lib/**/*",
"src/**/*"
],
"homepage": "https://github.com/microsoft/BotFramework-WebChat/tree/main/packages/component#readme",
"scripts": {
"build": "npm run build:globalize && npm run build:typescript && npm run build:babel",
Expand Down
6 changes: 6 additions & 0 deletions packages/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"url": "https://github.com/microsoft/BotFramework-WebChat/issues"
},
"homepage": "https://github.com/microsoft/BotFramework-WebChat/#readme",
"files": [
"dist/**/*.js",
"dist/**/*.map",
"lib/**/*",
"src/**/*"
],
"scripts": {
"build": "npm run build:typescript && npm run build:babel && npm run build:webpack",
"build:babel": "babel src --extensions .js,.ts,.tsx --ignore **/*.spec.js,**/*.spec.ts,**/*.spec.tsx,**/*.test.js,**/*.test.ts,**/*.test.tsx,__tests__/**/*.js,__tests__/**/*.ts,__tests__/**/*.tsx --out-dir lib --verbose",
Expand Down
4 changes: 4 additions & 0 deletions packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"bugs": {
"url": "https://github.com/microsoft/BotFramework-WebChat/issues"
},
"files": [
"lib/**/*",
"src/**/*"
],
"homepage": "https://github.com/microsoft/BotFramework-WebChat/tree/main/packages/component#readme",
"scripts": {
"build": "npm run build:typescript && npm run build:babel",
Expand Down
4 changes: 4 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"bugs": {
"url": "https://github.com/microsoft/BotFramework-WebChat/issues"
},
"files": [
"lib/**/*",
"src/**/*"
],
"homepage": "https://github.com/microsoft/BotFramework-WebChat/packages/core#readme",
"scripts": {
"build": "npm run build:typescript && npm run build:babel",
Expand Down
6 changes: 4 additions & 2 deletions packages/directlinespeech/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"version": "0.0.0-0",
"description": "Direct Line Speech SDK",
"files": [
"dist/**/*",
"lib/**/*"
"dist/**/*.js",
"dist/**/*.map",
"lib/**/*",
"src/**/*"
],
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit b65edc8

Please sign in to comment.