@wix/zero-config-implementation 1.31.0 → 1.33.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.
@@ -14,6 +14,7 @@ export interface ResolvedType {
14
14
  /**
15
15
  * Resolved default value with its type.
16
16
  * For literals (string, number, boolean, null), the value is the actual JavaScript value.
17
+ * For structured literals (object, array), the value is the parsed JavaScript value.
17
18
  * For unresolvable values (references, expressions), we store the raw source text.
18
19
  */
19
20
  export type DefaultValue = {
@@ -28,6 +29,12 @@ export type DefaultValue = {
28
29
  } | {
29
30
  kind: 'null';
30
31
  value: null;
32
+ } | {
33
+ kind: 'object';
34
+ value: Record<string, unknown>;
35
+ } | {
36
+ kind: 'array';
37
+ value: unknown[];
31
38
  } | {
32
39
  kind: 'unresolved';
33
40
  value: string;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "registry": "https://registry.npmjs.org/",
5
5
  "access": "public"
6
6
  },
7
- "version": "1.31.0",
7
+ "version": "1.33.0",
8
8
  "description": "Core library for extracting component manifests from JS and CSS files",
9
9
  "type": "module",
10
10
  "main": "dist/index.js",
@@ -45,10 +45,11 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@wix/zero-config-schema": "1.1.0",
48
- "lightningcss": "^1.31.1"
48
+ "css-tree": "^3.2.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@faker-js/faker": "^10.2.0",
52
+ "@types/css-tree": "^2.3.11",
52
53
  "@types/node": "^20.0.0",
53
54
  "@types/react": "^18.3.1",
54
55
  "@types/react-dom": "^18.3.1",
@@ -83,5 +84,5 @@
83
84
  ]
84
85
  }
85
86
  },
86
- "falconPackageHash": "47671a9f6b5bba6b6a6a93ccf874198731eefd39404baf528141978b"
87
+ "falconPackageHash": "f8e67fc7279e8f0ef3dcc174a79f27788a086507530da6f9c3b5f169"
87
88
  }