@deriv-web-design/ui 0.1.4 → 0.1.5
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/block-registry.json +2358 -57
- package/components.manifest.json +2432 -0
- package/dist/award-leaf-left-HVAB5T5H.png +0 -0
- package/dist/award-leaf-right-WR5I37KI.png +0 -0
- package/dist/index.css +872 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +198 -1
- package/dist/index.d.ts +198 -1
- package/dist/index.js +577 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +569 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -5
package/package.json
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deriv-web-design/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "Deriv design-system React blocks, with a machine-readable block registry and component manifest for automated page builders.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/deriv-com/website-design-design-system-global.git",
|
|
8
|
+
"directory": "packages/ui"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/deriv-com/website-design-design-system-global/tree/main/packages/ui#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/deriv-com/website-design-design-system-global/issues"
|
|
13
|
+
},
|
|
4
14
|
"main": "./dist/index.js",
|
|
5
15
|
"module": "./dist/index.mjs",
|
|
6
16
|
"types": "./dist/index.d.ts",
|
|
@@ -12,19 +22,25 @@
|
|
|
12
22
|
},
|
|
13
23
|
"./styles.css": "./dist/index.css",
|
|
14
24
|
"./tokens.css": "./tokens.css",
|
|
15
|
-
"./block-registry.json": "./block-registry.json"
|
|
25
|
+
"./block-registry.json": "./block-registry.json",
|
|
26
|
+
"./components.manifest.json": "./components.manifest.json"
|
|
16
27
|
},
|
|
17
28
|
"files": [
|
|
18
29
|
"dist",
|
|
19
30
|
"tokens.css",
|
|
20
|
-
"block-registry.json"
|
|
31
|
+
"block-registry.json",
|
|
32
|
+
"components.manifest.json"
|
|
21
33
|
],
|
|
22
34
|
"scripts": {
|
|
23
35
|
"generate:registry": "node scripts/generate-block-registry.ts",
|
|
24
|
-
"
|
|
36
|
+
"generate:manifest": "node scripts/generate-component-manifest.ts",
|
|
37
|
+
"generate": "pnpm generate:manifest && pnpm generate:registry",
|
|
38
|
+
"validate:registry": "node scripts/validate-block-registry.ts",
|
|
39
|
+
"test": "node scripts/run-tests.ts",
|
|
40
|
+
"prebuild": "pnpm --filter @deriv-web-design/tokens build && cp ../tokens/tokens.css ./tokens.css && pnpm generate && pnpm validate:registry",
|
|
25
41
|
"build": "tsup",
|
|
26
42
|
"dev": "tsup --watch",
|
|
27
|
-
"prepublishOnly": "
|
|
43
|
+
"prepublishOnly": "pnpm generate && pnpm validate:registry && pnpm test"
|
|
28
44
|
},
|
|
29
45
|
"publishConfig": {
|
|
30
46
|
"registry": "https://registry.npmjs.org",
|