@bitefoundry/outlook 0.3.1 → 0.3.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.
- package/package.json +7 -7
- package/scripts/postinstall.mjs +11 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitefoundry/outlook",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Microsoft Outlook terminal client & AI agent toolkit — Mail, Calendar, Tasks & Contacts (CLI, TUI, HTTP API, MCP)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"build:npm": "node scripts/build-npm.mjs"
|
|
40
40
|
},
|
|
41
41
|
"optionalDependencies": {
|
|
42
|
-
"@bitefoundry/outlook-win32-x64": "0.3.
|
|
43
|
-
"@bitefoundry/outlook-win32-arm64": "0.3.
|
|
44
|
-
"@bitefoundry/outlook-darwin-x64": "0.3.
|
|
45
|
-
"@bitefoundry/outlook-darwin-arm64": "0.3.
|
|
46
|
-
"@bitefoundry/outlook-linux-x64": "0.3.
|
|
47
|
-
"@bitefoundry/outlook-linux-arm64": "0.3.
|
|
42
|
+
"@bitefoundry/outlook-win32-x64": "0.3.2",
|
|
43
|
+
"@bitefoundry/outlook-win32-arm64": "0.3.2",
|
|
44
|
+
"@bitefoundry/outlook-darwin-x64": "0.3.2",
|
|
45
|
+
"@bitefoundry/outlook-darwin-arm64": "0.3.2",
|
|
46
|
+
"@bitefoundry/outlook-linux-x64": "0.3.2",
|
|
47
|
+
"@bitefoundry/outlook-linux-arm64": "0.3.2"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/scripts/postinstall.mjs
CHANGED
|
@@ -256,7 +256,17 @@ export function runPostinstall(options = {}) {
|
|
|
256
256
|
return { skipped: false, platform, linked };
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
|
|
259
|
+
function isMainModule() {
|
|
260
|
+
if (!process.argv[1]) return false;
|
|
261
|
+
const selfPath = fileURLToPath(import.meta.url);
|
|
262
|
+
try {
|
|
263
|
+
return fs.realpathSync(process.argv[1]) === fs.realpathSync(selfPath);
|
|
264
|
+
} catch {
|
|
265
|
+
return path.resolve(process.argv[1]) === path.resolve(selfPath);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
if (isMainModule()) {
|
|
260
270
|
try {
|
|
261
271
|
runPostinstall();
|
|
262
272
|
} catch {
|