From f1b4e76b8ed4cd82861274f737671d27d34aa5fe Mon Sep 17 00:00:00 2001 From: CeciliaAvila Date: Mon, 18 Dec 2023 12:18:40 -0300 Subject: [PATCH] Add postinstall script to remove babel old version --- libraries/botbuilder-ai-orchestrator/package.json | 3 ++- package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libraries/botbuilder-ai-orchestrator/package.json b/libraries/botbuilder-ai-orchestrator/package.json index 13ae19e1c8..83ad302222 100644 --- a/libraries/botbuilder-ai-orchestrator/package.json +++ b/libraries/botbuilder-ai-orchestrator/package.json @@ -47,7 +47,8 @@ "lint": "eslint . --ext .js,.ts", "postbuild": "downlevel-dts lib _ts3.4/lib --checksum", "test": "yarn build && nyc mocha tests/", - "test:compat": "api-extractor run --verbose" + "test:compat": "api-extractor run --verbose", + "postinstall": "npx rimraf node_modules/@microsoft/orchestrator-core/node_modules/@babel/traverse" }, "files": [ "_ts3.4", diff --git a/package.json b/package.json index 70c1780800..d245bed796 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "test:runtime": "wsrun -m -p \"botbuilder-dialogs-adaptive-runtime*\" -t test", "test:runtime:min": "wsrun -m -p \"botbuilder-dialogs-adaptive-runtime*\" -t test:min", "test:schemas": "mocha libraries/botbuilder-dialogs-declarative/tests/schemaMergeTest.js --exit --bail", - "update-versions": "yarn workspace botbuilder-repo-utils update-versions" + "update-versions": "yarn workspace botbuilder-repo-utils update-versions", + "postinstall": "npx rimraf node_modules/@microsoft/orchestrator-core/node_modules/@babel/traverse" }, "resolutions": { "async": "3.2.3",