From dc20cf24f3197c4a02a5bd0d1cb7708788992637 Mon Sep 17 00:00:00 2001 From: William Wong Date: Thu, 16 Jun 2022 17:02:05 -0700 Subject: [PATCH 1/5] Update files field --- CHANGELOG.md | 1 + packages/api/package.json | 4 ++++ packages/bundle/package.json | 6 ++++++ packages/component/package.json | 4 ++++ packages/core/package.json | 4 ++++ packages/directlinespeech/package.json | 6 ++++-- 6 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7636cd035..3f2ef5f455 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### 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) ### Fixed diff --git a/packages/api/package.json b/packages/api/package.json index a8bc997d87..ea61b73f7f 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -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", diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 20a4fbb5f7..89022be4a6 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -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", diff --git a/packages/component/package.json b/packages/component/package.json index f645e4ee5b..570ba07f2f 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -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", diff --git a/packages/core/package.json b/packages/core/package.json index 98d8f96e24..270cf3429e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -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", diff --git a/packages/directlinespeech/package.json b/packages/directlinespeech/package.json index e05d83bdba..2bcd511be2 100644 --- a/packages/directlinespeech/package.json +++ b/packages/directlinespeech/package.json @@ -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": { From 7fdfb2cee07057164e07886439ecbf3dd9c2dc25 Mon Sep 17 00:00:00 2001 From: William Wong Date: Thu, 16 Jun 2022 17:13:47 -0700 Subject: [PATCH 2/5] Add entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f2ef5f455..c2f0a311a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,8 @@ 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 + - Previously, `/dist` was missed from our NPM packages ### Changed From 64c502af31be0808dd153f171cfc02d8e5ec74ff Mon Sep 17 00:00:00 2001 From: William Wong Date: Thu, 16 Jun 2022 17:31:09 -0700 Subject: [PATCH 3/5] Update entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2f0a311a6..f0727694c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,7 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### 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) +- 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 From dbe58b12a7126da4abe869a323f595f3a853f937 Mon Sep 17 00:00:00 2001 From: William Wong Date: Thu, 16 Jun 2022 17:32:31 -0700 Subject: [PATCH 4/5] Update CHANGELOG.md Co-authored-by: TJ Durnford --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0727694c1..6361559b79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,7 +31,7 @@ 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 +- Published NPM packages will now include `/dist`, `/lib`, and `/src` folders - Previously, `/dist` was missed from our NPM packages ### Changed From e04e44118c5cce10e439ab1dd252f01ac38fe0e2 Mon Sep 17 00:00:00 2001 From: William Wong Date: Thu, 16 Jun 2022 17:33:23 -0700 Subject: [PATCH 5/5] Update CHANGELOG.md Co-authored-by: TJ Durnford --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6361559b79..2b82f1c6d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - 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 - - Previously, `/dist` was missed from our NPM packages + - The `/dist` folder was previously missing from our NPM packages ### Changed