* update eslint configurations
* show only eslint warnings
* add dependencies
* removed unused imports and add only warn to every library
* move eslint-plugin-only-warn to the right place
* fix import errors
* remove files config
* Update eslint.config
* Remove blank line and spaces
---------
Co-authored-by: Joel Mut <joel.mut@southworks.com>
Co-authored-by: CeciliaAvila <cecilia.avila@southworks.com>
* Update dependencies in libraries' projects
* Fix some issues in testing projects
* Update root package.json typescript and @types/node versions
* Fix @types/express problem in yarn.lock
* Fix pipelines
* Revert "Revert "port: Register missingProperties custom function to get all variables the template contains (#3885)" (#3970)"
This reverts commit 619ac1399d.
* fix: useLanguagePolicy setting turn state, instead of languagePolicy
I have submitted a PR to upstream a bugfix to downlevel-dts with no
response yet. I also added a feature that computes checksums that can be
used to skip superfluous processing, drastically reducing subsequent
`yarn build` times (~50%).
* fix: package.json overhaul
- restructure eslint configuration for better isolation
- hoist many package.json script deps to root package.json
- fix all `clean` scripts
* fix: remove @types/node where possible (#3012)
Fixes#2415Fixes#2416Fixes#2417Fixes#2418Fixes#2419Fixes#2420Fixes#2421Fixes#2422Fixes#2423Fixes#2424Fixes#2425Fixes#2426Fixes#2428
* ci: test with github actions
Cleans up workflows and runs on Windows as well
* fix: child_process.spawn only, add --scriptArgs
Use spawn isntead of exec to get around buffering issues and make code
less branchy.
Add --scriptArgs flag to pass extra flags directly to an npm script. An
unfortunately hacky way to support passing `--quiet` to eslint for CI.
* feat: --concurrent for uncoordinated execution
Also uses async.auto rather than custom dependency resolution code
* Bump typescript versions
* Overhaul BotFrameworkAdapter tests
Admittedly a bikeshed moment, but was bothered by some opaque test
failures. This makes the tests a lot more isolated, DRY, and generaly
nicer to work with.
* Package downlevel files
* Overhaul lerna/yarn/repo tools
- Clean up lerna.json
- Move to yarn workspaces
- Move to yarn for CI
- Add botbuilder-repo-utils with updateVersions script
* Remove unused cache step
* Clean up some docs
* Bump eslint, other deps
* Support more complex package versioning
* Fix pipeline variable use
* Address PR review
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
* move TemplateInterface from adaptive to botbuilder-dialogs
* introduced expression properties in QnAMakerDialog
* registered Microsoft.QnAMakerDialog
* move Recognizer to botbuilder-dialogs
* removed unused ConverterRegistration
* move telemetryClientKey to botbuilder-core
* import Recognizer from botbuilder-dialogs
* move qnamaker recognizer to botbuilder-ai
* AdaptiveTypeBuilder -> DefaultTypeBuilder
* make BuilderRegistration interface
* new ComponentRegistration
* updated AdaptiveDialogTestComponentRegistration
* updated AdaptiveDialogComponentRegistration
* updated orchestrator recognizer to import recognizer from botbuilder-dialogs
* updated OrchestratorComponentRegistration
* implemented QnAMakerComponentRegistration
* updated test runner to use new component registrations
* refactored botbuilder-dialogs-declarative to support new component registration
* new adaptive dialog component registration
* new qna maker component registration to cut off dependency to botbuilder-dialogs-declarative
* new orchestrator component registration to cut off dependency to botbuilder-dialogs-declarative
* new adaptive dialog test component registration
* add header of botbulder-ai
* move luis adaptive recognizer to botbuilder-ai
* implemented LuisComponentRegistration
* removed dependency to botbuilder-ai in botbuilder-dialogs-adaptive
* bug fix
* move key of telemetryClient to botbuilder-dialogs
* removed dependency to botbuilder-ai
* refacored declarative
* changed converters property to accessor
* eslint --fix
* updated types
* updated converters type
* added type for the converter of qnarequestcontext
* more types
* simplified converters
* removed unused imports
* allow converters to convert T to T
* renamed get converters() to getConverters()
* replaced getConverters() with getConverter()
* removed unused types
* auto assign dialog id fix
* added converter to convert string array to dialogs
* test resource id assignment in actions
* changed dialog in test script back to Dialog
* added configuration interfaces
* use Object.entries()
* use reduce to construct object
* updated types
* use reduce
* adaptive classe implements configuration interface
* renamed customDialogLoader to dynamicBeginDialogDeserializer
* use reduce in default loader
* added docs
* userTokenMocks should be optional
* use reduce in http headers converter
* enabled api-extractor in botbuilder-dialogs-adaptive
* enabled api-extractor in botbuilder-dialogs-declarative
* enabled api-extractor in botbuilder-dialogs-adaptive-testing
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
* refactored http request to parse binary response
* move @types to dev dependencies
* updated test case for http request
Co-authored-by: Steven Ickman <stevenic@microsoft.com>
* add choice set
* as choice
* add choice set test
* fix build error
* fix location
* update test command
Co-authored-by: Zichuan Ma <zim@microsoft.com>
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
* Updated packages to target ES6 (#2204)
* Switch adaptive-expressions to es6 (#2205)
* Drop back to es5 and add bigint support.
* Fix test script.
* Fix test script.
* Remove adaptive.
* Remove space.
* Remove changes to package.json.
* update adaptive-expressions target to es5 for initial testing
* Push es5.
Co-authored-by: stevengum <14935595+stevengum@users.noreply.github.com>
Co-authored-by: Steven Ickman <stevenic@microsoft.com>
Co-authored-by: Chris McConnell <chrimc@microsoft.com>
* pinned recognizers-text to 1.1.4
* increase timeout for TestMultiLangImport
* increase timeout for suite, not test
* revert to single-test timeout increase
* added QnAMakerRecognizer
* added unit tests for QnAMakerRecognizer
* when running npm test, should run adaptive tests as well
* added IntExpressionConverter
* registered Microsoft.QnAMakerRecognizer
* added OnQnAMatch condition
* refactored api of Recognizer
* added integration tests for QnAMakerRecognizer and Microsoft.OnQnAMatch
Co-authored-by: Steven Ickman <stevenic@microsoft.com>
* Add botbuilder-dialogs-declarative, botbuilder-dialogs-adaptive to dependencies args list
* fix version dependencies in adaptive work
* restore botbuilder-dialogs to set-dependency-versions script
* update previewPackages in updateDeps script
Co-authored-by: stevengum <14935595+stevengum@users.noreply.github.com>
* Merged 4.future
* removed package-lock.json
* replaced matchAll with regex.exec to be compatible with node 10.x
* added constructor for InputDialog
* implemented language generator converter