@movable/rollup-plugin-package-manifest-validator 2.39.1 → 2.40.0-redondo-beach

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.
@@ -66,6 +66,9 @@ var fieldSchema = {
66
66
  },
67
67
  value: {
68
68
  type: strNumBool
69
+ },
70
+ heading: {
71
+ type: 'string'
69
72
  }
70
73
  },
71
74
  required: ['name', 'label', 'type'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/rollup-plugin-package-manifest-validator",
3
- "version": "2.39.1",
3
+ "version": "2.40.0-redondo-beach",
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": "4fa9811953eaff17901a4a4c702ff8609ac3f6f0"
42
+ "gitHead": "982821b947e7334c59c34609dcab01e622fbb898"
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
  );