@movable/rollup-plugin-package-manifest-validator 2.39.1 → 2.40.0-redondo-beach.2
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": "@movable/rollup-plugin-package-manifest-validator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.40.0-redondo-beach.2",
|
|
4
4
|
"description": "Validates package-manifest.yml",
|
|
5
5
|
"main": "dist",
|
|
6
6
|
"keywords": [],
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"volta": {
|
|
40
40
|
"extends": "../../package.json"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "77108898d1e7743f6c7c30482f41177edb3bb393"
|
|
43
43
|
}
|
|
@@ -28,7 +28,8 @@ const fieldSchema = {
|
|
|
28
28
|
provider: { type: 'string' },
|
|
29
29
|
template: { type: 'string' },
|
|
30
30
|
type: { type: 'string', enum: fieldTypes },
|
|
31
|
-
value: { type: strNumBool }
|
|
31
|
+
value: { type: strNumBool },
|
|
32
|
+
heading: { type: 'string' }
|
|
32
33
|
},
|
|
33
34
|
required: ['name', 'label', 'type'],
|
|
34
35
|
additionalProperties: false,
|
|
@@ -141,7 +141,8 @@ describe('pacakgeManifestValidator utility', async () => {
|
|
|
141
141
|
preview_text: 1,
|
|
142
142
|
provider: 1,
|
|
143
143
|
template: 1,
|
|
144
|
-
value: []
|
|
144
|
+
value: [],
|
|
145
|
+
heading: 1
|
|
145
146
|
}
|
|
146
147
|
]
|
|
147
148
|
};
|
|
@@ -170,7 +171,8 @@ describe('pacakgeManifestValidator utility', async () => {
|
|
|
170
171
|
preview_text: 'array',
|
|
171
172
|
provider: 'string',
|
|
172
173
|
template: 'string',
|
|
173
|
-
value: 'string,number,boolean'
|
|
174
|
+
value: 'string,number,boolean',
|
|
175
|
+
heading: 'string'
|
|
174
176
|
},
|
|
175
177
|
'types must be correct'
|
|
176
178
|
);
|