Remove unused imports
This commit is contained in:
@@ -10,7 +10,6 @@ const IS_PROD = process.argv[2] === `-p`;
|
||||
const EXTERNALS = [
|
||||
`@yarnpkg/core`,
|
||||
`@yarnpkg/fslib`,
|
||||
`@yarnpkg/parsers`,
|
||||
`@yarnpkg/plugin-patch`,
|
||||
`@yarnpkg/plugin-pnp`,
|
||||
`clipanion`,
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@yarnpkg/cli": "^3.0.0",
|
||||
"@yarnpkg/core": "^3.0.0",
|
||||
"@yarnpkg/fslib": "^2.5.1",
|
||||
"@yarnpkg/parsers": "^2.4.0",
|
||||
"@yarnpkg/plugin-patch": "^3.0.0",
|
||||
"@yarnpkg/plugin-pnp": "^3.0.0",
|
||||
"babel-loader": "^8.1.0",
|
||||
@@ -34,7 +33,6 @@
|
||||
"@yarnpkg/core": "3.1.0",
|
||||
"@yarnpkg/fslib": "2.5.1",
|
||||
"@yarnpkg/libzip": "2.2.2",
|
||||
"@yarnpkg/parsers": "2.4.0",
|
||||
"@yarnpkg/plugin-compat": "3.0.0",
|
||||
"@yarnpkg/plugin-dlx": "3.0.0",
|
||||
"@yarnpkg/plugin-essentials": "3.0.0",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Command, Option } from "clipanion";
|
||||
import { PortablePath, ppath, xfs } from "@yarnpkg/fslib";
|
||||
import { createHash } from "crypto";
|
||||
import { parseSyml, stringifySyml } from "@yarnpkg/parsers";
|
||||
|
||||
import {
|
||||
CommandContext,
|
||||
|
||||
@@ -14,8 +14,6 @@ import binWrapperNodeModulesTmpl from "./tmpl/bin-wrapper-node-modules.sh.in";
|
||||
import binWrapperPnpTmpl from "./tmpl/bin-wrapper-pnp.sh.in";
|
||||
import { renderTmpl } from "./textUtils";
|
||||
|
||||
const supportedLinkers = [`pnp`, `node-modules`];
|
||||
|
||||
// Internal command that creates wrappers for binaries.
|
||||
// Used inside the Nix install phase.
|
||||
export default class InstallBinCommand extends Command<CommandContext> {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { Filename, npath, PortablePath, ppath, xfs } from "@yarnpkg/fslib";
|
||||
import { parseSyml } from "@yarnpkg/parsers";
|
||||
import { patchUtils } from "@yarnpkg/plugin-patch";
|
||||
import {
|
||||
computeFixedOutputStorePath,
|
||||
|
||||
@@ -850,13 +850,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/parsers@npm:2.4.0":
|
||||
version: 2.4.0
|
||||
resolution: "@yarnpkg/parsers@npm:2.4.0"
|
||||
"@yarnpkg/parsers@npm:^2.4.0, @yarnpkg/parsers@npm:^2.4.1":
|
||||
version: 2.4.1
|
||||
resolution: "@yarnpkg/parsers@npm:2.4.1"
|
||||
dependencies:
|
||||
js-yaml: ^3.10.0
|
||||
tslib: ^1.13.0
|
||||
checksum: ae077862b829defc95e85a328270dac5f242628656bb938e5da37913b1d0caab545de9ed9d1df3bc17f4e8da842b545df87931d39902aa2132e90699d96ecc33
|
||||
checksum: 935f36e9c911ae2d7376b4c231918c2ec0af511b835587967fe531034628d62ee7042360452e786049be7537652c8966da4986615c6629845e252476a4aeac23
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3297,7 +3297,6 @@ __metadata:
|
||||
"@yarnpkg/cli": ^3.0.0
|
||||
"@yarnpkg/core": ^3.0.0
|
||||
"@yarnpkg/fslib": ^2.5.1
|
||||
"@yarnpkg/parsers": ^2.4.0
|
||||
"@yarnpkg/plugin-patch": ^3.0.0
|
||||
"@yarnpkg/plugin-pnp": ^3.0.0
|
||||
babel-loader: ^8.1.0
|
||||
|
||||
Reference in New Issue
Block a user