@settlemint/sdk-utils
Advanced tools
Comparing version 0.6.25 to 0.6.26-pr8d581c4
@@ -0,1 +1,3 @@ | ||
import { PathLike } from 'node:fs'; | ||
declare function ensureFolder(path: string): Promise<void>; | ||
@@ -5,2 +7,10 @@ | ||
export { ensureFolder, projectRoot }; | ||
/** | ||
* Checks if a file or directory exists at the given path | ||
* | ||
* @param path - The path to check | ||
* @returns True if the path exists, false otherwise | ||
*/ | ||
declare function exists(path: PathLike): Promise<boolean>; | ||
export { ensureFolder, exists, projectRoot }; |
import { ZodString, z, ZodSchema } from 'zod'; | ||
import { PathLike } from 'node:fs'; | ||
import { AgentName } from 'package-manager-detector'; | ||
@@ -303,2 +304,10 @@ | ||
/** | ||
* Checks if a file or directory exists at the given path | ||
* | ||
* @param path - The path to check | ||
* @returns True if the path exists, false otherwise | ||
*/ | ||
declare function exists(path: PathLike): Promise<boolean>; | ||
/** | ||
* Array of available templates for project creation. | ||
@@ -412,2 +421,2 @@ */ | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Template, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, capitalizeFirstLetter, emptyDir, ensureBrowser, ensureFolder, ensureServer, formatTargetDir, getPackageManager, installDependencies, isEmpty, isPackageInstalled, isValidPackageName, loadEnv, projectRoot, runsInBrowser, runsOnServer, setName, templates, toValidPackageName, validate, writeEnv }; | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Template, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, capitalizeFirstLetter, emptyDir, ensureBrowser, ensureFolder, ensureServer, exists, formatTargetDir, getPackageManager, installDependencies, isEmpty, isPackageInstalled, isValidPackageName, loadEnv, projectRoot, runsInBrowser, runsOnServer, setName, templates, toValidPackageName, validate, writeEnv }; |
{ | ||
"name": "@settlemint/sdk-utils", | ||
"description": "SettleMint SDK, integrate SettleMint into your application with ease.", | ||
"version": "0.6.25", | ||
"version": "0.6.26-pr8d581c4", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "private": false, |
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
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
322896
2911
24