underpost 2.8.867 → 2.8.871

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 (39) hide show
  1. package/README.md +50 -36
  2. package/bin/build.js +1 -0
  3. package/bin/deploy.js +4 -0
  4. package/bin/util.js +1 -56
  5. package/cli.md +88 -86
  6. package/conf.js +1 -1
  7. package/manifests/deployment/dd-default-development/deployment.yaml +2 -2
  8. package/manifests/deployment/mongo-express/deployment.yaml +12 -12
  9. package/manifests/maas/nvim.sh +91 -0
  10. package/package.json +1 -10
  11. package/src/api/file/file.service.js +28 -8
  12. package/src/api/user/user.router.js +24 -0
  13. package/src/api/user/user.service.js +3 -4
  14. package/src/cli/cluster.js +2 -13
  15. package/src/cli/cron.js +0 -1
  16. package/src/cli/db.js +0 -19
  17. package/src/cli/deploy.js +17 -26
  18. package/src/cli/fs.js +1 -0
  19. package/src/cli/index.js +1 -0
  20. package/src/cli/run.js +9 -2
  21. package/src/client/components/core/CalendarCore.js +1 -1
  22. package/src/client/components/core/CssCore.js +12 -0
  23. package/src/client/components/core/Docs.js +2 -2
  24. package/src/client/components/core/FullScreen.js +19 -28
  25. package/src/client/components/core/Input.js +1 -0
  26. package/src/client/components/core/Modal.js +41 -24
  27. package/src/client/components/core/ObjectLayerEngine.js +229 -4
  28. package/src/client/components/core/ObjectLayerEngineModal.js +441 -0
  29. package/src/client/components/core/Panel.js +4 -1
  30. package/src/client/components/core/PanelForm.js +1 -1
  31. package/src/client/components/core/Router.js +29 -25
  32. package/src/client/components/core/ToggleSwitch.js +15 -1
  33. package/src/client/components/core/VanillaJs.js +12 -13
  34. package/src/client/public/default/assets/mailer/api-user-default-avatar.png +0 -0
  35. package/src/index.js +1 -1
  36. package/src/server/client-build.js +3 -11
  37. package/src/server/client-icons.js +6 -78
  38. package/src/server/conf.js +4 -56
  39. package/src/server/process.js +2 -1
package/README.md CHANGED
@@ -28,12 +28,19 @@
28
28
 
29
29
 
30
30
 
31
+
32
+
33
+
34
+
35
+
36
+
37
+
31
38
 
32
39
 
33
40
  <!-- badges -->
34
41
 
35
42
 
36
- [![Node.js CI](https://github.com/underpostnet/engine/actions/workflows/docker-image.ci.yml/badge.svg?branch=master)](https://github.com/underpostnet/engine/actions/workflows/docker-image.yml) [![Test](https://github.com/underpostnet/engine/actions/workflows/coverall.ci.yml/badge.svg?branch=master)](https://github.com/underpostnet/engine/actions/workflows/coverall.yml) [![Downloads](https://img.shields.io/npm/dm/underpost.svg)](https://www.npmjs.com/package/underpost) [![Socket Badge](https://socket.dev/api/badge/npm/package/underpost/2.8.867)](https://socket.dev/npm/package/underpost/overview/2.8.867) [![Coverage Status](https://coveralls.io/repos/github/underpostnet/engine/badge.svg?branch=master)](https://coveralls.io/github/underpostnet/engine?branch=master) [![Version](https://img.shields.io/npm/v/underpost.svg)](https://www.npmjs.org/package/underpost) [![License](https://img.shields.io/npm/l/underpost.svg)](https://www.npmjs.com/package/underpost)
43
+ [![Node.js CI](https://github.com/underpostnet/engine/actions/workflows/docker-image.ci.yml/badge.svg?branch=master)](https://github.com/underpostnet/engine/actions/workflows/docker-image.yml) [![Test](https://github.com/underpostnet/engine/actions/workflows/coverall.ci.yml/badge.svg?branch=master)](https://github.com/underpostnet/engine/actions/workflows/coverall.yml) [![Downloads](https://img.shields.io/npm/dm/underpost.svg)](https://www.npmjs.com/package/underpost) [![Socket Badge](https://socket.dev/api/badge/npm/package/underpost/2.8.871)](https://socket.dev/npm/package/underpost/overview/2.8.871) [![Coverage Status](https://coveralls.io/repos/github/underpostnet/engine/badge.svg?branch=master)](https://coveralls.io/github/underpostnet/engine?branch=master) [![Version](https://img.shields.io/npm/v/underpost.svg)](https://www.npmjs.org/package/underpost) [![License](https://img.shields.io/npm/l/underpost.svg)](https://www.npmjs.com/package/underpost)
37
44
 
38
45
 
39
46
  <!-- end-badges -->
@@ -50,6 +57,13 @@
50
57
 
51
58
 
52
59
 
60
+
61
+
62
+
63
+
64
+
65
+
66
+
53
67
 
54
68
 
55
69
  </div>
@@ -96,44 +110,44 @@ Run dev client server
96
110
  npm run dev
97
111
  ```
98
112
  <!-- -->
99
- ## underpost ci/cd cli v2.8.867
113
+ ## underpost ci/cd cli v2.8.871
100
114
 
101
115
  ### Usage: `underpost [options] [command]`
102
- ```
103
- Options:
104
- -V, --version output the version number
105
- -h, --help display help for command
116
+
117
+ ```
118
+ Options:
119
+ -V, --version output the version number
120
+ -h, --help display help for command
106
121
 
107
122
  Commands:
108
- new [options] <app-name> Initializes a new Underpost project with a predefined structure.
109
- start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
110
- clone [options] <uri> Clones a specified GitHub repository into the current directory.
111
- pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
112
- cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
113
- push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
114
- env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
115
- config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
116
- root Displays the root path of the npm installation.
117
- cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
118
- deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
119
- secret [options] <platform> Manages secrets for various platforms.
120
- dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
121
- dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
122
- install Quickly imports Underpost npm dependencies by copying them.
123
- db [options] <deploy-list> Manages database operations, including import, export, and collection management.
124
- metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
125
- script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
126
- cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
127
- fs [options] [path] Manages file storage, defaulting to file upload operations.
128
- test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
129
- monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
130
- ssh [options] Import and start ssh server and client based on current default deployment ID.
131
- run [options] <runner-id> [path] Runs a script from the specified path.
132
- lxd [options] Manages LXD containers and virtual machines.
133
- baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
134
- help [command] display help for command
135
-
123
+ new [options] <app-name> Initializes a new Underpost project with a predefined structure.
124
+ start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
125
+ clone [options] <uri> Clones a specified GitHub repository into the current directory.
126
+ pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
127
+ cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
128
+ push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
129
+ env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
130
+ config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
131
+ root Displays the root path of the npm installation.
132
+ cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
133
+ deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
134
+ secret [options] <platform> Manages secrets for various platforms.
135
+ dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
136
+ dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
137
+ install Quickly imports Underpost npm dependencies by copying them.
138
+ db [options] <deploy-list> Manages database operations, including import, export, and collection management.
139
+ metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
140
+ script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
141
+ cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
142
+ fs [options] [path] Manages file storage, defaulting to file upload operations.
143
+ test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
144
+ monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
145
+ ssh [options] Import and start ssh server and client based on current default deployment ID.
146
+ run [options] <runner-id> [path] Runs a script from the specified path.
147
+ lxd [options] Manages LXD containers and virtual machines.
148
+ baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
149
+ help [command] display help for command
150
+
136
151
  ```
137
-
152
+
138
153
  <a target="_top" href="https://github.com/underpostnet/pwa-microservices-template/blob/master/cli.md">See complete CLI Docs here.</a>
139
-
package/bin/build.js CHANGED
@@ -156,6 +156,7 @@ const { DefaultConf } = await import(`../conf.${confName}.js`);
156
156
  switch (confName) {
157
157
  case 'dd-cyberia':
158
158
  fs.copyFileSync(`./bin/cyberia.js`, `${basePath}/bin/cyberia.js`);
159
+ fs.copyFileSync(`./bin/cyberia.js`, `${basePath}/bin/cyberia0.js`);
159
160
  break;
160
161
 
161
162
  default:
package/bin/deploy.js CHANGED
@@ -379,6 +379,10 @@ try {
379
379
  const templateRunnerResult = fs.readFileSync(`../pwa-microservices-template/logs/start.js/all.log`, 'utf8');
380
380
  logger.info('Test template runner result');
381
381
  console.log(templateRunnerResult);
382
+ if (!templateRunnerResult || templateRunnerResult.toLowerCase().match('error')) {
383
+ logger.error('Test template runner result failed');
384
+ break;
385
+ }
382
386
  shellExec(`node bin/deploy clean-core-repo`);
383
387
  shellCd(`/home/dd/engine`);
384
388
  const originPackageJson = JSON.parse(fs.readFileSync(`package.json`, 'utf8'));
package/bin/util.js CHANGED
@@ -1,14 +1,10 @@
1
1
  import fs from 'fs-extra';
2
2
  import si from 'systeminformation';
3
3
  import * as dir from 'path';
4
- import { svg } from 'font-awesome-assets';
5
4
 
6
5
  import { loggerFactory } from '../src/server/logger.js';
7
- import { pbcopy, shellExec } from '../src/server/process.js';
6
+ import { pbcopy } from '../src/server/process.js';
8
7
  import { buildKindPorts } from '../src/server/conf.js';
9
- import { FileFactory } from '../src/api/file/file.service.js';
10
- import { faBase64Png, getBufferPngText } from '../src/server/client-icons.js';
11
- import keyword_extractor from 'keyword-extractor';
12
8
 
13
9
  const logger = loggerFactory(import.meta);
14
10
 
@@ -73,57 +69,6 @@ try {
73
69
  cleanEmptyFoldersRecursively('./');
74
70
  break;
75
71
 
76
- case 'text-to-image': {
77
- const buffer = await getBufferPngText({
78
- text: process.argv[3],
79
- textColor: process.argv[4],
80
- bgColor: process.argv[5],
81
- size: process.argv[6],
82
- debugFilename: process.argv[7],
83
- });
84
- fs.writeFileSync(`./text-to-image.png`, buffer);
85
- break;
86
- }
87
- case 'fa-image':
88
- const faId = process.argv[3] ? process.argv[3] : 'user';
89
- const color = process.argv[4] ? process.argv[4] : '#5f5f5f';
90
- const path = process.argv[5] ? process.argv[5] : './';
91
-
92
- {
93
- fs.writeFileSync(`./tmp/${faId}.svg`, svg(faId, color), 'utf8');
94
- const data = fs.readFileSync(`./tmp/${faId}.svg`);
95
- console.log(FileFactory.svg(data, `${faId}.svg`));
96
- fs.removeSync(`${path}${faId}.svg`);
97
- }
98
- {
99
- fs.writeFileSync(`${path}${faId}.png`, Buffer.from(faBase64Png(faId, 100, 100, color), 'base64'));
100
- }
101
-
102
- break;
103
-
104
- case 'b64-image':
105
- fs.writeFileSync('b64-image', `data:image/jpg;base64,${fs.readFileSync(process.argv[3]).toString('base64')}`);
106
- break;
107
-
108
- case 'get-keys': {
109
- const sentence = fs.existsSync('./_')
110
- ? fs.readFileSync('./_', 'utf8')
111
- : process.argv[3]
112
- ? process.argv[3]
113
- : 'President Obama woke up Monday facing a Congressional defeat that many in both parties believed could hobble his presidency.';
114
-
115
- // Extract the keywords
116
- const extraction_result = keyword_extractor.extract(sentence, {
117
- language: 'english',
118
- remove_digits: true,
119
- // return_changed_case: true,
120
- // remove_duplicates: false,
121
- });
122
-
123
- console.log(extraction_result.join(', '));
124
- break;
125
- }
126
-
127
72
  case 'build-ports': {
128
73
  pbcopy(buildKindPorts(process.argv[3], process.argv[4]));
129
74
  }
package/cli.md CHANGED
@@ -1,46 +1,47 @@
1
- ## underpost ci/cd cli v2.8.867
1
+ ## underpost ci/cd cli v2.8.871
2
2
 
3
3
  ### Usage: `underpost [options] [command]`
4
- ```
5
- Options:
6
- -V, --version output the version number
7
- -h, --help display help for command
4
+
5
+ ```
6
+ Options:
7
+ -V, --version output the version number
8
+ -h, --help display help for command
8
9
 
9
10
  Commands:
10
- new [options] <app-name> Initializes a new Underpost project with a predefined structure.
11
- start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
12
- clone [options] <uri> Clones a specified GitHub repository into the current directory.
13
- pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
14
- cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
15
- push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
16
- env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
17
- config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
18
- root Displays the root path of the npm installation.
19
- cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
20
- deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
21
- secret [options] <platform> Manages secrets for various platforms.
22
- dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
23
- dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
24
- install Quickly imports Underpost npm dependencies by copying them.
25
- db [options] <deploy-list> Manages database operations, including import, export, and collection management.
26
- metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
27
- script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
28
- cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
29
- fs [options] [path] Manages file storage, defaulting to file upload operations.
30
- test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
31
- monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
32
- ssh [options] Import and start ssh server and client based on current default deployment ID.
33
- run [options] <runner-id> [path] Runs a script from the specified path.
34
- lxd [options] Manages LXD containers and virtual machines.
35
- baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
36
- help [command] display help for command
37
-
11
+ new [options] <app-name> Initializes a new Underpost project with a predefined structure.
12
+ start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
13
+ clone [options] <uri> Clones a specified GitHub repository into the current directory.
14
+ pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
15
+ cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
16
+ push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
17
+ env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
18
+ config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
19
+ root Displays the root path of the npm installation.
20
+ cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
21
+ deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
22
+ secret [options] <platform> Manages secrets for various platforms.
23
+ dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
24
+ dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
25
+ install Quickly imports Underpost npm dependencies by copying them.
26
+ db [options] <deploy-list> Manages database operations, including import, export, and collection management.
27
+ metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
28
+ script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
29
+ cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
30
+ fs [options] [path] Manages file storage, defaulting to file upload operations.
31
+ test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
32
+ monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
33
+ ssh [options] Import and start ssh server and client based on current default deployment ID.
34
+ run [options] <runner-id> [path] Runs a script from the specified path.
35
+ lxd [options] Manages LXD containers and virtual machines.
36
+ baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
37
+ help [command] display help for command
38
+
38
39
  ```
39
40
 
40
41
  ## Commands:
41
-
42
42
 
43
43
  ### `new` :
44
+
44
45
  ```
45
46
  Usage: underpost new [options] <app-name>
46
47
 
@@ -53,11 +54,11 @@ Options:
53
54
  --deploy-id Crete deploy ID conf env files
54
55
  --dev Sets the development cli context
55
56
  -h, --help display help for command
56
-
57
+
57
58
  ```
58
-
59
59
 
60
60
  ### `start` :
61
+
61
62
  ```
62
63
  Usage: underpost start [options] <deploy-id> [env]
63
64
 
@@ -73,11 +74,11 @@ Options:
73
74
  --run Starts application servers and monitors their health.
74
75
  --build Triggers the client-side application build process.
75
76
  -h, --help display help for command
76
-
77
+
77
78
  ```
78
-
79
79
 
80
80
  ### `clone` :
81
+
81
82
  ```
82
83
  Usage: underpost clone [options] <uri>
83
84
 
@@ -90,11 +91,11 @@ Options:
90
91
  --bare Performs a bare clone, downloading only the .git files.
91
92
  -g8 Uses the g8 repository extension for cloning.
92
93
  -h, --help display help for command
93
-
94
+
94
95
  ```
95
-
96
96
 
97
97
  ### `pull` :
98
+
98
99
  ```
99
100
  Usage: underpost pull [options] <path> <uri>
100
101
 
@@ -108,11 +109,11 @@ Arguments:
108
109
  Options:
109
110
  -g8 Uses the g8 repository extension for pulling.
110
111
  -h, --help display help for command
111
-
112
+
112
113
  ```
113
-
114
114
 
115
115
  ### `cmt` :
116
+
116
117
  ```
117
118
  Usage: underpost cmt [options] <path> <commit-type> [module-tag] [message]
118
119
 
@@ -132,11 +133,11 @@ Options:
132
133
  --copy Copies the generated commit message to the clipboard.
133
134
  --info Displays information about available commit types.
134
135
  -h, --help display help for command
135
-
136
+
136
137
  ```
137
-
138
138
 
139
139
  ### `push` :
140
+
140
141
  ```
141
142
  Usage: underpost push [options] <path> <uri>
142
143
 
@@ -150,11 +151,11 @@ Options:
150
151
  -f Forces the push, overwriting the remote repository history.
151
152
  -g8 Uses the g8 repository extension for pushing.
152
153
  -h, --help display help for command
153
-
154
+
154
155
  ```
155
-
156
156
 
157
157
  ### `env` :
158
+
158
159
  ```
159
160
  Usage: underpost env [options] <deploy-id> [env]
160
161
 
@@ -169,11 +170,11 @@ Arguments:
169
170
 
170
171
  Options:
171
172
  -h, --help display help for command
172
-
173
+
173
174
  ```
174
-
175
175
 
176
176
  ### `config` :
177
+
177
178
  ```
178
179
  Usage: underpost config [options] <operator> [key] [value]
179
180
 
@@ -188,11 +189,11 @@ Arguments:
188
189
  Options:
189
190
  --plain Prints the configuration value in plain text.
190
191
  -h, --help display help for command
191
-
192
+
192
193
  ```
193
-
194
194
 
195
195
  ### `root` :
196
+
196
197
  ```
197
198
  Usage: underpost root [options]
198
199
 
@@ -200,11 +201,11 @@ Displays the root path of the npm installation.
200
201
 
201
202
  Options:
202
203
  -h, --help display help for command
203
-
204
+
204
205
  ```
205
-
206
206
 
207
207
  ### `cluster` :
208
+
208
209
  ```
209
210
  Usage: underpost cluster [options] [pod-name]
210
211
 
@@ -261,11 +262,11 @@ Options:
261
262
  --k3s Initializes the cluster using K3s (Lightweight
262
263
  Kubernetes).
263
264
  -h, --help display help for command
264
-
265
+
265
266
  ```
266
-
267
267
 
268
268
  ### `deploy` :
269
+
269
270
  ```
270
271
  Usage: underpost deploy [options] [deploy-list] [env]
271
272
 
@@ -307,13 +308,15 @@ Options:
307
308
  current resource deployments.
308
309
  --kubeadm Enables the kubeadm context for deployment
309
310
  operations.
311
+ --etc-hosts Enables the etc-hosts context for
312
+ deployment operations.
310
313
  --restore-hosts Restores default `/etc/hosts` entries.
311
314
  -h, --help display help for command
312
-
315
+
313
316
  ```
314
-
315
317
 
316
318
  ### `secret` :
319
+
317
320
  ```
318
321
  Usage: underpost secret [options] <platform>
319
322
 
@@ -331,11 +334,11 @@ Options:
331
334
  --list Lists all available secrets for the
332
335
  platform.
333
336
  -h, --help display help for command
334
-
337
+
335
338
  ```
336
-
337
339
 
338
340
  ### `dockerfile-image-build` :
341
+
339
342
  ```
340
343
  Usage: underpost dockerfile-image-build [options]
341
344
 
@@ -362,11 +365,11 @@ Options:
362
365
  cache.
363
366
  --k3s-load Loads the image into a K3s cluster.
364
367
  -h, --help display help for command
365
-
368
+
366
369
  ```
367
-
368
370
 
369
371
  ### `dockerfile-pull-base-images` :
372
+
370
373
  ```
371
374
  Usage: underpost dockerfile-pull-base-images [options]
372
375
 
@@ -380,11 +383,11 @@ Options:
380
383
  --version Sets a custom version for the base images.
381
384
  --k3s-load Loads the image into a K3s cluster.
382
385
  -h, --help display help for command
383
-
386
+
384
387
  ```
385
-
386
388
 
387
389
  ### `install` :
390
+
388
391
  ```
389
392
  Usage: underpost install [options]
390
393
 
@@ -392,11 +395,11 @@ Quickly imports Underpost npm dependencies by copying them.
392
395
 
393
396
  Options:
394
397
  -h, --help display help for command
395
-
398
+
396
399
  ```
397
-
398
400
 
399
401
  ### `db` :
402
+
400
403
  ```
401
404
  Usage: underpost db [options] <deploy-list>
402
405
 
@@ -426,11 +429,11 @@ Options:
426
429
  --ns <ns-name> Optional: Specifies the namespace context for
427
430
  database operations.
428
431
  -h, --help display help for command
429
-
432
+
430
433
  ```
431
-
432
434
 
433
435
  ### `metadata` :
436
+
434
437
  ```
435
438
  Usage: underpost metadata [options] [deploy-id] [host] [path]
436
439
 
@@ -449,11 +452,11 @@ Options:
449
452
  --generate Generate cluster metadata
450
453
  --itc Apply under container execution context
451
454
  -h, --help display help for command
452
-
455
+
453
456
  ```
454
-
455
457
 
456
458
  ### `script` :
459
+
457
460
  ```
458
461
  Usage: underpost script [options] <operator> <script-name> [script-value]
459
462
 
@@ -475,11 +478,11 @@ Options:
475
478
  execution.
476
479
  --pod-name <pod-name> Optional: Specifies the pod name for script execution.
477
480
  -h, --help display help for command
478
-
481
+
479
482
  ```
480
-
481
483
 
482
484
  ### `cron` :
485
+
483
486
  ```
484
487
  Usage: underpost cron [options] [deploy-list] [job-list]
485
488
 
@@ -497,11 +500,11 @@ Options:
497
500
  --init Initializes cron jobs for the default deployment ID.
498
501
  --git Uploads cron job configurations to GitHub.
499
502
  -h, --help display help for command
500
-
503
+
501
504
  ```
502
-
503
505
 
504
506
  ### `fs` :
507
+
505
508
  ```
506
509
  Usage: underpost fs [options] [path]
507
510
 
@@ -519,11 +522,11 @@ Options:
519
522
  --force Forces the action, overriding any warnings or conflicts.
520
523
  --storage-file-path <storage-file-path> Specifies a custom file storage path.
521
524
  -h, --help display help for command
522
-
525
+
523
526
  ```
524
-
525
527
 
526
528
  ### `test` :
529
+
527
530
  ```
528
531
  Usage: underpost test [options] [deploy-list]
529
532
 
@@ -545,11 +548,11 @@ Options:
545
548
  --kind-type <kind-type> Optional: Specifies the Kind cluster type for
546
549
  tests.
547
550
  -h, --help display help for command
548
-
551
+
549
552
  ```
550
-
551
553
 
552
554
  ### `monitor` :
555
+
553
556
  ```
554
557
  Usage: underpost monitor [options] <deploy-id> [env]
555
558
 
@@ -572,11 +575,11 @@ Options:
572
575
  --sync Synchronizes with current proxy deployments and
573
576
  traffic configurations.
574
577
  -h, --help display help for command
575
-
578
+
576
579
  ```
577
-
578
580
 
579
581
  ### `ssh` :
582
+
580
583
  ```
581
584
  Usage: underpost ssh [options]
582
585
 
@@ -586,11 +589,11 @@ Options:
586
589
  --generate Generates new ssh credential and stores it in current private
587
590
  keys file storage.
588
591
  -h, --help display help for command
589
-
592
+
590
593
  ```
591
-
592
594
 
593
595
  ### `run` :
596
+
594
597
  ```
595
598
  Usage: underpost run [options] <runner-id> [path]
596
599
 
@@ -612,11 +615,11 @@ Options:
612
615
  --container-name <container-name> Optional: Specifies the container name for test execution.
613
616
  --namespace <namespace> Optional: Specifies the namespace for test execution.
614
617
  -h, --help display help for command
615
-
618
+
616
619
  ```
617
-
618
620
 
619
621
  ### `lxd` :
622
+
620
623
  ```
621
624
  Usage: underpost lxd [options]
622
625
 
@@ -657,11 +660,11 @@ Options:
657
660
  --auto-expose-k8s-ports <vm-id> Automatically exposes common Kubernetes
658
661
  ports for the specified VM.
659
662
  -h, --help display help for command
660
-
663
+
661
664
  ```
662
-
663
665
 
664
666
  ### `baremetal` :
667
+
665
668
  ```
666
669
  Usage: underpost baremetal [options] [workflow-id] [hostname] [ip-address]
667
670
 
@@ -695,6 +698,5 @@ Options:
695
698
  baremetal operations.
696
699
  --ls Lists available boot resources and machines.
697
700
  -h, --help display help for command
698
-
701
+
699
702
  ```
700
-
package/conf.js CHANGED
@@ -147,7 +147,7 @@ const DefaultConf = /**/ {
147
147
  apis: ['default', 'core', 'user', 'test', 'file'],
148
148
  origins: [],
149
149
  minifyBuild: false,
150
- iconsBuild: true,
150
+ iconsBuild: false,
151
151
  liteBuild: true,
152
152
  docsBuild: false,
153
153
  offlineBuild: false,