@mikeyt23/node-cli-utils 2.0.5 → 2.0.7
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/LICENSE +6 -6
- package/README.md +11 -10
- package/dist/cjs/DependencyChecker.d.ts.map +1 -1
- package/dist/cjs/DependencyChecker.js +3 -2
- package/dist/cjs/NodeCliUtilsConfig.d.ts +3 -7
- package/dist/cjs/NodeCliUtilsConfig.d.ts.map +1 -1
- package/dist/cjs/NodeCliUtilsConfig.js +7 -10
- package/dist/cjs/certUtils.js +22 -22
- package/dist/cjs/dbMigrationUtils.js +21 -21
- package/dist/cjs/dockerUtils.d.ts +164 -0
- package/dist/cjs/dockerUtils.d.ts.map +1 -0
- package/dist/cjs/dockerUtils.js +299 -0
- package/dist/cjs/generalUtils.d.ts +55 -110
- package/dist/cjs/generalUtils.d.ts.map +1 -1
- package/dist/cjs/generalUtils.js +63 -196
- package/dist/cjs/generalUtilsInternal.js +2 -2
- package/dist/cjs/package.json +5 -5
- package/dist/esm/DependencyChecker.d.ts.map +1 -1
- package/dist/esm/DependencyChecker.js +3 -2
- package/dist/esm/NodeCliUtilsConfig.d.ts +3 -7
- package/dist/esm/NodeCliUtilsConfig.d.ts.map +1 -1
- package/dist/esm/NodeCliUtilsConfig.js +7 -10
- package/dist/esm/certUtils.js +22 -22
- package/dist/esm/dbMigrationUtils.js +21 -21
- package/dist/esm/dockerUtils.d.ts +164 -0
- package/dist/esm/dockerUtils.d.ts.map +1 -0
- package/dist/esm/dockerUtils.js +281 -0
- package/dist/esm/generalUtils.d.ts +55 -110
- package/dist/esm/generalUtils.d.ts.map +1 -1
- package/dist/esm/generalUtils.js +60 -190
- package/dist/esm/generalUtilsInternal.js +2 -2
- package/package.json +25 -2
|
@@ -83,10 +83,6 @@ export interface WhichResult {
|
|
|
83
83
|
additionalLocations: string[] | undefined;
|
|
84
84
|
error: Error | undefined;
|
|
85
85
|
}
|
|
86
|
-
/**
|
|
87
|
-
* Type guard for command passed to {@link spawnDockerCompose}.
|
|
88
|
-
*/
|
|
89
|
-
export type DockerComposeCommand = 'build' | 'config' | 'cp' | 'create' | 'down' | 'events' | 'exec' | 'images' | 'kill' | 'logs' | 'ls' | 'pause' | 'port' | 'ps' | 'pull' | 'push' | 'restart' | 'rm' | 'run' | 'start' | 'stop' | 'top' | 'unpause' | 'up' | 'version';
|
|
90
86
|
/**
|
|
91
87
|
* Sleeps for the specified number of milliseconds.
|
|
92
88
|
* @param ms The number of milliseconds to sleep
|
|
@@ -178,84 +174,6 @@ export declare function requireString(paramName: string, paramValue: string): vo
|
|
|
178
174
|
* @param paramValue The value of the parameter
|
|
179
175
|
*/
|
|
180
176
|
export declare function requireValidPath(paramName: string, paramValue: string): void;
|
|
181
|
-
/**
|
|
182
|
-
* Project names must contain only lowercase letters, decimal digits, dashes, and underscores, and must begin with a lowercase letter or decimal digit.
|
|
183
|
-
*
|
|
184
|
-
* See https://docs.docker.com/compose/environment-variables/envvars/#compose_project_name.
|
|
185
|
-
* @param projectName The string to validate
|
|
186
|
-
* @returns `true` if it's a valid docker compose project name and `false` otherwise
|
|
187
|
-
*/
|
|
188
|
-
export declare function isDockerComposeProjectNameValid(projectName: string): boolean;
|
|
189
|
-
/**
|
|
190
|
-
* Options for {@link spawnDockerCompose}.
|
|
191
|
-
* @param projectName
|
|
192
|
-
* Note that there are other better options such as using the environment variable `COMPOSE_PROJECT_NAME`. See https://docs.docker.com/compose/environment-variables/envvars/#compose_project_name.
|
|
193
|
-
* @param attached Default: false. All commands that support the detached option wil use it unless attached is specified as true (-d support: exec, logs, ps, restart, run, start, stop, up)
|
|
194
|
-
* @param useDockerComposeFileDirectoryAsCwd Default: false. If true, the docker compose command will be run in the directory containing the docker compose file.
|
|
195
|
-
*/
|
|
196
|
-
export interface DockerComposeOptions {
|
|
197
|
-
/** Additional arguments to pass to the docker-compose command. */
|
|
198
|
-
args: string[];
|
|
199
|
-
/**
|
|
200
|
-
* Defaults to `false`. Controls whether or not the `--detach` option is passed. Note that this only applies to
|
|
201
|
-
* some commands (exec, logs, ps, restart, run, start, stop, up).
|
|
202
|
-
*/
|
|
203
|
-
attached: boolean;
|
|
204
|
-
/**
|
|
205
|
-
* If not provided, it will default to using the directory that the docker-compose.yml is located in.
|
|
206
|
-
* Specifies what current working directory to use with the spawn command.
|
|
207
|
-
*
|
|
208
|
-
* **Important:**: this only affects the current working directory of the spawned process itself. The docker command will still only pull in env values from a `.env`
|
|
209
|
-
* file in the same directory as the docker-compose.yml, NOT the cwd passed here. If a different `.env` file path is needed, use the {@link altEnvFilePath} option. If
|
|
210
|
-
* you use the {@link altEnvFilePath} option with a relative path, ensure that it is relative to the current working directory passed with this option.
|
|
211
|
-
*/
|
|
212
|
-
cwd?: string;
|
|
213
|
-
/**
|
|
214
|
-
* Optional. If provided, projectName will be passed as the `--project-name` param to `docker compose` so that generated containers will use it as a prefix
|
|
215
|
-
* instead of the default, which is the directory name where the docker-compose.yml is located.
|
|
216
|
-
*
|
|
217
|
-
* Alternate approaches for setting the docker compose project name:
|
|
218
|
-
*
|
|
219
|
-
* - Locate your docker-compose.yml file in the root of your project so that docker will use that directory name for prefixing generated containers
|
|
220
|
-
* - OR, locate your docker-compose.yml in a sub-directory named appropriately for use as a prefix for generated containers
|
|
221
|
-
* - OR, put a `.env` file in the same directory as your docker-compose.yml
|
|
222
|
-
* with the entry `COMPOSE_PROJECT_NAME=your-project-name`
|
|
223
|
-
*
|
|
224
|
-
* Additional note on docker compose project names form the official docker compose docs: "Project names must contain only lowercase letters, decimal digits,
|
|
225
|
-
* dashes, and underscores, and must begin with a lowercase letter or decimal digit". See https://docs.docker.com/compose/environment-variables/envvars/#compose_project_name.
|
|
226
|
-
*
|
|
227
|
-
*/
|
|
228
|
-
projectName?: string;
|
|
229
|
-
/**
|
|
230
|
-
* Optional. If provided, profile is passed to docker compose along with `--profile` param. Must match this regex: `[a-zA-Z0-9][a-zA-Z0-9_.-]+`.
|
|
231
|
-
*
|
|
232
|
-
* See https://docs.docker.com/compose/profiles/.
|
|
233
|
-
*/
|
|
234
|
-
profile?: string;
|
|
235
|
-
/**
|
|
236
|
-
* The option `useWslPrefix` set to `true` can be used If Docker Desktop is not installed on Windows and docker commands need to execute via wsl.
|
|
237
|
-
*/
|
|
238
|
-
useWslPrefix?: boolean;
|
|
239
|
-
/**
|
|
240
|
-
* Specify an alternative env file. This is useful since docker will normally only use a `.env` file in the same directory as the docker-compose.yml file,
|
|
241
|
-
* regardless of the current working directory of the running command. This path will be passed to docker compose using the `--env-file` option.
|
|
242
|
-
*
|
|
243
|
-
* **Important:** if using a relative path, be sure pass the appropriate value for {@link cwd} to this method so that the relative path can correctly be resolved.
|
|
244
|
-
*/
|
|
245
|
-
altEnvFilePath?: string;
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* For docker compose commands, see https://docs.docker.com/compose/reference/. For available options for this wrapper function, see {@link DockerComposeOptions}.
|
|
249
|
-
*
|
|
250
|
-
* The current working directory will be the directory of the {@link dockerComposePath} unless specified in the options. This ensures relative paths in the
|
|
251
|
-
* docker compose file will be relative to itself by default.
|
|
252
|
-
*
|
|
253
|
-
* See {@link DockerComposeOptions.projectName} for info on where to locate your docker compose file and how to specify the docker project name.
|
|
254
|
-
* @param dockerComposePath Path to docker-compose.yml
|
|
255
|
-
* @param dockerComposeCommand The docker-compose command to run
|
|
256
|
-
* @param options {@link DockerComposeOptions} to use, including additional arguments to pass to the docker compose command and the project name
|
|
257
|
-
*/
|
|
258
|
-
export declare function spawnDockerCompose(dockerComposePath: string, dockerComposeCommand: DockerComposeCommand, options?: Partial<DockerComposeOptions>): Promise<void>;
|
|
259
177
|
/**
|
|
260
178
|
* Splits a string into lines, removing `\n` and `\r` characters. Does not return empty lines. Also see {@link stringToLines}.
|
|
261
179
|
* @param str String to split into lines
|
|
@@ -360,33 +278,6 @@ export declare function which(commandName: string): Promise<WhichResult>;
|
|
|
360
278
|
* @returns The location of the command, any additional locations, and an error if one occurred
|
|
361
279
|
*/
|
|
362
280
|
export declare function whichSync(commandName: string): WhichResult;
|
|
363
|
-
/**
|
|
364
|
-
* Uses {@link which} to determine if docker is installed. If the `which` call doesn't find docker and the platform
|
|
365
|
-
* is Windows, then this will check the output of `wsl docker --version` to see if just the engine is installed.
|
|
366
|
-
* @returns `true` if docker is installed, `false` otherwise
|
|
367
|
-
*/
|
|
368
|
-
export declare function isDockerInstalled(): Promise<boolean>;
|
|
369
|
-
/**
|
|
370
|
-
* Runs the `docker info` command and looks for "error during connect" in the output to determine if docker is running. If you
|
|
371
|
-
* want to check if docker is installed, use {@link isDockerInstalled}.
|
|
372
|
-
* @returns `true` if docker is installed and running, `false` otherwise
|
|
373
|
-
*/
|
|
374
|
-
export declare function isDockerRunning(): Promise<boolean>;
|
|
375
|
-
/**
|
|
376
|
-
* Attempt to start the docker service if it isn't running. Whether it's running is determined by a call to {@link isDockerRunning}.
|
|
377
|
-
*
|
|
378
|
-
* Notes on docker startup command:
|
|
379
|
-
* - May require entering a password
|
|
380
|
-
* - On Windows with Docker Desktop and from within powershell or cmd it will run in powershell: `Start-Process "C:\Program Files\Docker\Docker\Docker Desktop.exe" -NoNewWindow`
|
|
381
|
-
* - On Windows without Docker Desktop from within powershell or cmd it will run: `sudo service docker start`
|
|
382
|
-
* - On Linux (including WSL) it will run: `sudo systemctl start docker`
|
|
383
|
-
* - Not currently supported on Mac
|
|
384
|
-
* - If you're on Windows and have Docker Desktop but it is stopped and you're in a WSL shell, docker will appear as if it's not installed and this method will throw
|
|
385
|
-
*
|
|
386
|
-
* @throws An {@link Error} If docker is not detected on the system.
|
|
387
|
-
* @throws An {@link Error} if docker is detected as installed and not running but the OS is Mac.
|
|
388
|
-
*/
|
|
389
|
-
export declare function ensureDockerRunning(): Promise<void>;
|
|
390
281
|
/**
|
|
391
282
|
* Uses built-in NodeJS readline to ask a question and return the user's answer.
|
|
392
283
|
* @param query The question to ask
|
|
@@ -589,7 +480,8 @@ export declare enum Emoji {
|
|
|
589
480
|
NoEntry = "\u26D4",
|
|
590
481
|
Stop = "\uD83D\uDED1",
|
|
591
482
|
Certificate = "\uD83D\uDCDC",
|
|
592
|
-
Key = "\uD83D\uDD11"
|
|
483
|
+
Key = "\uD83D\uDD11",
|
|
484
|
+
Scull = "\u2620\uFE0F"
|
|
593
485
|
}
|
|
594
486
|
/**
|
|
595
487
|
* Converts a windows path to a WSL path (Windows Subsystem for Linux) if it's an absolute path, otherwise returns it unchanged.
|
|
@@ -604,7 +496,60 @@ export declare enum Emoji {
|
|
|
604
496
|
* @returns The wsl equivalent path.
|
|
605
497
|
*/
|
|
606
498
|
export declare function toWslPath(winPath: string, wrapInQuotesIfSpaces?: boolean): string;
|
|
499
|
+
/**
|
|
500
|
+
* Serialize a class instance. Ignore properties with underscore prefix and include getters. Useful for overriding the `toJSON` function of
|
|
501
|
+
* a class so that calls to `JSON.stringify()` will generate more appropriate JSON.
|
|
502
|
+
*
|
|
503
|
+
* @example
|
|
504
|
+
* ```
|
|
505
|
+
* class MyClass {
|
|
506
|
+
* //...
|
|
507
|
+
* toJSON = () => classToJson(this)
|
|
508
|
+
* //...
|
|
509
|
+
* }
|
|
510
|
+
* ```
|
|
511
|
+
* @param instance A class instance, usually `this` if `classToJson` is being used as a class method.
|
|
512
|
+
* @returns Json serialization of the class instance.
|
|
513
|
+
*/
|
|
607
514
|
export declare function classToJson(instance: object): {
|
|
608
515
|
[key: string]: unknown;
|
|
609
516
|
};
|
|
517
|
+
/**
|
|
518
|
+
* Get's the value for the CLI param at process.argv[`argvIndex`] and throws the specified optional `errorMessage`
|
|
519
|
+
* or a default error message if the CLI arg is missing.
|
|
520
|
+
*
|
|
521
|
+
* Notes on common index position values:
|
|
522
|
+
*
|
|
523
|
+
* - `0`: NodeJS path
|
|
524
|
+
* - `1`: Script path
|
|
525
|
+
* - `2`: First script param - for `swig` this will be the task name
|
|
526
|
+
* @param errorMessage
|
|
527
|
+
* @returns
|
|
528
|
+
*/
|
|
529
|
+
export declare function getRequiredCliParam(argvIndex: number, errorMessage?: string): string;
|
|
530
|
+
type AsyncBooleanFunc = () => Promise<boolean>;
|
|
531
|
+
type AsyncFunc<T> = () => Promise<T>;
|
|
532
|
+
/**
|
|
533
|
+
* Executes an asynchronous function conditionally.
|
|
534
|
+
*
|
|
535
|
+
* @overload
|
|
536
|
+
* @template T The type of value that the `asyncFunc` returns.
|
|
537
|
+
* @param condition A boolean that determines if the `asyncFunc` should be executed.
|
|
538
|
+
* @param asyncFunc The async function to execute if the condition is true.
|
|
539
|
+
* @param logEnabled Optional. Determines whether to enable logging. Defaults to `false`.
|
|
540
|
+
* @returns Returns a Promise resolving to the value returned by `asyncFunc` if the condition is true, otherwise returns `undefined`.
|
|
541
|
+
*/
|
|
542
|
+
export declare function conditionallyAsync<T>(condition: boolean, asyncFunc: AsyncFunc<T>, logEnabled?: boolean): Promise<T | undefined>;
|
|
543
|
+
/**
|
|
544
|
+
* Executes an asynchronous function conditionally.
|
|
545
|
+
*
|
|
546
|
+
* @overload
|
|
547
|
+
* @template T The type of value that the `asyncFunc` returns.
|
|
548
|
+
* @param conditionAsyncFunc An async function that returns a boolean that determines whether `asyncFunc` should be executed.
|
|
549
|
+
* @param asyncFunc The async function to execute if the condition is true.
|
|
550
|
+
* @param logEnabled Optional. Determines whether to enable logging. Defaults to `false`.
|
|
551
|
+
* @returns Returns a Promise resolving to the value returned by `asyncFunc` if the condition is true, otherwise returns `undefined`.
|
|
552
|
+
*/
|
|
553
|
+
export declare function conditionallyAsync<T>(conditionAsyncFunc: AsyncBooleanFunc, asyncFunc: AsyncFunc<T>, logEnabled?: boolean): Promise<T | undefined>;
|
|
554
|
+
export {};
|
|
610
555
|
//# sourceMappingURL=generalUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generalUtils.d.ts","sourceRoot":"","sources":["../../src/generalUtils.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"generalUtils.d.ts","sourceRoot":"","sources":["../../src/generalUtils.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