opencode-office 0.1.1 โ†’ 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
 
@@ -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.1",
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,8 +23,7 @@
22
23
  "provenance": true
23
24
  },
24
25
  "files": [
25
- "dist",
26
- "src/version.ts"
26
+ "dist"
27
27
  ],
28
28
  "scripts": {
29
29
  "build": "bun build ./src/index.ts --outdir dist --target bun && bun x tsc",
@@ -31,13 +31,13 @@
31
31
  "lint:fix": "biome check --write --unsafe src",
32
32
  "format": "biome format --write src",
33
33
  "test": "bun test",
34
- "publish:npm": "bash ./scripts/publish.sh"
34
+ "publish": "bun run scripts/publish.ts"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@biomejs/biome": "1.9.4",
38
38
  "@opencode-ai/plugin": "^1.1.16",
39
39
  "@types/node": "^20.11.5",
40
- "bun-types": "latest",
40
+ "@types/bun": "^1.3.5",
41
41
  "vitest": "^3.2.4"
42
42
  }
43
43
  }
package/src/version.ts DELETED
@@ -1 +0,0 @@
1
- export const VERSION = "0.1.0";