@toa.io/norm 1.0.0-alpha.136 → 1.0.0-alpha.141

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": "@toa.io/norm",
3
- "version": "1.0.0-alpha.136",
3
+ "version": "1.0.0-alpha.141",
4
4
  "description": "Toa declarations normalization and validation",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -25,5 +25,5 @@
25
25
  "@toa.io/schemas": "1.0.0-alpha.125",
26
26
  "@toa.io/yaml": "1.0.0-alpha.93"
27
27
  },
28
- "gitHead": "73722f06d137283915ca8710ae09e5e53307e1f9"
28
+ "gitHead": "c249cafe7249cb5ab4e9c4624ff3175dad654955"
29
29
  }
@@ -64,6 +64,8 @@ properties:
64
64
  properties:
65
65
  image:
66
66
  type: string
67
+ run:
68
+ type: string
67
69
 
68
70
  entity:
69
71
  type: object
@@ -47,7 +47,7 @@ properties:
47
47
  - linux/amd64
48
48
  - linux/arm/v7
49
49
  - linux/arm64
50
- required: [base, platforms]
50
+ # required: [base]
51
51
  compositions:
52
52
  type: array
53
53
  minItems: 1
@@ -45,12 +45,6 @@ describe('registry', () => {
45
45
  expect(() => validate(context)).toThrow(/required property 'registry'/)
46
46
  })
47
47
 
48
- it('should require base', () => {
49
- delete context.registry.base
50
-
51
- expect(() => validate(context)).toThrow(/required property 'base'/)
52
- })
53
-
54
48
  it('should set default platforms', () => {
55
49
  delete context.registry.platforms
56
50