Граф коммитов

43 Коммитов

Автор SHA1 Сообщение Дата
Joel Mut 604e190e73
bump: [#4550] Add Node 18 and 20 support (#4726)
* Add Node 18 and 20 support

* Fix CI and functional pipelines

---------

Co-authored-by: JhontSouth <jhonatan.sandoval@southworks.com>
2024-08-26 09:45:04 -05:00
tracyboehrer d3d838bbc0
Removed unused build assets (#4658)
Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
2024-05-06 09:44:46 -05:00
tracyboehrer faf57c59e5 Update botbuilder-js-daily.yml for Azure Pipelines
Updated comment about required PAT for Service Connection
2023-07-21 09:49:32 -05:00
tracyboehrer f21e7ccb11 Update botbuilder-js-daily.yml for Azure Pipelines
Added comment about Service Connection
2023-07-21 09:43:18 -05:00
BruceHaley fd45365d75
chore: Upgrade node to v 16 in JS pipelines (#4372)
* Use node 16.x

* Use node 16.x for build\yaml\botbuilder-js-daily.yml
2022-11-21 17:44:15 -06:00
Cecilia Avila 8ac00a3757
Fix open redirect in InterdependencyGraph.html (#4353) 2022-11-03 10:58:28 -05:00
BruceHaley 35ab9d3a1d
Update Ubuntu vmImage version. (#4328) 2022-09-20 16:48:38 -05:00
BruceHaley 98b1499456
Add file sizes, exclude node_modules (#4077)
Co-authored-by: Monica Rivera <44449640+mrivera-ms@users.noreply.github.com>
2022-01-31 15:38:04 -08:00
BruceHaley 102050ec4c
fix: Change component detection scan path to root (#4070)
* Change component detection scan path to root

* Tweak ignoreDirectories
2022-01-25 10:21:57 -08:00
BruceHaley c419b40fbb
chore: Set up JS daily pipeline to pull exclusively from ADO feed (#4053)
* Test yarn.lock for new feed

* Add system_accesstoken to daily pipeline

* Try fusenpm-feed-setup.yml

* Fix indent

* Add customEndpoint

* Add system_accesstoken

* Downgrade api-extractor to match feed version.

* Drop bruce/newjsfeedsource1-12

* Revert some changes

* Force npmrc new-item

* Switch to SDK_JS_org feed

* Switch to SDK_JS feed

* Update yarn.lock

* Drop  --frozen-lockfile

* Drop yarn.lock

* Restore --frozen-lockfile

* Delete eslint-plugin-lodash from yarn.lock

* Drop  --frozen-lockfile

* Delete wsrun from yarn.lock

* New yarn.lock

* Add set version 2.4.3

* switch to org feed

* Delete work files

* Cleanup 2

* Delete the .npmrc file

* Add the rebase script

* Add var $(SDK_JS_org_registry_Url)

* Fix backslashes in path

* Add dir workspace

* Fix rebase

* Tweak dir wkspace

* Fix steps

* Fix rebase

* Tweak dir, remove system_accesstoken

* Delete unused yaml files
2022-01-14 15:57:09 -08:00
Monica Rivera 4e154562fc
Add script to point yarn to private feed (#4052)
Co-authored-by: Gabo Gilabert <gabog@users.noreply.github.com>
2022-01-12 16:37:31 -08:00
Emilio Munoz 881b018264
chore: Update botbuilder-js-daily.yml (#4048)
* Update botbuilder-js-daily.yml

* Update botbuilder-js-daily.yml
2022-01-10 13:51:41 -08:00
BruceHaley a3394d664f
Set CG task to warn only. (#4043) 2022-01-07 13:30:20 -08:00
Emilio Munoz 77a2818258
chore: Delete node modules after build (#4041)
* chore: Delete node modules after build

Deleting node_modules after build to remove overhead of package manager dependencies

* Update botbuilder-js-daily.yml

* Update botbuilder-js-daily.yml
2022-01-05 11:40:49 -08:00
Emilio Munoz a498f03763
Adding component governance to build (#4040) 2022-01-03 23:07:10 -05:00
BruceHaley 3246054b4a
chore: Add Software Bill of Materials task for JS (#4009)
* Add generate SBOM task

* Fix capitalization

* Add SBOM signing, name, version
2021-12-17 15:39:16 -08:00
Monica Rivera bed57b2a56
fix: Add CredScan suppression (#4028)
* Add CredScan suppression

* Update credscan.json

* Update credscan.json

* Update botFrameworkAdapter.test.js

* Update encryption.test.js

* Remove space

* Remove space 2

* Suppression 4

* Suppression 5

Co-authored-by: BruceHaley <v-brucehaley@microsoft.com>
2021-12-17 13:51:02 -08:00
BruceHaley 1a565e9bc3
fix: dependency graph generator (#3901)
* Add debug trace 1 to .ps1

* Add  -RequiredVersion "2.0.0"

* Remove debug trace

* Clean up log output

* Dummy change to re-trigger failing test.
2021-08-19 14:35:33 -07:00
Josh Gummersall 6821affc21
chore: testing reorg, devops cleanup (#3860)
* chore: move more test code around

- Also remove dead code

* chore: remove unused devops files
2021-07-29 15:35:58 -07:00
Josh Gummersall c88b89a12a
fix: semver formatting (#3490)
Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2021-03-30 10:04:06 -07:00
Michael Richardson f1dd668126
Add dialog:merge tests (#3404)
* Add dialog:merge tests

* replace bf cli install w/ npx

* fix formatting

* use appropriate mergeCommand

* test schema differences in CI

* node v10 doesn't like null coalesce

* test equality the right way

Co-authored-by: Michael Richardson <v-micric@microsoft.com>
2021-03-17 16:12:35 -07:00
Josh Gummersall a48c0b8732
fix: better version metadata (#3364) 2021-03-05 14:12:16 -08:00
Josh Gummersall 979666e639
feat: botbuilder stdlib (#3066)
* feat: botbuilder-stdlib for shared code

* fix: prettier

* feat: initial schema assertions/type tests

* fix: stdlib paths

* fix: ts-essential dep, test coverage

* fix: use @standardlabs/downlevel-dts with fix

Revert this change once
https://github.com/sandersn/downlevel-dts/pull/48 lands upstream

* Apply suggestions from code review

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>

* feat: internal package version label

* fix: instanceOf with abstract classes

* fix: refactor common TypeError assertion pattern

Also emits custom errors for undefined, mis-typing, etc. for better
runtime detection. This enables us to construct assertions that work for
`Partial` types.

* fix: stdlib docs, cleanup, etc.

* fix: docs, cleanup, PR review

* fix: strict++ mode in blobs package

* fix: strict++ mode for stdlib package

* fix: tenantId handling

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-12-04 14:42:08 -08:00
BruceHaley 2f09df310d
Fix AnalyzeDepsJS.ps1 (#3065) 2020-11-16 15:18:10 -08:00
Josh Gummersall 594e17b1a5
ci: gh actions cleanup and coveralls (#3064)
* fix: better names for workflow jobs

* feat: coveralls in test action

This commit also collapses multiple workflow files into one with some
branching for jobs that only run on certain operating systems and node
verions. Generally, this is a performance optimization for things that
aren't dependent on the operating system or node version (linting is a
good example).

* fix: devops reporting
2020-11-16 14:34:36 -08:00
Josh Gummersall 6103ccf63f
monorepo: overhaul lerna/yarn/repo tools (#2984)
* 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>
2020-11-09 12:20:44 -08:00
BruceHaley 45b9f7844a
Change to vmImage: 'ubuntu-18.04' (#2980)
* Change to vmImage: 'ubuntu-18.04'

* Fix sed calls
2020-10-29 17:02:25 -07:00
Josh Gummersall 079b3d9273
fix: run consumer test in CI (#2956)
* Run consumer test in CI

- Locate consumer test inside new `testing` directory and register with
lerna
- Express all deps in package.json
- Refactor run.ts, invoke with ts-node
- Run in CI via build/js-build-steps.yml

Fixes #2069

* Add extra packages
2020-10-27 12:57:39 -07:00
Josh Gummersall 25dded3dda
fix: add adaptive-expressions-ie11 to lerna.json (#2958)
* Add adaptive-expressions-ie11 to lerna.json

* Add PKG18 to daily build pipeline
2020-10-27 09:04:51 -07:00
BruceHaley 7736d93faf
Revert "Change vmImage to ubuntu for all JS pipelines (#2931)" (#2948)
This reverts commit ac08692132.
2020-10-23 11:46:29 -07:00
BruceHaley ac08692132
Change vmImage to ubuntu for all JS pipelines (#2931)
* Switch to ubuntu vmimage

* Tweak sed commands

* Add ubuntu to the other builds

* Add var NoPublish

* Fix NoPublish logic

* Rename var to DoNotPublishPackages

* Remove DoNotPublishPackages functionality. Instead we limit automatic releases to main branch.

* Fix Package Names task

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-10-20 17:38:18 -07:00
BruceHaley 0862850761
Replace multiple npm packs with one lerna exec --no-private npm pack (#2924)
* Instead of npm pack, use lerna exec npm pack

* Add --no-private

* Add break-the-build

* Remove the "break build" step
2020-10-20 13:54:00 -07:00
BruceHaley 1299e26c17
Create yaml version of daily JS build (#2893)
* Add yaml version of daily JS build

* Add comments

* Tweak comment

* Vertical spacing

* Various tweaks per feedback in PR.

* Switch back to macOS-10.15

* Drop eslint
2020-10-16 11:48:06 -07:00
Steven Gum 6ebb785cbf
CI Improvements around runtime coverage, code coverage reports and add GitHub workflows (#2868)
* move to GitHub workflow only for code analysis

* setup Node CI Matrix, use Azure DevOps for code coverage reports

* cleanup README.md

* add test:devops script and reporter devDependency
2020-10-05 11:09:15 -07:00
Geoff Cox (Microsoft) 7b7484b1a8
Updated to minimal standard eslint config (#2814)
* Updated to minimal standard eslint config

* PR fix to remove cp, ts version

* Removing other duplicate blob pattern

* Updated to get dependencies for eslint in ci
2020-09-30 17:12:28 -07:00
BruceHaley 39446ee87f
Add JS interdependency graph (#2750)
* Add AnalyzeDepsJS.ps1

* Fix Param block

* Fix comment section in .ps1

* Add debug info

* More debug

* Still more debu

* Fix Get-PackageJson

* Update README.md

* Update README.md

* Update README.md

* Add back the header info.

* Drop commented-out sections

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-09-08 16:38:29 -07:00
Steven Gum e3f111b36c
CodeAnalysis pipeline fixes, eslint bump, test fixes (#2742)
* update eslint-related dependencies & config file

* update js-analysis-steps to match major-minor dependencies in package.json

* cleanup default test scripts, update devDependencies, update eslint config
2020-08-24 11:00:37 -07:00
Steven Gum b574691743
Update lerna config & related cleanup/enhancements (#2514)
* lerna-focused changes
* add "private": true to test packages
* add "lerna version" config
* add explicit npmClient in prep for yarn

* CI: install lerna@3.22.1 instead of 3.2.1 to better reflect local development
2020-08-07 01:16:38 -07:00
Denise Scollo f29c07f9da
[Streaming, Engineering] Add integration tests for ChannelServiceRoutes (#2582)
* Add ChannelServiceRoutes integration tests

* Add bot-integration-test to the pipeline

* Assign dependencies

* Add .gitignore eol

* Update bot integration tests ts dependency

Co-authored-by: Joel Mut <joel.mut@southworks.com>
Co-authored-by: Cecilia Avila <44245136+ceciliaavila@users.noreply.github.com>
2020-07-31 13:05:28 -07:00
Steven Gum bc39930464
add eslint-plugin-jsdoc to build-steps.yml (#2584)
* add eslint-plugin-jsdoc to build-steps.yml

* add plugin-jsdoc to analysis-steps.yml
2020-07-27 10:20:20 -07:00
BruceHaley c39c7744ea
Create pipeline BotBuilder-JS-CI-node12-yaml (#2487)
* Add .yml file

* Fix yaml

* Add stages

* Add stages

* Fix line 11

* Fix stage names

* Rename Analyze

* Rename stages

* Eliminate unnecessary stages

* Set up 2 jobs only

* ubuntu

* macOS-10.15

* macOS-latest

* macOS-10.14

* add npm install

* Without npm install

* Without Note 10.x

* With Noge 10.x

* install @typescript-eslint/eslint-plugin

* Add install typescript @typescript-eslint/parser

* install eslint etcetera

* Add stages

* Parallel stages

* Normalize

* Syntax fix

* Add node12 pipeline

* Fix node version in analysis steps

* Fix node version 2

* Try NodeVersion 10 in build node12

* Switch NodeVersion back to 12.

* Fix comment

* Fix line spacing

* Drop log env vars
2020-07-07 10:42:23 -07:00
BruceHaley 60c116c258
Create pipeline BotBuilder-Js-CI-yaml (#2482)
* Add .yml file

* Fix yaml

* Add stages

* Add stages

* Fix line 11

* Fix stage names

* Rename Analyze

* Rename stages

* Eliminate unnecessary stages

* Set up 2 jobs only

* ubuntu

* macOS-10.15

* macOS-latest

* macOS-10.14

* add npm install

* Without npm install

* Without Note 10.x

* With Noge 10.x

* install @typescript-eslint/eslint-plugin

* Add install typescript @typescript-eslint/parser

* install eslint etcetera

* Add stages

* Parallel stages

Co-authored-by: Steven Gum <14935595+stevengum@users.noreply.github.com>
2020-07-06 15:11:17 -07:00
Steven Gum d69845f2e6
[Engineering] Create .yaml pipeline for API check (#2321)
* create api-check.yaml

* add vmImage to api-check.yaml

* add missing sed replacement in api-check.yaml

* use current package name in sed

* update *.api.md

* add generated adaptive-expressions code to .eslintignore

Co-authored-by: Steven Ickman <stevenic@microsoft.com>
2020-06-11 18:45:02 -07:00