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

56 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Meng a28e8f0795 [EngSys] move to vendored version of cross-env via dev-tool
***NO_CI***

- apply the transformation

- update samples' README
2024-11-02 00:48:06 +00:00
Jeremy Meng 980f3cbb89 [EngSys] move `uglify-js` to dev-tool vendored
- add dep to `uglify-js` in dev-tool

- rush update

- replace "uglifyjs" with "dev-tool run vendored yglifyjs"

- remove dependency to "uglifyjs" in sdk packages

***NO_CI***
2024-10-30 18:01:20 +00:00
Jeremy Meng 1cae9db8e1 [EngSys] remove "audit" NPM script and it's related file
as we no longer use it and rely on GitHub security features.

***NO_CI***
2024-10-25 19:28:06 +00:00
Jeremy Meng 59bb0809ba [EngSys] use vendored version of `mkdirp` and `rimraf` from dev-tool
also remove dependency on `@microsoft/api-extractor` as we already move to
`dev-tool run extract-api` which calls api-extractor Api instead.

***NO_CI***
2024-10-23 17:53:07 +00:00
Matthew Podwysocki 61c8b9aae4 [EngSys] Add update-snippets to all package.json files ***NO_CI*** 2024-09-26 17:59:37 +00:00
Jeremy Meng a7b3656a05 [EngSys] upgrade dev dependency `typescript` version to `~5.6.2`
***NO_CI***

- replace version to "~5.6.2"
- rush update
- add `"skipLibCheck": true` for several packages that are affected by https://github.com/vitest-dev/vitest/issues/4688

- [formrecognizer] help TypeScript to understand with more explicit type

- [schema-registry-{avro,json}] skip lib check due to lru-cache issue with the Iterator TReturn change

https://github.com/isaacs/node-lru-cache/issues/348
2024-09-19 18:07:31 -07:00
ZiWei Chen 928149383a
[mgmt] add Sanitized rule and update changelog template to fix ci fai… (#30226) 2024-09-06 17:10:40 +08:00
Jeremy Meng 3a68e456b2 [Samples] update "src/**.ts" to "src/**/*.ts" in tsconfig.json
Previously dev-tool has been fixed to generate correct include path in samples
tsconfig.json but samples were not updated.

This PR fixes the samples tsconfig.json in one run; otherwise with the recent
branch protection policy changes, when individual packages re-publish samples,
js-core team would have to approve the tsconfig.json changes.

***NO_CI***
2024-07-24 13:53:00 +00:00
Jeremy Meng 1a09f43108 [EngSys] upgrade dev dependency `typescript` version to `~5.5.3`
***NO_CI***

- also include *.api.md updates due to the following TypeScript 5.5 change

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-5.html#simplified-reference-directive-declaration-emit
2024-07-03 22:24:35 +00:00
Maor Leger 2e040fae8a Bump @azure/identity to 4.2.1 in samples ***NO_CI*** 2024-06-11 14:01:31 -07:00
Maor Leger 224f7c1c14 [EngSys] Migrate to dev-tool extract-api ***NO_CI*** 2024-04-19 18:13:41 +00:00
Jeremy Meng ffe81c5bcf [EngSys] upgrade dev dependency `mkdirp` to `^3.0.1`
***NO_CI***
2024-04-15 11:27:58 -07:00
Jeremy Meng 398494acd8 [EngSys] upgrade dev dependency `typescript` to `~5.4.5`
The only package that still stays on ~5.3.3 is search-document (tracked by issue #29283)

***NO_CI***
2024-04-11 23:19:38 +00:00
Matthew Podwysocki ca72dcf5c9 [EngSys] move to rimraf 5 ***NO_CI*** 2024-03-07 16:48:30 -08:00
Maor Leger c0d505f086 [EngSys] Update to @azure/identity 4.x
This change migrates every package to the latest major version of
identity in order to ensure we can catch any regressions earlier in the
development process.

I chose to upgrade the samples' package.json as well - but happy to
revert that if there are objections.

***NO_CI***
2024-02-02 19:01:35 +00:00
Jeremy Meng fb74e0b24b [EngSys] ensure dev dependency `@types/mocha` when depending on `mocha`
Our tests use the type `Mocha.Context` when they need to pass the test context
to test recorder. However, without a dev dependency on `@types/mocha`
compilation may fail when recorder constructor is changed from taking a
`Mocha.Test` to taking an interface that is compatible.

This change ensures the dev depedency on `@types/mocha` too if there's a dev
dependency on `mocha`.

***NO_CI***
2024-02-02 18:41:28 +00:00
Jeremy Meng ee5c29d72d ***NO_CI***
bump to ~5.3.3
2024-01-26 11:25:48 -08:00
Matthew Podwysocki f70fa9821c [EngSys] Update TypeScript to 5.3 2024-01-26 11:25:47 -08:00
Jeremy Meng 09111131ef [EngSys] Increment minimum supported node version to v18
***NO_CI***

- React to @types/node changes
- Fix eslint-plugin tests
2023-10-30 21:01:37 +00:00
Jeremy Meng 6d7f6359cb [engsys] update dev dependency `typescript` version to `~5.2.0`
***NO_CI***

- Upgrade typedoc too as older version only supports TypeScript 5.0
2023-10-23 14:32:05 -04:00
Deyaaeldeen Almahallawi 72d460d5ba Use dev-tool bundle in arm libraries ***NO_CI*** 2023-10-16 21:03:26 +00:00
Jeremy Meng c65d843a30 Increment minimum supported node version to 16
***NO_CI***

- update engine.node to >=16.0.0 in package.json
- update @types/node version to ^16.0.0
- update dev-tool sample's MIN_SUPPORTED_NODE_VERSION to 16
- update eslint-plugin's rules and tests related to engine.node version
- remove TextEncoder and TextDecoder stubs as they are now on global object
- fix tests compiler error due to better typings in v16
- update some README files to not reference version like 14.x.x
2023-10-09 21:09:54 +00:00
kazrael2119 ab391b646b
[mgmt] update quick-start link in changelog (#27260)
https://github.com/Azure/azure-sdk-for-js/pull/27223#discussion_r1338094846
2023-09-27 17:51:50 +08:00
Jeremy Meng b2dfb59d59 [test] upgrade dev dependency `mocha` to `^10.0.0`
- along with it, `@types/mocha` version to `^10.0.0`
- add `esm` dev dependency as they are used, but not explicitly list
- use dev-tool run command for test scripts as much as possible
- fix test issue caused by Mocha behavior change around test name
- move `import "chai/register-should"` to mocha -r command line option for core
  http tests

***NO_CI***
2023-09-26 18:54:14 +00:00
Deyaaeldeen Almahallawi e95422bbd0 Fix up Azure dependencies ***NO_CI*** 2023-09-22 18:38:37 +00:00
Jeremy Meng 56d2330abe [EngSys] add `ts-node` dev dependencies to rush projects
***NO_CI***

Most of our packages, if not all, have dev dependency on `ts-node` either
directly (`mocha --require ts-node/register`) or indirectly via dev-tool (`run
test:node-ts-input`). Currently tests are running fine because mocha is able to
resolve ts-node currently. It may fail in other cases though (e.g., after
migrating a package to ESM).

This ensures `ts-node@^10.0.0` and `types/node` are included for our rush
packages.
2023-08-23 14:36:24 -07:00
kazrael2119 dafd06c15f
migrate sdk recording files 2 (#25670)
https://github.com/Azure/azure-sdk-for-js/issues/25410
2023-04-28 15:50:56 +08:00
Jeremy Meng d3a06a7349 [EngSys] upgrade dev dependency `typescript` to `~5.0.0`
***NO_CI***

- update versions in package.json
- change a couple ^ version to ~ version because typescript doesn't follow semver
2023-04-18 23:04:26 +00:00
Jeff Fisher b1509d6756 Update test-recorder to drop support for `@Azure/core-http` and
bump the major version accordingly.

***NO_CI***
2023-03-02 15:21:26 -08:00
Jeremy Meng 42d359f404 [engsys] upgrade @rollup plugins dev dependencies
***NO_CI***

- `@rollup/plugin-commonjs` to `^24.0.0`
- `@rollup/plugin-json` to `^6.0.0`
- `@rollup/plugin-multi-entry` to `^6.0.0`
- `rollup-plugin-polyfill-node` to `^0.12.0`
- `@rollup/plugin-inject` to `^5.0.0`
- `@rollup/plugin-replace` to `^5.0.0`

Fix notification-hubs rollup test config: now sourcemaps plugin is complaining
about .ts file. Move typescript plugin before it.

Fix service-bus to include needed rollup dependencies. It was lucky to be able
to re-use on other packages to install them but is failing in some builds.
2023-02-10 15:12:48 -08:00
Azure SDK Bot f9a1e41187
Post release automated changes for features releases (#24007)
Post release automated changes for azure-arm-features
2022-12-05 04:46:23 +00:00
kazrael2119 140735f2f7
Recording refresh9 (#23959)
* recording refresh 9

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update files

* update file

* Update CHANGELOG.md

* update files

* update files

* update files

* Update tsconfig.json
2022-11-28 14:40:04 +08:00
Jeremy Meng 98508cfa18 [EngSys] update engines required node version and @types/node version to v14
***NO_CI***

- string replace in package json: 12 => 14 for engines/node and for dependency @types/node
- eslint: update `json-engine-is-present` rule to 14.0.0 as LTS version
- identity: react to typing improvements for `readFile()`'s `options.encoding`
- trivial generated api.md file changes due to @types/node version bump
2022-10-14 14:29:35 -07:00
Jeremy Meng 6c881ed3a1 [engsys] upgrade dev dependency `@microsoft/api-extractor` to `^7.31.1`
***NO_CI***

- bump api-extractor dev dependency to ^7.31.1 for all packages
- insignificant review file changes for cosmos and blob
2022-09-22 17:09:15 -07:00
Jeremy Meng f280f87f7b [engsys] fix broken nodejs lts schedule link
On https://nodejs.org/ it is now point to https://github.com/nodejs/release#release-schedule

***NO_CI***
2022-09-19 16:37:05 -04:00
praveenkuttappan 84329dd2e8 Pin API-extrator to 7.18.11 2022-04-20 15:32:34 -07:00
colawwj 0379a2987b
Refresh 8 (#21456)
* dns&digitalwins

* dnsresolver

* domainservices

* eventhub

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2022-04-20 13:01:24 +08:00
colawwj 921810a62b
Separate ci.yml and ci.mgmt.yml (#20354) 2022-02-18 10:28:11 +08:00
Will Temple 212f4f4456 Squashed commit of the following:
commit dcb5df3fc8
Merge: 356a32c63 6739271b8
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 17:22:23 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 356a32c63f
Merge: 6527b2813 b88c0bae2
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 16:51:32 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 6527b2813f
Merge: db7197b84 55ad30951
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 16:13:56 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit db7197b84b
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 28 11:03:50 2022 -0500

    Enable communication-phone-numbers browser tests

commit 9336dc195f
Merge: 097c9d2bc 7ea04a838
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 27 16:17:54 2022 -0500

    Merge branch 'witemple-msft/rollup2' of github.com:Azure/azure-sdk-for-js into witemple-msft/rollup2

commit 097c9d2bc5
Merge: a022f51bd 9ef90e433
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 27 16:17:29 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 7ea04a8388
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 26 17:00:14 2022 -0500

    Update common/tools/dev-tool/src/config/rollup.base.config.ts

    Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>

commit a022f51bde
Merge: 64599af3a c7024562e
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 26 16:42:10 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 64599af3a3
Merge: bdd4bcac1 0c4d2af1f
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Jan 25 17:29:58 2022 -0500

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit bdd4bcac15
Merge: e834674c9 97b77df56
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Jan 25 11:26:58 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit e834674c93
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Jan 25 11:19:29 2022 -0800

    fixed schema-registry-avro

commit 26425ecf4c
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 12:53:58 2022 -0800

    Remove util dependency from monitor-query

commit 50beb01555
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 14:36:30 2022 -0500

    Removed dangling 'util' dependency

commit d28baf05e5
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 12:38:56 2022 -0500

    Make warning inhibitors work on Windows

commit 5c4c828a10
Author: Will Temple <witemple@microsoft.com>
Date:   Mon Jan 24 08:31:07 2022 -0800

    Fixed recorder build:test

commit 81a9d6d65b
Merge: cc7f21248 2144ad4eb
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 15:16:24 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit cc7f212480
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 15:16:08 2022 -0800

    iot-device-update-rest: migrated

commit 88212d2d80
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 14:13:51 2022 -0800

    keyvault-keys: disable node polyfill

commit 3c1302b09a
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 14:10:17 2022 -0800

    keyvault-admin: disabled browser node polyfill

commit 818cf063c2
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 13:35:29 2022 -0800

    Add basePath configuration to shared script config, inhibit empty warnings from node-resolve

commit 8d187890fe
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 12:15:58 2022 -0800

    Removed errant rollup.config.js entries

commit d4833d4914
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 11:47:45 2022 -0800

    Remove my launch config

commit e63d4e5163
Merge: 37cb4bcf5 d9fe26483
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 11:45:31 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 37cb4bcf56
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 21 11:44:20 2022 -0800

    Added shim plugin for source maps

commit 98579cc73f
Merge: 9132065dc e3db6c418
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 20 09:44:42 2022 -0800

    Merge remote-tracking branch 'upstream/main' into witemple-msft/rollup2

commit 9132065dc2
Author: Will Temple <witemple@microsoft.com>
Date:   Fri Jan 14 14:39:32 2022 -0500

    Changed weird regex to path.split.join

commit 9c20ebb570
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 17:25:21 2022 -0500

    Removed communication-chat browser test config, as it's not needed

commit 2a8364d387
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 17:06:02 2022 -0500

    Deleted rollup.config.js for packages on the shared script.

commit 3fc9575933
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 17:01:31 2022 -0500

    template: removed rollup

commit 85d7050081
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 16:54:55 2022 -0500

    synapse: silence rollup output

commit ae9f7a6acb
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 16:30:53 2022 -0500

    Some updates to the bundle command

commit 11cee51f6a
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 16:30:33 2022 -0500

    Migrate more packages to shared rollup script

commit 0c4d89c8f4
Merge: f1ccb033a 78f849db7
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 13:00:13 2022 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit f1ccb033ab
Author: Will Temple <witemple@microsoft.com>
Date:   Thu Jan 13 12:11:27 2022 -0500

    [dev-tool] Add rollup-plugin-polyfill-node

commit 1a8ec9b1a2
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 19:07:43 2022 -0500

    preferBuiltins: false for browser

commit fe81f4ce0c
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 18:20:38 2022 -0500

    arm-compute: fix new warning

commit a75eca0064
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 16:20:54 2022 -0500

    Fixed build error in dev-tool

commit d890a897fd
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 16:18:36 2022 -0500

    Resoved merge conflict

commit a64fa41b34
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 16:12:16 2022 -0500

    Remove mixed rollup commands, leaving only rollup.test.config.js

commit f159571fd0
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 14:43:55 2022 -0500

    Remove all rollup dependencies

commit 65170145b1
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 14:11:28 2022 -0500

    Remove ordinary rollup commands.

commit f43cc70494
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 12:48:19 2022 -0500

    Removed configs that opt-out of browser bundles

commit 24357be603
Merge: 86250f0ab 20df85cb7
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 12:31:49 2022 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit 86250f0ab2
Merge: 26c241e6a 8dcc09499
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Jan 12 12:27:43 2022 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit 26c241e6ac
Merge: a0a98eeba 12b194101
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Dec 14 18:37:30 2021 -0500

    Merge remote-tracking branch 'upstream/main' into dev-tool/rollup2

commit a0a98eeba2
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Dec 14 17:39:12 2021 -0500

    Make consistent

commit c8f6ffeb3f
Author: Will Temple <witemple@microsoft.com>
Date:   Tue Dec 14 17:29:05 2021 -0500

    Migrate template

commit d56bcc5e4b
Author: Will Temple <witemple@microsoft.com>
Date:   Wed Dec 8 11:46:16 2021 -0500

    [dev-tool] Add "bundle" command
2022-01-28 17:26:28 -05:00
Azure SDK Bot 92dd6483c4
Post release automated changes for azure-arm-features (#18994) 2021-12-07 15:37:43 +08:00
colawwj 485c8312c6
feature-track2-ga (#18991) 2021-12-07 11:04:35 +08:00
Azure SDK Bot 9da00cc3b1
Post release automated changes for azure-arm-features (#18200) 2021-10-15 10:31:40 -07:00
colawwj ef323b7ffa
track2-version-bump (#18111)
* track2-version-bump

* update

* update
2021-10-09 14:48:41 +08:00
Maor Leger 9dc6167cf1
Update API Extractor for all packages (#17917)
## What

- Update API Extractor to the latest version (currently 7.18.11)
- Regenerate all API reviews by building all the packages

## Why

This is something we keep bumping into. First, we needed to upgrade API Extractor to allow us to re-export directly from
`@opentelemetry/api`. Then, it looks like we needed this to upgrade TypeScript to 4.4. 

We are way behind on this version, and it's time to upgrade.

## Callouts

How noisy is this?! Here's what's happening - somewhere around 7.9 I think API Extractor improved the way it detects name
collisions with predefined globals. Things like KeyType, Response, etc. 

If there's a clash, the generated API markdown file will rename <Item> to <Item_2> to make the name collision explicit.

Talking to folks on the team, and the poor souls that will be doing API Review approvals, we agreed that doing the upgrade
in one fell swoop is the way to go. 

Resolves #9410
2021-09-30 08:07:26 -07:00
Azure SDK Bot 65190ef9bc
Post release automated changes for azure-arm-features (#17487) 2021-09-08 09:12:11 -07:00
colawwj 3a21acf826
features-readme-samples-update (#17485) 2021-09-07 10:49:05 +08:00
Azure SDK Bot 350cb9e0b5
Increment version for features releases (#16755)
Increment package version after release of azure-arm-features
2021-08-20 20:25:19 +00:00
colawwj b2eb028a01
features-track2 (#16571) 2021-08-04 13:57:16 +08:00
Wei Dong 1a7c5e2af6
bump version (#16429) 2021-07-16 20:06:41 +08:00
Wei Dong 4918d1f17a
release arm feature (#16427) 2021-07-16 18:28:36 +08:00