@epic-web/workshop-utils 6.76.0 → 6.76.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ export type Workshop = {
13
13
  path: string;
14
14
  };
15
15
  export type WorkshopsConfig = z.infer<typeof ConfigSchema>;
16
+ export declare function getConfigPath(): string;
16
17
  export declare function loadConfig(): Promise<WorkshopsConfig>;
17
18
  export declare function saveConfig(config: WorkshopsConfig): Promise<void>;
18
19
  export declare function deleteConfig(): Promise<void>;
@@ -48,6 +48,9 @@ async function atomicWriteJSON(filePath, data) {
48
48
  await fs.writeFile(tmp, JSON.stringify(data, null, 2), { mode: 0o600 });
49
49
  await fs.rename(tmp, filePath);
50
50
  }
51
+ export function getConfigPath() {
52
+ return resolveConfigPath();
53
+ }
51
54
  export async function loadConfig() {
52
55
  const configPath = resolveConfigPath();
53
56
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epic-web/workshop-utils",
3
- "version": "6.76.0",
3
+ "version": "6.76.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },