-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support package.json devdependencies on publish (#45)
When I published the JavaScript packages I noticed the `@appsignal/types` package had to versions in `yarn.lock`. This was because the package was specified in the `devdependencies` of the `@appsignal/plugin-breadcrumbs-console` package. Mono only checked the `dependencies` and `optionalDependencies`, so the package version was not updated. This was not really a problem because it's only used during development and testing, but it's not good to not update the package version and possibly keep testing against an older version. This change will update any package in the workspace listed in `devdependencies` upon `mono publish`.
- Loading branch information
Showing
3 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
bump: "patch" | ||
type: "add" | ||
--- | ||
|
||
Support Node.js package.json `devDependencies`. Any package in the workspace that's specified as a dev dependency by other packages are also updated upon publish. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters