-
Notifications
You must be signed in to change notification settings - Fork 51
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
build: migrate to yarn v4 #671
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,3 @@ | |||
nodeLinker: node-modules | |||
|
|||
yarnPath: .yarn/releases/yarn-4.0.2.cjs |
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.
Not using corepack
because it does not work quite well with Windows.
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.
Apparently there is some aversion to corepack as well
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.
does this file need to be checked in? wouldn't it come from an npm package?
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.
It can be enabled via corepack, but the usage is a bit strict. The current approach is much flexible.
See also #671 (comment)
wouldn't it come from an npm package?
It's not in npm.
@@ -8,6 +8,6 @@ export default class Greeting extends Component<GreetingSignature> { | |||
private message = 'Hello'; | |||
|
|||
<template> | |||
{{this.message}}, {{@target}}! | |||
{{@undocumentedProperty}} {{this.message}}, {{@target}}! |
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.
why this addition?
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.
I don't know, I just run yarn test
A promise from https://twitter.com/JounQin/status/1743647752045690975
close #670