Skip to content

[tsp-client] Add functionality to sync and update emitter-package-lock.json file  #7691

@catalinaperalta

Description

@catalinaperalta

package-lock.json files provide a specific dependency tree that allow for reproducible builds. The tsp-client tool is used across various repositories, having a consistent way to update the emitter-package-lock.json file and save it to the repository would help language repo owners to provide consistent dependency trees.

  • Investigate the best way to create the package-lock.json file.
  • Upon successful creation add it to the eng/ folder in the repo. Language owner will have to open a PR with the file updates after running the command.
  • If there is an error, ask user to verify that module versions specified in emitter-package.json are compatible.
  • Create instructions for tsp-client repo maintainers

Metadata

Metadata

Labels

TypeSpecIssues or feature requests for tooling to support TypeSpec (Cadl)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions