@ty_krystal/sei-ai 0.1.8 → 0.1.13
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 +34 -65
- package/dist/commands/api-docs.d.ts +1 -2
- package/dist/commands/api-docs.js +1 -1
- package/dist/commands/call.d.ts +1 -2
- package/dist/commands/call.js +1 -1
- package/dist/commands/dict/add-category.d.ts +1 -2
- package/dist/commands/dict/add-category.js +1 -1
- package/dist/commands/dict/add-item.d.ts +1 -2
- package/dist/commands/dict/add-item.js +1 -1
- package/dist/commands/dict/list.d.ts +1 -2
- package/dist/commands/dict/list.js +1 -1
- package/dist/commands/init/base-data.d.ts +1 -2
- package/dist/commands/init/base-data.js +1 -1
- package/dist/commands/query-sql.d.ts +1 -2
- package/dist/commands/query-sql.js +1 -1
- package/dist/commands/query.d.ts +1 -2
- package/dist/commands/query.js +1 -1
- package/dist/commands/relogin.d.ts +1 -2
- package/dist/commands/relogin.js +1 -1
- package/dist/commands/save.d.ts +1 -2
- package/dist/commands/save.js +1 -1
- package/dist/commands.d.ts +24 -0
- package/dist/commands.js +23 -0
- package/dist/core/cli-actions.d.ts +94 -0
- package/dist/core/cli-actions.js +155 -0
- package/dist/core/cli-helpers.d.ts +39 -0
- package/dist/core/cli-helpers.js +246 -0
- package/dist/core/command-base/context.d.ts +6 -0
- package/dist/core/command-base/context.js +10 -0
- package/dist/core/command-base/output.d.ts +2 -0
- package/dist/core/command-base/output.js +6 -0
- package/dist/core/command-base/payload.d.ts +7 -0
- package/dist/core/command-base/payload.js +33 -0
- package/dist/core/command-base/sei-command.d.ts +40 -0
- package/dist/core/command-base/sei-command.js +85 -0
- package/dist/core/config.d.ts +3 -0
- package/dist/core/config.js +80 -0
- package/dist/core/constants.d.ts +35 -0
- package/dist/core/constants.js +48 -0
- package/dist/core/env.d.ts +1 -0
- package/dist/core/env.js +55 -0
- package/dist/core/errors.d.ts +10 -0
- package/dist/core/errors.js +55 -0
- package/dist/core/index.d.ts +14 -0
- package/dist/core/index.js +14 -0
- package/dist/core/logger.d.ts +2 -0
- package/dist/core/logger.js +71 -0
- package/dist/core/openapi.d.ts +2 -0
- package/dist/core/openapi.js +261 -0
- package/dist/core/sei-client.d.ts +25 -0
- package/dist/core/sei-client.js +524 -0
- package/dist/core/types.d.ts +135 -0
- package/dist/core/types.js +1 -0
- package/dist/core/utils.d.ts +12 -0
- package/dist/core/utils.js +53 -0
- package/dist/hooks/command_not_found.d.ts +3 -0
- package/dist/hooks/command_not_found.js +36 -0
- package/oclif.manifest.json +361 -423
- package/package.json +18 -8
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ty_krystal/sei-ai",
|
|
3
3
|
"description": "SEI CLI generated with oclif",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.13",
|
|
5
5
|
"author": "tanyu",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sei-ai": "./bin/run.js"
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@oclif/core": "^4",
|
|
12
12
|
"@oclif/plugin-help": "^6",
|
|
13
|
-
"@oclif/plugin-plugins": "^5"
|
|
14
|
-
"@ty_krystal/sei-ai-core": "^0.1.0"
|
|
13
|
+
"@oclif/plugin-plugins": "^5"
|
|
15
14
|
},
|
|
16
15
|
"devDependencies": {
|
|
17
16
|
"@eslint/compat": "^1",
|
|
@@ -27,6 +26,7 @@
|
|
|
27
26
|
"mocha": "^11",
|
|
28
27
|
"oclif": "^4",
|
|
29
28
|
"shx": "^0.3.4",
|
|
29
|
+
"tsx": "^4.22.0",
|
|
30
30
|
"ts-node": "^10",
|
|
31
31
|
"typescript": "^5"
|
|
32
32
|
},
|
|
@@ -42,14 +42,24 @@
|
|
|
42
42
|
"./oclif.manifest.json"
|
|
43
43
|
],
|
|
44
44
|
"homepage": "https://github.com/tanyu/sei-ai",
|
|
45
|
-
"keywords": [
|
|
45
|
+
"keywords": [
|
|
46
|
+
"oclif",
|
|
47
|
+
"sei",
|
|
48
|
+
"cli"
|
|
49
|
+
],
|
|
46
50
|
"license": "MIT",
|
|
47
51
|
"main": "dist/index.js",
|
|
48
52
|
"type": "module",
|
|
49
53
|
"oclif": {
|
|
50
54
|
"bin": "sei-ai",
|
|
51
55
|
"dirname": "sei-ai",
|
|
52
|
-
"commands":
|
|
56
|
+
"commands": {
|
|
57
|
+
"strategy": "explicit",
|
|
58
|
+
"target": "./dist/commands.js"
|
|
59
|
+
},
|
|
60
|
+
"hooks": {
|
|
61
|
+
"command_not_found": "./dist/hooks/command_not_found.js"
|
|
62
|
+
},
|
|
53
63
|
"plugins": [
|
|
54
64
|
"@oclif/plugin-help",
|
|
55
65
|
"@oclif/plugin-plugins"
|
|
@@ -61,17 +71,17 @@
|
|
|
61
71
|
"url": "git+https://github.com/tanyu/sei-ai.git"
|
|
62
72
|
},
|
|
63
73
|
"scripts": {
|
|
64
|
-
"build": "
|
|
74
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
65
75
|
"dev": "node ./bin/dev.js",
|
|
66
76
|
"lint": "eslint",
|
|
67
77
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
68
78
|
"posttest": "pnpm run lint",
|
|
69
|
-
"prepack": "oclif manifest && oclif readme",
|
|
79
|
+
"prepack": "pnpm run build && oclif manifest && oclif readme",
|
|
70
80
|
"prepublishOnly": "pnpm run build",
|
|
71
81
|
"publish:npm": "npm publish --access public",
|
|
72
82
|
"start": "node ./bin/run.js",
|
|
73
83
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
74
|
-
"test": "pnpm
|
|
84
|
+
"test": "pnpm run build && node --import tsx --test test/**/*.test.ts",
|
|
75
85
|
"version": "oclif readme && git add README.md"
|
|
76
86
|
},
|
|
77
87
|
"types": "dist/index.d.ts"
|