From 3dbc2d7ad83e5daaceaab40736715922b46fd827 Mon Sep 17 00:00:00 2001 From: JhontSouth Date: Mon, 29 Jan 2024 10:09:13 -0500 Subject: [PATCH] use npm to run postinstall scripts --- libraries/botbuilder-dialogs-adaptive/package.json | 2 +- libraries/botbuilder-dialogs/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/botbuilder-dialogs-adaptive/package.json b/libraries/botbuilder-dialogs-adaptive/package.json index a13dfaba5e..a03193296f 100644 --- a/libraries/botbuilder-dialogs-adaptive/package.json +++ b/libraries/botbuilder-dialogs-adaptive/package.json @@ -60,7 +60,7 @@ "postbuild": "downlevel-dts lib _ts3.4/lib --checksum", "test": "yarn build && nyc mocha tests/", "test:compat": "api-extractor run --verbose", - "postinstall": "yarn text-suite && yarn date-time && yarn number-with-unit", + "postinstall": "npm run text-suite && npm run date-time && npm run number-with-unit", "text-suite": "npx rimraf ../@microsoft/recognizers-text-suite/node_modules/@microsoft/recognizers-text-number", "date-time": "npx rimraf ../@microsoft/recognizers-text-date-time/node_modules/@microsoft/recognizers-text-number", "number-with-unit": "npx rimraf ../@microsoft/recognizers-text-number-with-unit/node_modules/@microsoft/recognizers-text-number" diff --git a/libraries/botbuilder-dialogs/package.json b/libraries/botbuilder-dialogs/package.json index 525ac6ee44..d32e11147c 100644 --- a/libraries/botbuilder-dialogs/package.json +++ b/libraries/botbuilder-dialogs/package.json @@ -54,7 +54,7 @@ "test": "npm-run-all build test:mocha", "test:mocha": "nyc mocha --recursive --require source-map-support/register tests", "test:compat": "api-extractor run --verbose", - "postinstall": "yarn text-suite && yarn date-time && yarn number-with-unit", + "postinstall": "npm run text-suite && npm run date-time && npm run number-with-unit", "text-suite": "npx rimraf ../@microsoft/recognizers-text-suite/node_modules/@microsoft/recognizers-text-number", "date-time": "npx rimraf ../@microsoft/recognizers-text-date-time/node_modules/@microsoft/recognizers-text-number", "number-with-unit": "npx rimraf ../@microsoft/recognizers-text-number-with-unit/node_modules/@microsoft/recognizers-text-number"