@senomas/pi-git-hat 0.2.6 → 0.2.7

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.
Files changed (2) hide show
  1. package/lib/role-file.ts +1 -1
  2. package/package.json +1 -1
package/lib/role-file.ts CHANGED
@@ -13,7 +13,7 @@ import { fileURLToPath } from "node:url";
13
13
  import type { MergedConfig } from "./types.js";
14
14
 
15
15
  /** Directory containing this extension file. Used to resolve bundled roles/ directory. */
16
- export const EXTENSION_DIR = dirname(fileURLToPath(import.meta.url));
16
+ export const EXTENSION_DIR = resolve(dirname(fileURLToPath(import.meta.url)), "..");
17
17
 
18
18
  /**
19
19
  * Load a role's .md file from the project's fileDir directory.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@senomas/pi-git-hat",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Pi extension for role-based Git branch workflows — wear different hats by switching branches",
5
5
  "type": "module",
6
6
  "keywords": ["pi-package", "git", "workflow", "branching", "roles"],