@conduit-client/tools 2.0.0 → 2.1.0

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/bin/dev.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\dev.js" %*
package/bin/dev.js ADDED
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env ts-node
2
+
3
+ import path from 'node:path';
4
+ import url from 'node:url';
5
+ import oclif from '@oclif/core';
6
+ import { register } from 'ts-node';
7
+
8
+ // In dev mode -> use ts-node and dev plugins
9
+ process.env.NODE_ENV = 'development';
10
+
11
+ register({
12
+ project: path.join(path.dirname(url.fileURLToPath(import.meta.url)), '..', 'tsconfig.json'),
13
+ });
14
+
15
+ // In dev mode, always show stack traces
16
+ oclif.settings.debug = true;
17
+
18
+ // Start the CLI
19
+ oclif
20
+ .run(process.argv.slice(2), import.meta.url)
21
+ .then(oclif.flush)
22
+ .catch(oclif.Errors.handle);
package/bin/run.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\run.js" %*
package/bin/run.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+
3
+ import oclif from '@oclif/core';
4
+
5
+ oclif
6
+ .run(process.argv.slice(2), import.meta.url)
7
+ .then(oclif.flush)
8
+ .catch(oclif.Errors.handle);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduit-client/tools",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "CLI for Luvio Code Generation",
5
5
  "keywords": [
6
6
  "oclif"
@@ -28,7 +28,7 @@
28
28
  "test": "vitest run"
29
29
  },
30
30
  "dependencies": {
31
- "@conduit-client/tools-core": "2.0.0",
31
+ "@conduit-client/tools-core": "2.1.0",
32
32
  "@oclif/core": "2.6.4",
33
33
  "chalk": "^5.2.0"
34
34
  },