Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Epic] list all the manual changes in mongocluster generation #2638

Closed
9 of 11 tasks
kazrael2119 opened this issue Jul 2, 2024 · 0 comments
Closed
9 of 11 tasks

[Epic] list all the manual changes in mongocluster generation #2638

kazrael2119 opened this issue Jul 2, 2024 · 0 comments
Assignees
Labels
HRLC P1 priority 1

Comments

@kazrael2119
Copy link
Contributor

kazrael2119 commented Jul 2, 2024

manully changes for Azure/azure-sdk-for-js#30102

  1. before generate code, add
@@clientName(Microsoft.DocumentDB,
  "MongoClusterManagementClient",
  "javascript"
);

in client .tsp

add

"@azure-tools/typespec-ts":
    azureSdkForJs: true
    isModularLibrary: true
    generateMetadata: true
    hierarchyClient: false
    experimentalExtensibleEnums: true
    enableOperationGroup: true
    package-name: "@azure/arm-mongocluster"
    package-dir: "arm-mongocluster"
    emitter-output-dir: "{project-root}/sdk/mongocluster/arm-mongocluster"
    flavor: "azure"
    packageDetails:
      name: "@azure/arm-mongocluster"
      description: "DocumentDB MongoCluster Service"

in tspconfig.yaml
2. update the recordedClient.ts
3. set timeout in vitest.browser.config.ts and vitest.browser.ts
4. add LICENSE file
5. use changelog-tool to generate changelog
6. update readme.md
7. update ClientOptions to ClientOptionalParams manually
8. update the sdk-type to mgmt in package.json
9. update the version to1.0.0-beta.1 after generate the changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HRLC P1 priority 1
Projects
None yet
Development

No branches or pull requests

2 participants