Skip to content

Init template can define a project kind which decide if dependencies are added to peer or regular dependencies#6923

Merged
timotheeguerin merged 7 commits intomicrosoft:mainfrom
timotheeguerin:init-project-target
Jun 3, 2025
Merged

Init template can define a project kind which decide if dependencies are added to peer or regular dependencies#6923
timotheeguerin merged 7 commits intomicrosoft:mainfrom
timotheeguerin:init-project-target

Conversation

@timotheeguerin
Copy link
Copy Markdown
Member

@timotheeguerin timotheeguerin commented Apr 9, 2025

fix #6602

@microsoft-github-policy-service microsoft-github-policy-service bot added the compiler:core Issues for @typespec/compiler label Apr 9, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2025

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - feature ✏️

Init templates can define a project kind which decide if dependencies are added to peer or regular dependencies

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Apr 9, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@microsoft-github-policy-service microsoft-github-policy-service bot added the stale Mark a PR that hasn't been recently updated and will be closed. label May 11, 2025
@microsoft-github-policy-service
Copy link
Copy Markdown
Contributor

Hi @@timotheeguerin. Your PR has had no update for 30 days and it is marked as a stale PR. If it is not updated within 30 days, the PR will automatically be closed. If you want to refresh the PR, please remove the stale label.

@timotheeguerin timotheeguerin marked this pull request as ready for review May 16, 2025 23:18
@timotheeguerin timotheeguerin removed the stale Mark a PR that hasn't been recently updated and will be closed. label Jun 2, 2025
Copy link
Copy Markdown
Member

@chrisradek chrisradek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only thing is maybe we'd want to include emitter as a target, though also fine with waiting until we see templates that need a distinction between emitter and library.

@timotheeguerin timotheeguerin enabled auto-merge June 3, 2025 16:12
@timotheeguerin timotheeguerin added this pull request to the merge queue Jun 3, 2025
Merged via the queue into microsoft:main with commit b52d650 Jun 3, 2025
25 checks passed
@timotheeguerin timotheeguerin deleted the init-project-target branch June 3, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:core Issues for @typespec/compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Don't output peer and dev dependencies when I'm not building a tsp library or emitter

3 participants