@oclif/plugin-test-esbuild 0.1.4 → 0.1.6

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 CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @oclif/plugin-test-esbuild
18
18
  $ bundle COMMAND
19
19
  running command...
20
20
  $ bundle (--version)
21
- @oclif/plugin-test-esbuild/0.1.4 linux-x64 node-v20.11.0
21
+ @oclif/plugin-test-esbuild/0.1.6 linux-x64 node-v20.11.0
22
22
  $ bundle --help [COMMAND]
23
23
  USAGE
24
24
  $ bundle COMMAND
@@ -137,7 +137,7 @@ EXAMPLES
137
137
  $ bundle plugins
138
138
  ```
139
139
 
140
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.1/src/commands/plugins/index.ts)_
140
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/index.ts)_
141
141
 
142
142
  ## `bundle plugins:install PLUGIN...`
143
143
 
@@ -206,7 +206,7 @@ EXAMPLES
206
206
  $ bundle plugins inspect myplugin
207
207
  ```
208
208
 
209
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.1/src/commands/plugins/inspect.ts)_
209
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/inspect.ts)_
210
210
 
211
211
  ## `bundle plugins:install PLUGIN...`
212
212
 
@@ -250,7 +250,7 @@ EXAMPLES
250
250
  $ bundle plugins install someuser/someplugin
251
251
  ```
252
252
 
253
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.1/src/commands/plugins/install.ts)_
253
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/install.ts)_
254
254
 
255
255
  ## `bundle plugins:link PLUGIN`
256
256
 
@@ -280,7 +280,7 @@ EXAMPLES
280
280
  $ bundle plugins link myplugin
281
281
  ```
282
282
 
283
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.1/src/commands/plugins/link.ts)_
283
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/link.ts)_
284
284
 
285
285
  ## `bundle plugins:uninstall PLUGIN...`
286
286
 
@@ -321,7 +321,7 @@ FLAGS
321
321
  --reinstall Reinstall all plugins after uninstalling.
322
322
  ```
323
323
 
324
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.1/src/commands/plugins/reset.ts)_
324
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/reset.ts)_
325
325
 
326
326
  ## `bundle plugins:uninstall PLUGIN...`
327
327
 
@@ -349,7 +349,7 @@ EXAMPLES
349
349
  $ bundle plugins uninstall myplugin
350
350
  ```
351
351
 
352
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.1/src/commands/plugins/uninstall.ts)_
352
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/uninstall.ts)_
353
353
 
354
354
  ## `bundle plugins:uninstall PLUGIN...`
355
355
 
@@ -393,5 +393,5 @@ DESCRIPTION
393
393
  Update installed plugins.
394
394
  ```
395
395
 
396
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.1/src/commands/plugins/update.ts)_
396
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.2/src/commands/plugins/update.ts)_
397
397
  <!-- commandsstop -->
@@ -68,5 +68,5 @@
68
68
  "enableJsonFlag": false
69
69
  }
70
70
  },
71
- "version": "0.1.4"
71
+ "version": "0.1.6"
72
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-esbuild",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Bundled plugin for testing",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/plugin-test-esbuild/issues",
@@ -29,7 +29,7 @@
29
29
  "eslint-config-prettier": "^9.1.0",
30
30
  "mocha": "^10",
31
31
  "oclif": "4.4.13-dev.0",
32
- "shx": "^0.3.3",
32
+ "shx": "^0.3.4",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "^5"
35
35
  },
@@ -75,7 +75,7 @@
75
75
  "repository": "oclif/plugin-test-esbuild",
76
76
  "scripts": {
77
77
  "build": "shx rm -rf dist && tsc -b",
78
- "bundle": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js",
78
+ "bundle": "shx rm -rf dist && esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js",
79
79
  "lint": "eslint . --ext .ts",
80
80
  "postpack": "shx rm -f oclif.manifest.json",
81
81
  "posttest": "yarn lint",
@@ -1,12 +0,0 @@
1
- import { Command } from '@oclif/core';
2
- export default class Hello extends Command {
3
- static args: {
4
- person: import("@oclif/core/lib/interfaces").Arg<string, Record<string, unknown>>;
5
- };
6
- static description: string;
7
- static examples: string[];
8
- static flags: {
9
- from: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
10
- };
11
- run(): Promise<void>;
12
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const core_1 = require("@oclif/core");
4
- class Hello extends core_1.Command {
5
- static args = {
6
- person: core_1.Args.string({ description: 'Person to say hello to', required: true }),
7
- };
8
- static description = 'Say hello';
9
- static examples = [
10
- `$ oex hello friend --from oclif
11
- hello friend from oclif! (./src/commands/hello/index.ts)
12
- `,
13
- ];
14
- static flags = {
15
- from: core_1.Flags.string({ char: 'f', description: 'Who is saying hello', required: true }),
16
- };
17
- async run() {
18
- const { args, flags } = await this.parse(Hello);
19
- this.log(`hello ${args.person} from ${flags.from}! (./src/commands/hello/index.ts)`);
20
- }
21
- }
22
- exports.default = Hello;
@@ -1,8 +0,0 @@
1
- import { Command } from '@oclif/core';
2
- export default class World extends Command {
3
- static args: {};
4
- static description: string;
5
- static examples: string[];
6
- static flags: {};
7
- run(): Promise<void>;
8
- }
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const core_1 = require("@oclif/core");
4
- class World extends core_1.Command {
5
- static args = {};
6
- static description = 'Say hello world';
7
- static examples = [
8
- `<%= config.bin %> <%= command.id %>
9
- hello world! (./src/commands/hello/world.ts)
10
- `,
11
- ];
12
- static flags = {};
13
- async run() {
14
- this.log('hello world! (./src/commands/hello/world.ts)');
15
- }
16
- }
17
- exports.default = World;
@@ -1,3 +0,0 @@
1
- import { Hook } from '@oclif/core';
2
- declare const hook: Hook<'init'>;
3
- export default hook;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const hook = async function (opts) {
4
- process.stdout.write(`example hook running ${opts.id}\n`);
5
- };
6
- exports.default = hook;
package/dist/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import Hello from './commands/hello';
2
- import HelloWorld from './commands/hello/world';
3
- export { default as INIT_HOOK } from './hooks/init/init';
4
- export declare const COMMANDS: {
5
- hello: typeof Hello;
6
- 'hello:alias': typeof HelloWorld;
7
- 'hello:world': typeof HelloWorld;
8
- };