@cocreate/server-telemetry 1.15.0

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 ADDED
@@ -0,0 +1,65 @@
1
+ # CoCreate-metrics
2
+
3
+ A simple metrics component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/metrics)
4
+
5
+ ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-metrics?style=flat-square)
6
+ ![GitHub contributors](https://img.shields.io/github/contributors/CoCreate-app/CoCreate-metrics?style=flat-square)
7
+ ![License](https://img.shields.io/static/v1?style=flat-square&label=license&message=SSPL&color=green)
8
+ ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
9
+
10
+ ![CoCreate](https://cdn.cocreate.app/logo.png)
11
+
12
+ [CoCreate Docs](https://cocreate.app/docs/metrics)
13
+
14
+ We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/issues) and [pull requests](https://github.com/CoCreate-app/Realtime_Admin_CRM_and_CMS/pulls) or merely upvote or comment on existing issues or pull requests.
15
+
16
+ We appreciate your continued support, thank you!
17
+
18
+ # Table of Contents
19
+
20
+ - [Table of Contents](#table-of-contents)
21
+ - [Announcements](#announcements)
22
+ - [Roadmap](#roadmap)
23
+ - [How to Contribute](#how-to-contribute)
24
+ - [About](#about)
25
+ - [License](#license)
26
+
27
+ <a name="announcements"></a>
28
+
29
+ # Announcements
30
+
31
+ All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-metrics/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-metrics/releases). You may also subscribe to email for releases and breaking changes.
32
+
33
+ <a name="roadmap"></a>
34
+
35
+ # Roadmap
36
+
37
+ If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-metrics/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-metrics/pulls). We would love to hear your feedback.
38
+
39
+ <a name="about"></a>
40
+
41
+ # About
42
+
43
+ CoCreate-metrics is guided and supported by the CoCreate Developer Experience Team.
44
+
45
+ Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
46
+
47
+ CoCreate-metrics is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
48
+
49
+ <a name="contribute"></a>
50
+
51
+ # How to Contribute
52
+
53
+ We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-metrics/blob/master/CONTRIBUTING.md) guide for details.
54
+
55
+ <a name="license"></a>
56
+
57
+ # License
58
+
59
+ This software is dual-licensed under the GNU Affero General Public License version 3 (AGPLv3) and a commercial license.
60
+
61
+ - **Open Source Use**: For open-source projects and non-commercial use, this software is available under the AGPLv3. The AGPLv3 allows you to freely use, modify, and distribute this software, provided that all modifications and derivative works are also licensed under the AGPLv3. For the full license text, see the [LICENSE file](https://github.com/CoCreate-app/CoCreate-metrics/blob/master/LICENSE).
62
+
63
+ - **Commercial Use**: For-profit companies and individuals intending to use this software for commercial purposes must obtain a commercial license. The commercial license is available when you sign up for an API key on our [website](https://cocreate.app). This license permits proprietary use and modification of the software without the copyleft requirements of the AGPLv3. It is ideal for integrating this software into proprietary commercial products and applications.
64
+
65
+ If you have not purchased a commercial license and intend to use this software for commercial purposes, you are required to sign up for an API key on our website.
@@ -0,0 +1,217 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <title>CoCreate-server-telemetry Documentation | CoCreateJS</title>
8
+ <link
9
+ rel="icon"
10
+ type="image/png"
11
+ sizes="32x32"
12
+ href="https://cocreate.app/images/favicon.ico" />
13
+ <meta
14
+ name="description"
15
+ content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
16
+ <meta
17
+ name="keywords"
18
+ content="helper classes, utility classes, css framework, css library, inline style classes" />
19
+ <meta name="robots" content="index,follow" />
20
+ </head>
21
+
22
+ <body>
23
+ <div array="" object="" key="" id="cocreate-server-telemetry">
24
+ <div
25
+ class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
26
+ <div class="display:flex align-items:center">
27
+ <h2>CoCreate-server-telemetry</h2>
28
+ </div>
29
+ <div
30
+ class="display:flex align-items:center font-size:20px"
31
+ share-height="600"
32
+ share-width="500"
33
+ share-media="https://via.placeholder.com/300/09f/fff.png">
34
+ <a
35
+ href="https://github.com/CoCreate-app/CoCreate-server-telemetry"
36
+ target="_blank"
37
+ class="margin-right:15px"
38
+ ><i class="fab fa-github"></i
39
+ ></a>
40
+ <a
41
+ class="margin-right:15px share"
42
+ share-network="twitter"
43
+ title="Share on twitter"
44
+ ><i class="fab fa-twitter"></i
45
+ ></a>
46
+ <a
47
+ class="margin-right:15px share"
48
+ share-network="facebook"
49
+ title="Share on Facebook"
50
+ ><i class="fab fa-facebook"></i
51
+ ></a>
52
+ <a
53
+ class="margin-right:15px share"
54
+ share-network="instagram"
55
+ title="Share on instagram"
56
+ ><i class="fab fa-instagram"></i
57
+ ></a>
58
+ <a
59
+ class="margin-right:15px share"
60
+ share-network="share"
61
+ title="Share on share"
62
+ ><i class="fas fa-share-alt"></i
63
+ ></a>
64
+ </div>
65
+ </div>
66
+ <h1 class="max-width:500px margin:20px_10px">
67
+ A simple HTML5, CSS and pure javascript component. Easy
68
+ configuration using data-attributes and highly styleable.
69
+ </h1>
70
+ <div id="server-telemetry-section" class="display:flex flex-wrap:wrap">
71
+ <div
72
+ class="flex-grow:1 min-width:300px width:50% padding:20px_10px">
73
+ <h2
74
+ class="border-bottom:1px_solid_lightgrey padding:5px_0px">
75
+ Install
76
+ </h2>
77
+ <pre
78
+ class="margin-top:15px"><code class="language-javascript">npm install cocreate-server-telemetry</code></pre>
79
+ <p class="padding:10px_0px">Or you can use cdn link:</p>
80
+ <pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-server-telemetry.min.js</code></pre>
81
+
82
+ <h2
83
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
84
+ Usage
85
+ </h2>
86
+ <p class="padding:10px_0px">server-telemetry usage content</p>
87
+ <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
88
+
89
+ <h2
90
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
91
+ Reference
92
+ </h2>
93
+ <p class="padding:10px_0px">
94
+ This is server-telemetry reference content
95
+ </p>
96
+ <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
97
+ <p class="padding:10px_0px">
98
+ This is server-telemetry reference content
99
+ </p>
100
+
101
+ <h2
102
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
103
+ Attributes
104
+ </h2>
105
+ <ul class="list-style-type:none">
106
+ <li
107
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
108
+ <h4>
109
+ <span>server-telemetry</span>
110
+ <span class="cocreate-badge success"
111
+ >string</span
112
+ >
113
+ <span class="cocreate-badge warning"
114
+ >optional</span
115
+ >
116
+ </h4>
117
+ <p>server-telemetry-attribute</p>
118
+ </li>
119
+ <li
120
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
121
+ <h4>
122
+ <span>server-telemetry</span>
123
+ <span class="cocreate-badge success"
124
+ >string</span
125
+ >
126
+ <span class="cocreate-badge warning"
127
+ >optional</span
128
+ >
129
+ </h4>
130
+ <p>server-telemetry-attribute</p>
131
+ </li>
132
+ </ul>
133
+ </div>
134
+
135
+ <div
136
+ class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
137
+ <!-- SandBox -->
138
+ <div
139
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
140
+ id="playground">
141
+ <div
142
+ id="demo-code"
143
+ resizable
144
+ class="position:relative height:50%">
145
+ <textarea
146
+ type="code"
147
+ lang="html"
148
+ array="demos"
149
+ object=""
150
+ key="demo"
151
+ save="false"
152
+ id="demo"
153
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
154
+ <div
155
+ resize="bottom"
156
+ class="background:lightgrey"></div>
157
+ </div>
158
+
159
+ <div
160
+ id="demo-preview"
161
+ class="position:relative overflow:auto background-color:white">
162
+ <div get-value="#demo" class="padding:20px"></div>
163
+ </div>
164
+
165
+ <div
166
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
167
+ <a
168
+ class="margin-right:10px"
169
+ id="eye"
170
+ show="#eye-slash"
171
+ hide="#eye, #demo-preview"
172
+ toggle="code-height"
173
+ toggle-query="#demo-code"
174
+ ><i class="far fa-eye"></i
175
+ ></a>
176
+ <a
177
+ class="margin-right:10px"
178
+ hidden
179
+ id="eye-slash"
180
+ show="#eye, #demo-preview"
181
+ hide="#eye-slash"
182
+ toggle="code-height"
183
+ toggle-query="#demo-code"
184
+ ><i class="fas fa-eye-slash"></i
185
+ ></a>
186
+ <a
187
+ class="margin-right:10px"
188
+ id="code"
189
+ show="#code-slash"
190
+ hide="#code, #demo-code"
191
+ ><i class="fa fa-code"></i
192
+ ></a>
193
+ <a
194
+ class="margin-right:10px"
195
+ hidden
196
+ id="code-slash"
197
+ show="#code, #demo-code"
198
+ hide="#code-slash"
199
+ ><i class="fas fa-code"></i
200
+ ></a>
201
+ <a
202
+ class="margin-right:5px"
203
+ fullscreen
204
+ target="#playground"
205
+ ><i class="fas fa-expand"></i
206
+ ></a>
207
+ </div>
208
+ </div>
209
+ <!-- End SandBox -->
210
+ </div>
211
+ </div>
212
+ </div>
213
+
214
+ <!--CoCreateJS-->
215
+ <script src="https://CoCreate.app/dist/CoCreate.js"></script>
216
+ </body>
217
+ </html>
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@cocreate/server-telemetry",
3
+ "version": "1.15.0",
4
+ "description": "CoCreate-server-telemetry",
5
+ "keywords": [
6
+ "cocreate-server-telemetry",
7
+ "low-code",
8
+ "realtime",
9
+ "realtime-framework",
10
+ "collaboration",
11
+ "shared-editing",
12
+ "html5-framework",
13
+ "javascript-framework"
14
+ ],
15
+ "type": "module",
16
+ "main": "./src/index.js",
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/CoCreate-app/CoCreate-server-telemetry.git"
23
+ },
24
+ "author": "CoCreate LLC",
25
+ "license": "AGPL-3.0",
26
+ "bugs": {
27
+ "url": "https://github.com/CoCreate-app/CoCreate-server-telemetry/issues"
28
+ },
29
+ "homepage": "https://cocreate.app/docs/CoCreate-server-telemetry",
30
+ "scripts": {
31
+ "demo": "PORT=5000 node demo/server.js",
32
+ "test": "echo \"Error: no test specified\" && exit 1"
33
+ }
34
+ }
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ tabWidth: 4,
3
+ semi: true,
4
+ trailingComma: "none",
5
+ bracketSameLine: true,
6
+ useTabs: true,
7
+ overrides: [
8
+ {
9
+ files: ["*.json", "*.yml", "*.yaml"],
10
+ options: {
11
+ tabWidth: 2,
12
+ useTabs: false
13
+ },
14
+ }
15
+ ],
16
+ };
@@ -0,0 +1,30 @@
1
+ export default {
2
+ dryRun: false,
3
+ branches: ["master"],
4
+ plugins: [
5
+ "@semantic-release/commit-analyzer",
6
+ "@semantic-release/release-notes-generator",
7
+ [
8
+ "@semantic-release/changelog",
9
+ {
10
+ changelogFile: "CHANGELOG.md",
11
+ },
12
+ ],
13
+ "@semantic-release/npm",
14
+ [
15
+ "@semantic-release/github",
16
+ {
17
+ successComment: false,
18
+ failTitle: false,
19
+ },
20
+ ],
21
+ [
22
+ "@semantic-release/git",
23
+ {
24
+ // Only stage and commit the changelog and package.json
25
+ assets: ["CHANGELOG.md", "package.json"],
26
+ message: "chore(release): ${nextRelease.version} [skip ci]",
27
+ },
28
+ ],
29
+ ],
30
+ };