Skip to content

Remove corepack references #851

@sbober

Description

@sbober

As per nodejs/TSC#1697 (comment) corepack will be removed from future NodeJs releases. Quinoa should not try to use infrastructure provided by corepack. At the moment this concerns YARN_PATH and PNPM_PATH in PackageManagerInstall.

To be honest, I am not even sure, why these are used as quinoa already explicitly downloads and installs yarn or pnpm via the frontend plugin, so both should already have clear paths without going the detour via the corepack scripts.

public static final String PNPM_PATH = INSTALL_SUB_PATH + "/node_modules/corepack/dist/pnpm.js";
public static final String YARN_PATH = INSTALL_SUB_PATH + "/node_modules/corepack/dist/yarn.js";

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions