@norbix.ai/cli 0.1.0 → 0.2.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.
Files changed (41) hide show
  1. package/README.md +125 -13
  2. package/dist/base.js +92 -23
  3. package/dist/commands/api.js +15 -81
  4. package/dist/commands/configure.js +68 -0
  5. package/dist/commands/env/use.js +36 -7
  6. package/dist/commands/files/delete.js +1 -1
  7. package/dist/commands/files/download.js +1 -1
  8. package/dist/commands/files/info.js +1 -1
  9. package/dist/commands/files/list.js +1 -1
  10. package/dist/commands/files/publish.js +38 -0
  11. package/dist/commands/files/sign.js +1 -1
  12. package/dist/commands/files/unpublish.js +34 -0
  13. package/dist/commands/files/upload.js +1 -1
  14. package/dist/commands/hub.js +24 -0
  15. package/dist/commands/login.js +82 -36
  16. package/dist/commands/logout.js +11 -13
  17. package/dist/commands/profiles.js +25 -0
  18. package/dist/commands/push/archive.js +4 -1
  19. package/dist/commands/push/clone.js +4 -1
  20. package/dist/commands/push/delete.js +4 -1
  21. package/dist/commands/push/device/register.js +35 -0
  22. package/dist/commands/push/integration/default.js +19 -0
  23. package/dist/commands/push/integration/delete.js +28 -0
  24. package/dist/commands/push/integration/disable.js +19 -0
  25. package/dist/commands/push/integration/enable.js +19 -0
  26. package/dist/commands/push/integration/test.js +30 -0
  27. package/dist/commands/push/integration.js +16 -0
  28. package/dist/commands/push/integrations.js +20 -0
  29. package/dist/commands/push/preview.js +19 -0
  30. package/dist/commands/push/settings.js +16 -0
  31. package/dist/commands/push/unarchive.js +4 -1
  32. package/dist/commands/raw.js +86 -0
  33. package/dist/commands/whoami.js +25 -8
  34. package/dist/help.js +18 -0
  35. package/dist/lib/device-login.js +76 -0
  36. package/dist/lib/dispatch.js +151 -0
  37. package/dist/lib/namespace-command.js +148 -0
  38. package/dist/lib/profiles.js +138 -0
  39. package/dist/lib/publicFiles.js +63 -0
  40. package/oclif.manifest.json +3166 -725
  41. package/package.json +24 -12
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@norbix.ai/cli",
3
- "version": "0.1.0",
3
+ "version": "0.2.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.dev",
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": ">=18"
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.0.0",
47
- "@norbix.ai/ts": "^1.2.0",
48
- "@oclif/core": "^4.0.0",
49
- "@oclif/plugin-autocomplete": "^3.0.0",
50
- "@oclif/plugin-help": "^6.0.0"
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
- "@types/node": "^22.7.0",
54
- "oclif": "^4.0.0",
55
- "typescript": "^5.6.3"
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",