officedesk 0.0.0 → 0.0.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/.github/workflows/publish-officedesk.yml +49 -0
- package/README.md +15 -27
- package/package.json +18 -7
- package/LICENSE +0 -21
- package/index.js +0 -18
|
@@ -0,0 +1,49 @@
|
|
|
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 }}
|
package/README.md
CHANGED
|
@@ -1,36 +1,24 @@
|
|
|
1
|
-
#
|
|
1
|
+
# officedesk
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
6
|
-
Officedesk is a placeholder Node.js package ready for further development. This repo currently provides just bootstrap files to help you get started, including npm configuration, licensing, and an entry point.
|
|
3
|
+
Meta-package that installs all [officedesk](https://officedesk.ai) AI plugins in one command.
|
|
7
4
|
|
|
8
5
|
## Installation
|
|
9
|
-
```
|
|
10
|
-
npm install
|
|
11
|
-
yarn install
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
You can run the example entry file directly:
|
|
16
6
|
|
|
17
|
-
```
|
|
18
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g officedesk
|
|
19
9
|
```
|
|
20
10
|
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
Welcome to Officedesk!
|
|
24
|
-
```
|
|
11
|
+
## Included plugins
|
|
25
12
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
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 |
|
|
31
22
|
|
|
32
|
-
|
|
33
|
-
Replace the sample logic in `index.js` with your actual project code. Update this README as your project evolves.
|
|
23
|
+
Each plugin can also be installed individually via its own package.
|
|
34
24
|
|
|
35
|
-
## License
|
|
36
|
-
MIT. See [LICENSE](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "officedesk",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "officedesk",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Installs all officedesk AI plugins",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"@officedesk/plugin-email": "*",
|
|
7
|
+
"@officedesk/plugin-gmail": "*",
|
|
8
|
+
"@officedesk/plugin-google-calendar": "*",
|
|
9
|
+
"@officedesk/plugin-google-sheets": "*",
|
|
10
|
+
"@officedesk/plugin-jira": "*",
|
|
11
|
+
"@officedesk/plugin-odoo": "*",
|
|
12
|
+
"@officedesk/plugin-xero": "*"
|
|
8
13
|
},
|
|
9
|
-
"
|
|
10
|
-
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"license": "ISC",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/initdsg/officedesk.ai-cli.git"
|
|
21
|
+
}
|
|
11
22
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 initd.sg
|
|
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/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// index.js - Example entry file for "officedesk"
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* This is a placeholder main file for the Officedesk project.
|
|
5
|
-
* Replace the logic below with your actual implementation.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
function main() {
|
|
9
|
-
console.log("Welcome to Officedesk!");
|
|
10
|
-
// Add your app logic here
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// If run directly, execute main
|
|
14
|
-
if (require.main === module) {
|
|
15
|
-
main();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
module.exports = { main };
|