You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(publish): Publish NPM packages in order of dependency tree (#8579)
Following up on #inc-456, this patch splits the previously universal `npm`
target that took care of publishing all packages at once into multiple
targets (one for each package).
This will ensure that packages are published in the correct order of
their sentry dependency tree (e.g. core -> browser -> react, etc..)
Furthermore, this theoretically also lets us disable the release of
individual packages (which we might want to do if a package was already
released).
Copy file name to clipboardExpand all lines: docs/new-sdk-release-checklist.md
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,8 +58,13 @@ When you’re ready to make the first release, there are a couple of steps that
58
58
-[ ]1) If not yet done, be sure to remove the `private: true` property from your SDK’s `package.json`. Additionally, ensure that `"publishConfig": {"access": "public"}` is set.
59
59
-[ ]2) Make sure that the new SDK is **not added** in`[craft.yml](https://github.com/getsentry/sentry-javascript/blob/master/.craft.yml)` as a target for the **Sentry release registry**\
60
60
*Once this is added, craft will try to publish an entry in the next release which does not work and caused failed release runs in the past*
61
-
-[ ]3) Make sure the new SDK is not excluded from the github & npm targets in `.craft.yml`
62
-
-[ ]4) Cut a new release (as usual, via GH release action and Craft)
61
+
-[ ]3) Add an `npm` target in `craft.yml` for the new package. Make sure to insert it in the right place, after all the Sentry dependencies of your package but before packages that depend on your new package (if applicable).
62
+
```yml
63
+
- name: npm
64
+
id: npm:@sentry/[yourPackage]
65
+
includeNames: /^sentry-[yourPackage]-\d.*\.tgz$/
66
+
```
67
+
- [ ] 4) Cut a new release (as usual, see [Publishing Release](https://github.com/getsentry/sentry-javascript/blob/develop/docs/publishing-a-release.md))
0 commit comments