@norbix.ai/cli 0.1.0 → 0.3.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/README.md +148 -13
- package/dist/base.js +92 -23
- package/dist/commands/api.js +15 -81
- package/dist/commands/configure.js +68 -0
- package/dist/commands/env/use.js +36 -7
- package/dist/commands/files/delete.js +1 -1
- package/dist/commands/files/download.js +1 -1
- package/dist/commands/files/info.js +1 -1
- package/dist/commands/files/integrations/test.js +85 -0
- package/dist/commands/files/list.js +1 -1
- package/dist/commands/files/publish.js +38 -0
- package/dist/commands/files/sign.js +1 -1
- package/dist/commands/files/unpublish.js +34 -0
- package/dist/commands/files/upload.js +1 -1
- package/dist/commands/hub.js +24 -0
- package/dist/commands/login.js +82 -36
- package/dist/commands/logout.js +11 -13
- package/dist/commands/profiles.js +25 -0
- package/dist/commands/push/archive.js +4 -1
- package/dist/commands/push/clone.js +4 -1
- package/dist/commands/push/delete.js +4 -1
- package/dist/commands/push/device/register.js +35 -0
- package/dist/commands/push/integration/default.js +19 -0
- package/dist/commands/push/integration/delete.js +28 -0
- package/dist/commands/push/integration/disable.js +19 -0
- package/dist/commands/push/integration/enable.js +19 -0
- package/dist/commands/push/integration/test.js +30 -0
- package/dist/commands/push/integration.js +16 -0
- package/dist/commands/push/integrations.js +20 -0
- package/dist/commands/push/preview.js +19 -0
- package/dist/commands/push/settings.js +16 -0
- package/dist/commands/push/unarchive.js +4 -1
- package/dist/commands/raw.js +86 -0
- package/dist/commands/whoami.js +25 -8
- package/dist/help.js +18 -0
- package/dist/lib/device-login.js +76 -0
- package/dist/lib/dispatch.js +151 -0
- package/dist/lib/filesIntegrationTest.js +57 -0
- package/dist/lib/namespace-command.js +148 -0
- package/dist/lib/profiles.js +138 -0
- package/dist/lib/publicFiles.js +63 -0
- package/oclif.manifest.json +3272 -737
- package/package.json +30 -13
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norbix.ai/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Norbix CLI — manage your Norbix projects from the terminal. Built on the official TypeScript SDK.",
|
|
5
5
|
"author": "UAB Isidos",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"homepage": "https://norbix.
|
|
7
|
+
"homepage": "https://norbix.ai",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/norbix-code/cli.git"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"norbix": "./bin/run.js"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=22"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"bin",
|
|
@@ -40,24 +40,36 @@
|
|
|
40
40
|
"typecheck": "tsc --noEmit",
|
|
41
41
|
"dev": "npm run build && node ./bin/run.js",
|
|
42
42
|
"prepack": "npm run build && oclif manifest",
|
|
43
|
-
"postpack": "node -e \"require('node:fs').rmSync('oclif.manifest.json',{force:true})\""
|
|
43
|
+
"postpack": "node -e \"require('node:fs').rmSync('oclif.manifest.json',{force:true})\"",
|
|
44
|
+
"test": "vitest run",
|
|
45
|
+
"test:watch": "vitest",
|
|
46
|
+
"pretest": "npm run build"
|
|
44
47
|
},
|
|
45
48
|
"dependencies": {
|
|
46
|
-
"@inquirer/prompts": "^7.
|
|
47
|
-
"@norbix.ai/ts": "^1.
|
|
48
|
-
"@oclif/core": "^
|
|
49
|
-
"@oclif/plugin-autocomplete": "^
|
|
50
|
-
"@oclif/plugin-help": "^
|
|
49
|
+
"@inquirer/prompts": "^8.7.2",
|
|
50
|
+
"@norbix.ai/ts": "^1.3.0",
|
|
51
|
+
"@oclif/core": "^5.0.0",
|
|
52
|
+
"@oclif/plugin-autocomplete": "^4.0.0",
|
|
53
|
+
"@oclif/plugin-help": "^7.0.0"
|
|
51
54
|
},
|
|
52
55
|
"devDependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
+
"@oclif/test": "^5.0.0",
|
|
57
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
58
|
+
"@semantic-release/github": "^12.0.9",
|
|
59
|
+
"@semantic-release/npm": "^13.1.5",
|
|
60
|
+
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
61
|
+
"@types/node": "^26.6.1",
|
|
62
|
+
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
63
|
+
"oclif": "^6.0.0",
|
|
64
|
+
"semantic-release": "^25.0.9",
|
|
65
|
+
"typescript": "^7.0.2",
|
|
66
|
+
"vitest": "^5.0.0"
|
|
56
67
|
},
|
|
57
68
|
"oclif": {
|
|
58
69
|
"bin": "norbix",
|
|
59
70
|
"dirname": "norbix",
|
|
60
71
|
"commands": "./dist/commands",
|
|
72
|
+
"helpClass": "./dist/help.js",
|
|
61
73
|
"topicSeparator": " ",
|
|
62
74
|
"plugins": [
|
|
63
75
|
"@oclif/plugin-help",
|
|
@@ -80,7 +92,12 @@
|
|
|
80
92
|
"description": "Work with database collections (find, insert, update, delete)"
|
|
81
93
|
},
|
|
82
94
|
"files": {
|
|
83
|
-
"description": "Upload, download and manage files"
|
|
95
|
+
"description": "Upload, download and manage files",
|
|
96
|
+
"subtopics": {
|
|
97
|
+
"integrations": {
|
|
98
|
+
"description": "Check the storage behind a files integration"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
84
101
|
},
|
|
85
102
|
"env": {
|
|
86
103
|
"description": "Manage project environments (PROD, TEST, ...)"
|