@staffbase/plugins-client-sdk 2.0.0-beta.1 → 2.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staffbase/plugins-client-sdk",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.1",
4
4
  "description": "Staffbase plugins client SDK for JavaScript",
5
5
  "main": "dist/plugins-client-sdk.js",
6
6
  "module": "dist/plugins-client-sdk.esm.js",
@@ -16,7 +16,7 @@
16
16
  "lint-code": "yarn eslint src test",
17
17
  "lint-size": "yarn size-limit",
18
18
  "fix": "eslint --fix 'src/**/*.js' 'test/**/*.js'",
19
- "doc": "mkdir -p doc && yarn jsdoc2md src/main.js > doc/api.md",
19
+ "doc": "mkdir -p doc && yarn --silent jsdoc2md src/main.js > doc/api.md",
20
20
  "release": "semantic-release"
21
21
  },
22
22
  "repository": "https://github.com/Staffbase/plugins-client-sdk.git",
@@ -51,45 +51,45 @@
51
51
  }
52
52
  ],
53
53
  "dependencies": {
54
- "jsdoc": "^4.0.0",
54
+ "jsdoc": "^4.0.2",
55
55
  "loglevel": "^1.8.1",
56
56
  "object.entries-ponyfill": "1.0.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@amanda-mitchell/semantic-release-npm-multiple": "3.6.0",
60
- "@babel/core": "7.20.12",
59
+ "@amanda-mitchell/semantic-release-npm-multiple": "3.7.0",
60
+ "@babel/core": "7.21.0",
61
61
  "@babel/plugin-external-helpers": "^7.18.6",
62
- "@babel/plugin-transform-runtime": "7.19.6",
62
+ "@babel/plugin-transform-runtime": "7.21.0",
63
63
  "@babel/preset-env": "^7.20.2",
64
- "@babel/register": "^7.18.9",
65
- "@babel/runtime": "^7.20.13",
66
- "@commitlint/cli": "17.4.2",
67
- "@commitlint/config-conventional": "17.4.2",
64
+ "@babel/register": "^7.21.0",
65
+ "@babel/runtime": "^7.21.0",
66
+ "@commitlint/cli": "17.4.4",
67
+ "@commitlint/config-conventional": "17.4.4",
68
68
  "@rollup/plugin-babel": "6.0.3",
69
69
  "@rollup/plugin-commonjs": "24.0.1",
70
70
  "@rollup/plugin-node-resolve": "15.0.1",
71
71
  "@rollup/plugin-strip": "3.0.2",
72
- "@rollup/plugin-terser": "^0.3.0",
73
- "@size-limit/preset-small-lib": "8.1.2",
72
+ "@rollup/plugin-terser": "^0.4.0",
73
+ "@size-limit/preset-small-lib": "8.2.4",
74
74
  "@tmware/semantic-release-npm-github-publish": "^1.5.5",
75
- "babel-jest": "29.3.1",
75
+ "babel-jest": "29.5.0",
76
76
  "babel-plugin-istanbul": "^6.1.1",
77
77
  "compare-versions": "^5.0.3",
78
- "eslint": "^8.32.0",
79
- "eslint-config-prettier": "^8.6.0",
78
+ "eslint": "^8.35.0",
79
+ "eslint-config-prettier": "^8.7.0",
80
80
  "eslint-plugin-prettier": "^4.2.1",
81
81
  "husky": "^8.0.3",
82
- "jest": "29.3.1",
83
- "jest-environment-jsdom": "^29.3.1",
84
- "jest-extended": "3.2.3",
82
+ "jest": "29.5.0",
83
+ "jest-environment-jsdom": "^29.5.0",
84
+ "jest-extended": "3.2.4",
85
85
  "jsdoc-to-markdown": "^8.0.0",
86
- "prettier": "^2.8.3",
86
+ "prettier": "^2.8.4",
87
87
  "regenerator-runtime": "0.13.11",
88
- "rollup": "^3.10.1",
88
+ "rollup": "^3.18.0",
89
89
  "rollup-plugin-license": "3.0.1",
90
90
  "rollup-plugin-serve": "2.0.2",
91
91
  "rollup-plugin-strip-logger": "0.4.1",
92
92
  "rollup-plugin-template-html": "0.0.3",
93
- "size-limit": "^8.1.2"
93
+ "size-limit": "^8.2.4"
94
94
  }
95
95
  }
package/README.md DELETED
@@ -1,65 +0,0 @@
1
- # plugins-client-sdk
2
-
3
- [![Build Status](https://github.com/Staffbase/plugins-client-sdk/workflows/Continuous%20Integration/badge.svg?branch=master)](https://github.com/Staffbase/plugins-client-sdk/actions)
4
- [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
5
- [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
6
-
7
- If you are developing your own plugin for your Staffbase app you may want your plugin to communicate with our clients.
8
- In order to make this possible we implemented a Javascript based API and communication layer for all our apps.
9
- We want to provide a library to help you improve your plugin functionality.
10
- This SDK provides the basic functionality to get information provided by the Staffbase app to your plugin and trigger application events.
11
-
12
- ## Installation
13
-
14
- We provide our Plugin Client SDK via [npm](https://www.npmjs.com/package/@staffbase/plugins-client-sdk).
15
- Thus, you can just use yarn for installation:
16
-
17
- ```
18
- yarn add @staffbase/plugins-client-sdk
19
- ```
20
-
21
-
22
- ## API Reference
23
-
24
- Please look into our [API documentation](https://github.com/Staffbase/plugins-client-sdk/blob/master/doc/api.md)
25
-
26
- ## Usage
27
-
28
- Please look into our [Usage documentation](https://github.com/Staffbase/plugins-client-sdk/blob/master/doc/usage.md)
29
-
30
-
31
- ## Contribution
32
-
33
- - Fork it
34
- - Create a branch `git checkout -b feature-description`
35
- - Put your name into AUTHORS.txt
36
- - Commit your changes
37
- - As this repository is commitizen friendly you may use `yarn git-cz` to create a commit
38
- - Your commit message is validated with a husky managed githook
39
- - Push to the branch `git push origin feature-description`
40
- - Open a Pull Request
41
-
42
-
43
- ## Running Tests
44
-
45
- To run the tests a simple `# yarn jest` command in the root directory will suffice.
46
-
47
- ## License
48
-
49
- Copyright 2018 Staffbase GmbH.
50
-
51
- Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
52
-
53
-
54
- <table>
55
- <tr>
56
- <td>
57
- <img src="docs/assets/images/staffbase.png" alt="Staffbase GmbH" width="96" />
58
- </td>
59
- <td>
60
- <b>Staffbase GmbH</b>
61
- <br />Staffbase is an internal communications platform built to revolutionize the way you work and unite your company. Staffbase is hiring: <a href="https://jobs.staffbase.com" target="_blank" rel="noreferrer">jobs.staffbase.com</a>
62
- <br /><a href="https://github.com/Staffbase" target="_blank" rel="noreferrer">GitHub</a> | <a href="https://staffbase.com/" target="_blank" rel="noreferrer">Website</a> | <a href="https://jobs.staffbase.com" target="_blank" rel="noreferrer">Jobs</a>
63
- </td>
64
- </tr>
65
- </table>