Skip to content

Commit

Permalink
fix: Remove old @microsoft/recognizers-text-number version with posti…
Browse files Browse the repository at this point in the history
…nstall scripts (#4608)

* add recognizers-text-number resolution

* add scripts to remove old version of recognizers-text-number

* remove rimraf package
  • Loading branch information
JhontSouth authored and Tracy Boehrer committed Jan 24, 2024
1 parent a0bd4bd commit e9c44b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion libraries/botbuilder-dialogs-adaptive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@
"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": "yarn text-suite && yarn date-time && yarn 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"
},
"files": [
"_ts3.4",
Expand Down
6 changes: 5 additions & 1 deletion libraries/botbuilder-dialogs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@
"postbuild": "downlevel-dts lib _ts3.4/lib --checksum",
"test": "npm-run-all build test:mocha",
"test:mocha": "nyc mocha --recursive --require source-map-support/register tests",
"test:compat": "api-extractor run --verbose"
"test:compat": "api-extractor run --verbose",
"postinstall": "yarn text-suite && yarn date-time && yarn 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"
},
"files": [
"_ts3.4",
Expand Down

0 comments on commit e9c44b9

Please sign in to comment.