Upgrade to Yarn v3

This commit is contained in:
Stéphan Kochen
2021-08-15 21:00:54 +02:00
parent 47e5ae1b79
commit 2757cfd115
14 changed files with 1871 additions and 1167 deletions
+3 -4
View File
@@ -1,4 +1,4 @@
import { Command } from "clipanion";
import { Command, Option } from "clipanion";
import {
Cache,
@@ -12,10 +12,9 @@ import {
// Internal command that fetches a single locator.
// Used from within Nix to build the cache for the project.
export default class FetchOneCommand extends Command<CommandContext> {
@Command.String()
locator: string = ``;
static paths = [[`nixify`, `fetch-one`]];
locator = Option.String();
@Command.Path(`nixify`, `fetch-one`)
async execute() {
const configuration = await Configuration.find(
this.context.cwd,