From 06cec93af64f937f22d00bf42d4b5d8f83827502 Mon Sep 17 00:00:00 2001 From: stgum <14935595+stevengum@users.noreply.github.com> Date: Mon, 7 Oct 2019 17:07:46 -0700 Subject: [PATCH] delete unused packages, update lerna & package.jsons --- lerna.json | 3 -- libraries/botbuilder-teams/.gitignore | 5 -- libraries/botbuilder-teams/.nycrc | 19 ------- libraries/botbuilder-teams/README.md | 20 -------- libraries/botbuilder-teams/package.json | 49 ------------------ libraries/botbuilder-teams/src/index.ts | 8 --- libraries/botbuilder-teams/src/module1.ts | 10 ---- .../botbuilder-teams/tests/test1.test.js | 16 ------ libraries/botbuilder-teams/tsconfig.json | 14 ------ .../botframework-connector-teams/.gitignore | 5 -- libraries/botframework-connector-teams/.nycrc | 19 ------- .../botframework-connector-teams/README.md | 20 -------- .../botframework-connector-teams/package.json | 50 ------------------- .../botframework-connector-teams/src/index.ts | 8 --- .../src/module1.ts | 10 ---- .../tests/test1.test.js | 16 ------ .../tsconfig.json | 14 ------ .../botframework-schema-teams/.gitignore | 5 -- libraries/botframework-schema-teams/.nycrc | 19 ------- libraries/botframework-schema-teams/README.md | 20 -------- .../botframework-schema-teams/package.json | 50 ------------------- .../botframework-schema-teams/src/index.ts | 8 --- .../botframework-schema-teams/src/module1.ts | 10 ---- .../tests/test1.test.js | 16 ------ .../botframework-schema-teams/tsconfig.json | 14 ------ package.json | 2 +- 26 files changed, 1 insertion(+), 429 deletions(-) delete mode 100644 libraries/botbuilder-teams/.gitignore delete mode 100644 libraries/botbuilder-teams/.nycrc delete mode 100644 libraries/botbuilder-teams/README.md delete mode 100644 libraries/botbuilder-teams/package.json delete mode 100644 libraries/botbuilder-teams/src/index.ts delete mode 100644 libraries/botbuilder-teams/src/module1.ts delete mode 100644 libraries/botbuilder-teams/tests/test1.test.js delete mode 100644 libraries/botbuilder-teams/tsconfig.json delete mode 100644 libraries/botframework-connector-teams/.gitignore delete mode 100644 libraries/botframework-connector-teams/.nycrc delete mode 100644 libraries/botframework-connector-teams/README.md delete mode 100644 libraries/botframework-connector-teams/package.json delete mode 100644 libraries/botframework-connector-teams/src/index.ts delete mode 100644 libraries/botframework-connector-teams/src/module1.ts delete mode 100644 libraries/botframework-connector-teams/tests/test1.test.js delete mode 100644 libraries/botframework-connector-teams/tsconfig.json delete mode 100644 libraries/botframework-schema-teams/.gitignore delete mode 100644 libraries/botframework-schema-teams/.nycrc delete mode 100644 libraries/botframework-schema-teams/README.md delete mode 100644 libraries/botframework-schema-teams/package.json delete mode 100644 libraries/botframework-schema-teams/src/index.ts delete mode 100644 libraries/botframework-schema-teams/src/module1.ts delete mode 100644 libraries/botframework-schema-teams/tests/test1.test.js delete mode 100644 libraries/botframework-schema-teams/tsconfig.json diff --git a/lerna.json b/lerna.json index 74329f8ca2..099e53bfe3 100644 --- a/lerna.json +++ b/lerna.json @@ -7,13 +7,10 @@ "libraries/botbuilder-azure", "libraries/botbuilder-core", "libraries/botbuilder-dialogs", - "libraries/botbuilder-teams", "libraries/botbuilder-testing", "libraries/botframework-config", "libraries/botframework-connector", - "libraries/botframework-connector-teams", "libraries/botframework-schema", - "libraries/botframework-schema-teams", "libraries/functional-tests", "libraries/testbot", "libraries/botframework-streaming-extensions", diff --git a/libraries/botbuilder-teams/.gitignore b/libraries/botbuilder-teams/.gitignore deleted file mode 100644 index 53b86af2d8..0000000000 --- a/libraries/botbuilder-teams/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/**/node_modules -/**/.vscode -/**/lib -coverage -.nyc_output \ No newline at end of file diff --git a/libraries/botbuilder-teams/.nycrc b/libraries/botbuilder-teams/.nycrc deleted file mode 100644 index 5e26d54160..0000000000 --- a/libraries/botbuilder-teams/.nycrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extension": [ - ".js" - ], - "include": [ - "lib/**/*.js" - ], - "exclude": [ - "**/node_modules/**", - "**/tests/**", - "**/coverage/**", - "**/*.d.ts" - ], - "reporter": [ - "html" - ], - "all": true, - "cache": true -} \ No newline at end of file diff --git a/libraries/botbuilder-teams/README.md b/libraries/botbuilder-teams/README.md deleted file mode 100644 index ad9595e2f2..0000000000 --- a/libraries/botbuilder-teams/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Bot Builder Teams - -Teams extensions for Microsoft BotBuilder. - -- [Installing](#installing) -- [Basic Use](#use) -- [Documentation](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0) -- [Class Reference] -- [GitHub Repo](https://github.com/Microsoft/botbuilder-js) -- [Report Issues](https://github.com/Microsoft/botbuilder-js/issues) - -## Installing - -#### Use the Daily Build - -## What's Included - -## Use - -## Examples diff --git a/libraries/botbuilder-teams/package.json b/libraries/botbuilder-teams/package.json deleted file mode 100644 index 171879dc25..0000000000 --- a/libraries/botbuilder-teams/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "botbuilder-teams", - "author": "Microsoft Corp.", - "description": "Teams extensions for Microsoft BotBuilder.", - "version": "0.0.1", - "license": "MIT", - "keywords": [ - "botbuilder", - "botframework", - "bots", - "chatbots", - "teams" - ], - "bugs": { - "url": "https://github.com/Microsoft/botbuilder-js/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/botbuilder-js.git" - }, - "main": "./lib/index.js", - "typings": "./lib/index.d.ts", - "dependencies": { - }, - "devDependencies": { - "@types/mocha": "^2.2.47", - "assert": "^1.4.1", - "chatdown": "^1.0.2", - "codelyzer": "^4.1.0", - "mocha": "^5.2.0", - "nyc": "^11.4.1", - "source-map-support": "^0.5.3", - "ts-node": "^4.1.0" - }, - "engines": { - "node": ">12.3" - }, - "scripts": { - "test": "tsc && nyc mocha tests/", - "build": "tsc", - "build-docs": "", - "clean": "erase /q /s .\\lib", - "set-version": "npm version --allow-same-version ${Version}" - }, - "files": [ - "/lib", - "/src" - ] -} diff --git a/libraries/botbuilder-teams/src/index.ts b/libraries/botbuilder-teams/src/index.ts deleted file mode 100644 index 8cdeaafbb8..0000000000 --- a/libraries/botbuilder-teams/src/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @module botbuilder-teams - */ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ -export * from './module1'; diff --git a/libraries/botbuilder-teams/src/module1.ts b/libraries/botbuilder-teams/src/module1.ts deleted file mode 100644 index 38d93d2d05..0000000000 --- a/libraries/botbuilder-teams/src/module1.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @module botbuilder-teams - */ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ -export function dummy(): any { - return 0; -} \ No newline at end of file diff --git a/libraries/botbuilder-teams/tests/test1.test.js b/libraries/botbuilder-teams/tests/test1.test.js deleted file mode 100644 index 534b3f44f3..0000000000 --- a/libraries/botbuilder-teams/tests/test1.test.js +++ /dev/null @@ -1,16 +0,0 @@ -/* -* Copyright (c) Microsoft Corporation. All rights reserved. -* Licensed under the MIT License. See file LICENSE in the project root -* for license information. -*/ - -const assert = require('assert'); - -describe('Test1', function() { - - it('should pass', function (done) { - assert(1); - done(); - }); - -}); \ No newline at end of file diff --git a/libraries/botbuilder-teams/tsconfig.json b/libraries/botbuilder-teams/tsconfig.json deleted file mode 100644 index 3788218c0b..0000000000 --- a/libraries/botbuilder-teams/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "module": "commonjs", - "declaration": true, - "sourceMap": true, - "outDir": "./lib", - "rootDir": "./src", - "types" : ["node"] - }, - "include": [ - "src/**/*" - ] -} \ No newline at end of file diff --git a/libraries/botframework-connector-teams/.gitignore b/libraries/botframework-connector-teams/.gitignore deleted file mode 100644 index 53b86af2d8..0000000000 --- a/libraries/botframework-connector-teams/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/**/node_modules -/**/.vscode -/**/lib -coverage -.nyc_output \ No newline at end of file diff --git a/libraries/botframework-connector-teams/.nycrc b/libraries/botframework-connector-teams/.nycrc deleted file mode 100644 index 5e26d54160..0000000000 --- a/libraries/botframework-connector-teams/.nycrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extension": [ - ".js" - ], - "include": [ - "lib/**/*.js" - ], - "exclude": [ - "**/node_modules/**", - "**/tests/**", - "**/coverage/**", - "**/*.d.ts" - ], - "reporter": [ - "html" - ], - "all": true, - "cache": true -} \ No newline at end of file diff --git a/libraries/botframework-connector-teams/README.md b/libraries/botframework-connector-teams/README.md deleted file mode 100644 index e7c621636b..0000000000 --- a/libraries/botframework-connector-teams/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Bot Framework Connector Teams - -Teams extensions for Microsoft Bot Framework Connector. - -- [Installing](#installing) -- [Basic Use](#use) -- [Documentation](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0) -- [Class Reference] -- [GitHub Repo](https://github.com/Microsoft/botbuilder-js) -- [Report Issues](https://github.com/Microsoft/botbuilder-js/issues) - -## Installing - -#### Use the Daily Build - -## What's Included - -## Use - -## Examples diff --git a/libraries/botframework-connector-teams/package.json b/libraries/botframework-connector-teams/package.json deleted file mode 100644 index 510702d5f7..0000000000 --- a/libraries/botframework-connector-teams/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "botframework-connector-teams", - "author": "Microsoft Corp.", - "description": "Teams extensions for Microsoft BotFramework Connector.", - "version": "0.0.1", - "license": "MIT", - "keywords": [ - "botbuilder", - "botframework", - "connector", - "bots", - "chatbots", - "teams" - ], - "bugs": { - "url": "https://github.com/Microsoft/botbuilder-js/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/botbuilder-js.git" - }, - "main": "./lib/index.js", - "typings": "./lib/index.d.ts", - "dependencies": { - }, - "devDependencies": { - "@types/mocha": "^2.2.47", - "assert": "^1.4.1", - "chatdown": "^1.0.2", - "codelyzer": "^4.1.0", - "mocha": "^5.2.0", - "nyc": "^11.4.1", - "source-map-support": "^0.5.3", - "ts-node": "^4.1.0" - }, - "engines": { - "node": ">12.3" - }, - "scripts": { - "test": "tsc && nyc mocha tests/", - "build": "tsc", - "build-docs": "", - "clean": "erase /q /s .\\lib", - "set-version": "npm version --allow-same-version ${Version}" - }, - "files": [ - "/lib", - "/src" - ] -} diff --git a/libraries/botframework-connector-teams/src/index.ts b/libraries/botframework-connector-teams/src/index.ts deleted file mode 100644 index 06bee985de..0000000000 --- a/libraries/botframework-connector-teams/src/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @module botframework-connector-teams - */ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ -export * from './module1'; diff --git a/libraries/botframework-connector-teams/src/module1.ts b/libraries/botframework-connector-teams/src/module1.ts deleted file mode 100644 index 2da41d648a..0000000000 --- a/libraries/botframework-connector-teams/src/module1.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @module botframework-connector-teams - */ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ -export function dummy(): any { - return 0; -} \ No newline at end of file diff --git a/libraries/botframework-connector-teams/tests/test1.test.js b/libraries/botframework-connector-teams/tests/test1.test.js deleted file mode 100644 index 534b3f44f3..0000000000 --- a/libraries/botframework-connector-teams/tests/test1.test.js +++ /dev/null @@ -1,16 +0,0 @@ -/* -* Copyright (c) Microsoft Corporation. All rights reserved. -* Licensed under the MIT License. See file LICENSE in the project root -* for license information. -*/ - -const assert = require('assert'); - -describe('Test1', function() { - - it('should pass', function (done) { - assert(1); - done(); - }); - -}); \ No newline at end of file diff --git a/libraries/botframework-connector-teams/tsconfig.json b/libraries/botframework-connector-teams/tsconfig.json deleted file mode 100644 index 3788218c0b..0000000000 --- a/libraries/botframework-connector-teams/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "module": "commonjs", - "declaration": true, - "sourceMap": true, - "outDir": "./lib", - "rootDir": "./src", - "types" : ["node"] - }, - "include": [ - "src/**/*" - ] -} \ No newline at end of file diff --git a/libraries/botframework-schema-teams/.gitignore b/libraries/botframework-schema-teams/.gitignore deleted file mode 100644 index 53b86af2d8..0000000000 --- a/libraries/botframework-schema-teams/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/**/node_modules -/**/.vscode -/**/lib -coverage -.nyc_output \ No newline at end of file diff --git a/libraries/botframework-schema-teams/.nycrc b/libraries/botframework-schema-teams/.nycrc deleted file mode 100644 index 5e26d54160..0000000000 --- a/libraries/botframework-schema-teams/.nycrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extension": [ - ".js" - ], - "include": [ - "lib/**/*.js" - ], - "exclude": [ - "**/node_modules/**", - "**/tests/**", - "**/coverage/**", - "**/*.d.ts" - ], - "reporter": [ - "html" - ], - "all": true, - "cache": true -} \ No newline at end of file diff --git a/libraries/botframework-schema-teams/README.md b/libraries/botframework-schema-teams/README.md deleted file mode 100644 index ad9595e2f2..0000000000 --- a/libraries/botframework-schema-teams/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Bot Builder Teams - -Teams extensions for Microsoft BotBuilder. - -- [Installing](#installing) -- [Basic Use](#use) -- [Documentation](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-overview-introduction?view=azure-bot-service-4.0) -- [Class Reference] -- [GitHub Repo](https://github.com/Microsoft/botbuilder-js) -- [Report Issues](https://github.com/Microsoft/botbuilder-js/issues) - -## Installing - -#### Use the Daily Build - -## What's Included - -## Use - -## Examples diff --git a/libraries/botframework-schema-teams/package.json b/libraries/botframework-schema-teams/package.json deleted file mode 100644 index 6813a209c7..0000000000 --- a/libraries/botframework-schema-teams/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "botframework-schema-teams", - "author": "Microsoft Corp.", - "description": "Teams extensions for Microsoft BotBuilder.", - "version": "0.0.1", - "license": "MIT", - "keywords": [ - "botbuilder", - "botframework", - "schema", - "bots", - "chatbots", - "teams" - ], - "bugs": { - "url": "https://github.com/Microsoft/botbuilder-js/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/Microsoft/botbuilder-js.git" - }, - "main": "./lib/index.js", - "typings": "./lib/index.d.ts", - "dependencies": { - }, - "devDependencies": { - "@types/mocha": "^2.2.47", - "assert": "^1.4.1", - "chatdown": "^1.0.2", - "codelyzer": "^4.1.0", - "mocha": "^5.2.0", - "nyc": "^11.4.1", - "source-map-support": "^0.5.3", - "ts-node": "^4.1.0" - }, - "engines": { - "node": ">12.3" - }, - "scripts": { - "test": "tsc && nyc mocha tests/", - "build": "tsc", - "build-docs": "", - "clean": "erase /q /s .\\lib", - "set-version": "npm version --allow-same-version ${Version}" - }, - "files": [ - "/lib", - "/src" - ] -} diff --git a/libraries/botframework-schema-teams/src/index.ts b/libraries/botframework-schema-teams/src/index.ts deleted file mode 100644 index 8cdeaafbb8..0000000000 --- a/libraries/botframework-schema-teams/src/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @module botbuilder-teams - */ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ -export * from './module1'; diff --git a/libraries/botframework-schema-teams/src/module1.ts b/libraries/botframework-schema-teams/src/module1.ts deleted file mode 100644 index 38d93d2d05..0000000000 --- a/libraries/botframework-schema-teams/src/module1.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @module botbuilder-teams - */ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. - */ -export function dummy(): any { - return 0; -} \ No newline at end of file diff --git a/libraries/botframework-schema-teams/tests/test1.test.js b/libraries/botframework-schema-teams/tests/test1.test.js deleted file mode 100644 index 534b3f44f3..0000000000 --- a/libraries/botframework-schema-teams/tests/test1.test.js +++ /dev/null @@ -1,16 +0,0 @@ -/* -* Copyright (c) Microsoft Corporation. All rights reserved. -* Licensed under the MIT License. See file LICENSE in the project root -* for license information. -*/ - -const assert = require('assert'); - -describe('Test1', function() { - - it('should pass', function (done) { - assert(1); - done(); - }); - -}); \ No newline at end of file diff --git a/libraries/botframework-schema-teams/tsconfig.json b/libraries/botframework-schema-teams/tsconfig.json deleted file mode 100644 index 3788218c0b..0000000000 --- a/libraries/botframework-schema-teams/tsconfig.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "module": "commonjs", - "declaration": true, - "sourceMap": true, - "outDir": "./lib", - "rootDir": "./src", - "types" : ["node"] - }, - "include": [ - "src/**/*" - ] -} \ No newline at end of file diff --git a/package.json b/package.json index d815597c6e..57bffe7c06 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build-docs": "lerna run build-docs", "eslint": "eslint ./libraries/*/src/*.ts ./libraries/*/src/**/*.ts", "eslint-fix": "eslint ./libraries/*/src/*.ts ./libraries/*/src/**/*.ts --fix", - "set-dependency-versions": "node tools/util/updateDependenciesInPackageJsons.js ./libraries ^${Version} botbuilder botbuilder-choices botbuilder-dialogs botbuilder-core botbuilder-prompts botbuilder-teams botbuilder-testing botframework-connector botframework-connector-teams botframework-config botframework-schema botframework-schema-teams testbot && node tools/util/updateDependenciesInPackageJsons.js ./transcripts ^${Version} botbuilder botbuilder-ai botbuilder-dialogs botbuilder-testing", + "set-dependency-versions": "node tools/util/updateDependenciesInPackageJsons.js ./libraries ^${Version} botbuilder botbuilder-choices botbuilder-dialogs botbuilder-core botbuilder-prompts botbuilder-testing botframework-connector botframework-config botframework-schema testbot && node tools/util/updateDependenciesInPackageJsons.js ./transcripts ^${Version} botbuilder botbuilder-ai botbuilder-dialogs botbuilder-testing", "update-versions": "lerna run set-version && npm run set-dependency-versions" }, "dependencies": {