@oclif/plugin-test-esbuild 0.4.0 → 0.4.2
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/README.md +1 -1
- package/dist/{chunk-L5EKG6PO.js → chunk-6AQAVIMI.js} +3 -5
- package/dist/{chunk-G3X4TLKI.js → chunk-I2Y7BTZP.js} +3 -5
- package/dist/{chunk-SP5LIBJJ.js → chunk-NET6CTRU.js} +1281 -1235
- package/dist/{chunk-OPAM43C4.js → chunk-T3WI7GAZ.js} +3 -5
- package/dist/{chunk-UY7CILNM.js → chunk-YOJ7W5SK.js} +3 -5
- package/dist/commands/esbuild.js +2 -3
- package/dist/commands/hello/index.js +2 -3
- package/dist/commands/hello/world.js +2 -3
- package/dist/hooks/init/init.js +2 -3
- package/dist/index.js +10 -12
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-CKYVUCCZ.js +0 -63
- package/dist/shell-FHVZNOYW.js +0 -4899
package/dist/commands/esbuild.js
CHANGED
package/dist/hooks/init/init.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ESBuild
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I2Y7BTZP.js";
|
|
4
4
|
import {
|
|
5
5
|
Hello
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T3WI7GAZ.js";
|
|
7
7
|
import {
|
|
8
8
|
World
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YOJ7W5SK.js";
|
|
10
10
|
import {
|
|
11
11
|
init_default
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
require_lib,
|
|
15
|
-
require_src
|
|
16
|
-
} from "./chunk-SP5LIBJJ.js";
|
|
12
|
+
} from "./chunk-6AQAVIMI.js";
|
|
17
13
|
import {
|
|
18
14
|
__commonJS,
|
|
19
15
|
__toESM,
|
|
20
|
-
init_cjs_shims
|
|
21
|
-
|
|
16
|
+
init_cjs_shims,
|
|
17
|
+
require_lib,
|
|
18
|
+
require_src
|
|
19
|
+
} from "./chunk-NET6CTRU.js";
|
|
22
20
|
|
|
23
21
|
// node_modules/semver/internal/constants.js
|
|
24
22
|
var require_constants = __commonJS({
|
|
@@ -2737,7 +2735,7 @@ var isExecutable = (filepath) => {
|
|
|
2737
2735
|
};
|
|
2738
2736
|
async function findNode(root) {
|
|
2739
2737
|
const cliBinDirs = [path.join(root, "bin"), path.join(root, "client", "bin")].filter((p) => fs.existsSync(p));
|
|
2740
|
-
const { default: shelljs } = await import("
|
|
2738
|
+
const { default: shelljs } = await import("shelljs");
|
|
2741
2739
|
if (cliBinDirs.length > 0) {
|
|
2742
2740
|
const node = shelljs.find(cliBinDirs).find((file) => isExecutable(file));
|
|
2743
2741
|
if (node) {
|
|
@@ -3242,7 +3240,7 @@ Does your current user own the directory ${this.config.dataDir}?`
|
|
|
3242
3240
|
const command = `"${nodeExecutable}" "${npmCli}" show ${name} dist-tags ${registryFlag}`;
|
|
3243
3241
|
let npmShowResult;
|
|
3244
3242
|
try {
|
|
3245
|
-
const { default: shelljs } = await import("
|
|
3243
|
+
const { default: shelljs } = await import("shelljs");
|
|
3246
3244
|
npmShowResult = shelljs.exec(command, { silent: true });
|
|
3247
3245
|
} catch {
|
|
3248
3246
|
throw new import_core3.Errors.CLIError(`Could not run npm show for ${name}`);
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
package/dist/chunk-CKYVUCCZ.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined")
|
|
11
|
-
return require.apply(this, arguments);
|
|
12
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
-
});
|
|
14
|
-
var __glob = (map) => (path2) => {
|
|
15
|
-
var fn = map[path2];
|
|
16
|
-
if (fn)
|
|
17
|
-
return fn();
|
|
18
|
-
throw new Error("Module not found in bundle: " + path2);
|
|
19
|
-
};
|
|
20
|
-
var __esm = (fn, res) => function __init() {
|
|
21
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
22
|
-
};
|
|
23
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
24
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
25
|
-
};
|
|
26
|
-
var __copyProps = (to, from, except, desc) => {
|
|
27
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
-
for (let key of __getOwnPropNames(from))
|
|
29
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
30
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
31
|
-
}
|
|
32
|
-
return to;
|
|
33
|
-
};
|
|
34
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
35
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
36
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
37
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
38
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
39
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
40
|
-
mod
|
|
41
|
-
));
|
|
42
|
-
|
|
43
|
-
// bin/cjs-shims.js
|
|
44
|
-
import { createRequire } from "node:module";
|
|
45
|
-
import path from "node:path";
|
|
46
|
-
import url from "node:url";
|
|
47
|
-
var init_cjs_shims = __esm({
|
|
48
|
-
"bin/cjs-shims.js"() {
|
|
49
|
-
"use strict";
|
|
50
|
-
globalThis.require = createRequire(import.meta.url);
|
|
51
|
-
globalThis.__filename = url.fileURLToPath(import.meta.url);
|
|
52
|
-
globalThis.__dirname = path.dirname(__filename);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
export {
|
|
57
|
-
__require,
|
|
58
|
-
__glob,
|
|
59
|
-
__esm,
|
|
60
|
-
__commonJS,
|
|
61
|
-
__toESM,
|
|
62
|
-
init_cjs_shims
|
|
63
|
-
};
|