Update libs (#28)

* added prompt context library

* updated libs, except chalk that should not be updated

* updated libs and fixed speed
This commit is contained in:
Arwid Thornström
2025-06-17 10:12:48 +02:00
committed by GitHub
parent 90b9ccc454
commit 5c43d166ba
27 changed files with 2429 additions and 3457 deletions
+3 -3
View File
@@ -17,13 +17,13 @@ export const getSettings = async (toolbox): Promise<TConfig | null> => {
try {
return await filesystem.readAsync(
`${os.homedir()}/.pwcli_settings`,
'json'
'json',
);
} catch {
print.error(`
No config found, please run [ ${chalk.cyan(
'pwcli s se'
'pwcli s se',
)} ] or setup > settings from the menu.
`);
@@ -33,7 +33,7 @@ export const getSettings = async (toolbox): Promise<TConfig | null> => {
export const getCurrentBranch = async (
path: string,
toolbox
toolbox,
): Promise<string | null> => {
const { system } = toolbox;
const config = await getSettings(toolbox);