"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OPTIONS = {
    globalDir: {
        description: 'Specify a custom directory to store global packages',
        name: '--global-dir',
    },
    ignoreScripts: {
        description: "Don't run lifecycle scripts",
        name: '--ignore-scripts',
    },
    offline: {
        description: 'Trigger an error if any required dependencies are not available in local store',
        name: '--offline',
    },
    preferOffline: {
        description: 'Skip staleness checks for cached data, but request missing data from the server',
        name: '--prefer-offline',
    },
    storeDir: {
        description: 'The directory in which all the packages are saved on the disk',
        name: '--store-dir <dir>',
    },
    virtualStoreDir: {
        description: 'The directory with links to the store (default is node_modules/.pnpm). All direct and indirect dependencies of the project are linked into this directory',
        name: '--virtual-store-dir <dir>',
    },
};
exports.UNIVERSAL_OPTIONS = [
    {
        description: 'Controls colors in the output. By default, output is always colored when it goes directly to a terminal',
        name: '--[no-]color',
    },
    {
        description: 'Output usage information',
        name: '--help',
        shortAlias: '-h',
    },
    {
        description: `Change to directory <dir> (default: ${process.cwd()})`,
        name: '--dir <dir>',
        shortAlias: '-C',
    },
];
exports.FILTERING = {
    list: [
        {
            description: 'Restricts the scope to package names matching the given pattern. E.g.: foo, @bar/*',
            name: '--filter <pattern>',
        },
        {
            description: 'Includes all direct and indirect dependencies of the matched packages. E.g.: foo...',
            name: '--filter <pattern>...',
        },
        {
            description: 'Includes only the direct and indirect dependencies of the matched packages without including the matched packages themselves. ^ must be doubled at the Windows Command Prompt. E.g.: foo^... (foo^^... in Command Prompt)',
            name: '--filter <pattern>^...',
        },
        {
            description: 'Includes all direct and indirect dependents of the matched packages. E.g.: ...foo, ...@bar/*',
            name: '--filter ...<pattern>',
        },
        {
            description: 'Includes only the direct and indirect dependents of the matched packages without including the matched packages themselves. ^ must be doubled at the Windows Command Prompt. E.g.: ...^foo (...^^foo in Command Prompt)',
            name: '--filter ...^<pattern>',
        },
        {
            description: 'Includes all packages that are inside a given subdirectory. E.g.: ./components',
            name: '--filter ./<dir>',
        },
        {
            description: 'Includes all packages that are under the current working directory',
            name: '--filter .',
        },
        {
            description: 'Includes all packages changed since the specified commit/branch. E.g.: [master], [HEAD~2]. It may be used together with "...". So, for instance, ...[HEAD~1] selects all packages changed in the last commit and their dependents',
            name: '--filter [<since>]',
        },
    ],
    title: 'Filtering options (run the command only on packages that satisfy at least one of the selectors)',
};
