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

Adding typespec-azure-portal-core package #224

Merged
merged 30 commits into from
Feb 7, 2024

Conversation

yejee94
Copy link
Contributor

@yejee94 yejee94 commented Feb 6, 2024

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

Does this package make sense to be used in the azure playground? If so, you should also update the playground config in packages/typespec-azure-playground-website/src/index.ts

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I should cover this in next iteration :) is that okay with you?

@timotheeguerin timotheeguerin marked this pull request as draft February 6, 2024 18:14
@yejee94 yejee94 marked this pull request as ready for review February 7, 2024 00:06
export * from "./keys.js";
export { $lib } from "./lib.js";
export * from "./types.js";
export * from "./validate.js";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
export * from "./validate.js";
export {$onValidate} from "./validate.js";

try to limit what you export as everything becomes public api for your package and change will break users

Double check for the other export * if you do actually want that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah! I see yes checked everything will be needed

@yejee94 yejee94 closed this Feb 7, 2024
@yejee94 yejee94 reopened this Feb 7, 2024
@timotheeguerin timotheeguerin enabled auto-merge (squash) February 7, 2024 21:43
@timotheeguerin timotheeguerin merged commit 1db11c2 into Azure:main Feb 7, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants