@cedarjs/cli-helpers 4.0.0-canary.13708 → 4.0.0-canary.13711
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.
- package/dist/cjs/lib/installHelpers.d.ts.map +1 -1
- package/dist/cjs/lib/installHelpers.js +10 -23
- package/dist/cjs/packageManager/display.d.ts +90 -0
- package/dist/cjs/packageManager/display.d.ts.map +1 -0
- package/dist/cjs/packageManager/display.js +142 -0
- package/dist/cjs/packageManager/exec.d.ts +51 -0
- package/dist/cjs/packageManager/exec.d.ts.map +1 -0
- package/dist/cjs/packageManager/exec.js +116 -0
- package/dist/cjs/packageManager/packages.d.ts +39 -0
- package/dist/cjs/packageManager/packages.d.ts.map +1 -0
- package/dist/cjs/packageManager/packages.js +90 -0
- package/dist/lib/installHelpers.d.ts.map +1 -1
- package/dist/lib/installHelpers.js +14 -13
- package/dist/packageManager/display.d.ts +90 -0
- package/dist/packageManager/display.d.ts.map +1 -0
- package/dist/packageManager/display.js +109 -0
- package/dist/packageManager/exec.d.ts +51 -0
- package/dist/packageManager/exec.d.ts.map +1 -0
- package/dist/packageManager/exec.js +76 -0
- package/dist/packageManager/packages.d.ts +39 -0
- package/dist/packageManager/packages.d.ts.map +1 -0
- package/dist/packageManager/packages.js +53 -0
- package/dist/src/lib/installHelpers.d.ts.map +1 -1
- package/dist/src/packageManager/__tests__/display.test.d.ts +2 -0
- package/dist/src/packageManager/__tests__/display.test.d.ts.map +1 -0
- package/dist/src/packageManager/__tests__/exec.test.d.ts +2 -0
- package/dist/src/packageManager/__tests__/exec.test.d.ts.map +1 -0
- package/dist/src/packageManager/__tests__/packages.test.d.ts +2 -0
- package/dist/src/packageManager/__tests__/packages.test.d.ts.map +1 -0
- package/dist/src/packageManager/display.d.ts +90 -0
- package/dist/src/packageManager/display.d.ts.map +1 -0
- package/dist/src/packageManager/exec.d.ts +51 -0
- package/dist/src/packageManager/exec.d.ts.map +1 -0
- package/dist/src/packageManager/packages.d.ts +39 -0
- package/dist/src/packageManager/packages.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +35 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installHelpers.d.ts","sourceRoot":"","sources":["../../../src/lib/installHelpers.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,EAAE,uBAAqB;;;
|
|
1
|
+
{"version":3,"file":"installHelpers.d.ts","sourceRoot":"","sources":["../../../src/lib/installHelpers.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,EAAE,uBAAqB;;;CAQxE,CAAA;AAED,eAAO,MAAM,eAAe;;;CAM3B,CAAA"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,14 +15,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
19
|
var installHelpers_exports = {};
|
|
30
20
|
__export(installHelpers_exports, {
|
|
@@ -34,39 +24,36 @@ __export(installHelpers_exports, {
|
|
|
34
24
|
installPackages: () => installPackages
|
|
35
25
|
});
|
|
36
26
|
module.exports = __toCommonJS(installHelpers_exports);
|
|
37
|
-
var
|
|
38
|
-
var import_packageManager = require("@cedarjs/project-config/packageManager");
|
|
39
|
-
var import_packageManager2 = require("../packageManager/index.js");
|
|
27
|
+
var import_packages = require("../packageManager/packages.js");
|
|
40
28
|
var import_paths = require("./paths.js");
|
|
41
29
|
const addWebPackages = (webPackages) => ({
|
|
42
|
-
title:
|
|
30
|
+
title: `Adding required web packages...`,
|
|
43
31
|
task: async () => {
|
|
44
|
-
const
|
|
45
|
-
await (0,
|
|
32
|
+
const cwd = (0, import_paths.getPaths)().web.base;
|
|
33
|
+
await (0, import_packages.addWorkspacePackages)("web", webPackages, { cwd });
|
|
46
34
|
}
|
|
47
35
|
});
|
|
48
36
|
const addApiPackages = (apiPackages) => ({
|
|
49
37
|
title: "Adding required api packages...",
|
|
50
38
|
task: async () => {
|
|
51
|
-
const
|
|
52
|
-
await (0,
|
|
39
|
+
const cwd = (0, import_paths.getPaths)().api.base;
|
|
40
|
+
await (0, import_packages.addWorkspacePackages)("api", apiPackages, { cwd });
|
|
53
41
|
}
|
|
54
42
|
});
|
|
55
43
|
const addRootPackages = (packages, devDependency = false) => {
|
|
56
|
-
const addMode = devDependency ? [(0, import_packageManager2.add)(), "-D"] : [(0, import_packageManager2.add)()];
|
|
57
44
|
return {
|
|
58
45
|
title: "Installing packages...",
|
|
59
46
|
task: async () => {
|
|
60
|
-
const
|
|
61
|
-
await (0,
|
|
47
|
+
const cwd = (0, import_paths.getPaths)().base;
|
|
48
|
+
await (0, import_packages.addRootPackages)(packages, { cwd, dev: devDependency });
|
|
62
49
|
}
|
|
63
50
|
};
|
|
64
51
|
};
|
|
65
52
|
const installPackages = {
|
|
66
53
|
title: "Installing packages...",
|
|
67
54
|
task: async () => {
|
|
68
|
-
const
|
|
69
|
-
await (0,
|
|
55
|
+
const cwd = (0, import_paths.getPaths)().base;
|
|
56
|
+
await (0, import_packages.installPackages)({ cwd });
|
|
70
57
|
}
|
|
71
58
|
};
|
|
72
59
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the formatted install command for the detected package manager.
|
|
3
|
+
*
|
|
4
|
+
* yarn → `yarn install`
|
|
5
|
+
* npm → `npm install`
|
|
6
|
+
* pnpm → `pnpm install`
|
|
7
|
+
*/
|
|
8
|
+
export declare function formatInstallCommand(): string;
|
|
9
|
+
/**
|
|
10
|
+
* Returns a formatted string for running a Cedar CLI command via the detected
|
|
11
|
+
* package manager.
|
|
12
|
+
*
|
|
13
|
+
* yarn → `yarn cedar <args>`
|
|
14
|
+
* npm → `npx cedar <args>`
|
|
15
|
+
* pnpm → `pnpm exec cedar <args>`
|
|
16
|
+
*/
|
|
17
|
+
export declare function formatCedarCommand(args: string[]): string;
|
|
18
|
+
/**
|
|
19
|
+
* Returns a formatted string for running a package.json script via the
|
|
20
|
+
* detected package manager.
|
|
21
|
+
*
|
|
22
|
+
* yarn → `yarn <script> [args]`
|
|
23
|
+
* npm → `npm run <script>[ -- args]`
|
|
24
|
+
* pnpm → `pnpm <script> [args]`
|
|
25
|
+
*/
|
|
26
|
+
export declare function formatRunScriptCommand(script: string, args?: string[]): string;
|
|
27
|
+
/**
|
|
28
|
+
* Returns a formatted string for running a package.json script in a workspace
|
|
29
|
+
* via the detected package manager.
|
|
30
|
+
*
|
|
31
|
+
* yarn → `yarn workspace <workspace> <script> [args]`
|
|
32
|
+
* npm → `npm run <script> -w <workspace>[ -- args]`
|
|
33
|
+
* pnpm → `pnpm <script> --filter <workspace>[-- args]`
|
|
34
|
+
*/
|
|
35
|
+
export declare function formatRunWorkspaceScriptCommand(workspace: string, script: string, args?: string[]): string;
|
|
36
|
+
/**
|
|
37
|
+
* Returns a formatted string for running a local binary (from
|
|
38
|
+
* node_modules/.bin) via the detected package manager.
|
|
39
|
+
*
|
|
40
|
+
* yarn → `yarn <bin> [args]` (PnP-safe)
|
|
41
|
+
* npm → `npx <bin> [args]`
|
|
42
|
+
* pnpm → `pnpm exec <bin> [args]`
|
|
43
|
+
*/
|
|
44
|
+
export declare function formatRunBinCommand(bin: string, args?: string[]): string;
|
|
45
|
+
/**
|
|
46
|
+
* Returns a formatted string for running a local binary in a workspace context
|
|
47
|
+
* via the detected package manager.
|
|
48
|
+
*
|
|
49
|
+
* yarn → `yarn workspace <workspace> <bin> [args]`
|
|
50
|
+
* npm → `npm exec -w <workspace> -- <bin> [args]`
|
|
51
|
+
* pnpm → `pnpm exec --filter <workspace> <bin> [args]`
|
|
52
|
+
*/
|
|
53
|
+
export declare function formatRunWorkspaceBinCommand(workspace: string, bin: string, args?: string[]): string;
|
|
54
|
+
/**
|
|
55
|
+
* Returns a formatted string for a one-off package execution via the detected
|
|
56
|
+
* package manager.
|
|
57
|
+
*
|
|
58
|
+
* yarn → `yarn dlx <command> [args]`
|
|
59
|
+
* npm → `npx <command> [args]`
|
|
60
|
+
* pnpm → `pnpm dlx <command> [args]`
|
|
61
|
+
*/
|
|
62
|
+
export declare function formatDlxCommand(command: string, args?: string[]): string;
|
|
63
|
+
/**
|
|
64
|
+
* Returns a formatted string for adding packages to the project root via the
|
|
65
|
+
* detected package manager.
|
|
66
|
+
*
|
|
67
|
+
* yarn → `yarn add [-D] <packages>`
|
|
68
|
+
* npm → `npm install [-D] <packages>`
|
|
69
|
+
* pnpm → `pnpm add [-D] <packages>`
|
|
70
|
+
*/
|
|
71
|
+
export declare function formatAddRootPackagesCommand(packages: string[], dev?: boolean): string;
|
|
72
|
+
/**
|
|
73
|
+
* Returns a formatted string for adding packages to a workspace via the
|
|
74
|
+
* detected package manager.
|
|
75
|
+
*
|
|
76
|
+
* yarn → `yarn workspace <workspace> add [-D] <packages>`
|
|
77
|
+
* npm → `npm install [-D] <packages> -w <workspace>`
|
|
78
|
+
* pnpm → `pnpm add [-D] <packages> --filter <workspace>`
|
|
79
|
+
*/
|
|
80
|
+
export declare function formatAddWorkspacePackagesCommand(workspace: string, packages: string[], dev?: boolean): string;
|
|
81
|
+
/**
|
|
82
|
+
* Returns a formatted string for removing packages from a workspace via the
|
|
83
|
+
* detected package manager.
|
|
84
|
+
*
|
|
85
|
+
* yarn → `yarn workspace <workspace> remove <packages>`
|
|
86
|
+
* npm → `npm uninstall <packages> -w <workspace>`
|
|
87
|
+
* pnpm → `pnpm remove <packages> --filter <workspace>`
|
|
88
|
+
*/
|
|
89
|
+
export declare function formatRemoveWorkspacePackagesCommand(workspace: string, packages: string[]): string;
|
|
90
|
+
//# sourceMappingURL=display.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../src/packageManager/display.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAE7C;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAazD;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,MAAM,EAAO,GAClB,MAAM,CAUR;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,MAAM,EAAO,GAClB,MAAM,CAgBR;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,MAAM,EAAO,GAAG,MAAM,CAa5E;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,IAAI,GAAE,MAAM,EAAO,GAClB,MAAM,CAcR;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,MAAM,EAAO,GAAG,MAAM,CAS7E;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,MAAM,EAAE,EAClB,GAAG,UAAQ,GACV,MAAM,CAOR;AAED;;;;;;;GAOG;AACH,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAAE,EAClB,GAAG,UAAQ,GACV,MAAM,CAeR;AAED;;;;;;;GAOG;AACH,wBAAgB,oCAAoC,CAClD,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAAE,GACjB,MAAM,CAcR"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var display_exports = {};
|
|
20
|
+
__export(display_exports, {
|
|
21
|
+
formatAddRootPackagesCommand: () => formatAddRootPackagesCommand,
|
|
22
|
+
formatAddWorkspacePackagesCommand: () => formatAddWorkspacePackagesCommand,
|
|
23
|
+
formatCedarCommand: () => formatCedarCommand,
|
|
24
|
+
formatDlxCommand: () => formatDlxCommand,
|
|
25
|
+
formatInstallCommand: () => formatInstallCommand,
|
|
26
|
+
formatRemoveWorkspacePackagesCommand: () => formatRemoveWorkspacePackagesCommand,
|
|
27
|
+
formatRunBinCommand: () => formatRunBinCommand,
|
|
28
|
+
formatRunScriptCommand: () => formatRunScriptCommand,
|
|
29
|
+
formatRunWorkspaceBinCommand: () => formatRunWorkspaceBinCommand,
|
|
30
|
+
formatRunWorkspaceScriptCommand: () => formatRunWorkspaceScriptCommand
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(display_exports);
|
|
33
|
+
var import_packageManager = require("@cedarjs/project-config/packageManager");
|
|
34
|
+
function formatInstallCommand() {
|
|
35
|
+
return `${(0, import_packageManager.getPackageManager)()} install`;
|
|
36
|
+
}
|
|
37
|
+
function formatCedarCommand(args) {
|
|
38
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
39
|
+
const argStr = args.length > 0 ? ` ${args.join(" ")}` : "";
|
|
40
|
+
if (pm === "npm") {
|
|
41
|
+
return `npx cedar${argStr}`;
|
|
42
|
+
}
|
|
43
|
+
if (pm === "pnpm") {
|
|
44
|
+
return `pnpm exec cedar${argStr}`;
|
|
45
|
+
}
|
|
46
|
+
return `yarn cedar${argStr}`;
|
|
47
|
+
}
|
|
48
|
+
function formatRunScriptCommand(script, args = []) {
|
|
49
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
50
|
+
const argStr = args.length > 0 ? ` ${args.join(" ")}` : "";
|
|
51
|
+
if (pm === "npm") {
|
|
52
|
+
const separator = args.length > 0 ? " -- " : "";
|
|
53
|
+
return `npm run ${script}${separator}${args.join(" ")}`;
|
|
54
|
+
}
|
|
55
|
+
return `${pm} ${script}${argStr}`;
|
|
56
|
+
}
|
|
57
|
+
function formatRunWorkspaceScriptCommand(workspace, script, args = []) {
|
|
58
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
59
|
+
const argStr = args.length > 0 ? ` ${args.join(" ")}` : "";
|
|
60
|
+
if (pm === "yarn") {
|
|
61
|
+
return `yarn workspace ${workspace} ${script}${argStr}`;
|
|
62
|
+
}
|
|
63
|
+
if (pm === "npm") {
|
|
64
|
+
const separator2 = args.length > 0 ? " -- " : "";
|
|
65
|
+
return `npm run ${script} -w ${workspace}${separator2}${args.join(" ")}`;
|
|
66
|
+
}
|
|
67
|
+
const separator = args.length > 0 ? " -- " : "";
|
|
68
|
+
return `pnpm ${script} --filter ${workspace}${separator}${args.join(" ")}`;
|
|
69
|
+
}
|
|
70
|
+
function formatRunBinCommand(bin, args = []) {
|
|
71
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
72
|
+
const argStr = args.length > 0 ? ` ${args.join(" ")}` : "";
|
|
73
|
+
if (pm === "npm") {
|
|
74
|
+
return `npx ${bin}${argStr}`;
|
|
75
|
+
}
|
|
76
|
+
if (pm === "pnpm") {
|
|
77
|
+
return `pnpm exec ${bin}${argStr}`;
|
|
78
|
+
}
|
|
79
|
+
return `yarn ${bin}${argStr}`;
|
|
80
|
+
}
|
|
81
|
+
function formatRunWorkspaceBinCommand(workspace, bin, args = []) {
|
|
82
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
83
|
+
const argStr = args.length > 0 ? ` ${args.join(" ")}` : "";
|
|
84
|
+
if (pm === "yarn") {
|
|
85
|
+
return `yarn workspace ${workspace} ${bin}${argStr}`;
|
|
86
|
+
}
|
|
87
|
+
if (pm === "npm") {
|
|
88
|
+
return `npm exec -w ${workspace} -- ${bin}${argStr}`;
|
|
89
|
+
}
|
|
90
|
+
return `pnpm exec --filter ${workspace} ${bin}${argStr}`;
|
|
91
|
+
}
|
|
92
|
+
function formatDlxCommand(command, args = []) {
|
|
93
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
94
|
+
const argStr = args.length > 0 ? ` ${args.join(" ")}` : "";
|
|
95
|
+
if (pm === "npm") {
|
|
96
|
+
return `npx ${command}${argStr}`;
|
|
97
|
+
}
|
|
98
|
+
return `${pm} dlx ${command}${argStr}`;
|
|
99
|
+
}
|
|
100
|
+
function formatAddRootPackagesCommand(packages, dev = false) {
|
|
101
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
102
|
+
const devFlag = dev ? " -D" : "";
|
|
103
|
+
const pkgStr = packages.join(" ");
|
|
104
|
+
const addCmd = pm === "npm" ? "install" : "add";
|
|
105
|
+
return `${pm} ${addCmd}${devFlag} ${pkgStr}`;
|
|
106
|
+
}
|
|
107
|
+
function formatAddWorkspacePackagesCommand(workspace, packages, dev = false) {
|
|
108
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
109
|
+
const devFlag = dev ? " -D" : "";
|
|
110
|
+
const pkgStr = packages.join(" ");
|
|
111
|
+
if (pm === "yarn") {
|
|
112
|
+
return `yarn workspace ${workspace} add${devFlag} ${pkgStr}`;
|
|
113
|
+
}
|
|
114
|
+
if (pm === "npm") {
|
|
115
|
+
return `npm install${devFlag} ${pkgStr} -w ${workspace}`;
|
|
116
|
+
}
|
|
117
|
+
return `pnpm add${devFlag} ${pkgStr} --filter ${workspace}`;
|
|
118
|
+
}
|
|
119
|
+
function formatRemoveWorkspacePackagesCommand(workspace, packages) {
|
|
120
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
121
|
+
const pkgStr = packages.join(" ");
|
|
122
|
+
if (pm === "yarn") {
|
|
123
|
+
return `yarn workspace ${workspace} remove ${pkgStr}`;
|
|
124
|
+
}
|
|
125
|
+
if (pm === "npm") {
|
|
126
|
+
return `npm uninstall ${pkgStr} -w ${workspace}`;
|
|
127
|
+
}
|
|
128
|
+
return `pnpm remove ${pkgStr} --filter ${workspace}`;
|
|
129
|
+
}
|
|
130
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
131
|
+
0 && (module.exports = {
|
|
132
|
+
formatAddRootPackagesCommand,
|
|
133
|
+
formatAddWorkspacePackagesCommand,
|
|
134
|
+
formatCedarCommand,
|
|
135
|
+
formatDlxCommand,
|
|
136
|
+
formatInstallCommand,
|
|
137
|
+
formatRemoveWorkspacePackagesCommand,
|
|
138
|
+
formatRunBinCommand,
|
|
139
|
+
formatRunScriptCommand,
|
|
140
|
+
formatRunWorkspaceBinCommand,
|
|
141
|
+
formatRunWorkspaceScriptCommand
|
|
142
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import execa from 'execa';
|
|
2
|
+
import type { Options as ExecaOptions, SyncOptions as ExecaSyncOptions } from 'execa';
|
|
3
|
+
/**
|
|
4
|
+
* Run a script defined in package.json "scripts".
|
|
5
|
+
*
|
|
6
|
+
* - yarn: `yarn <script> [args]`
|
|
7
|
+
* - npm: `npm run <script> [-- args]`
|
|
8
|
+
* - pnpm: `pnpm <script> [args]`
|
|
9
|
+
*/
|
|
10
|
+
export declare function runScript(script: string, args?: string[], options?: ExecaOptions): execa.ExecaChildProcess<string>;
|
|
11
|
+
/**
|
|
12
|
+
* Synchronous variant of {@link runScript}.
|
|
13
|
+
*/
|
|
14
|
+
export declare function runScriptSync(script: string, args?: string[], options?: ExecaSyncOptions): execa.ExecaSyncReturnValue<string>;
|
|
15
|
+
/**
|
|
16
|
+
* Run a script in a workspace.
|
|
17
|
+
*
|
|
18
|
+
* - yarn: `yarn workspace <workspace> <script> [args]`
|
|
19
|
+
* - npm: `npm run <script> -w <workspace> [-- args]`
|
|
20
|
+
* - pnpm: `pnpm <script> --filter <workspace> [-- args]`
|
|
21
|
+
*/
|
|
22
|
+
export declare function runWorkspaceScript(workspace: string, script: string, args?: string[], options?: ExecaOptions): execa.ExecaChildProcess<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Run a local binary from node_modules/.bin (PnP-safe for Yarn).
|
|
25
|
+
*
|
|
26
|
+
* - yarn: `yarn <bin> [args]`
|
|
27
|
+
* - npm: `npx <bin> [args]`
|
|
28
|
+
* - pnpm: `pnpm exec <bin> [args]`
|
|
29
|
+
*/
|
|
30
|
+
export declare function runBin(bin: string, args?: string[], options?: ExecaOptions): execa.ExecaChildProcess<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Synchronous variant of {@link runBin}.
|
|
33
|
+
*/
|
|
34
|
+
export declare function runBinSync(bin: string, args?: string[], options?: ExecaSyncOptions): execa.ExecaSyncReturnValue<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Run a local binary in a workspace context.
|
|
37
|
+
*
|
|
38
|
+
* - yarn: `yarn workspace <workspace> <bin> [args]`
|
|
39
|
+
* - npm: `npm exec -w <workspace> -- <bin> [args]`
|
|
40
|
+
* - pnpm: `pnpm exec --filter <workspace> <bin> [args]`
|
|
41
|
+
*/
|
|
42
|
+
export declare function runWorkspaceBin(workspace: string, bin: string, args?: string[], options?: ExecaOptions): execa.ExecaChildProcess<string>;
|
|
43
|
+
/**
|
|
44
|
+
* One-off package execution (equivalent to `npx`).
|
|
45
|
+
*
|
|
46
|
+
* - yarn: `yarn dlx <command> [args]`
|
|
47
|
+
* - npm: `npx <command> [args]`
|
|
48
|
+
* - pnpm: `pnpm dlx <command> [args]`
|
|
49
|
+
*/
|
|
50
|
+
export declare function dlx(command: string, args?: string[], options?: ExecaOptions): execa.ExecaChildProcess<string>;
|
|
51
|
+
//# sourceMappingURL=exec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exec.d.ts","sourceRoot":"","sources":["../../../src/packageManager/exec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EACV,OAAO,IAAI,YAAY,EACvB,WAAW,IAAI,gBAAgB,EAChC,MAAM,OAAO,CAAA;AAId;;;;;;GAMG;AACH,wBAAgB,SAAS,CACvB,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,CAAC,EAAE,YAAY,mCAWvB;AAED;;GAEG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,CAAC,EAAE,gBAAgB,sCAW3B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,CAAC,EAAE,YAAY,mCAsBvB;AAED;;;;;;GAMG;AACH,wBAAgB,MAAM,CACpB,GAAG,EAAE,MAAM,EACX,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,CAAC,EAAE,YAAY,mCAcvB;AAED;;GAEG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,EACX,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,CAAC,EAAE,gBAAgB,sCAc3B;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,CAAC,EAAE,YAAY,mCAcvB;AAED;;;;;;GAMG;AACH,wBAAgB,GAAG,CACjB,OAAO,EAAE,MAAM,EACf,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,CAAC,EAAE,YAAY,mCASvB"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var exec_exports = {};
|
|
30
|
+
__export(exec_exports, {
|
|
31
|
+
dlx: () => dlx,
|
|
32
|
+
runBin: () => runBin,
|
|
33
|
+
runBinSync: () => runBinSync,
|
|
34
|
+
runScript: () => runScript,
|
|
35
|
+
runScriptSync: () => runScriptSync,
|
|
36
|
+
runWorkspaceBin: () => runWorkspaceBin,
|
|
37
|
+
runWorkspaceScript: () => runWorkspaceScript
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(exec_exports);
|
|
40
|
+
var import_execa = __toESM(require("execa"), 1);
|
|
41
|
+
var import_packageManager = require("@cedarjs/project-config/packageManager");
|
|
42
|
+
function runScript(script, args = [], options) {
|
|
43
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
44
|
+
if (pm === "npm") {
|
|
45
|
+
const npmArgs = args.length > 0 ? ["run", script, "--", ...args] : ["run", script];
|
|
46
|
+
return (0, import_execa.default)(pm, npmArgs, options);
|
|
47
|
+
}
|
|
48
|
+
return (0, import_execa.default)(pm, [script, ...args], options);
|
|
49
|
+
}
|
|
50
|
+
function runScriptSync(script, args = [], options) {
|
|
51
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
52
|
+
if (pm === "npm") {
|
|
53
|
+
const npmArgs = args.length > 0 ? ["run", script, "--", ...args] : ["run", script];
|
|
54
|
+
return import_execa.default.sync(pm, npmArgs, options);
|
|
55
|
+
}
|
|
56
|
+
return import_execa.default.sync(pm, [script, ...args], options);
|
|
57
|
+
}
|
|
58
|
+
function runWorkspaceScript(workspace, script, args = [], options) {
|
|
59
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
60
|
+
if (pm === "yarn") {
|
|
61
|
+
return (0, import_execa.default)(pm, ["workspace", workspace, script, ...args], options);
|
|
62
|
+
}
|
|
63
|
+
if (pm === "npm") {
|
|
64
|
+
const npmArgs = args.length > 0 ? ["run", script, "-w", workspace, "--", ...args] : ["run", script, "-w", workspace];
|
|
65
|
+
return (0, import_execa.default)(pm, npmArgs, options);
|
|
66
|
+
}
|
|
67
|
+
const pnpmArgs = args.length > 0 ? [script, "--filter", workspace, "--", ...args] : [script, "--filter", workspace];
|
|
68
|
+
return (0, import_execa.default)(pm, pnpmArgs, options);
|
|
69
|
+
}
|
|
70
|
+
function runBin(bin, args = [], options) {
|
|
71
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
72
|
+
if (pm === "npm") {
|
|
73
|
+
return (0, import_execa.default)("npx", [bin, ...args], options);
|
|
74
|
+
}
|
|
75
|
+
if (pm === "pnpm") {
|
|
76
|
+
return (0, import_execa.default)(pm, ["exec", bin, ...args], options);
|
|
77
|
+
}
|
|
78
|
+
return (0, import_execa.default)(pm, [bin, ...args], options);
|
|
79
|
+
}
|
|
80
|
+
function runBinSync(bin, args = [], options) {
|
|
81
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
82
|
+
if (pm === "npm") {
|
|
83
|
+
return import_execa.default.sync("npx", [bin, ...args], options);
|
|
84
|
+
}
|
|
85
|
+
if (pm === "pnpm") {
|
|
86
|
+
return import_execa.default.sync(pm, ["exec", bin, ...args], options);
|
|
87
|
+
}
|
|
88
|
+
return import_execa.default.sync(pm, [bin, ...args], options);
|
|
89
|
+
}
|
|
90
|
+
function runWorkspaceBin(workspace, bin, args = [], options) {
|
|
91
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
92
|
+
if (pm === "yarn") {
|
|
93
|
+
return (0, import_execa.default)(pm, ["workspace", workspace, bin, ...args], options);
|
|
94
|
+
}
|
|
95
|
+
if (pm === "npm") {
|
|
96
|
+
return (0, import_execa.default)(pm, ["exec", "-w", workspace, "--", bin, ...args], options);
|
|
97
|
+
}
|
|
98
|
+
return (0, import_execa.default)(pm, ["exec", "--filter", workspace, bin, ...args], options);
|
|
99
|
+
}
|
|
100
|
+
function dlx(command, args = [], options) {
|
|
101
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
102
|
+
if (pm === "npm") {
|
|
103
|
+
return (0, import_execa.default)("npx", [command, ...args], options);
|
|
104
|
+
}
|
|
105
|
+
return (0, import_execa.default)(pm, ["dlx", command, ...args], options);
|
|
106
|
+
}
|
|
107
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
108
|
+
0 && (module.exports = {
|
|
109
|
+
dlx,
|
|
110
|
+
runBin,
|
|
111
|
+
runBinSync,
|
|
112
|
+
runScript,
|
|
113
|
+
runScriptSync,
|
|
114
|
+
runWorkspaceBin,
|
|
115
|
+
runWorkspaceScript
|
|
116
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import execa from 'execa';
|
|
2
|
+
import type { Options as ExecaOptions } from 'execa';
|
|
3
|
+
type AddOptions = ExecaOptions & {
|
|
4
|
+
dev?: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Add packages to the project root.
|
|
8
|
+
*
|
|
9
|
+
* - yarn: `yarn add [-D] <packages>`
|
|
10
|
+
* - npm: `npm install [-D] <packages>`
|
|
11
|
+
* - pnpm: `pnpm add [-D] <packages>`
|
|
12
|
+
*/
|
|
13
|
+
export declare function addRootPackages(packages: string[], options?: AddOptions): execa.ExecaChildProcess<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Add packages to a specific workspace.
|
|
16
|
+
*
|
|
17
|
+
* - yarn: `yarn workspace <workspace> add [-D] <packages>`
|
|
18
|
+
* - npm: `npm install [-D] <packages> -w <workspace>`
|
|
19
|
+
* - pnpm: `pnpm add [-D] <packages> --filter <workspace>`
|
|
20
|
+
*/
|
|
21
|
+
export declare function addWorkspacePackages(workspace: string, packages: string[], options?: AddOptions): execa.ExecaChildProcess<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Remove packages from a specific workspace.
|
|
24
|
+
*
|
|
25
|
+
* - yarn: `yarn workspace <workspace> remove <packages>`
|
|
26
|
+
* - npm: `npm uninstall <packages> -w <workspace>`
|
|
27
|
+
* - pnpm: `pnpm remove <packages> --filter <workspace>`
|
|
28
|
+
*/
|
|
29
|
+
export declare function removeWorkspacePackages(workspace: string, packages: string[], options?: ExecaOptions): execa.ExecaChildProcess<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Install all project dependencies.
|
|
32
|
+
*
|
|
33
|
+
* - yarn: `yarn install`
|
|
34
|
+
* - npm: `npm install`
|
|
35
|
+
* - pnpm: `pnpm install`
|
|
36
|
+
*/
|
|
37
|
+
export declare function installPackages(options?: ExecaOptions): execa.ExecaChildProcess<string>;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=packages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../src/packageManager/packages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,OAAO,CAAA;AAIpD,KAAK,UAAU,GAAG,YAAY,GAAG;IAAE,GAAG,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAElD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,UAAU,mCAOvE;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAAE,EAClB,OAAO,CAAC,EAAE,UAAU,mCA4BrB;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAAE,EAClB,OAAO,CAAC,EAAE,YAAY,mCAcvB;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE,YAAY,mCAGrD"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var packages_exports = {};
|
|
30
|
+
__export(packages_exports, {
|
|
31
|
+
addRootPackages: () => addRootPackages,
|
|
32
|
+
addWorkspacePackages: () => addWorkspacePackages,
|
|
33
|
+
installPackages: () => installPackages,
|
|
34
|
+
removeWorkspacePackages: () => removeWorkspacePackages
|
|
35
|
+
});
|
|
36
|
+
module.exports = __toCommonJS(packages_exports);
|
|
37
|
+
var import_execa = __toESM(require("execa"), 1);
|
|
38
|
+
var import_packageManager = require("@cedarjs/project-config/packageManager");
|
|
39
|
+
function addRootPackages(packages, options) {
|
|
40
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
41
|
+
const { dev, ...execaOptions } = options ?? {};
|
|
42
|
+
const addCmd = pm === "npm" ? "install" : "add";
|
|
43
|
+
const devFlag = dev ? ["-D"] : [];
|
|
44
|
+
return (0, import_execa.default)(pm, [addCmd, ...devFlag, ...packages], execaOptions);
|
|
45
|
+
}
|
|
46
|
+
function addWorkspacePackages(workspace, packages, options) {
|
|
47
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
48
|
+
const { dev, ...execaOptions } = options ?? {};
|
|
49
|
+
const devFlag = dev ? ["-D"] : [];
|
|
50
|
+
if (pm === "yarn") {
|
|
51
|
+
return (0, import_execa.default)(
|
|
52
|
+
pm,
|
|
53
|
+
["workspace", workspace, "add", ...devFlag, ...packages],
|
|
54
|
+
execaOptions
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
if (pm === "npm") {
|
|
58
|
+
return (0, import_execa.default)(
|
|
59
|
+
pm,
|
|
60
|
+
["install", ...devFlag, ...packages, "-w", workspace],
|
|
61
|
+
execaOptions
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
return (0, import_execa.default)(
|
|
65
|
+
pm,
|
|
66
|
+
["add", ...devFlag, ...packages, "--filter", workspace],
|
|
67
|
+
execaOptions
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
function removeWorkspacePackages(workspace, packages, options) {
|
|
71
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
72
|
+
if (pm === "yarn") {
|
|
73
|
+
return (0, import_execa.default)(pm, ["workspace", workspace, "remove", ...packages], options);
|
|
74
|
+
}
|
|
75
|
+
if (pm === "npm") {
|
|
76
|
+
return (0, import_execa.default)(pm, ["uninstall", ...packages, "-w", workspace], options);
|
|
77
|
+
}
|
|
78
|
+
return (0, import_execa.default)(pm, ["remove", ...packages, "--filter", workspace], options);
|
|
79
|
+
}
|
|
80
|
+
function installPackages(options) {
|
|
81
|
+
const pm = (0, import_packageManager.getPackageManager)();
|
|
82
|
+
return (0, import_execa.default)(pm, ["install"], options);
|
|
83
|
+
}
|
|
84
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
85
|
+
0 && (module.exports = {
|
|
86
|
+
addRootPackages,
|
|
87
|
+
addWorkspacePackages,
|
|
88
|
+
installPackages,
|
|
89
|
+
removeWorkspacePackages
|
|
90
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installHelpers.d.ts","sourceRoot":"","sources":["../../src/lib/installHelpers.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,EAAE,uBAAqB;;;
|
|
1
|
+
{"version":3,"file":"installHelpers.d.ts","sourceRoot":"","sources":["../../src/lib/installHelpers.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,cAAc,GAAI,aAAa,MAAM,EAAE;;;CAMlD,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,EAAE,uBAAqB;;;CAQxE,CAAA;AAED,eAAO,MAAM,eAAe;;;CAM3B,CAAA"}
|