We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently workspace ranges (workspace:~|^|*) are only resolved for dependencies and optionalDependencies.
workspace:~|^|*
dependencies
optionalDependencies
Relevant code:
lerna/libs/commands/publish/src/index.ts
Line 664 in dbc6df8
Workspace ranges (workspace:~|^|*) should also be resolved for devDependencies and peerDependencies.
devDependencies
peerDependencies
I updated your example repo to use workspace ranges. https://github.com/snebjorn/getting-started-example/tree/workspace
When remixapp is published it'll have
"devDependencies": { "footer": "workspace:*", "header": "workspace:*" }, "peerDependencies": { "footer": "workspace:*", "header": "workspace:*" },
yarn pack handles this correctly.
yarn pack
No error log
{ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "version": "0.0.0", "useWorkspaces": true, "npmClient": "yarn", "loglevel": "debug", "registry": "http://localhost:4873" }
$ yarn lerna info lerna sill argv { lerna sill argv _: [ 'info' ], lerna sill argv lernaVersion: '6.6.0', lerna sill argv '$0': 'node_modules\lerna\dist\cli.js' lerna sill argv } lerna notice cli v6.6.0 lerna verb rootPath ~\Repos\getting-started-example
Environment info:
System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz Binaries: Node: 18.13.0 - ~\AppData\Local\Temp\xfs-56bd3820\node.CMD Yarn: 3.5.0 - ~\AppData\Local\Temp\xfs-56bd3820\yarn.CMD npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD Utilities: Git: 2.37.3. npmPackages: lerna: ^6.0.1 => 6.6.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current Behavior
Currently workspace ranges (
workspace:~|^|*
) are only resolved fordependencies
andoptionalDependencies
.Relevant code:
lerna/libs/commands/publish/src/index.ts
Line 664 in dbc6df8
Expected Behavior
Workspace ranges (
workspace:~|^|*
) should also be resolved fordevDependencies
andpeerDependencies
.Steps to Reproduce
I updated your example repo to use workspace ranges.
https://github.com/snebjorn/getting-started-example/tree/workspace
When remixapp is published it'll have
yarn pack
handles this correctly.Failure Logs / Configuration
No error log
Environment
$ yarn lerna info
lerna sill argv {
lerna sill argv _: [ 'info' ],
lerna sill argv lernaVersion: '6.6.0',
lerna sill argv '$0': 'node_modules\lerna\dist\cli.js'
lerna sill argv }
lerna notice cli v6.6.0
lerna verb rootPath ~\Repos\getting-started-example
Environment info:
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Binaries:
Node: 18.13.0 - ~\AppData\Local\Temp\xfs-56bd3820\node.CMD
Yarn: 3.5.0 - ~\AppData\Local\Temp\xfs-56bd3820\yarn.CMD
npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
Utilities:
Git: 2.37.3.
npmPackages:
lerna: ^6.0.1 => 6.6.0
The text was updated successfully, but these errors were encountered: