officedesk 0.0.2 → 0.0.4

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
@@ -10,15 +10,15 @@ npm install -g officedesk
10
10
 
11
11
  ## Included plugins
12
12
 
13
- | Package | Description |
14
- |---|---|
15
- | [@officedesk/plugin-email](https://www.npmjs.com/package/@officedesk/plugin-email) | Email integration |
16
- | [@officedesk/plugin-gmail](https://www.npmjs.com/package/@officedesk/plugin-gmail) | Gmail integration |
17
- | [@officedesk/plugin-google-calendar](https://www.npmjs.com/package/@officedesk/plugin-google-calendar) | Google Calendar integration |
18
- | [@officedesk/plugin-google-sheets](https://www.npmjs.com/package/@officedesk/plugin-google-sheets) | Google Sheets integration |
19
- | [@officedesk/plugin-jira](https://www.npmjs.com/package/@officedesk/plugin-jira) | Jira integration |
20
- | [@officedesk/plugin-odoo](https://www.npmjs.com/package/@officedesk/plugin-odoo) | Odoo integration |
21
- | [@officedesk/plugin-xero](https://www.npmjs.com/package/@officedesk/plugin-xero) | Xero accounting integration |
13
+ | Command | Package | Description |
14
+ |---|---|---|
15
+ | `officedesk-plugin-email` | [@officedesk/plugin-email](https://www.npmjs.com/package/@officedesk/plugin-email) | Email integration |
16
+ | `officedesk-plugin-gmail` | [@officedesk/plugin-gmail](https://www.npmjs.com/package/@officedesk/plugin-gmail) | Gmail integration |
17
+ | `officedesk-plugin-google-calendar` | [@officedesk/plugin-google-calendar](https://www.npmjs.com/package/@officedesk/plugin-google-calendar) | Google Calendar integration |
18
+ | `officedesk-plugin-google-sheets` | [@officedesk/plugin-google-sheets](https://www.npmjs.com/package/@officedesk/plugin-google-sheets) | Google Sheets integration |
19
+ | `officedesk-plugin-jira` | [@officedesk/plugin-jira](https://www.npmjs.com/package/@officedesk/plugin-jira) | Jira integration |
20
+ | `officedesk-plugin-odoo` | [@officedesk/plugin-odoo](https://www.npmjs.com/package/@officedesk/plugin-odoo) | Odoo integration |
21
+ | `officedesk-plugin-xero` | [@officedesk/plugin-xero](https://www.npmjs.com/package/@officedesk/plugin-xero) | Xero accounting integration |
22
22
 
23
23
  Each plugin can also be installed individually via its own package.
24
24
 
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ require("@officedesk/plugin-email/bin/run.js");
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ require("@officedesk/plugin-gmail/bin/run.js");
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ require("@officedesk/plugin-google-calendar/bin/run.js");
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ require("@officedesk/plugin-google-sheets/bin/run.js");
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ require("@officedesk/plugin-jira/bin/run.js");
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ require("@officedesk/plugin-odoo/bin/run.js");
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ require("@officedesk/plugin-xero/bin/run.js");
package/package.json CHANGED
@@ -1,7 +1,19 @@
1
1
  {
2
2
  "name": "officedesk",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Installs all officedesk AI plugins",
5
+ "bin": {
6
+ "officedesk-plugin-email": "bin/officedesk-plugin-email.js",
7
+ "officedesk-plugin-gmail": "bin/officedesk-plugin-gmail.js",
8
+ "officedesk-plugin-google-calendar": "bin/officedesk-plugin-google-calendar.js",
9
+ "officedesk-plugin-google-sheets": "bin/officedesk-plugin-google-sheets.js",
10
+ "officedesk-plugin-jira": "bin/officedesk-plugin-jira.js",
11
+ "officedesk-plugin-odoo": "bin/officedesk-plugin-odoo.js",
12
+ "officedesk-plugin-xero": "bin/officedesk-plugin-xero.js"
13
+ },
14
+ "files": [
15
+ "bin"
16
+ ],
5
17
  "dependencies": {
6
18
  "@officedesk/plugin-email": "*",
7
19
  "@officedesk/plugin-gmail": "*",
@@ -1,49 +0,0 @@
1
- name: Publish officedesk
2
-
3
- on:
4
- push:
5
- tags:
6
- - 'officedesk/v*'
7
-
8
- permissions:
9
- contents: write
10
- id-token: write
11
-
12
- jobs:
13
- publish:
14
- runs-on: ubuntu-latest
15
- environment:
16
- name: production
17
-
18
- steps:
19
- - name: Checkout repository
20
- uses: actions/checkout@v4
21
-
22
- - name: Setup Node.js
23
- uses: actions/setup-node@v4
24
- with:
25
- node-version: 24
26
- registry-url: https://registry.npmjs.org
27
-
28
- - name: Parse version from tag
29
- id: parse
30
- run: |
31
- TAG=${GITHUB_REF_NAME} # e.g. officedesk/v1.2.3
32
- VERSION=${TAG#*/v} # 1.2.3
33
- echo "version=$VERSION" >> $GITHUB_OUTPUT
34
-
35
- - name: Set version
36
- run: npm version ${{ steps.parse.outputs.version }} --no-git-tag-version
37
-
38
- - name: Commit version bump
39
- run: |
40
- git config user.name "github-actions[bot]"
41
- git config user.email "github-actions[bot]@users.noreply.github.com"
42
- git add package.json
43
- git commit -m "chore(release): bump officedesk to v${{ steps.parse.outputs.version }}"
44
- git push origin HEAD:main
45
-
46
- - name: Publish
47
- run: npm publish --access public
48
- env:
49
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}