@ooneex/cli 1.12.0 → 1.13.1

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/dist/index.js CHANGED
@@ -1,11 +1,8 @@
1
+ #!/usr/bin/env bun
1
2
  // @bun
2
- import {
3
- commandRun,
4
- decorator
5
- } from "./shared/chunk-qtg514z4.js";
6
- export {
7
- decorator,
8
- commandRun
9
- };
10
3
 
11
- //# debugId=1F33EC9328E0B18E64756E2164756E21
4
+ // src/index.ts
5
+ import { commandRun } from "@ooneex/command";
6
+ await commandRun();
7
+
8
+ //# debugId=04BA925698F1F76F64756E2164756E21
package/dist/index.js.map CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": [],
3
+ "sources": ["src/index.ts"],
4
4
  "sourcesContent": [
5
+ "#!/usr/bin/env bun\n\nimport { commandRun } from \"@ooneex/command\";\n\nawait commandRun();\n"
5
6
  ],
6
- "mappings": "",
7
- "debugId": "1F33EC9328E0B18E64756E2164756E21",
7
+ "mappings": ";;;;AAEA;AAEA,MAAM,WAAW;",
8
+ "debugId": "04BA925698F1F76F64756E2164756E21",
8
9
  "names": []
9
10
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ooneex/cli",
3
3
  "description": "Interactive CLI toolkit for scaffolding Ooneex projects, modules, controllers, services, repositories, and more with customizable code generation templates",
4
- "version": "1.12.0",
4
+ "version": "1.13.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -10,19 +10,15 @@
10
10
  "package.json"
11
11
  ],
12
12
  "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts",
14
13
  "exports": {
15
14
  ".": {
16
- "import": {
17
- "types": "./dist/index.d.ts",
18
- "default": "./dist/index.js"
19
- }
15
+ "import": "./dist/index.js"
20
16
  },
21
17
  "./package.json": "./package.json"
22
18
  },
23
19
  "bin": {
24
- "ooneex": "./dist/cli.js",
25
- "oo": "./dist/cli.js"
20
+ "ooneex": "./dist/index.js",
21
+ "oo": "./dist/index.js"
26
22
  },
27
23
  "keywords": [
28
24
  "bun",
@@ -47,28 +43,29 @@
47
43
  "@ooneex/ai": "^1.1.2",
48
44
  "@ooneex/analytics": "^1.1.2",
49
45
  "@ooneex/cache": "^1.1.2",
50
- "@ooneex/container": "1.2.2",
46
+ "@ooneex/command": "0.1.1",
47
+ "@ooneex/container": "1.2.4",
51
48
  "@ooneex/controller": "^1.3.0",
52
49
  "@ooneex/cron": "^1.1.2",
53
50
  "@ooneex/database": "^1.1.2",
54
- "@ooneex/exception": "1.2.0",
55
- "@ooneex/http-status": "1.1.3",
51
+ "@ooneex/exception": "1.2.2",
52
+ "@ooneex/http-status": "1.1.5",
56
53
  "@ooneex/logger": "^1.2.2",
57
54
  "@ooneex/mailer": "^1.1.2",
58
55
  "@ooneex/middleware": "^1.2.2",
59
- "@ooneex/migrations": "1.2.4",
56
+ "@ooneex/migrations": "1.3.0",
60
57
  "@ooneex/module": "^1.2.2",
61
58
  "@ooneex/permission": "^1.1.2",
62
59
  "@ooneex/repository": "^1.1.2",
63
- "@ooneex/routing": "1.3.2",
64
- "@ooneex/seeds": "1.2.4",
60
+ "@ooneex/routing": "1.3.4",
61
+ "@ooneex/seeds": "1.3.0",
65
62
  "@ooneex/service": "^1.1.2",
66
63
  "@ooneex/storage": "^1.1.2",
67
- "@ooneex/translation": "1.1.4",
68
- "@ooneex/utils": "0.4.1",
69
- "@ooneex/validation": "1.1.3"
64
+ "@ooneex/translation": "1.1.6",
65
+ "@ooneex/utils": "0.4.3",
66
+ "@ooneex/validation": "1.1.5"
70
67
  },
71
68
  "devDependencies": {
72
- "@ooneex/types": "1.1.3"
69
+ "@ooneex/types": "1.3.0"
73
70
  }
74
71
  }
package/dist/cli.js DELETED
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env bun
2
- // @bun
3
- import {
4
- commandRun
5
- } from "./shared/chunk-qtg514z4.js";
6
-
7
- // src/cli.ts
8
- await commandRun();
9
-
10
- //# debugId=38E2DE079B57DA6164756E2164756E21
package/dist/cli.js.map DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["src/cli.ts"],
4
- "sourcesContent": [
5
- "#!/usr/bin/env bun\n\nimport { commandRun } from \"./commandRun\";\n\nawait commandRun();\n"
6
- ],
7
- "mappings": ";;;;;;;AAIA,MAAM,WAAW;",
8
- "debugId": "38E2DE079B57DA6164756E2164756E21",
9
- "names": []
10
- }
package/dist/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- declare const commandRun: unknown;
2
- import { EContainerScope } from "@ooneex/container";
3
- type CommandClassType = new (...args: any[]) => ICommand;
4
- interface ICommand<Options extends Record<string, unknown> = Record<string, unknown>> {
5
- run: (options: Options) => Promise<void> | void;
6
- getName: () => string;
7
- getDescription: () => string;
8
- }
9
- declare const decorator: {
10
- command: (scope?: EContainerScope) => (command: CommandClassType) => void;
11
- };
12
- export { decorator, commandRun, ICommand, CommandClassType };