zinggrid-metadata 1.0.2 → 1.0.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/index.mjs +11 -0
- package/package.json +5 -5
- package/resources/capabilities-metadata.json +4778 -0
- package/resources/content-model-schema.json +593 -0
- package/resources/features-registry.json +10153 -0
package/index.mjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import url from 'url';
|
|
4
|
+
|
|
5
|
+
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|
6
|
+
|
|
7
|
+
const features = JSON.parse(fs.readFileSync(path.join(__dirname, 'resources/features-registry.json'), 'utf-8'));
|
|
8
|
+
const cms = JSON.parse(fs.readFileSync(path.join(__dirname, 'resources/content-model-schema.json'), 'utf-8'));
|
|
9
|
+
const capabilities = JSON.parse(fs.readFileSync(path.join(__dirname, 'resources/capabilities-metadata.json'), 'utf-8'));
|
|
10
|
+
|
|
11
|
+
export { features, cms, capabilities };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zinggrid-metadata",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"zinggridVersion": "2.1.5",
|
|
5
5
|
"description": "Capabilities metadata and features registry for ZingGrid.",
|
|
6
6
|
"keywords": [
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"web-components"
|
|
15
15
|
],
|
|
16
16
|
"exports": {
|
|
17
|
-
".": "./index.mjs"
|
|
17
|
+
".": "./index.mjs",
|
|
18
|
+
"./resources/*": "./resources/*"
|
|
18
19
|
},
|
|
19
20
|
"files": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"features-registry.json"
|
|
21
|
+
"index.mjs",
|
|
22
|
+
"resources/"
|
|
23
23
|
],
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|