opencode-office 0.1.12 → 0.1.14
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/dist/index.js +2 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -3,16 +3,17 @@
|
|
|
3
3
|
import { homedir } from "os";
|
|
4
4
|
import { join } from "path";
|
|
5
5
|
var copyManifest = async () => {
|
|
6
|
+
console.log("Copying manifest...");
|
|
6
7
|
const sourcePath = join(process.cwd(), "assets", "manifest.xml");
|
|
7
8
|
const destPath = join(homedir(), "Library/Containers/com.microsoft.Excel/Data/Documents/wef", "manifest.xml");
|
|
8
9
|
await Bun.write(destPath, Bun.file(sourcePath), { createPath: true });
|
|
10
|
+
console.log("Manifest copied successfully!");
|
|
9
11
|
};
|
|
10
12
|
|
|
11
13
|
// src/index.ts
|
|
12
14
|
var OfficePlugin = async (ctx) => {
|
|
13
15
|
console.log("Microsoft Office Plugin Loaded Successfully!");
|
|
14
16
|
await copyManifest();
|
|
15
|
-
console.log("Manifest copied successfully!");
|
|
16
17
|
return {};
|
|
17
18
|
};
|
|
18
19
|
var src_default = OfficePlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-office",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "Microsoft Office plugin for OpenCode",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "al-scion",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"checktypes": "tsc --noEmit",
|
|
18
18
|
"build": "bun run scripts/build.ts",
|
|
19
|
+
"login": "npm login",
|
|
19
20
|
"release": "bun run build && npm publish --no-provenance"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|