napi-rs / napi-rs/package-template
yarn config with the current script `yarn-4.3.1.cjs` breaks `.yarnrc.yml
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 372
- Forks
- 45
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
When running the command yarn config set supportedArchitectures.cpu "arm" the following will format the file incorrectly:
nodeLinker: node-modules
npmAuditRegistry: "https://registry.npmjs.org"
supportedArchitectures:
cpu: arm
yarnPath: .yarn/releases/yarn-4.3.1.cjs
The script in yarn-4.3.1.cjs does not format the modules correctly across all systems.
Locally and on the github action.
.
It works when using yarn-3.6.4.cjs.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce yarn config set supportedArchitectures.cpu "arm" with yarn-4.3.1.cjs, and compare the resulting .yarnrc.yml with the behavior of yarn-3.6.4.cjs. Check the same command locally and in the GitHub Action; done means the configuration remains correctly formatted across both environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100