@d-dev/pm-win-x64 0.1.1

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.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # pm
package/bin/pm.exe ADDED
Binary file
package/index.js ADDED
@@ -0,0 +1,11 @@
1
+
2
+ import { join } from "node:path";
3
+ import { existsSync } from "node:fs";
4
+
5
+ export function getBinPath() {
6
+ const binPath = join(import.meta.dirname, "bin", "pm.exe");
7
+ if (!existsSync(binPath)) {
8
+ throw new Error(`Binary not found at expected path: ${binPath}`);
9
+ }
10
+ return binPath;
11
+ }
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@d-dev/pm-win-x64",
3
+ "version": "0.1.1",
4
+ "description": "Manage stuff",
5
+ "author": "Derek Worthen <worthend.derek@gmail.com>",
6
+ "license": "MIT",
7
+ "repository": "github:dworthen/pm",
8
+ "type": "module",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./index.js"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
15
+ "files": [
16
+ "package.json",
17
+ "index.js",
18
+ "README.md",
19
+ "bin"
20
+ ],
21
+ "os": [
22
+ "win32"
23
+ ],
24
+ "cpu": [
25
+ "x64"
26
+ ]
27
+ }