| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
This page serves as a checklist of what to do when releasing a new SDK for the first time.
This checklist was written while working on the @sentry/svelte Alpha 1 release. Some parts in this checklist might differ slightly for other SDKs depending on how they are structured and how they work
Make sure, the project is set up completely
Make sure that the README.md content is up to date and contains at least:
Make sure that the LICENSE file exists and has the correct license (We default to the MIT license)
Make sure that the tarball (yarn build:tarball) has all the necessary contents
For basic SDKs, this means that the tarball has at least these files - you can configure what is included in the tarball via the files field in package.json:
Make sure build.yml CI script is correctly set up to cover tests for the new package
Make sure the file paths in the "Upload Artifacts" job in build.yml include your new artifacts.
Make sure it is added to the Verdaccio config for the E2E tests
If the package you're adding is a dependency of fullstack framework (e.g. Remix or NextJS) SDKs, make sure that your package is added to the integration test apps' "resolutions" field in their package.jsons.
Add the new package to the "root" README inside the repository.
Add the new package to the GitHub Issue bug template.
Create label inside the GitHub repo named "Package: foobar".
When you’re ready to make the first release, there are a couple of steps that need to be performed in the correct order. Note that you can prepare the PRs at any time but the merging oder is important:
All of these steps should happen when you’re committed to releasing the SDK in the next upcoming release.
- name: npm
id: '@sentry/[yourPackage]'
includeNames: /^sentry-[yourPackage]-\d.*\.tgz$/4. Check that the package was in fact published to NPM
5. Add the new SDK to the Sentry Release Registry
Instructions on how to do this can be found here
You have to fork this repo and PR the files from your fork to the main repo
Example PR from the Svelte SDK
2. Add an entry to craft.yml to add
releases of your SDK to the Sentry release registry
Example PR from the Svelte SDK
Subsequent releases will now be added automatically to the registry
| Back | FazBrowse Home | New Git URL |