feat(monorepo-ts): upgrade syncpack to v12 #691
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrade from Syncpack v8 to v12. Additionally pin syncpack to major version 12 to avoid any future
breaking changes in new major versions from affecting new projects.
Note that unfortunately the Syncpack exported
RcFile
types are not built with JSII so we must redefine them insyncpack-options.ts
BREAKING CHANGE: Syncpack configuration for monorepo updated with breaking changes aligned with
Syncpack upgrade from v8 to v12:
dev
,overrides
,peer
,pnpmOverrides
,prod
,resolutions
andworkspace
booleanflags are replaced by the
dependencyTypes
array.workspace
dependency type is now namedlocal
.semverRange
is deprecated in favour of adding a range tosemverGroups
For more details, please refer to the Syncpack releases between 8 and 12:
Additionally Syncpack related types and configs are namespaced under a
Syncpack
namespace,eg.
Syncpack.DEFAULT_CONFIG
for the default monorepo syncpack config.Fixes #675, #553