Skip to content

Commit

Permalink
Add Recognizers-Text packages to botbuilder-stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
sw-joelmut committed May 3, 2024
1 parent de09867 commit 28de1ee
Show file tree
Hide file tree
Showing 234 changed files with 450,775 additions and 4 deletions.
7 changes: 4 additions & 3 deletions libraries/botbuilder-repo-utils/src/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import path from 'path';
import { Package } from './package';
import { readJsonFile } from './file';

export const glob = (paths: string[]): Promise<string[]> => globby(paths);

// Represents a workspace
export interface Workspace {
absPath: string;
Expand Down Expand Up @@ -41,7 +39,10 @@ export async function collectWorkspacePackages(
filters: Partial<Filters> = {}
): Promise<Array<Workspace>> {
// Note: posix is required, this emits absolute paths that are platform specific
const paths = await glob(workspaces.map((workspace) => path.posix.join(repoRoot, workspace, 'package.json')));
const paths = await globby(
workspaces.map((workspace) => path.posix.join(repoRoot, workspace, 'package.json')),
{ gitignore: true, cwd: process.env['INIT_CWD'] }
);

const maybeWorkspaces = await Promise.all(
paths.map(
Expand Down
1 change: 1 addition & 0 deletions libraries/botbuilder-stdlib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ _ts3.4
lib
coverage
.nyc_output
node_modules
17 changes: 16 additions & 1 deletion libraries/botbuilder-stdlib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
"postbuild": "downlevel-dts lib _ts3.4/lib",
"test": "yarn build && nyc mocha --check-leaks tests"
},
"dependencies": {
"bignumber.js": "^7.2.1",
"grapheme-splitter": "^1.0.2",
"lodash.escaperegexp": "^4.1.2",
"lodash.isequal": "^4.5.0",
"lodash.last": "^3.0.0",
"lodash.max": "^4.0.1",
"lodash.tonumber": "^4.0.3",
"lodash": "^4.17.21"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"typesVersions": {
Expand All @@ -33,6 +47,7 @@
"files": [
"_ts3.4",
"lib",
"src"
"src",
"vendors"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Microsoft.Recognizers.Text for JavaScript

This module (`recognizers-text-choice`) is a sub-module of `recognizers-text-suite`.

Please check the [main README](https://github.com/Microsoft/Recognizers-Text/tree/master/JavaScript/packages/recognizers-text-suite) for more details.
Loading

0 comments on commit 28de1ee

Please sign in to comment.