syncpack
syncpack copied to clipboard
Consistent dependency versions in large JavaScript Monorepos.
## Description The `format` command likes to convert the long-form "repository" property into the shorthand version. However in a monorepo with multiple packages, one [can use](https://docs.npmjs.com/cli/v6/configuring-npm/package-json#repository) the "directory" property in...
## Description The repo's documentation is a little more ambiguous than it needs to be. Particularly the word "within" is used extensively; in some places, it'd be clearer to directly...
## Description Perhaps this is doable with the current configuration options but seems like it is not: I have an autogenerated `package.json` that automatically sets some versions to `"*"`. I...
## Description Currently, when configuring `syncpack` from package.json, it is only configurable with the `syncpack` option directly in the root of the package.json file. For compatibility with the [config](https://docs.npmjs.com/cli/v8/configuring-npm/package-json#config) option,...
## Description hi @JamieMason after https://github.com/JamieMason/syncpack/commit/2d1bf059a239dff3af203104491a315b894b8796#diff-c58dda308b363b6022c8a03f2d4ae8fd387425eb7a733f166bfd7d93d68ef11fL12 I am getting uncaught `TypeError` in a yarn workspace codebase ``` dependencies @org/package ^0.1.1 workspace @org/package ^0.1.1 ~/node_modules/syncpack/dist/bin-set-semver-ranges/set-semver-ranges.js:18 root[dependencyType][name] = nextVersion; ^ ```
## Description Refs https://github.com/microsoft/fluentui/pull/23342#issuecomment-1144013563 1. [SemVer](https://semver.org/) has "Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.". 1. The following are all valid: `1.0.0-alpha`, `1.0.0-alpha.1`,...
## Description Detect and handle when `--source` options are given unquoted globs (`--source packages/*/package.json` vs `--source 'packages/*/package.json'`) Related to https://github.com/JamieMason/syncpack/issues/66#issuecomment-1146011769. ## Suggested Solution A node.js script containing `console.log(process.argv)` show what's...
Based on some configuration and a glob for package.json files, exits with 0 or 1 based on whether the files match the configuration. Could be used in CI and/or hooks....
Hey, What do you think about support a json format instead of what the `list` method has at the moment? It can be useful for automatic tools to run the...
## Description There are some examples scattered around: - https://github.com/JamieMason/syncpack/releases/tag/6.2.0 - https://github.com/JamieMason/syncpack/releases/tag/6.1.0 - https://github.com/JamieMason/syncpack/pull/64#issuecomment-1003592729 ## Suggested Solution Add a Cookbook section of examples to README.md, something roughly like this: >...