officedesk 0.0.18 → 0.0.19

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/bin/run.js +3 -1
  2. package/package.json +8 -4
package/bin/run.js CHANGED
@@ -12,10 +12,12 @@ function getPlatformPkg() {
12
12
 
13
13
  if (platform === 'win32' && arch === 'x64') return '@officedesk/win32-x64';
14
14
  if (platform === 'linux' && arch === 'x64') return '@officedesk/linux-x64';
15
+ if (platform === 'darwin' && arch === 'x64') return '@officedesk/darwin-x64';
16
+ if (platform === 'darwin' && arch === 'arm64') return '@officedesk/darwin-arm64';
15
17
 
16
18
  throw new Error(
17
19
  `officedesk: unsupported platform ${platform}/${arch}. ` +
18
- `Supported: linux/x64, win32/x64.`
20
+ `Supported: linux/x64, win32/x64, darwin/x64, darwin/arm64.`
19
21
  );
20
22
  }
21
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "officedesk",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Master CLI for officedesk-ai — discovers and delegates to officedesk-plugin-* executables",
5
5
  "bin": {
6
6
  "officedesk": "bin/run.js"
@@ -12,8 +12,10 @@
12
12
  "access": "public"
13
13
  },
14
14
  "optionalDependencies": {
15
- "@officedesk/linux-x64": "0.0.18",
16
- "@officedesk/win32-x64": "0.0.18"
15
+ "@officedesk/linux-x64": "0.0.19",
16
+ "@officedesk/win32-x64": "0.0.19",
17
+ "@officedesk/darwin-x64": "0.0.19",
18
+ "@officedesk/darwin-arm64": "0.0.19"
17
19
  },
18
20
  "scripts": {
19
21
  "build": "tsc",
@@ -21,7 +23,9 @@
21
23
  "test": "tsc && node --test dist/__tests__/*.test.js",
22
24
  "build:bin": "bun build src/index.ts --compile --outfile ../../dist/bin/officedesk",
23
25
  "build:bin:linux": "bun build src/index.ts --compile --target=bun-linux-x64 --outfile ../../dist/bin/officedesk-linux",
24
- "build:bin:windows": "bun build src/index.ts --compile --target=bun-windows-x64 --outfile ../../dist/bin/officedesk.exe"
26
+ "build:bin:windows": "bun build src/index.ts --compile --target=bun-windows-x64 --outfile ../../dist/bin/officedesk.exe",
27
+ "build:bin:macos-x64": "bun build src/index.ts --compile --target=bun-darwin-x64 --outfile ../../dist/bin/officedesk-darwin-x64",
28
+ "build:bin:macos-arm64": "bun build src/index.ts --compile --target=bun-darwin-arm64 --outfile ../../dist/bin/officedesk-darwin-arm64"
25
29
  },
26
30
  "keywords": [
27
31
  "officedesk",