feat(daemon): Add central TSPM daemon and IPC client; refactor CLI to use daemon and improve monitoring/error handling
This commit is contained in:
10
ts/paths.ts
10
ts/paths.ts
@@ -1,4 +1,10 @@
|
||||
import * as plugins from './plugins.js';
|
||||
|
||||
export const packageDir: string = plugins.path.join(plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), '..');
|
||||
export const cwd: string = process.cwd();
|
||||
export const packageDir: string = plugins.path.join(
|
||||
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
||||
'..',
|
||||
);
|
||||
export const cwd: string = process.cwd();
|
||||
|
||||
import * as os from 'os';
|
||||
export const tspmDir: string = plugins.path.join(os.homedir(), '.tspm');
|
||||
|
Reference in New Issue
Block a user