opencode-office 0.1.0 โ†’ 0.1.3

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 CHANGED
@@ -1,71 +1,55 @@
1
1
  # opencode-office
2
2
 
3
- Microsoft Office Plugin
4
-
5
- > A Bun module created from the [bun-module](https://github.com/zenobi-us/bun-module) template
3
+ Microsoft Office Plugin for OpenCode.
6
4
 
7
5
  ## Features
8
6
 
9
7
  - ๐Ÿ—๏ธ TypeScript-based module architecture
10
- - ๐Ÿ”ง Mise task runner integration
8
+ - โšก Biome for high-performance linting and formatting
11
9
  - ๐Ÿ“ฆ Bun/npm build tooling
12
- - โœจ ESLint + Prettier formatting
13
10
  - ๐Ÿงช Vitest testing setup
14
- - ๐Ÿš€ GitHub Actions CI/CD
15
- - ๐Ÿ“ Release automation with release-please
11
+ - ๐Ÿš€ GitHub Actions CI/CD with Trusted Publishing (OIDC)
12
+ - ๐Ÿ“ Automated releases with Release Please
16
13
 
17
14
  ## Getting Started
18
15
 
19
- 1. **Clone this template:**
20
-
21
- ```bash
22
- cp -r bun-module your-module-name
23
- cd your-module-name
24
- ```
25
-
26
- 2. **Update package.json:**
27
- - Change `name` to your module name
28
- - Update `description`
29
- - Update `repository.url`
30
-
31
- 3. **Install dependencies:**
16
+ 1. **Install dependencies:**
32
17
 
33
18
  ```bash
34
19
  bun install
35
20
  ```
36
21
 
37
- 4. **Implement your module in `src/index.ts`:**
22
+ 2. **Development:**
23
+ - `npm run build` - Build the module
24
+ - `npm run lint` - Lint code
25
+ - `npm run format` - Format code
26
+ - `npm run test` - Run tests
38
27
 
39
- ```typescript
40
- export function hello(name: string): string {
41
- return `Hello, ${name}!`;
42
- }
43
- ```
28
+ ## Releasing & Publishing
44
29
 
45
- 5. **Test your module:**
46
- ```bash
47
- mise run test
48
- ```
30
+ This project uses **Release Please** for automated versioning and changelogs.
49
31
 
50
- ## Development
32
+ ### 1. Conventional Commits
51
33
 
52
- - `mise run build` - Build the module
53
- - `mise run test` - Run tests
54
- - `mise run lint` - Lint code
55
- - `mise run lint:fix` - Fix linting issues
56
- - `mise run format` - Format code with Prettier
34
+ We follow the [Conventional Commits](https://www.conventionalcommits.org/) specification for all changes:
57
35
 
58
- ## Author
36
+ - `fix:` bumps patch version (0.1.0 -> 0.1.1)
37
+ - `feat:` bumps minor version (0.1.0 -> 0.2.0)
38
+ - `feat!:` or `fix!:` bumps major version (breaking changes)
59
39
 
60
- - [al-scion](https://github.com/al-scion)
40
+ ### 2. Automated Release Workflow
61
41
 
62
- ## Repository
42
+ 1. Push your commits to the `main` branch.
43
+ 2. Release Please will automatically open/update a "Release PR" with the new version and changelog.
44
+ 3. Merge the Release PR to trigger the automated build and publish to npm.
63
45
 
64
- - [opencode-office](https://github.com/al-scion/opencode-office)
46
+ ### 3. NPM Trusted Publishing
65
47
 
66
- ## Contributing
48
+ Authentication with npm is handled automatically via GitHub Actions OIDC (OpenID Connect). No manual tokens are required.
67
49
 
68
- Contributions are welcome! Please file issues or submit pull requests on the GitHub repository.
50
+ ## Author
51
+
52
+ - [al-scion](https://github.com/al-scion)
69
53
 
70
54
  ## License
71
55
 
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { type Plugin } from '@opencode-ai/plugin';
1
+ import type { Plugin } from "@opencode-ai/plugin";
2
2
  export declare const OfficePlugin: Plugin;
3
3
  export default OfficePlugin;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { Plugin } from "@opencode-ai/plugin";
2
+ export declare const OfficePlugin: Plugin;
3
+ export default OfficePlugin;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "opencode-office",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "Microsoft Office plugin for OpenCode",
5
+ "type": "module",
6
+ "license": "MIT",
5
7
  "author": {
6
8
  "name": "al-scion",
7
9
  "email": "abel@withscion.com"
8
10
  },
9
- "type": "module",
10
11
  "exports": {
11
12
  ".": {
12
13
  "types": "./dist/index.d.ts",
@@ -22,21 +23,21 @@
22
23
  "provenance": true
23
24
  },
24
25
  "files": [
25
- "dist",
26
- "src/version.ts"
26
+ "dist"
27
27
  ],
28
+ "scripts": {
29
+ "build": "bun build ./src/index.ts --outdir dist --target bun && bun x tsc",
30
+ "lint": "biome lint src",
31
+ "lint:fix": "biome check --write --unsafe src",
32
+ "format": "biome format --write src",
33
+ "test": "bun test",
34
+ "publish": "bun run scripts/publish.ts"
35
+ },
28
36
  "devDependencies": {
29
- "@eslint/js": "^9.39.1",
37
+ "@biomejs/biome": "1.9.4",
30
38
  "@opencode-ai/plugin": "^1.1.16",
31
39
  "@types/node": "^20.11.5",
32
- "@typescript-eslint/eslint-plugin": "8.47.0",
33
- "@typescript-eslint/parser": "8.47.0",
34
- "bun-types": "latest",
35
- "eslint": "^9.39.1",
36
- "eslint-config-prettier": "10.1.8",
37
- "eslint-plugin-prettier": "^5.1.3",
38
- "prettier": "^3.2.4",
39
- "typescript-eslint": "^8.47.0",
40
+ "@types/bun": "^1.3.5",
40
41
  "vitest": "^3.2.4"
41
42
  }
42
43
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 zenobi.us
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/src/version.ts DELETED
@@ -1 +0,0 @@
1
- export const VERSION = '0.1.0';