Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Add Recognizers-Text packages to botbuilder-stdlib #4660

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions libraries/botbuilder-repo-utils/src/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
// Licensed under the MIT License.

import compact from 'lodash/compact';
import globby from 'globby';
import globby, { GlobbyOptions } from 'globby';
import minimatch from 'minimatch';
import path from 'path';
import { Package } from './package';
import { readJsonFile } from './file';

export const glob = (paths: string[]): Promise<string[]> => globby(paths);
export const glob = (paths: string[], options: GlobbyOptions = {}): Promise<string[]> =>
globby(paths, { gitignore: true, cwd: process.env['INIT_CWD'], ...options });

// Represents a workspace
export interface Workspace {
Expand Down
9 changes: 8 additions & 1 deletion libraries/botbuilder-stdlib/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"extends": "../../.eslintrc.json"
"extends": "../../.eslintrc.json",
"ignorePatterns": [
"_ts3.4/",
"dist/",
"lib/",
"node_modules/",
"vendors/"
]
}
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
19 changes: 17 additions & 2 deletions libraries/botbuilder-stdlib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,25 @@
"scripts": {
"build": "tsc -b",
"clean": "rimraf _ts3.4 lib tsconfig.tsbuildinfo",
"depcheck": "depcheck --config ../../.depcheckrc",
"depcheck": "depcheck --config ../../.depcheckrc --ignores sinon,bignumber.js,grapheme-splitter,lodash.escaperegexp,lodash.isequal,lodash.last,lodash.max,lodash.tonumber,lodash,chai,chai-as-promised",
"lint": "eslint . --ext .js,.ts",
"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
Loading