@settlemint/sdk-utils
Advanced tools
Comparing version 0.9.3-mainaf7d49d5 to 0.9.3-mainb1d428c5
@@ -570,2 +570,3 @@ import { ZodString, z, ZodSchema } from 'zod'; | ||
* @param pkgs - A single package name or array of package names to install | ||
* @param cwd - The directory to run the installation in | ||
* @returns A promise that resolves when installation is complete | ||
@@ -582,3 +583,3 @@ * @throws If package installation fails | ||
*/ | ||
declare function installDependencies(pkgs: string | string[]): Promise<void>; | ||
declare function installDependencies(pkgs: string | string[], cwd?: string): Promise<void>; | ||
@@ -585,0 +586,0 @@ /** |
@@ -79,2 +79,3 @@ import { AgentName } from 'package-manager-detector'; | ||
* @param pkgs - A single package name or array of package names to install | ||
* @param cwd - The directory to run the installation in | ||
* @returns A promise that resolves when installation is complete | ||
@@ -91,3 +92,3 @@ * @throws If package installation fails | ||
*/ | ||
declare function installDependencies(pkgs: string | string[]): Promise<void>; | ||
declare function installDependencies(pkgs: string | string[], cwd?: string): Promise<void>; | ||
@@ -94,0 +95,0 @@ /** |
{ | ||
"name": "@settlemint/sdk-utils", | ||
"description": "SettleMint SDK, integrate SettleMint into your application with ease.", | ||
"version": "0.9.3-mainaf7d49d5", | ||
"version": "0.9.3-mainb1d428c5", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "private": false, |
@@ -436,5 +436,5 @@ <p align="center"> | ||
> **installDependencies**(`pkgs`): `Promise`\<`void`\> | ||
> **installDependencies**(`pkgs`, `cwd`?): `Promise`\<`void`\> | ||
Defined in: [sdk/utils/src/package-manager/install-dependencies.ts:18](https://github.com/settlemint/sdk/blob/v0.9.3/sdk/utils/src/package-manager/install-dependencies.ts#L18) | ||
Defined in: [sdk/utils/src/package-manager/install-dependencies.ts:20](https://github.com/settlemint/sdk/blob/v0.9.3/sdk/utils/src/package-manager/install-dependencies.ts#L20) | ||
@@ -448,2 +448,3 @@ Installs one or more packages as dependencies using the detected package manager | ||
| `pkgs` | `string` \| `string`[] | A single package name or array of package names to install | | ||
| `cwd`? | `string` | The directory to run the installation in | | ||
@@ -710,3 +711,3 @@ ##### Returns | ||
> **projectRoot**(): `Promise`\<`string`\> | ||
> **projectRoot**(`fallbackToCwd`): `Promise`\<`string`\> | ||
@@ -717,2 +718,8 @@ Defined in: [sdk/utils/src/filesystem/project-root.ts:16](https://github.com/settlemint/sdk/blob/v0.9.3/sdk/utils/src/filesystem/project-root.ts#L16) | ||
##### Parameters | ||
| Parameter | Type | Default value | | ||
| ------ | ------ | ------ | | ||
| `fallbackToCwd` | `boolean` | `false` | | ||
##### Returns | ||
@@ -719,0 +726,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
598226
4580
1434
4