@oclif/plugin-test-esbuild 0.4.3 → 0.4.5

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.
@@ -2,7 +2,7 @@ import {
2
2
  __toESM,
3
3
  init_cjs_shims,
4
4
  require_lib
5
- } from "./chunk-NET6CTRU.js";
5
+ } from "./chunk-EJC2OKCZ.js";
6
6
 
7
7
  // src/commands/hello/world.ts
8
8
  init_cjs_shims();
@@ -2,7 +2,7 @@ import {
2
2
  __toESM,
3
3
  init_cjs_shims,
4
4
  require_lib
5
- } from "./chunk-NET6CTRU.js";
5
+ } from "./chunk-EJC2OKCZ.js";
6
6
 
7
7
  // src/hooks/init/init.ts
8
8
  init_cjs_shims();
@@ -2,7 +2,7 @@ import {
2
2
  __toESM,
3
3
  init_cjs_shims,
4
4
  require_lib
5
- } from "./chunk-NET6CTRU.js";
5
+ } from "./chunk-EJC2OKCZ.js";
6
6
 
7
7
  // src/commands/esbuild.ts
8
8
  init_cjs_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ESBuild
3
- } from "../chunk-I2Y7BTZP.js";
4
- import "../chunk-NET6CTRU.js";
3
+ } from "../chunk-STRSVXX4.js";
4
+ import "../chunk-EJC2OKCZ.js";
5
5
  export {
6
6
  ESBuild as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Hello
3
- } from "../../chunk-T3WI7GAZ.js";
4
- import "../../chunk-NET6CTRU.js";
3
+ } from "../../chunk-C2IVL52L.js";
4
+ import "../../chunk-EJC2OKCZ.js";
5
5
  export {
6
6
  Hello as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  World
3
- } from "../../chunk-YOJ7W5SK.js";
4
- import "../../chunk-NET6CTRU.js";
3
+ } from "../../chunk-LBHG74F6.js";
4
+ import "../../chunk-EJC2OKCZ.js";
5
5
  export {
6
6
  World as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_default
3
- } from "../../chunk-6AQAVIMI.js";
4
- import "../../chunk-NET6CTRU.js";
3
+ } from "../../chunk-M546JAFZ.js";
4
+ import "../../chunk-EJC2OKCZ.js";
5
5
  export {
6
6
  init_default as default
7
7
  };
package/dist/index.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  ESBuild
3
- } from "./chunk-I2Y7BTZP.js";
3
+ } from "./chunk-STRSVXX4.js";
4
4
  import {
5
5
  Hello
6
- } from "./chunk-T3WI7GAZ.js";
6
+ } from "./chunk-C2IVL52L.js";
7
7
  import {
8
8
  World
9
- } from "./chunk-YOJ7W5SK.js";
9
+ } from "./chunk-LBHG74F6.js";
10
10
  import {
11
11
  init_default
12
- } from "./chunk-6AQAVIMI.js";
12
+ } from "./chunk-M546JAFZ.js";
13
13
  import {
14
14
  __commonJS,
15
15
  __toESM,
16
16
  init_cjs_shims,
17
17
  require_lib,
18
18
  require_src
19
- } from "./chunk-NET6CTRU.js";
19
+ } from "./chunk-EJC2OKCZ.js";
20
20
 
21
21
  // node_modules/semver/internal/constants.js
22
22
  var require_constants = __commonJS({
@@ -2992,16 +2992,17 @@ var Plugins = class {
2992
2992
  root,
2993
2993
  userPlugins: false
2994
2994
  });
2995
- await this.refresh({ all: true, prod: true }, plugin.root);
2996
2995
  this.isValidPlugin(plugin);
2997
2996
  await this.add({ name, type: "user", url });
2998
2997
  if (plugin.getPluginsList().find((p) => p.root === root)?.moduleType === "module" && await fileExists(join3(plugin.root, "tsconfig.json"))) {
2999
2998
  try {
2999
+ await this.yarn.exec(["install"], { ...yarnOpts, cwd: plugin.root });
3000
3000
  await this.yarn.exec(["run", "tsc"], { ...yarnOpts, cwd: plugin.root });
3001
3001
  } catch (error) {
3002
3002
  this.debug(error);
3003
3003
  }
3004
3004
  }
3005
+ await this.refresh({ all: true, prod: true }, plugin.root);
3005
3006
  } else {
3006
3007
  const range = (0, import_semver.validRange)(tag);
3007
3008
  const unfriendly = this.unfriendlyName(name);
@@ -467,5 +467,5 @@
467
467
  "enableJsonFlag": false
468
468
  }
469
469
  },
470
- "version": "0.4.3"
470
+ "version": "0.4.5"
471
471
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
@@ -11,15 +11,15 @@
11
11
  "bundle": "./bin/run.js"
12
12
  },
13
13
  "dependencies": {
14
- "@oclif/core": "3.20.1-dev.0",
15
- "@oclif/plugin-test-esm-1": "^0.7.1",
16
- "@oclif/plugin-plugins": "4.2.6-dev.0"
14
+ "@oclif/core": "^3.25.2",
15
+ "@oclif/plugin-test-esm-1": "^0.7.3",
16
+ "@oclif/plugin-plugins": "^4.3.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@oclif/prettier-config": "^0.2.1",
20
20
  "@oclif/test": "^3",
21
21
  "@types/chai": "^4",
22
- "@types/mocha": "^9.0.0",
22
+ "@types/mocha": "^10.0.0",
23
23
  "@types/node": "^18",
24
24
  "chai": "^4",
25
25
  "esbuild": "^0.20.1",
@@ -28,14 +28,11 @@
28
28
  "eslint-config-oclif-typescript": "^3",
29
29
  "eslint-config-prettier": "^9.1.0",
30
30
  "mocha": "^10",
31
- "oclif": "4.4.13-dev.1",
31
+ "oclif": "^4.5.2",
32
32
  "shx": "^0.3.4",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^5"
35
35
  },
36
- "resolutions": {
37
- "@oclif/core": "3.20.1-dev.0"
38
- },
39
36
  "engines": {
40
37
  "node": ">=18.0.0"
41
38
  },