Clement Yan

Results 80 comments of Clement Yan

> Create a prepack script that does something notable (in the example above I used `mkdir itworked`) `yarn pack` does not pack empty directories into the `.tgz`; this is consistent...

For the original issue: Yarn 4.1.1 is not compatible with TypeScript 5.5. We should probably add a compatibility table to the docs. In the meantime, just upgrade Yarn For others:...

> Making it configurable would be a burden indeed. But would it be an issue if _just_ the terminal colors were used? We use `chalk` to color our output, so...

For the user story given, we already have a tool for that in [constraints](https://yarnpkg.com/features/constraints). And as far as I can tell, pnpm catalogs have no enforcement (yet), unlike constraints. Catalogs...

AFAIK we [support](https://github.com/yarnpkg/berry/pull/5508) some **native** executable formats as `bin`s

Yarn does not currently support lockfiles in workspaces. See #1223 The `yarn.lock` inside `proteinjs/packages/reflection` splits the worktree and causes inconsistent views. When going down from `proteinjs` to find workspaces, it...

Did any change happen to `myLocalFolder` between the installs? The hash is based on the directory contents.

This can be done as a separate command via a plugin. You can reference the [source](https://github.com/yarnpkg/berry/blob/dc73e88350c34ceefa7ece94e47118981b489d96/packages/plugin-workspace-tools/sources/commands/focus.ts#L119) for `yarn workspaces focus` as the basis of the new command. Specifically, you need...

> But wouldn't that require first to actually do a yarn install to obtain the relevant dependencies to manipulate the Yarn project? No. Even `yarn workspaces focus` can be run...

Hmm... npm's [current docs](https://docs.npmjs.com/cli/v11/using-npm/developers#keeping-files-out-of-your-package) still lists `CHANGELOG` as never ignored. I guess they didn't update that when they made the change?