kourou 1.5.0-dev.1 → 1.5.0-dev.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/bin/run +5 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -27,7 +27,7 @@ $ npm install -g kourou
27
27
  $ kourou COMMAND
28
28
  running command...
29
29
  $ kourou (--version)
30
- kourou/1.5.0-dev.1 linux-x64 node-v24.20.0
30
+ kourou/1.5.0-dev.2 linux-x64 node-v24.20.0
31
31
  $ kourou --help [COMMAND]
32
32
  USAGE
33
33
  $ kourou COMMAND
package/bin/run CHANGED
@@ -1,7 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const oclif = require('@oclif/core')
4
-
5
3
  /**
6
4
  * oclif v1 accepted -v as an alias for --version, @oclif/core does not, and a
7
5
  * script calling `kourou -v` would print nothing at all rather than fail.
@@ -14,4 +12,8 @@ if (process.argv[2] === '-v') {
14
12
  process.argv[2] = '--version'
15
13
  }
16
14
 
17
- oclif.run().then(oclif.flush).catch(oclif.handle)
15
+ void (async () => {
16
+ const oclif = await import('@oclif/core')
17
+
18
+ await oclif.execute({ dir: __dirname })
19
+ })()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kourou",
3
3
  "description": "The CLI that helps you manage your Kuzzle instances",
4
- "version": "1.5.0-dev.1",
4
+ "version": "1.5.0-dev.2",
5
5
  "author": "The Kuzzle Team <support@kuzzle.io>",
6
6
  "bin": {
7
7
  "kourou": "./bin/run"