Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update files field in package.json #4318

Merged
merged 5 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 only includes `/dist`, `/lib`, and `/src` folders
compulim marked this conversation as resolved.
Show resolved Hide resolved
- Previously, `/dist` was missed from our NPM packages
compulim marked this conversation as resolved.
Show resolved Hide resolved

### 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 [#XXX](https://github.com/microsoft/BotFramework-WebChat/pull/XXX)
compulim marked this conversation as resolved.
Show resolved Hide resolved

### 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