-
-
Notifications
You must be signed in to change notification settings - Fork 958
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore(package): use yarn instead"
This reverts commit dacd62f.
- Loading branch information
Showing
4 changed files
with
7,782 additions
and
195 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
15c8946
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.
Hi, @chemzqm, @fannheyward There are currently two lock files,
package-lock.json
andyarn.lock
, present in themaster
branch. The documentation specifies that installations on themaster
branch should be done usingyarn
. Therefore, there might be issues related to installation that could arise, leading to potential issue reports.15c8946
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.
The test and lint can't run with modules installed by yarn.lock.
Don't know how to fix, the code should be able to be built as expected.
15c8946
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.
Yes, this is a problem, and I prefer to remove
yarn
totally.After we upgrade
glob
to v10 34f5d96, this usesjackspeak
, andcliui
, which uses an renamedstring-width
that broken testing work. isaacs/jackspeak#5To fix this issue, use an earlier
jackspeak
, or upgrade to yarn 3. This won't be fixed with yarn 1.I've tested several ways yesterday:
npm
.glob@9
, also supports signal that to fix Suppress scandir access error in/tmp
dir #4538jackspeak
, no breaks for anythingglob@9
corepack
to use yarn 3:corepack enable; corepack prepare yarn@3.6.3 --activate
pnpm
because more frontend projects like vue uses this, we can also usecorepack
to enable thisBecause yarn 1 is dead, I prefer to use
npm
, remove all yarn scripts.15c8946
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.
@chemzqm, @fannheyward Thanks for the explanation.