Clement Yan
Clement Yan
It is unfortunately an inconvenience I've noticed but didn't have time to rigorously improve upon before 4.3.0 was released. Ideally, the `explain peer-requirements` command would have a suite of filters...
VSCode can only use one TS version per window. See https://github.com/microsoft/vscode/issues/81205 So even if we can generate multiple SDKs for different versions of TypeScript, you can only pick one for...
Not supported directly at the moment. If you *really* need you can do that manually -- save the SDK, change the root dependency, and re-generate.
Probably related to the [GitHub outage](https://www.githubstatus.com/incidents/qd96yfgvmcf9) earlier
There are the `afterWorkspaceDependencyAddition` and `afterWorkspaceDependencyReplacement` hooks which runs after the workspace manifest data is updated but before running `project.install()`. No report is passed to those hooks but you can...
You can just `new` one of the Report classes (e.g. `StreamReport`), or use something like `StreamReport.start` which passes a report to a callback. See [`installWithNewReport`](https://github.com/yarnpkg/berry/blob/e06bacdb8091b7a25fdb7911c3466184b94fa040/packages/yarnpkg-core/sources/Project.ts#L1737) for an example.
Yes. The "report" you get in install hooks (e.g. `validateProject`) is a special one that aborts the install if `reportError` is called. In `afterWorkspaceDependencyAddition`, you need to actually throw to...
A few comments on your implementation: 1. You can use a shared variable to pass values between hooks via closure instead of env vars 2. It currently passes the check...
@HigherOrderLogic `jiti`'s bundle size is 1.8MB which is prohibitively expensive for just allowing the `yarn.config.ts` filename, given that you can already typecheck `yarn.config.cjs` now using `@yarnpkg/types` and/or JSDoc.
> I tried to find documentation on this logic, and didn't. Maybe you can help me. It is [here](https://yarnpkg.com/configuration/yarnrc) > someone may add to verbose mode messages Given you already...