-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #5766. Per discussion from #5796 and Teams, this PR: - automatically runs `tsp install` as part of `tsp init` if the template created a `package.json` file - skips running or mentioning `tsp install` if `package.json` is not created - does NOT provide a flag for opt in/out - does NOT provide a confirmation dialogue ![image](https://github.com/user-attachments/assets/53a656d8-c795-419b-92a2-034883a94bcc)
- Loading branch information
1 parent
12f1b2d
commit fcb4421
Showing
3 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
changeKind: feature | ||
packages: | ||
- "@typespec/compiler" | ||
--- | ||
|
||
`tsp init` will not automatically run `tsp install` if a `package.json` file is created. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters