Skip to content

Commit 9a43556

Browse files
authored
[mgmt] computeschedule release (Azure#32498)
Azure/sdk-release-request#5808
1 parent 3f1ee62 commit 9a43556

File tree

96 files changed

+2043
-3014
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2043
-3014
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
11
# Release History
2-
3-
## 1.0.0-beta.3 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 1.0.0-beta.2 (2024-11-04)
14-
15-
### Bugs Fixed
16-
17-
- Fix missing package information issue in user agent
182

19-
## 1.0.0-beta.1 (2024-09-20)
3+
## 1.0.0 (2025-01-24)
204

215
### Features Added
226

23-
Initial release of the Azure ComputeSchedule package
7+
This is the first stable version with the package of @azure/arm-computeschedule

sdk/computeschedule/arm-computeschedule/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2024 Microsoft
3+
Copyright (c) 2025 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/computeschedule/arm-computeschedule/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Microsoft.ComputeSchedule Resource Provider management API.
66

7-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-computeschedule) |
8-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-computeschedule?view=azure-node-preview) |
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/computeschedule/arm-computeschedule)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-computeschedule)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-computeschedule?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/computeschedule/arm-computeschedule/samples)
913

1014
## Getting started
1115

@@ -42,7 +46,6 @@ npm install @azure/identity
4246
```
4347

4448
You will also need to **register a new AAD application and grant access to Azure ComputeSchedule** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
45-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4649

4750
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
4851

@@ -94,6 +97,10 @@ setLogLevel("info");
9497

9598
For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
9699

100+
## Next steps
101+
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/computeschedule/arm-computeschedule/samples) directory for detailed examples on how to use this library.
103+
97104
## Contributing
98105

99106
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.

sdk/computeschedule/arm-computeschedule/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/computeschedule/arm-computeschedule",
5-
"Tag": "js/computeschedule/arm-computeschedule_f8673fcc1f"
5+
"Tag": "js/computeschedule/arm-computeschedule_bcc3c7e82d"
66
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
2+
3+
export default azsdkEslint.config([
4+
{
5+
rules: {
6+
"@azure/azure-sdk/ts-modules-only-named": "warn",
7+
"@azure/azure-sdk/ts-apiextractor-json-types": "warn",
8+
"@azure/azure-sdk/ts-package-json-types": "warn",
9+
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
10+
"@azure/azure-sdk/ts-package-json-module": "off",
11+
"@azure/azure-sdk/ts-package-json-files-required": "off",
12+
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
13+
"tsdoc/syntax": "warn",
14+
},
15+
},
16+
]);

sdk/computeschedule/arm-computeschedule/package.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure/arm-computeschedule",
3-
"version": "1.0.0-beta.3",
3+
"version": "1.0.0",
44
"description": "A generated SDK for ComputeScheduleClient.",
55
"engines": {
66
"node": ">=18.0.0"
@@ -47,6 +47,7 @@
4747
"bugs": {
4848
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
4949
},
50+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/computeschedule/arm-computeschedule/README.md",
5051
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
5152
"//metadata": {
5253
"constantPaths": [
@@ -57,27 +58,28 @@
5758
]
5859
},
5960
"dependencies": {
60-
"@azure-rest/core-client": "^2.3.2",
61+
"@azure-rest/core-client": "^2.3.1",
6162
"@azure/core-auth": "^1.9.0",
6263
"@azure/core-rest-pipeline": "^1.18.2",
6364
"@azure/core-util": "^1.11.0",
6465
"@azure/logger": "^1.1.4",
65-
"tslib": "^2.6.2"
66+
"tslib": "^2.8.1"
6667
},
6768
"devDependencies": {
6869
"@azure-tools/test-credential": "^2.0.0",
6970
"@azure-tools/test-recorder": "^4.1.0",
7071
"@azure-tools/test-utils-vitest": "^1.0.0",
7172
"@azure/dev-tool": "^1.0.0",
7273
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
73-
"@azure/identity": "^4.5.0",
74+
"@azure/identity": "^4.6.0",
75+
"@microsoft/api-extractor": "^7.40.3",
7476
"@types/node": "^18.0.0",
7577
"@vitest/browser": "^3.0.3",
7678
"@vitest/coverage-istanbul": "^3.0.3",
7779
"dotenv": "^16.0.0",
7880
"eslint": "^9.9.0",
79-
"playwright": "^1.49.1",
80-
"typescript": "~5.7.2",
81+
"playwright": "^1.50.0",
82+
"typescript": "~5.6.2",
8183
"vitest": "^3.0.3"
8284
},
8385
"scripts": {
@@ -87,12 +89,12 @@
8789
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"",
8890
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
8991
"execute:samples": "dev-tool samples run samples-dev",
90-
"extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api",
92+
"extract-api": "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api",
9193
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" \"samples-dev/*.ts\"",
9294
"generate:client": "echo skipped",
9395
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
9496
"integration-test:browser": "echo skipped",
95-
"integration-test:node": "dev-tool run test:vitest --esm",
97+
"integration-test:node": "echo skipped",
9698
"lint": "echo skipped",
9799
"lint:fix": "echo skipped",
98100
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
@@ -101,7 +103,7 @@
101103
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
102104
"test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node",
103105
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
104-
"unit-test:browser": "echo skipped",
106+
"unit-test:browser": "npm run build:test && dev-tool run test:vitest --browser",
105107
"unit-test:node": "dev-tool run test:vitest",
106108
"update-snippets": "dev-tool run update-snippets"
107109
},
@@ -113,6 +115,8 @@
113115
"disableDocsMs": true,
114116
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-computeschedule?view=azure-node-preview"
115117
},
118+
"browser": "./dist/browser/index.js",
119+
"react-native": "./dist/react-native/index.js",
116120
"exports": {
117121
"./package.json": "./package.json",
118122
".": {
@@ -154,7 +158,5 @@
154158
},
155159
"main": "./dist/commonjs/index.js",
156160
"types": "./dist/commonjs/index.d.ts",
157-
"module": "./dist/esm/index.js",
158-
"browser": "./dist/browser/index.js",
159-
"react-native": "./dist/react-native/index.js"
161+
"module": "./dist/esm/index.js"
160162
}

0 commit comments

Comments
 (0)