Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
228 lines (228 loc) · 7.45 KB
/
Copy pathpackage.json
File metadata and controls
228 lines (228 loc) · 7.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
{
"name": "@norbix.ai/cli",
"version": "0.1.0",
"description": "Norbix CLI — manage your Norbix projects from the terminal. Built on the official TypeScript SDK.",
"author": "UAB Isidos",
"license": "MIT",
"homepage": "https://norbix.ai",
"repository": {
"type": "git",
"url": "git+https://github.com/norbix-code/cli.git"
},
"bugs": {
"url": "https://github.com/norbix-code/cli/issues"
},
"keywords": [
"norbix",
"cli",
"baas",
"backend",
"database",
"typescript"
],
"type": "module",
"bin": {
"norbix": "./bin/run.js"
},
"engines": {
"node": ">=22"
},
"files": [
"bin",
"dist",
"oclif.manifest.json",
"README.md",
"LICENSE"
],
"scripts": {
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
"build": "npm run clean && tsc && node -e \"require('node:fs').cpSync('src/generated','dist/generated',{recursive:true})\" && oclif manifest",
"typecheck": "tsc --noEmit",
"dev": "npm run build && node ./bin/run.js",
"prepack": "npm run build",
"postpack": "node -e \"require('node:fs').rmSync('oclif.manifest.json',{force:true})\"",
"test": "vitest run",
"test:watch": "vitest",
"pretest": "npm run build",
"gen:fields": "node scripts/gen-request-fields.mjs"
},
"dependencies": {
"@inquirer/prompts": "^8.7.2",
"@norbix.ai/ts": "^4.29.0",
"@oclif/core": "^5.0.0",
"@oclif/plugin-autocomplete": "^4.0.0",
"@oclif/plugin-help": "^7.0.0"
},
"devDependencies": {
"@oclif/test": "^5.0.0",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/github": "^12.0.9",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.1",
"@types/node": "^26.6.1",
"conventional-changelog-conventionalcommits": "^9.3.1",
"oclif": "^6.0.0",
"semantic-release": "^25.0.9",
"typescript": "^7.0.2",
"vitest": "^5.0.0"
},
"oclif": {
"bin": "norbix",
"dirname": "norbix",
"commands": "./dist/commands",
"helpClass": "./dist/help.js",
"topicSeparator": " ",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-autocomplete"
],
"topics": {
"account": {
"description": "Account profile, projects, team, usage, billing",
"subtopics": {
"me": {
"description": "Your own team-member record and phone number"
}
}
},
"ai": {
"description": "LLM and MCP server integrations, AI service users, and coding-agent setup (ai init)",
"subtopics": {
"llm": {
"description": "Create, test, turn on/off and delete an LLM integration"
},
"mcp": {
"description": "Create, test, turn on/off and delete an MCP server integration"
},
"service-user": {
"description": "Create and delete AI service users, rotate and revoke their keys"
}
}
},
"apikeys": {
"description": "Service-user API keys for scripts, CI, SDKs and agents: list, create, regenerate, revoke"
},
"email": {
"description": "Email module, integrations, footers, signatures, templates and campaigns",
"subtopics": {
"validation": {
"description": "Email-validation integrations (check addresses before a campaign sends)"
}
}
},
"code": {
"description": "Cloud functions: the functions a code integration may call, their aliases, a call by hand, a sample envelope, the last runs; the marketplace",
"subtopics": {
"marketplace": {
"description": "Marketplace: browse listings, enable and validate connections, add and call functions, the last runs",
"subtopics": {
"connections": {
"description": "Enable a listing as a connection, validate it, sign in or out, turn it on/off, replace its secrets, set who may use it, delete it",
"subtopics": {
"secrets": {
"description": "Replace the stored secrets of a connection"
},
"access": {
"description": "Who may use a connection: the access matrix, a role's package, a custom policy"
}
}
},
"functions": {
"description": "Add a function to a connection, show, call, turn on/off or delete it"
}
}
}
}
},
"config": {
"description": "Read and write the local CLI configuration"
},
"db": {
"description": "Database records, schemas, schema triggers, integrations, taxonomies and terms, test data",
"subtopics": {
"integration": {
"description": "Show, test or set the default database integration"
},
"schema": {
"description": "Show, create, change, publish or delete a database schema"
},
"term": {
"description": "Show, create, change or delete a taxonomy term; show the term tree"
},
"trigger": {
"description": "Show, create, turn on/off or delete a schema trigger"
}
}
},
"env": {
"description": "Project environments (PROD, TEST, ...): list, pick a default, promote TEST → PROD, roll back, repair built-ins",
"subtopics": {
"built-ins": {
"description": "PROD's built-in templates, footer and signature in every environment"
}
}
},
"files": {
"description": "Upload, download and manage files",
"subtopics": {
"integrations": {
"description": "Check the storage behind a files integration"
}
}
},
"logs": {
"description": "Read project logs"
},
"payments": {
"description": "Payment integrations and triggers"
},
"project": {
"description": "Project settings: name, languages, regions, CORS, admin portal, legal documents, AI chat",
"subtopics": {
"cors": {
"description": "Browser origins allowed to call the project's APIs"
},
"admin-portal": {
"description": "The end-user admin portal Norbix generates for the project"
},
"legal": {
"description": "Terms & Conditions and Privacy Policy (Markdown)"
},
"ai": {
"description": "AI chat settings, assistants and usage",
"subtopics": {
"assistant": {
"description": "Create, change and delete AI assistants"
},
"settings": {
"description": "AI chat on/off, default LLM and model"
}
}
}
}
},
"push": {
"description": "Push notification templates and campaigns"
},
"scheduler": {
"description": "Manage scheduler tasks"
},
"sms": {
"description": "SMS module, integrations, templates and campaigns"
},
"users": {
"description": "Manage project users (membership)"
},
"webhooks": {
"description": "Inspect the webhook integration and its destinations"
}
},
"hooks": {
"init": "./dist/hooks/init.js",
"command_not_found": "./dist/hooks/command-not-found.js"
}
},
"publishConfig": {
"access": "public"
}
}