* refactor: store link values before converting to references
* fix: use .sort() without localeCompare
https://github.com/pnpm/pnpm/pull/8128#discussion_r1614031566
> Nit, but you probably just want to call sort without a comparison
> function; these are already strings and locale compare is not a good
> comparison for anything but human readable strings since it will
> differ on different people's machines based on their language setting.
> I've hit this too many times before for code gen.
* feat: configure meta-updater to write test/tsconfig.json files
* fix: relative imports for __typings__
* chore: `pnpm run meta-updater`
* fix: explicitly use test/tsconfig.json for ts-jest
* fix: fix packageManager field not working with prerelease version
* fix: remove hash from packageManager reference
* test: install should not fail for packageManager field with hash
* fix: packageManager field may contain URL instead of semver
corepack uses `URL.canParse()` to check if a given value is a URL or semver,
which was only added in recent Node versions and
is not supported by all node versions `"node" >= "18.12"` that pnpm supports.
So instead, we check if the value contains ':'
as it may not appear on semver, while it must appear on URL.
* test: install should not fail for packageManager field with url
* test: checking prerelease versions in package-is-installable
* fix: typo
---------
Co-authored-by: Zoltan Kochan <z@kochan.io>
* feat!: check the packageManager field
* test: fix
* refactor: update error message to match what corepack prints
* feat: add pm-strict option
* refactor: pm-strict=>package-manager-strict
* fix: remove packageManager field from package.json on publish