fix(release): declare dependency-free packaging settings reader
This commit is contained in:
1 parent
aa035e6845
commit
8577f42832
1 file changed
+9
@@ -0,0 +1,9 @@
|
||||
/** Read file-owned packaging settings without loading packaging dependencies. */
|
||||
|
||||
/**
|
||||
* Read an explicitly selected dotenv without exposing credential-bearing parser errors.
|
||||
* @param path - Selected file; relative credential paths resolve beside it.
|
||||
* @param accepts - Whether this file may declare a setting.
|
||||
* @returns Validated file settings.
|
||||
*/
|
||||
export function readDesktopPackageSettings(path: string, accepts: (name: string) => boolean): Record<string, string>
|
||||
Reference in new issue
Block a user