Skip to content

Commit

Permalink
[Virtual Assistant][TypeScript] Rename Botbuilder libraries (microsof…
Browse files Browse the repository at this point in the history
…t#1080)

* Rename botbuilder-skill dependency

* Rename botbuilder-solution dependency

* Update references to those dependencies
  • Loading branch information
Batta32 authored and darrenj committed Apr 10, 2019
1 parent 65ffd71 commit e4f4742
Show file tree
Hide file tree
Showing 118 changed files with 73 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"@microsoft/microsoft-graph-types": "^1.5.0",
"applicationinsights": "^1.0.4",
"azure-cognitiveservices-contentmoderator": "^4.0.0",
"bot-solution": "^1.0.0",
"bot-skill": "^1.0.0",
"botbuilder-solutions": "^1.0.0",
"botbuilder-skills": "^1.0.0",
"botbuilder": "^4.2.1",
"botbuilder-ai": "^4.2.1",
"botbuilder-azure": "4.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import { TelemetryClient } from 'applicationinsights';
import { ITelemetryLuisRecognizer, ITelemetryQnAMaker, LocaleConfiguration, SkillConfiguration, SkillConfigurationBase, SkillDefinition,
SkillEvent, TelemetryLuisRecognizer, TelemetryQnAMaker } from 'bot-solution';
SkillEvent, TelemetryLuisRecognizer, TelemetryQnAMaker } from 'botbuilder-solutions';
import { LuisApplication, QnAMakerEndpoint } from 'botbuilder-ai';
import { CosmosDbStorageSettings } from 'botbuilder-azure';
import { AppInsightsService, BotConfiguration, CosmosDbService, DispatchService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License.
*/

import { SkillDialog, SkillDefinition as RemoteSkillDefinition } from 'bot-skill';
import { SkillDialog, SkillDefinition as RemoteSkillDefinition } from 'botbuilder-skills';
import {
IBackgroundTaskQueue,
InterruptionAction,
Expand All @@ -16,7 +16,7 @@ import {
SkillDefinition,
SkillEvent,
SkillRouter,
TelemetryExtensions } from 'bot-solution';
TelemetryExtensions } from 'botbuilder-solutions';
import {
BotFrameworkAdapter,
BotTelemetryClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License.
*/

import { ActivityExtensions } from 'bot-solution';
import { ActivityExtensions } from 'botbuilder-solutions';
import {
Activity,
CardFactory,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
InterruptableDialog,
InterruptionAction,
ITelemetryLuisRecognizer,
LocaleConfiguration } from 'bot-solution';
LocaleConfiguration } from 'botbuilder-solutions';
import {
BotTelemetryClient,
RecognizerResult } from 'botbuilder';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
SetLocaleMiddleware,
SkillDefinition,
SkillEvent,
TelemetryExtensions } from 'bot-solution';
TelemetryExtensions } from 'botbuilder-solutions';
import {
AutoSaveStateMiddleware,
BotFrameworkAdapter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License.
*/

import { IBackgroundTaskQueue, ProactiveState } from 'bot-solution';
import { IBackgroundTaskQueue, ProactiveState } from 'botbuilder-solutions';
import { BotTelemetryClient, ConversationState, EndOfConversationCodes, TurnContext, UserState } from 'botbuilder';
import { DialogContext, DialogSet, DialogState, DialogTurnResult } from 'botbuilder-dialogs';
import { IEndpointService } from 'botframework-config';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const BotServices = require('../../lib/botServices.js').BotServices;
const VirtualAssistant = require('../../lib/virtualAssistant.js').VirtualAssistant;
let languageModelsRaw;
let skillsRaw;
const { Locales, ProactiveState, SkillDefinition } = require('bot-solution');
const { Locales, ProactiveState, SkillDefinition } = require('botbuilder-solutions');
const TEST_MODE = require('../testBase').testMode;

const setupEnvironment = function (testMode) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "bot-skill",
"name": "botbuilder-skills",
"version": "1.0.0",
"description": "",
"author": "Microsoft Bot Framework Team",
Expand All @@ -14,7 +14,7 @@
"test": "mocha ./test/"
},
"dependencies": {
"bot-solution": "^1.0.0",
"botbuilder-solutions": "^1.0.0",
"botbuilder": "^4.2.1",
"botbuilder-ai": "^4.2.1",
"botbuilder-azure": "4.2.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @module bot-skill
* @module botbuilder-skills
*/
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License.
*/

import { ActivityExtensions } from 'bot-solution';
import { ActivityExtensions } from 'botbuilder-solutions';
import { BotFrameworkAdapter, InvokeResponse, TurnContext, WebRequest, WebResponse } from 'botbuilder';
import { DialogContext } from 'botbuilder-dialogs';
import { Activity, ActivityTypes, ConversationReference, ResourceResponse } from 'botframework-schema';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "bot-solution",
"name": "botbuilder-solutions",
"version": "1.0.0",
"description": "",
"author": "Microsoft Bot Framework Team",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @module bot-solution
* @module botbuilder-solutions
*/
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @module bot-solution
* @module botbuilder-solutions
*/
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* <auto-generated>
* Code generated by LUISGen C:\Users\MartinBattaglino\Desktop\dispatch.json -ts General -o C:\Git\AI\solutions\Virtual-Assistant\src\typescript\bot-solution\src\resources
* Code generated by LUISGen C:\Users\MartinBattaglino\Desktop\dispatch.json -ts General -o C:\Git\AI\solutions\Virtual-Assistant\src\typescript\botbuilder-solutions\src\resources
* Tool github: https://github.com/microsoft/botbuilder-tools
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @module bot-solution
* @module botbuilder-solutions
*/
/**
* Copyright(c) Microsoft Corporation.All rights reserved.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions solutions/Virtual-Assistant/src/typescript/rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"projectFolder": "assistant"
},
{
"packageName": "bot-solution",
"projectFolder": "bot-solution"
"packageName": "botbuilder-solutions",
"projectFolder": "botbuilder-solutions"
},
{
"packageName": "bot-skill",
"projectFolder": "bot-skill"
"packageName": "botbuilder-skills",
"projectFolder": "botbuilder-skills"
},
{
"packageName": "sampleSkill",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"dependencies": {
"applicationinsights": "^1.0.4",
"bot-solution": "^1.0.0",
"bot-skill": "^1.0.0",
"botbuilder-solutions": "^1.0.0",
"botbuilder-skills": "^1.0.0",
"botbuilder": "^4.2.1",
"botbuilder-ai": "^4.2.1",
"botbuilder-azure": "4.2.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License

import { SkillAdapter } from 'bot-skill';
import { SkillAdapter } from 'botbuilder-skills';
import {
ActivityExtensions,
InterruptionAction,
ITelemetryLuisRecognizer,
LocaleConfiguration,
ResponseManager,
RouterDialog,
SkillConfigurationBase } from 'bot-solution';
SkillConfigurationBase } from 'botbuilder-solutions';
import {
Activity,
ActivityTypes,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License

import { IResponseIdCollection } from 'bot-solution';
import { IResponseIdCollection } from 'botbuilder-solutions';
import { join } from 'path';
/**
* Contains bot responses.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import {
ResponseManager,
SkillConfigurationBase } from 'bot-solution';
SkillConfigurationBase } from 'botbuilder-solutions';
import {
BotTelemetryClient,
StatePropertyAccessor } from 'botbuilder';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

import { IResponseIdCollection } from 'bot-solution';
import { IResponseIdCollection } from 'botbuilder-solutions';
import { join } from 'path';
/**
* Contains bot responses.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License

import { IResponseIdCollection } from 'bot-solution';
import { IResponseIdCollection } from 'botbuilder-solutions';
import { join } from 'path';
/**
* Contains bot responses.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
LocaleConfiguration,
MultiProviderAuthDialog,
ResponseManager,
SkillConfigurationBase } from 'bot-solution';
SkillConfigurationBase } from 'botbuilder-solutions';
import {
Activity,
ActivityTypes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import { TelemetryClient } from 'applicationinsights';
import { SkillAdapter } from 'bot-skill';
import { SkillAdapter } from 'botbuilder-skills';
import {
ActivityExtensions,
EventDebuggerMiddleware,
Expand All @@ -16,7 +16,7 @@ import {
SkillConfiguration,
SkillDefinition,
TelemetryExtensions
} from 'bot-solution';
} from 'botbuilder-solutions';
import {
AutoSaveStateMiddleware,
BotFrameworkAdapter,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License

import { ResponseManager, SkillConfigurationBase } from 'bot-solution';
import { ResponseManager, SkillConfigurationBase } from 'botbuilder-solutions';
import { BotTelemetryClient, ConversationState, UserState } from 'botbuilder';
import { TurnContext } from 'botbuilder-core';
import { DialogSet } from 'botbuilder-dialogs';
Expand Down
Loading

0 comments on commit e4f4742

Please sign in to comment.