@hed-hog/developer-mode 0.0.194 → 0.0.197
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/developermode.controller.d.ts.map +1 -1
- package/dist/developermode.controller.js +0 -2
- package/dist/developermode.controller.js.map +1 -1
- package/hedhog/frontend/app/components/data.tsx.ejs +557 -0
- package/hedhog/frontend/app/components/icons.tsx.ejs +159 -0
- package/hedhog/frontend/app/components/sections.tsx.ejs +1251 -0
- package/hedhog/frontend/app/components/types.ts.ejs +86 -0
- package/hedhog/frontend/app/layout.tsx.ejs +10 -0
- package/hedhog/frontend/app/page.tsx.ejs +247 -0
- package/hedhog/frontend/app/provider.tsx.ejs +95 -0
- package/hedhog/frontend/messages/en.json +374 -0
- package/hedhog/frontend/messages/pt.json +374 -0
- package/package.json +3 -3
- package/src/developermode.controller.ts +0 -1
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Page": {
|
|
3
|
+
"header": {
|
|
4
|
+
"title": "Developer Mode",
|
|
5
|
+
"description": "Manage your applications, libraries, and database all in one place.",
|
|
6
|
+
"breadcrumbs": {
|
|
7
|
+
"home": "Home",
|
|
8
|
+
"current": "Developer Mode"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"states": {
|
|
12
|
+
"loading": "Loading developer info...",
|
|
13
|
+
"error": "Error loading developer mode data: {message}"
|
|
14
|
+
},
|
|
15
|
+
"fallback": {
|
|
16
|
+
"na": "N/A",
|
|
17
|
+
"repository": "Repository"
|
|
18
|
+
},
|
|
19
|
+
"wizard": {
|
|
20
|
+
"runScript": {
|
|
21
|
+
"title": "Run {scriptName}",
|
|
22
|
+
"progressTitle": "Running {scriptName}",
|
|
23
|
+
"progressDescription": "Executing npm run {scriptName} in @hedhog/{libraryName}"
|
|
24
|
+
},
|
|
25
|
+
"installLibrary": {
|
|
26
|
+
"title": "Install @hedhog/{libraryName}",
|
|
27
|
+
"infoTitle": "Installation",
|
|
28
|
+
"infoDescription": "Installing @hedhog/{libraryName}...\n\n{libraryDescription}",
|
|
29
|
+
"progressTitle": "Installing",
|
|
30
|
+
"progressDescription": "Installing package and dependencies..."
|
|
31
|
+
},
|
|
32
|
+
"updateLibrary": {
|
|
33
|
+
"title": "Update @hedhog/{libraryName}",
|
|
34
|
+
"infoTitle": "Update",
|
|
35
|
+
"infoDescription": "Updating @hedhog/{libraryName} (current: v{version})",
|
|
36
|
+
"progressTitle": "Updating",
|
|
37
|
+
"progressDescription": "Updating package..."
|
|
38
|
+
},
|
|
39
|
+
"appScript": {
|
|
40
|
+
"title": "Run {script} - {appName}",
|
|
41
|
+
"progressTitle": "Running {script}",
|
|
42
|
+
"progressDescription": "Executing npm run {script} in {appPath}"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"wizards": {
|
|
46
|
+
"createModule": {
|
|
47
|
+
"title": "Create New Module",
|
|
48
|
+
"steps": {
|
|
49
|
+
"intro": {
|
|
50
|
+
"title": "Introduction",
|
|
51
|
+
"description": "This wizard will guide you through creating a new HedHog module.\n\nA module is a self-contained package that provides specific functionality to your application. It includes:\n\n- Database migrations\n- API endpoints\n- Type definitions\n- Tests"
|
|
52
|
+
},
|
|
53
|
+
"config": {
|
|
54
|
+
"title": "Module Configuration",
|
|
55
|
+
"description": "Enter the module details"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"title": "Select Dependencies",
|
|
59
|
+
"description": "Choose which existing modules this new module will depend on:"
|
|
60
|
+
},
|
|
61
|
+
"progress": {
|
|
62
|
+
"title": "Creating Module",
|
|
63
|
+
"description": "Creating your new module..."
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"fields": {
|
|
67
|
+
"moduleName": {
|
|
68
|
+
"label": "Module Name",
|
|
69
|
+
"placeholder": "e.g., my-module"
|
|
70
|
+
},
|
|
71
|
+
"description": {
|
|
72
|
+
"label": "Description",
|
|
73
|
+
"placeholder": "Brief description of the module"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"addModule": {
|
|
78
|
+
"title": "Add Existing Module",
|
|
79
|
+
"steps": {
|
|
80
|
+
"select": {
|
|
81
|
+
"title": "Select Module",
|
|
82
|
+
"description": "Choose a module to add to your project:"
|
|
83
|
+
},
|
|
84
|
+
"progress": {
|
|
85
|
+
"title": "Installing Module",
|
|
86
|
+
"description": "Installing the selected module..."
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"resetModules": {
|
|
91
|
+
"title": "Reset All Modules",
|
|
92
|
+
"steps": {
|
|
93
|
+
"warning": {
|
|
94
|
+
"title": "Warning",
|
|
95
|
+
"description": "This action will reset all modules to their default state.\n\nThis includes:\n- Dropping all module tables\n- Re-running all migrations\n- Clearing cached data\n\nThis action cannot be undone. Make sure you have a backup before proceeding."
|
|
96
|
+
},
|
|
97
|
+
"progress": {
|
|
98
|
+
"title": "Resetting Modules",
|
|
99
|
+
"description": "Resetting all modules..."
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"updateTypes": {
|
|
104
|
+
"title": "Update Types from Database",
|
|
105
|
+
"steps": {
|
|
106
|
+
"info": {
|
|
107
|
+
"title": "Sync Types",
|
|
108
|
+
"description": "This will generate TypeScript types based on your current database schema.\n\nThe following files will be updated:\n- types/database.ts\n- types/models.ts\n- prisma/schema.prisma"
|
|
109
|
+
},
|
|
110
|
+
"progress": {
|
|
111
|
+
"title": "Generating Types",
|
|
112
|
+
"description": "Generating types from database..."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"deployMigrations": {
|
|
117
|
+
"title": "Deploy Migrations",
|
|
118
|
+
"steps": {
|
|
119
|
+
"info": {
|
|
120
|
+
"title": "Run Migrations",
|
|
121
|
+
"description": "This will execute all pending database migrations.\n\nMake sure your database is accessible and you have the necessary permissions."
|
|
122
|
+
},
|
|
123
|
+
"progress": {
|
|
124
|
+
"title": "Running Migrations",
|
|
125
|
+
"description": "Executing migrations..."
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"deployLibrary": {
|
|
130
|
+
"title": "Deploy Library",
|
|
131
|
+
"steps": {
|
|
132
|
+
"select": {
|
|
133
|
+
"title": "Select Library",
|
|
134
|
+
"description": "Choose a library from the local libraries folder to deploy:"
|
|
135
|
+
},
|
|
136
|
+
"progress": {
|
|
137
|
+
"title": "Deploying Library",
|
|
138
|
+
"description": "Building and deploying the library..."
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"generateCrud": {
|
|
143
|
+
"title": "Generate CRUD",
|
|
144
|
+
"steps": {
|
|
145
|
+
"config": {
|
|
146
|
+
"title": "CRUD Configuration",
|
|
147
|
+
"description": "Enter the entity details"
|
|
148
|
+
},
|
|
149
|
+
"progress": {
|
|
150
|
+
"title": "Generating CRUD",
|
|
151
|
+
"description": "Generating CRUD operations..."
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"fields": {
|
|
155
|
+
"entityName": {
|
|
156
|
+
"label": "Entity Name",
|
|
157
|
+
"placeholder": "e.g., Product"
|
|
158
|
+
},
|
|
159
|
+
"tableName": {
|
|
160
|
+
"label": "Table Name",
|
|
161
|
+
"placeholder": "e.g., products"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"syncPrisma": {
|
|
166
|
+
"title": "Sync Prisma Schema",
|
|
167
|
+
"steps": {
|
|
168
|
+
"info": {
|
|
169
|
+
"title": "Sync Prisma",
|
|
170
|
+
"description": "This will synchronize your Prisma schema with the database.\n\nOperations:\n- prisma db pull\n- prisma generate\n- Update type definitions"
|
|
171
|
+
},
|
|
172
|
+
"progress": {
|
|
173
|
+
"title": "Syncing Prisma",
|
|
174
|
+
"description": "Synchronizing Prisma schema..."
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"moduleOptions": {
|
|
180
|
+
"core": "Core utilities and base functionality",
|
|
181
|
+
"contact": "Contact management module",
|
|
182
|
+
"contactUs": "Contact form handling",
|
|
183
|
+
"faq": "FAQ management with categories",
|
|
184
|
+
"tag": "Tagging system for content",
|
|
185
|
+
"content": "Rich content management",
|
|
186
|
+
"category": "Hierarchical categories"
|
|
187
|
+
},
|
|
188
|
+
"mock": {
|
|
189
|
+
"apps": {
|
|
190
|
+
"api": {
|
|
191
|
+
"description": "Main backend API with authentication, CRUD operations, and business logic"
|
|
192
|
+
},
|
|
193
|
+
"admin": {
|
|
194
|
+
"description": "Admin dashboard for content management and system configuration"
|
|
195
|
+
},
|
|
196
|
+
"mobile": {
|
|
197
|
+
"description": "Mobile application for iOS and Android using React Native with Expo"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"commits": {
|
|
201
|
+
"one": {
|
|
202
|
+
"message": "feat: add new contact module endpoints",
|
|
203
|
+
"date": "2h ago"
|
|
204
|
+
},
|
|
205
|
+
"two": {
|
|
206
|
+
"message": "fix: resolve database connection issue",
|
|
207
|
+
"date": "5h ago"
|
|
208
|
+
},
|
|
209
|
+
"three": {
|
|
210
|
+
"message": "chore: update dependencies",
|
|
211
|
+
"date": "1d ago"
|
|
212
|
+
},
|
|
213
|
+
"four": {
|
|
214
|
+
"message": "docs: update README with new setup instructions",
|
|
215
|
+
"date": "2d ago"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"libraries": {
|
|
219
|
+
"core": {
|
|
220
|
+
"description": "Core utilities and base functionality for HedHog modules"
|
|
221
|
+
},
|
|
222
|
+
"contact": {
|
|
223
|
+
"description": "Contact management module with CRUD operations"
|
|
224
|
+
},
|
|
225
|
+
"contactUs": {
|
|
226
|
+
"description": "Contact form handling with email notifications"
|
|
227
|
+
},
|
|
228
|
+
"faq": {
|
|
229
|
+
"description": "FAQ management with categories and search"
|
|
230
|
+
},
|
|
231
|
+
"tag": {
|
|
232
|
+
"description": "Tagging system for content organization"
|
|
233
|
+
},
|
|
234
|
+
"content": {
|
|
235
|
+
"description": "Rich content management with markdown and media support"
|
|
236
|
+
},
|
|
237
|
+
"category": {
|
|
238
|
+
"description": "Hierarchical category management"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"Sections": {
|
|
244
|
+
"stats": {
|
|
245
|
+
"node": "Node.js",
|
|
246
|
+
"disk": "Disk",
|
|
247
|
+
"apps": "Apps",
|
|
248
|
+
"libraries": "Libraries",
|
|
249
|
+
"dbConnections": "DB Conn.",
|
|
250
|
+
"branch": "Branch",
|
|
251
|
+
"commit": "Commit",
|
|
252
|
+
"uptime": "Uptime"
|
|
253
|
+
},
|
|
254
|
+
"quickActions": {
|
|
255
|
+
"title": "Quick Actions",
|
|
256
|
+
"createModule": {
|
|
257
|
+
"label": "New Module",
|
|
258
|
+
"description": "Create a new HedHog module"
|
|
259
|
+
},
|
|
260
|
+
"addModule": {
|
|
261
|
+
"label": "Add Module",
|
|
262
|
+
"description": "Add existing module"
|
|
263
|
+
},
|
|
264
|
+
"resetModules": {
|
|
265
|
+
"label": "Reset All",
|
|
266
|
+
"description": "Reset all modules"
|
|
267
|
+
},
|
|
268
|
+
"updateTypes": {
|
|
269
|
+
"label": "Update Types",
|
|
270
|
+
"description": "Sync types from DB"
|
|
271
|
+
},
|
|
272
|
+
"deployMigrations": {
|
|
273
|
+
"label": "Migrations",
|
|
274
|
+
"description": "Deploy migrations"
|
|
275
|
+
},
|
|
276
|
+
"deployLibrary": {
|
|
277
|
+
"label": "Deploy Lib",
|
|
278
|
+
"description": "Deploy a library"
|
|
279
|
+
},
|
|
280
|
+
"generateCrud": {
|
|
281
|
+
"label": "Gen CRUD",
|
|
282
|
+
"description": "Generate CRUD ops"
|
|
283
|
+
},
|
|
284
|
+
"syncPrisma": {
|
|
285
|
+
"label": "Sync Prisma",
|
|
286
|
+
"description": "Sync Prisma schema"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"framework": {
|
|
290
|
+
"nestjs": "NestJS API",
|
|
291
|
+
"nextjs": "Next.js",
|
|
292
|
+
"angular": "Angular",
|
|
293
|
+
"vue": "Vue.js",
|
|
294
|
+
"react-native": "React Native",
|
|
295
|
+
"expo": "Expo"
|
|
296
|
+
},
|
|
297
|
+
"status": {
|
|
298
|
+
"running": "Running",
|
|
299
|
+
"stopped": "Stopped",
|
|
300
|
+
"error": "Error"
|
|
301
|
+
},
|
|
302
|
+
"apps": {
|
|
303
|
+
"title": "Applications",
|
|
304
|
+
"description": "Apps found in the /apps directory",
|
|
305
|
+
"total": "{count} apps",
|
|
306
|
+
"actions": {
|
|
307
|
+
"dev": "Dev",
|
|
308
|
+
"build": "Build"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"libraries": {
|
|
312
|
+
"title": "HedHog Libraries",
|
|
313
|
+
"installedCount": "{installed} of {total} installed",
|
|
314
|
+
"updates": "({count} updates)",
|
|
315
|
+
"availableScripts": "Available Scripts",
|
|
316
|
+
"actions": {
|
|
317
|
+
"newLibrary": "New Library",
|
|
318
|
+
"scripts": "Scripts",
|
|
319
|
+
"update": "Update",
|
|
320
|
+
"install": "Install"
|
|
321
|
+
},
|
|
322
|
+
"menu": {
|
|
323
|
+
"viewNpm": "View on npm",
|
|
324
|
+
"configure": "Configure",
|
|
325
|
+
"uninstall": "Uninstall"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"git": {
|
|
329
|
+
"repository": "Git Repository",
|
|
330
|
+
"branches": "{count} branches",
|
|
331
|
+
"openPrs": "{count} open PRs",
|
|
332
|
+
"recentCommits": "Recent Commits"
|
|
333
|
+
},
|
|
334
|
+
"database": {
|
|
335
|
+
"type": "postgresql",
|
|
336
|
+
"tables": "Tables",
|
|
337
|
+
"size": "Size",
|
|
338
|
+
"connections": "Connections",
|
|
339
|
+
"lastMigration": "Last Migration"
|
|
340
|
+
},
|
|
341
|
+
"wizard": {
|
|
342
|
+
"terminal": "terminal",
|
|
343
|
+
"processing": "Processing...",
|
|
344
|
+
"success": "Operation completed successfully",
|
|
345
|
+
"error": "An error occurred during execution",
|
|
346
|
+
"actions": {
|
|
347
|
+
"back": "Back",
|
|
348
|
+
"done": "Done",
|
|
349
|
+
"close": "Close",
|
|
350
|
+
"next": "Next"
|
|
351
|
+
},
|
|
352
|
+
"output": {
|
|
353
|
+
"starting": "[HedHog] Starting {title}...",
|
|
354
|
+
"checkingPrerequisites": "[HedHog] Checking prerequisites...",
|
|
355
|
+
"validatingConfiguration": "[HedHog] Validating configuration...",
|
|
356
|
+
"setting": "[HedHog] Setting {key}: {value}",
|
|
357
|
+
"selectedModules": "[HedHog] Selected modules: {modules}",
|
|
358
|
+
"processing": "[HedHog] Processing...",
|
|
359
|
+
"creatingDirectories": "[HedHog] Creating directory structure...",
|
|
360
|
+
"generatingFiles": "[HedHog] Generating files...",
|
|
361
|
+
"installingDependencies": "[HedHog] Installing dependencies...",
|
|
362
|
+
"runningPostInstallHooks": "[HedHog] Running post-install hooks...",
|
|
363
|
+
"completedSuccessfully": "[HedHog] All tasks completed successfully!",
|
|
364
|
+
"connectingStream": "$ Connecting to script stream...",
|
|
365
|
+
"streamConnected": "[HedHog] Stream connected. Waiting for script output...",
|
|
366
|
+
"streamFailed": "Failed to execute script stream",
|
|
367
|
+
"successKeyword": "successfully",
|
|
368
|
+
"doneKeyword": "completed",
|
|
369
|
+
"errorKeyword": "error",
|
|
370
|
+
"failedKeyword": "failed"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|