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

43 Коммитов

Автор 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 6a2c7300eb [eslint-plugin] add rule "@typescript-eslint/consistent-type-imports": "warn"
- apply lint:fix results

- revert fixes that are not related to consistent-type-imports and cases error

- regenerate .api.md files

- format

- update core-comparison diff
2024-10-30 15:48:52 +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
Ryan Hurey 782dc8896a
Prep for stable release. (#31450)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Stable Release

### Are there test cases added in this PR? _(If not, why?)_
No changes.
2024-10-17 11:29:32 -07: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
Weiyang Ding(MSFT) 5b025d1eaa
[sample][image-analysis] update the dependency package version in package.json (#30301)
Fixes [#28746](https://github.com/Azure/azure-sdk-for-js/issues/28746)

@joheredi and @dargilco for notification.
2024-09-16 12:19:54 -07:00
Jeremy Meng d5f6d677ec [EngSys] standardize OSS copyright header
- [eslint-plugin] github-source-headers rule should use "MIT License".

  This change updates our linter rule and the whole repository to have consistent
  license header.

***NO_CI***

- remove "All rights reserved." from header

- "MIT license" => "MIT License"
2024-08-27 13:01:38 -07:00
Jeremy Meng 5adb09d715 [engsys] upgrade dev dependency eslint to v9
***NO_CI***

- bump eslint version to ^9.9.0
- [eslint-plugin] remove eslint-plugin-import for now. Will re-visit until it supports eslint v9
2024-08-23 16:37:40 -07:00
Jeremy Meng 4ab6590ffe Apply automated migration to eslint flat config 2024-08-22 11:43:19 -07:00
Jeremy Meng ca0736c8bb
[engsys] use caret version for api-extractor (#30742)
to get the latest version and be consistent with the rest packages.
2024-08-14 13:43:34 -07:00
Azure SDK Bot 9b17f522af
Post release automated changes for vision releases (#30479)
Post release automated changes for azure-rest-ai-vision-image-analysis
2024-07-29 11:14:27 -07:00
Ryan Hurey 95c6595d93
Update tests with environmental changes (#30464)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Test cases were failing on playback due to environment
mis-configuration.

### Provide a list of related PRs _(if any)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-07-19 09:17:48 -04:00
Ryan Hurey d927ca5702
Prep for ImageAnalysis Beta3 (#30460)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Changelog and user agent update for beta-3

### Are there test cases added in this PR? _(If not, why?)_
No. Version update only.

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-07-18 15:39:00 -04:00
Ryan Hurey 35cfc70047
Add EntraID support to ImageAnalysis RLC (#30451)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Re-generated the client to pick up a TypeSpec change that added EntraID
support.
Added test case for above.
Modified readme to show use of DefaultAzureCredential

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_
Yes.

### Provide a list of related PRs _(if any)_
https://github.com/Azure/azure-rest-api-specs/pull/28482

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_
2024-07-18 11:25:49 -07:00
Jeremy Meng b93b62368b [EngSys] remove tsconfig.package.json
which only extends from tsconfig.json.  There might be more customization for
packages in the early days but not any more.

This PR removes it and updates packages to extends tsconfig.json directly

***NO_CI***
2024-07-16 13:27:25 +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
Jeremy Meng 74dfa883b9 [EngSys] upgrade dep dependency `nyc` to ^17.0.0
***NO_CI***
2024-06-28 17:57:40 +00:00
Jiao Di (MSFT) 875fcb31ca
Fix Azure Image Analysis Readme (#29816)
fixes #29091 

@joheredi, @dargilco for notification.
2024-05-29 14:59:01 +00:00
Jeremy Meng e9561c1a52 [EngSys] back to use `nyc` for code coverage
now that we removed `esm` dependency, `nyc` should be working again, and `nyc`
appears to have better results than `c8` does.

***NO_CI***
2024-04-19 12:19:32 -07:00
Maor Leger 224f7c1c14 [EngSys] Migrate to dev-tool extract-api ***NO_CI*** 2024-04-19 18:13:41 +00:00
Maor Leger 446e9d831b [EngSys] Remove ESM dependency ***NO_CI*** 2024-04-19 15:45:48 +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
Harsha Nalluru 7c3bec9c3b
[test-credential] Cleanup tilde (~) in favor of caret (^) for @azure-tools/test-credential dependency (#29138)
Minor changes in this PR
- Switch from ~ to ^ for `@azure-tools/test-credential` dependency
- Karma.conf update to `test-utils` package.
2024-04-01 22:20:21 +00:00
Maor Leger d7173879bf [EngSys] C8 major version update ***NO_CI*** 2024-03-22 13:26:43 -05:00
Azure SDK Bot 51737a0095
Post release automated changes for vision releases (#28583)
Post release automated changes for azure-rest-ai-vision-image-analysis
2024-02-29 19:46:20 +00:00
Ryan Hurey d281011c04
Update with output from prepare-release script (#28578)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Describe the problem that is addressed by this PR
Changelog and user agent update from prepare-release script
2024-02-14 11:38:00 -08:00
Ryan Hurey b0f24ecb43
Change sample URL & Test image (#28571)
### Packages impacted by this PR
N/A. This PR is a sample / test update only.

### Describe the problem that is addressed by this PR
Using a higher resolution sample provides better results.
2024-02-13 17:15:53 -08:00
Jeremy Meng 09784c3724 [EngSys] upgrade dev dependency `pretter` to `^3.2.5`
There's some changes in 3.2.5 which caused formatting changes for tsconfig.json
which caused our rush automation failed in check-format when moving to latest 3.2.5.

https://github.com/prettier/prettier/blob/main/CHANGELOG.md#use-json-parser-for-tsconfigjson-by-default-16012-by-sosukesuzuki

This change upgrades prettier to version ^3.2.5 and format files using "rush format".

***NO_CI***
2024-02-06 12:13:14 -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
Matthew Podwysocki f70fa9821c [EngSys] Update TypeScript to 5.3 2024-01-26 11:25:47 -08:00
Ryan Hurey aadadb20fa
Update to latest TypeSpec (#28354)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Update generated code to latest TypeSpec

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?

### Are there test cases added in this PR? _(If not, why?)_
No. No functionality changed

### Provide a list of related PRs _(if any)_
TSP PR: https://github.com/Azure/azure-rest-api-specs/pull/27296

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-01-25 17:01:32 -08:00
Azure SDK Bot e336560683
Post release automated changes for vision releases (#28327)
Post release automated changes for azure-rest-ai-vision-image-analysis
2024-01-23 16:45:25 -08:00
Jeremy Meng 0e1c8881f0 [EngSys] upgrade dev dependency `prettier` version to ^3.2.4
***NO_CI***

Latest versions of prettier now correctly formats `tsconfig.json`, which results
in differences with previous version of 3.1.1 in pnpm-lock.yaml. This is failing
the automated rush update pipeline because `check-format` fails with version
3.2.4.

This includes changes of
- bumping prettier version to ^3.2.4
- running `rush format`
2024-01-18 19:05:41 +00:00
Jeremy Meng c3d04ac2ad
[engsys] remove unused dev dependency `mocha-junit-reporter` (#28257)
We have moved to use Mocha's builtin XUnit reporter

Resolves #28242
2024-01-16 16:53:19 -08:00
Ryan Hurey 2430189816
Add CODEWONERS for Image Analysis and update sample readme's with metadata (#28233)
### Packages impacted by this PR
N/A: Readme metadata and CODEOWNERS update

### Issues associated with this PR


### Describe the problem that is addressed by this PR
The readme's for ImageAnalysis didn't have the metadata for learn
integration.
CODEOWNERS weren't listed for IA directory.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-01-16 14:58:59 -08:00
Darren Cohen 5510921706
Image Analysis SDK: Add aka.ms links to README.md (#28232) 2024-01-12 17:32:50 -08:00
Darren Cohen f66f5421a2
Image Analysis SDK - Use a higher-res version of the JPEG image in the samples folder (#28221)
The higher version is what we use in the other SDKs (Java, Python, C#).
It gives more rich analysis results that show the full potential of
Image Analysis service.
2024-01-12 11:34:00 -08:00
Jeremy Meng 12b4dcc257 [EngSys] upgrade to prettier v3
***NO_CI***

- remove dev dependency `prettier` from non-tool packages when possible and
  update them to run vendored prettier for `check-format` and `format` scripts

- upgrade rest of packages to prettier v3

- run `rush format` for all rush packages

This is a follow-up to https://github.com/Azure/azure-sdk-for-js/pull/28127 to
move the rest of repo to prettier v3.
2024-01-10 18:45:01 -05:00
Ryan Hurey 6c4f0f74c3
Update README.md (#28202)
### Packages impacted by this PR
@azure-rest/ai-vision-image-analysis

### Issues associated with this PR


### Describe the problem that is addressed by this PR
Broken links in readme.md

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
N/A

### Are there test cases added in this PR? _(If not, why?)_


### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-01-09 16:59:16 -08:00
Ryan Hurey 56426f8de0
Create new ImageAnalysis RLC package (#28027)
### Packages impacted by this PR
@Azure/imageAnalysis

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Initial add of ImageAnalysis RLC, opening PR to get gates run to start
knocking those problems down...

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?
A DPG client...

### Are there test cases added in this PR? _(If not, why?)_
Yes

### Provide a list of related PRs _(if any)_
TyepSpec PR: https://github.com/Azure/azure-rest-api-specs/pull/26146

### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)
2024-01-09 16:08:19 -08:00