Skip to content

docs: contributing.md #549

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

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Conversation

brettearle
Copy link

@brettearle brettearle commented Apr 25, 2025

Closes: #362

Copy link

changeset-bot bot commented Apr 25, 2025

⚠️ No Changeset found

Latest commit: 091b788

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@brettearle brettearle marked this pull request as draft April 25, 2025 00:27
@brettearle brettearle changed the title Contributing.md docs: contributing.md Apr 25, 2025
@svelte-docs-bot
Copy link

@brettearle
Copy link
Author

brettearle commented Apr 30, 2025

1st draft @manuel3108 @AdrianGonz97 @benmccann

Could you please review and give feed back. What is missing? What needs more explanation? Is it how you want it style/voice wise? Mistakes? etc.

Does it need changeset section similar to sveltekit docs?

Testing conventions are not documented, could some one give me a run down of how you write your tests (dot point style, ill pull examples and things from code base once I know what good looks like)

Note: I am going through the migrate part in my next session

Copy link

pkg-pr-new bot commented May 2, 2025

Open in StackBlitz

npx https://pkg.pr.new/sveltejs/cli/sv@549
npx https://pkg.pr.new/sveltejs/cli/svelte-migrate@549

commit: 1b260ef

Copy link
Member

@manuel3108 manuel3108 left a comment

Choose a reason for hiding this comment

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

Thank you so much! This is very appreciated.

Is it how you want it style/voice wise?

I think this is a very good starting point. I think in the future we might be able to get a bit closer to the svelte and kit guides (at least the parts that apply). But that's non-blocking obviously, because everything is better than no contributing guide!

Does it need changeset section similar to sveltekit docs?

I would say yes, since this is crucial. We could also add there that changelogs should only be generated for sv and svelte-migrate since all other packages are bundled and not published.^

Testing conventions are not documented, could some one give me a run down of how you write your tests (dot point style, ill pull examples and things from code base once I know what good looks like)

I don't think we do have some real conventions at this point. Our testing coverage is not determined but probably very sparse. The only notable thing here might be that for each add-on we have integration tests setup, that actually install the deps, build the app, run the dev server and then run a few small snippets to see if the changes introduced by the add-on are working as expected.

Thank you so much for your help!

@manuel3108
Copy link
Member

Actually, there is alos the pnpm dev command that I was about to run locally. It basically does the same as pnpm build but rebuilds the project once any related files change.

@brettearle
Copy link
Author

Have Updated on that feed back. Thanks @manuel3108

@brettearle brettearle marked this pull request as ready for review May 2, 2025 12:57
@brettearle
Copy link
Author

Have added change set command, and finished updates from feedback. Ready for second review.

@brettearle brettearle requested a review from manuel3108 May 2, 2025 13:09
@brettearle
Copy link
Author

Updated. Thanks @benmccann

@brettearle brettearle requested a review from manuel3108 May 5, 2025 21:18
Copy link
Member

@manuel3108 manuel3108 left a comment

Choose a reason for hiding this comment

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

Apart from my two minor comments I think we should be good here. Thanks for your help!

@brettearle brettearle requested a review from manuel3108 May 7, 2025 20:19
@brettearle
Copy link
Author

Thanks for all the feedback. Made this easy, appreciate it.

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.

Create a CONTRIBUTING.md guide
3 participants