-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: publish v2.0.0 #46
New issue
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,12 @@ | ||
| --- | ||
| "@hyperse/inspector-babel-plugin": major | ||
| "@hyperse/inspector-middleware": major | ||
| "@hyperse/inspector-component": major | ||
| "@hyperse/inspector-swc-plugin": major | ||
| "@hyperse/inspector-common": major | ||
| "@hyperse/next-inspector": major | ||
| "@hyperse/inspector": major | ||
| --- | ||
|
|
||
| feat: publish v2.0.0 | ||
| chore: update dependencies across the project for improved compatibility and performance; |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| nodeLinker: node-modules | ||
|
|
||
| workspaces: | ||
| packages: | ||
| - packages/* | ||
| - crates/* | ||
|
|
||
| yarnPath: .yarn/releases/yarn-4.10.3.cjs | ||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Invalid workspace configuration for Yarn 4.x — pipeline is failing.
The
workspaceskey is not a recognized configuration setting in Yarn 4.10.3 (as indicated by the pipeline failure). In Yarn v2+, workspaces are defined inpackage.json, not.yarnrc.yml.After confirming the correct syntax, move the workspace configuration from
.yarnrc.ymltopackage.json. For reference, the pipeline error was:🌐 Web query:
💡 Result:
Short answer — in Yarn v4 you declare workspaces in the root package.json with a workspaces field (glob patterns), make the root private, optionally set packageManager, and use the workspace: protocol in workspace-to-workspace dependencies. Example:
Root package.json
{
"private": true,
"packageManager": "[email protected]",
"workspaces": [
"packages/",
"apps/"
]
}
Workspace package (packages/pkg-a/package.json)
{
"name": "@myorg/pkg-a",
"version": "1.0.0",
"main": "dist/index.js",
"dependencies": {
"lodash": "^4.17.21"
}
}
Workspace package that depends on another workspace (packages/pkg-b/package.json)
{
"name": "@myorg/pkg-b",
"version": "1.0.0",
"dependencies": {
"@myorg/pkg-a": "workspace:*"
}
}
Notes:
References:
[1] Yarn manifest (package.json) — workspaces docs.
[2] Yarn workspaces feature page.
[3] Yarn protocols (workspace: protocol examples).
Move workspace configuration from
.yarnrc.ymltopackage.json.The
workspaceskey is not supported in.yarnrc.ymlfor Yarn 4.x. In Yarn v4, workspaces must be defined in the rootpackage.jsonas an array. Move lines 3-6 to your rootpackage.json:{ "private": true, "workspaces": [ "packages/*", "crates/*" ] }Then remove the workspace configuration from
.yarnrc.yml.🤖 Prompt for AI Agents