@yarnpkg/plugin-essentials 4.0.0-rc.18 → 4.0.0-rc.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import { Report, CommandContext } from '@yarnpkg/core';
3
3
  import { Project } from '@yarnpkg/core';
4
4
  import { PortablePath } from '@yarnpkg/fslib';
5
5
  import { Usage } from 'clipanion';
6
- export default class PluginDlSourcesCommand extends BaseCommand {
6
+ export default class PluginImportSourcesCommand extends BaseCommand {
7
7
  static paths: string[][];
8
8
  static usage: Usage;
9
9
  installPath: string | undefined;
@@ -14,7 +14,7 @@ const buildWorkflow = ({ pluginName, noMinify }, target) => [
14
14
  [`yarn`, `build:${pluginName}`, ...noMinify ? [`--no-minify`] : [], `|`],
15
15
  ];
16
16
  // eslint-disable-next-line arca/no-default-export
17
- class PluginDlSourcesCommand extends cli_1.BaseCommand {
17
+ class PluginImportSourcesCommand extends cli_1.BaseCommand {
18
18
  constructor() {
19
19
  super(...arguments);
20
20
  this.installPath = clipanion_1.Option.String(`--path`, {
@@ -56,11 +56,11 @@ class PluginDlSourcesCommand extends cli_1.BaseCommand {
56
56
  return report.exitCode();
57
57
  }
58
58
  }
59
- exports.default = PluginDlSourcesCommand;
60
- PluginDlSourcesCommand.paths = [
59
+ exports.default = PluginImportSourcesCommand;
60
+ PluginImportSourcesCommand.paths = [
61
61
  [`plugin`, `import`, `from`, `sources`],
62
62
  ];
63
- PluginDlSourcesCommand.usage = clipanion_1.Command.Usage({
63
+ PluginImportSourcesCommand.usage = clipanion_1.Command.Usage({
64
64
  category: `Plugin-related commands`,
65
65
  description: `build a plugin from sources`,
66
66
  details: `
@@ -2,7 +2,7 @@
2
2
  import { BaseCommand } from '@yarnpkg/cli';
3
3
  import { Project, Report } from '@yarnpkg/core';
4
4
  import { Usage } from 'clipanion';
5
- export default class PluginDlCommand extends BaseCommand {
5
+ export default class PluginImportCommand extends BaseCommand {
6
6
  static paths: string[][];
7
7
  static usage: Usage;
8
8
  name: string;
@@ -12,7 +12,7 @@ const url_1 = require("url");
12
12
  const vm_1 = require("vm");
13
13
  const list_1 = require("./list");
14
14
  // eslint-disable-next-line arca/no-default-export
15
- class PluginDlCommand extends cli_1.BaseCommand {
15
+ class PluginImportCommand extends cli_1.BaseCommand {
16
16
  constructor() {
17
17
  super(...arguments);
18
18
  this.name = clipanion_1.Option.String();
@@ -75,11 +75,11 @@ class PluginDlCommand extends cli_1.BaseCommand {
75
75
  return report.exitCode();
76
76
  }
77
77
  }
78
- exports.default = PluginDlCommand;
79
- PluginDlCommand.paths = [
78
+ exports.default = PluginImportCommand;
79
+ PluginImportCommand.paths = [
80
80
  [`plugin`, `import`],
81
81
  ];
82
- PluginDlCommand.usage = clipanion_1.Command.Usage({
82
+ PluginImportCommand.usage = clipanion_1.Command.Usage({
83
83
  category: `Plugin-related commands`,
84
84
  description: `download a plugin`,
85
85
  details: `
@@ -4,7 +4,7 @@ import { Usage } from 'clipanion';
4
4
  export declare function getAvailablePlugins(configuration: Configuration, version: string | null): Promise<{
5
5
  [k: string]: any;
6
6
  }>;
7
- export default class PluginDlCommand extends BaseCommand {
7
+ export default class PluginListCommand extends BaseCommand {
8
8
  static paths: string[][];
9
9
  static usage: Usage;
10
10
  json: boolean;
@@ -16,7 +16,7 @@ async function getAvailablePlugins(configuration, version) {
16
16
  }
17
17
  exports.getAvailablePlugins = getAvailablePlugins;
18
18
  // eslint-disable-next-line arca/no-default-export
19
- class PluginDlCommand extends cli_1.BaseCommand {
19
+ class PluginListCommand extends cli_1.BaseCommand {
20
20
  constructor() {
21
21
  super(...arguments);
22
22
  this.json = clipanion_1.Option.Boolean(`--json`, false, {
@@ -42,11 +42,11 @@ class PluginDlCommand extends cli_1.BaseCommand {
42
42
  return report.exitCode();
43
43
  }
44
44
  }
45
- exports.default = PluginDlCommand;
46
- PluginDlCommand.paths = [
45
+ exports.default = PluginListCommand;
46
+ PluginListCommand.paths = [
47
47
  [`plugin`, `list`],
48
48
  ];
49
- PluginDlCommand.usage = clipanion_1.Command.Usage({
49
+ PluginListCommand.usage = clipanion_1.Command.Usage({
50
50
  category: `Plugin-related commands`,
51
51
  description: `list the available official plugins`,
52
52
  details: `
@@ -1,6 +1,6 @@
1
1
  import { BaseCommand } from '@yarnpkg/cli';
2
2
  import { Usage } from 'clipanion';
3
- export default class PluginListCommand extends BaseCommand {
3
+ export default class PluginRuntimeCommand extends BaseCommand {
4
4
  static paths: string[][];
5
5
  static usage: Usage;
6
6
  json: boolean;
@@ -4,7 +4,7 @@ const cli_1 = require("@yarnpkg/cli");
4
4
  const core_1 = require("@yarnpkg/core");
5
5
  const clipanion_1 = require("clipanion");
6
6
  // eslint-disable-next-line arca/no-default-export
7
- class PluginListCommand extends cli_1.BaseCommand {
7
+ class PluginRuntimeCommand extends cli_1.BaseCommand {
8
8
  constructor() {
9
9
  super(...arguments);
10
10
  this.json = clipanion_1.Option.Boolean(`--json`, false, {
@@ -30,11 +30,11 @@ class PluginListCommand extends cli_1.BaseCommand {
30
30
  return report.exitCode();
31
31
  }
32
32
  }
33
- exports.default = PluginListCommand;
34
- PluginListCommand.paths = [
33
+ exports.default = PluginRuntimeCommand;
34
+ PluginRuntimeCommand.paths = [
35
35
  [`plugin`, `runtime`],
36
36
  ];
37
- PluginListCommand.usage = clipanion_1.Command.Usage({
37
+ PluginRuntimeCommand.usage = clipanion_1.Command.Usage({
38
38
  category: `Plugin-related commands`,
39
39
  description: `list the active plugins`,
40
40
  details: `
@@ -1,6 +1,6 @@
1
1
  import { BaseCommand } from '@yarnpkg/cli';
2
2
  import { Usage } from 'clipanion';
3
- export default class RunCommand extends BaseCommand {
3
+ export default class RebuildCommand extends BaseCommand {
4
4
  static paths: string[][];
5
5
  static usage: Usage;
6
6
  idents: string[];
@@ -5,7 +5,7 @@ const core_1 = require("@yarnpkg/core");
5
5
  const core_2 = require("@yarnpkg/core");
6
6
  const clipanion_1 = require("clipanion");
7
7
  // eslint-disable-next-line arca/no-default-export
8
- class RunCommand extends cli_1.BaseCommand {
8
+ class RebuildCommand extends cli_1.BaseCommand {
9
9
  constructor() {
10
10
  super(...arguments);
11
11
  this.idents = clipanion_1.Option.Rest();
@@ -46,11 +46,11 @@ class RunCommand extends cli_1.BaseCommand {
46
46
  return installReport.exitCode();
47
47
  }
48
48
  }
49
- exports.default = RunCommand;
50
- RunCommand.paths = [
49
+ exports.default = RebuildCommand;
50
+ RebuildCommand.paths = [
51
51
  [`rebuild`],
52
52
  ];
53
- RunCommand.usage = clipanion_1.Command.Usage({
53
+ RebuildCommand.usage = clipanion_1.Command.Usage({
54
54
  description: `rebuild the project's native packages`,
55
55
  details: `
56
56
  This command will automatically cause Yarn to forget about previous compilations of the given packages and to run them again.
@@ -1,5 +1,5 @@
1
1
  import { BaseCommand } from '@yarnpkg/cli';
2
- export default class RunCommand extends BaseCommand {
2
+ export default class RunIndexCommand extends BaseCommand {
3
3
  static paths: string[][];
4
4
  execute(): Promise<1 | 0>;
5
5
  }
@@ -5,7 +5,7 @@ const core_1 = require("@yarnpkg/core");
5
5
  const core_2 = require("@yarnpkg/core");
6
6
  const util_1 = require("util");
7
7
  // eslint-disable-next-line arca/no-default-export
8
- class RunCommand extends cli_1.BaseCommand {
8
+ class RunIndexCommand extends cli_1.BaseCommand {
9
9
  async execute() {
10
10
  const configuration = await core_1.Configuration.find(this.context.cwd, this.context.plugins);
11
11
  const { project, workspace } = await core_1.Project.find(configuration, this.context.cwd);
@@ -32,7 +32,7 @@ class RunCommand extends cli_1.BaseCommand {
32
32
  return report.exitCode();
33
33
  }
34
34
  }
35
- exports.default = RunCommand;
36
- RunCommand.paths = [
35
+ exports.default = RunIndexCommand;
36
+ RunIndexCommand.paths = [
37
37
  [`run`],
38
38
  ];
@@ -40,7 +40,7 @@ class SetVersionCommand extends cli_1.BaseCommand {
40
40
  else if (this.version === `canary`)
41
41
  bundleRef = getRef(`https://repo.yarnpkg.com/{}/packages/yarnpkg-cli/bin/yarn.js`, await resolveTag(configuration, `canary`));
42
42
  else if (this.version === `classic`)
43
- bundleRef = { url: `https://nightly.yarnpkg.com/latest.js`, version: `classic` };
43
+ bundleRef = { url: `https://classic.yarnpkg.com/latest.js`, version: `classic` };
44
44
  else if (this.version.match(/^https?:/))
45
45
  bundleRef = { url: this.version, version: `remote` };
46
46
  else if (this.version.match(/^\.{0,2}[\\/]/) || fslib_1.npath.isAbsolute(this.version))
@@ -5,6 +5,7 @@ export default class WorkspacesListCommand extends BaseCommand {
5
5
  static usage: Usage;
6
6
  since: string | boolean | undefined;
7
7
  recursive: boolean;
8
+ noPrivate: boolean | undefined;
8
9
  verbose: boolean;
9
10
  json: boolean;
10
11
  execute(): Promise<1 | 0>;
@@ -15,6 +15,9 @@ class WorkspacesListCommand extends cli_1.BaseCommand {
15
15
  this.recursive = clipanion_1.Option.Boolean(`-R,--recursive`, false, {
16
16
  description: `Find packages via dependencies/devDependencies instead of using the workspaces field`,
17
17
  });
18
+ this.noPrivate = clipanion_1.Option.Boolean(`--no-private`, {
19
+ description: `Exclude workspaces that have the private field set to true`,
20
+ });
18
21
  this.verbose = clipanion_1.Option.Boolean(`-v,--verbose`, false, {
19
22
  description: `Also return the cross-dependencies between workspaces`,
20
23
  });
@@ -40,6 +43,8 @@ class WorkspacesListCommand extends cli_1.BaseCommand {
40
43
  workspaces.add(dependent);
41
44
  for (const workspace of workspaces) {
42
45
  const { manifest } = workspace;
46
+ if (manifest.private && this.noPrivate)
47
+ continue;
43
48
  let extra;
44
49
  if (this.verbose) {
45
50
  const workspaceDependencies = new Set();
@@ -93,6 +98,8 @@ WorkspacesListCommand.usage = clipanion_1.Command.Usage({
93
98
 
94
99
  - If \`-R,--recursive\` is set, Yarn will find workspaces to run the command on by recursively evaluating \`dependencies\` and \`devDependencies\` fields, instead of looking at the \`workspaces\` fields.
95
100
 
101
+ - If \`--no-private\` is set, Yarn will not list any workspaces that have the \`private\` field set to \`true\`.
102
+
96
103
  - If both the \`-v,--verbose\` and \`--json\` options are set, Yarn will also return the cross-dependencies between each workspaces (useful when you wish to automatically generate Buck / Bazel rules).
97
104
  `,
98
105
  });
package/lib/index.d.ts CHANGED
@@ -1,8 +1,81 @@
1
1
  import { Descriptor, Plugin, Package, formatUtils } from '@yarnpkg/core';
2
2
  import { Workspace } from '@yarnpkg/core';
3
+ import AddCommand from './commands/add';
4
+ import BinCommand from './commands/bin';
5
+ import CacheCleanCommand from './commands/cache/clean';
6
+ import ConfigGetCommand from './commands/config/get';
7
+ import ConfigSetCommand from './commands/config/set';
8
+ import ConfigUnsetCommand from './commands/config/unset';
9
+ import ConfigCommand from './commands/config';
10
+ import DedupeCommand from './commands/dedupe';
11
+ import ClipanionCommand from './commands/entries/clipanion';
12
+ import HelpCommand from './commands/entries/help';
13
+ import EntryCommand from './commands/entries/run';
14
+ import VersionCommand from './commands/entries/version';
15
+ import ExecCommand from './commands/exec';
16
+ import ExplainPeerRequirementsCommand from './commands/explain/peerRequirements';
17
+ import ExplainCommand from './commands/explain';
18
+ import InfoCommand from './commands/info';
19
+ import YarnCommand from './commands/install';
20
+ import LinkCommand from './commands/link';
21
+ import NodeCommand from './commands/node';
22
+ import PluginImportSourcesCommand from './commands/plugin/import/sources';
23
+ import PluginImportCommand from './commands/plugin/import';
24
+ import PluginListCommand from './commands/plugin/list';
25
+ import PluginRemoveCommand from './commands/plugin/remove';
26
+ import PluginRuntimeCommand from './commands/plugin/runtime';
27
+ import RebuildCommand from './commands/rebuild';
28
+ import RemoveCommand from './commands/remove';
29
+ import RunIndexCommand from './commands/runIndex';
30
+ import RunCommand from './commands/run';
31
+ import SetResolutionCommand from './commands/set/resolution';
32
+ import SetVersionSourcesCommand from './commands/set/version/sources';
33
+ import SetVersionCommand from './commands/set/version';
34
+ import UnlinkCommand from './commands/unlink';
35
+ import UpCommand from './commands/up';
36
+ import WhyCommand from './commands/why';
37
+ import WorkspacesListCommand from './commands/workspaces/list';
38
+ import WorkspaceCommand from './commands/workspace';
3
39
  import * as dedupeUtils from './dedupeUtils';
4
40
  import * as suggestUtils from './suggestUtils';
5
- export { dedupeUtils, suggestUtils, };
41
+ export { AddCommand };
42
+ export { BinCommand };
43
+ export { CacheCleanCommand };
44
+ export { ConfigGetCommand };
45
+ export { ConfigSetCommand };
46
+ export { ConfigUnsetCommand };
47
+ export { ConfigCommand };
48
+ export { DedupeCommand };
49
+ export { ClipanionCommand };
50
+ export { HelpCommand };
51
+ export { EntryCommand };
52
+ export { VersionCommand };
53
+ export { ExecCommand };
54
+ export { ExplainPeerRequirementsCommand };
55
+ export { ExplainCommand };
56
+ export { InfoCommand };
57
+ export { YarnCommand };
58
+ export { LinkCommand };
59
+ export { NodeCommand };
60
+ export { PluginImportSourcesCommand };
61
+ export { PluginImportCommand };
62
+ export { PluginListCommand };
63
+ export { PluginRemoveCommand };
64
+ export { PluginRuntimeCommand };
65
+ export { RebuildCommand };
66
+ export { RemoveCommand };
67
+ export { RunIndexCommand };
68
+ export { RunCommand };
69
+ export { SetResolutionCommand };
70
+ export { SetVersionSourcesCommand };
71
+ export { SetVersionCommand };
72
+ export { UnlinkCommand };
73
+ export { UpCommand };
74
+ export { WhyCommand };
75
+ export { WorkspacesListCommand };
76
+ export { WorkspaceCommand };
77
+ export { dedupeUtils };
78
+ export { suggestUtils };
6
79
  export interface Hooks {
7
80
  /**
8
81
  * Called when a new dependency is added to a workspace. Note that this hook
package/lib/index.js CHANGED
@@ -1,45 +1,81 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.suggestUtils = exports.dedupeUtils = void 0;
3
+ exports.suggestUtils = exports.dedupeUtils = exports.WorkspaceCommand = exports.WorkspacesListCommand = exports.WhyCommand = exports.UpCommand = exports.UnlinkCommand = exports.SetVersionCommand = exports.SetVersionSourcesCommand = exports.SetResolutionCommand = exports.RunCommand = exports.RunIndexCommand = exports.RemoveCommand = exports.RebuildCommand = exports.PluginRuntimeCommand = exports.PluginRemoveCommand = exports.PluginListCommand = exports.PluginImportCommand = exports.PluginImportSourcesCommand = exports.NodeCommand = exports.LinkCommand = exports.YarnCommand = exports.InfoCommand = exports.ExplainCommand = exports.ExplainPeerRequirementsCommand = exports.ExecCommand = exports.VersionCommand = exports.EntryCommand = exports.HelpCommand = exports.ClipanionCommand = exports.DedupeCommand = exports.ConfigCommand = exports.ConfigUnsetCommand = exports.ConfigSetCommand = exports.ConfigGetCommand = exports.CacheCleanCommand = exports.BinCommand = exports.AddCommand = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const core_1 = require("@yarnpkg/core");
6
6
  const ci_info_1 = require("ci-info");
7
7
  const add_1 = tslib_1.__importDefault(require("./commands/add"));
8
+ exports.AddCommand = add_1.default;
8
9
  const bin_1 = tslib_1.__importDefault(require("./commands/bin"));
10
+ exports.BinCommand = bin_1.default;
9
11
  const clean_1 = tslib_1.__importDefault(require("./commands/cache/clean"));
12
+ exports.CacheCleanCommand = clean_1.default;
10
13
  const get_1 = tslib_1.__importDefault(require("./commands/config/get"));
14
+ exports.ConfigGetCommand = get_1.default;
11
15
  const set_1 = tslib_1.__importDefault(require("./commands/config/set"));
16
+ exports.ConfigSetCommand = set_1.default;
12
17
  const unset_1 = tslib_1.__importDefault(require("./commands/config/unset"));
18
+ exports.ConfigUnsetCommand = unset_1.default;
13
19
  const config_1 = tslib_1.__importDefault(require("./commands/config"));
20
+ exports.ConfigCommand = config_1.default;
14
21
  const dedupe_1 = tslib_1.__importDefault(require("./commands/dedupe"));
22
+ exports.DedupeCommand = dedupe_1.default;
15
23
  const clipanion_1 = tslib_1.__importDefault(require("./commands/entries/clipanion"));
24
+ exports.ClipanionCommand = clipanion_1.default;
16
25
  const help_1 = tslib_1.__importDefault(require("./commands/entries/help"));
26
+ exports.HelpCommand = help_1.default;
17
27
  const run_1 = tslib_1.__importDefault(require("./commands/entries/run"));
28
+ exports.EntryCommand = run_1.default;
18
29
  const version_1 = tslib_1.__importDefault(require("./commands/entries/version"));
30
+ exports.VersionCommand = version_1.default;
19
31
  const exec_1 = tslib_1.__importDefault(require("./commands/exec"));
32
+ exports.ExecCommand = exec_1.default;
20
33
  const peerRequirements_1 = tslib_1.__importDefault(require("./commands/explain/peerRequirements"));
34
+ exports.ExplainPeerRequirementsCommand = peerRequirements_1.default;
21
35
  const explain_1 = tslib_1.__importDefault(require("./commands/explain"));
36
+ exports.ExplainCommand = explain_1.default;
22
37
  const info_1 = tslib_1.__importDefault(require("./commands/info"));
38
+ exports.InfoCommand = info_1.default;
23
39
  const install_1 = tslib_1.__importDefault(require("./commands/install"));
40
+ exports.YarnCommand = install_1.default;
24
41
  const link_1 = tslib_1.__importDefault(require("./commands/link"));
42
+ exports.LinkCommand = link_1.default;
25
43
  const node_1 = tslib_1.__importDefault(require("./commands/node"));
44
+ exports.NodeCommand = node_1.default;
26
45
  const sources_1 = tslib_1.__importDefault(require("./commands/plugin/import/sources"));
46
+ exports.PluginImportSourcesCommand = sources_1.default;
27
47
  const import_1 = tslib_1.__importDefault(require("./commands/plugin/import"));
48
+ exports.PluginImportCommand = import_1.default;
28
49
  const list_1 = tslib_1.__importDefault(require("./commands/plugin/list"));
50
+ exports.PluginListCommand = list_1.default;
29
51
  const remove_1 = tslib_1.__importDefault(require("./commands/plugin/remove"));
52
+ exports.PluginRemoveCommand = remove_1.default;
30
53
  const runtime_1 = tslib_1.__importDefault(require("./commands/plugin/runtime"));
54
+ exports.PluginRuntimeCommand = runtime_1.default;
31
55
  const rebuild_1 = tslib_1.__importDefault(require("./commands/rebuild"));
56
+ exports.RebuildCommand = rebuild_1.default;
32
57
  const remove_2 = tslib_1.__importDefault(require("./commands/remove"));
58
+ exports.RemoveCommand = remove_2.default;
33
59
  const runIndex_1 = tslib_1.__importDefault(require("./commands/runIndex"));
60
+ exports.RunIndexCommand = runIndex_1.default;
34
61
  const run_2 = tslib_1.__importDefault(require("./commands/run"));
62
+ exports.RunCommand = run_2.default;
35
63
  const resolution_1 = tslib_1.__importDefault(require("./commands/set/resolution"));
64
+ exports.SetResolutionCommand = resolution_1.default;
36
65
  const sources_2 = tslib_1.__importDefault(require("./commands/set/version/sources"));
66
+ exports.SetVersionSourcesCommand = sources_2.default;
37
67
  const version_2 = tslib_1.__importDefault(require("./commands/set/version"));
68
+ exports.SetVersionCommand = version_2.default;
38
69
  const unlink_1 = tslib_1.__importDefault(require("./commands/unlink"));
70
+ exports.UnlinkCommand = unlink_1.default;
39
71
  const up_1 = tslib_1.__importDefault(require("./commands/up"));
72
+ exports.UpCommand = up_1.default;
40
73
  const why_1 = tslib_1.__importDefault(require("./commands/why"));
74
+ exports.WhyCommand = why_1.default;
41
75
  const list_2 = tslib_1.__importDefault(require("./commands/workspaces/list"));
76
+ exports.WorkspacesListCommand = list_2.default;
42
77
  const workspace_1 = tslib_1.__importDefault(require("./commands/workspace"));
78
+ exports.WorkspaceCommand = workspace_1.default;
43
79
  const dedupeUtils = tslib_1.__importStar(require("./dedupeUtils"));
44
80
  exports.dedupeUtils = dedupeUtils;
45
81
  const suggestUtils = tslib_1.__importStar(require("./suggestUtils"));
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@yarnpkg/plugin-essentials",
3
- "version": "4.0.0-rc.18",
3
+ "version": "4.0.0-rc.20",
4
4
  "license": "BSD-2-Clause",
5
5
  "main": "./lib/index.js",
6
+ "exports": {
7
+ ".": "./lib/index.js",
8
+ "./package.json": "./package.json"
9
+ },
6
10
  "dependencies": {
7
- "@yarnpkg/fslib": "^3.0.0-rc.18",
8
- "@yarnpkg/parsers": "^3.0.0-rc.18",
11
+ "@yarnpkg/fslib": "^3.0.0-rc.20",
12
+ "@yarnpkg/parsers": "^3.0.0-rc.20",
9
13
  "ci-info": "^3.2.0",
10
14
  "clipanion": "^3.2.0-rc.10",
11
15
  "enquirer": "^2.3.6",
@@ -16,17 +20,17 @@
16
20
  "typanion": "^3.3.0"
17
21
  },
18
22
  "peerDependencies": {
19
- "@yarnpkg/cli": "^4.0.0-rc.18",
20
- "@yarnpkg/core": "^4.0.0-rc.18",
21
- "@yarnpkg/plugin-git": "^3.0.0-rc.18"
23
+ "@yarnpkg/cli": "^4.0.0-rc.20",
24
+ "@yarnpkg/core": "^4.0.0-rc.20",
25
+ "@yarnpkg/plugin-git": "^3.0.0-rc.20"
22
26
  },
23
27
  "devDependencies": {
24
28
  "@types/lodash": "^4.14.136",
25
29
  "@types/micromatch": "^4.0.1",
26
30
  "@types/semver": "^7.1.0",
27
- "@yarnpkg/cli": "^4.0.0-rc.18",
28
- "@yarnpkg/core": "^4.0.0-rc.18",
29
- "@yarnpkg/plugin-git": "^3.0.0-rc.18"
31
+ "@yarnpkg/cli": "^4.0.0-rc.20",
32
+ "@yarnpkg/core": "^4.0.0-rc.20",
33
+ "@yarnpkg/plugin-git": "^3.0.0-rc.20"
30
34
  },
31
35
  "repository": {
32
36
  "type": "git",
@@ -39,7 +43,10 @@
39
43
  },
40
44
  "publishConfig": {
41
45
  "main": "./lib/index.js",
42
- "typings": "./lib/index.d.ts"
46
+ "exports": {
47
+ ".": "./lib/index.js",
48
+ "./package.json": "./package.json"
49
+ }
43
50
  },
44
51
  "files": [
45
52
  "/lib/**/*"
@@ -47,6 +54,5 @@
47
54
  "engines": {
48
55
  "node": ">=14.15.0"
49
56
  },
50
- "stableVersion": "3.2.0",
51
- "typings": "./lib/index.d.ts"
57
+ "stableVersion": "3.2.0"
52
58
  }