|
9 | 9 | "description": "The schema version of this devbox.json file.",
|
10 | 10 | "type": "string"
|
11 | 11 | },
|
| 12 | + "name": { |
| 13 | + "description": "The name of the Devbox development environment.", |
| 14 | + "type": "string" |
| 15 | + }, |
| 16 | + "description": { |
| 17 | + "description": "A description of the Devbox development environment.", |
| 18 | + "type": "string" |
| 19 | + }, |
12 | 20 | "packages": {
|
13 | 21 | "description": "Collection of packages to install",
|
14 | 22 | "oneOf": [
|
|
25 | 33 | "patternProperties": {
|
26 | 34 | ".*": {
|
27 | 35 | "oneOf": [
|
28 |
| - { |
29 |
| - "type": "object", |
30 |
| - "description": "Version number of the specified package in {\"version\": \"1.2.3\"} format.", |
31 |
| - "properties": { |
32 |
| - "version": { |
33 |
| - "type": "string", |
34 |
| - "description": "Version of the package" |
35 |
| - }, |
36 |
| - "platforms": { |
37 |
| - "type": "array", |
38 |
| - "description": "Names of platforms to install the package on. This package will be skipped for any platforms not on this list", |
39 |
| - "items": { |
40 |
| - "enum": ["i686-linux", "aarch64-linux", "aarch64-darwin", "x86_64-darwin", "x86_64-linux", "armv7l-linux"] |
| 36 | + { |
| 37 | + "type": "object", |
| 38 | + "description": "Version number of the specified package in {\"version\": \"1.2.3\"} format.", |
| 39 | + "properties": { |
| 40 | + "version": { |
| 41 | + "type": "string", |
| 42 | + "description": "Version of the package" |
| 43 | + }, |
| 44 | + "platforms": { |
| 45 | + "type": "array", |
| 46 | + "description": "Names of platforms to install the package on. This package will be skipped for any platforms not on this list", |
| 47 | + "items": { |
| 48 | + "enum": [ |
| 49 | + "i686-linux", |
| 50 | + "aarch64-linux", |
| 51 | + "aarch64-darwin", |
| 52 | + "x86_64-darwin", |
| 53 | + "x86_64-linux", |
| 54 | + "armv7l-linux" |
| 55 | + ] |
| 56 | + } |
| 57 | + }, |
| 58 | + "excluded_platforms": { |
| 59 | + "type": "array", |
| 60 | + "description": "Names of platforms to exclude the package on", |
| 61 | + "items": { |
| 62 | + "enum": [ |
| 63 | + "i686-linux", |
| 64 | + "aarch64-linux", |
| 65 | + "aarch64-darwin", |
| 66 | + "x86_64-darwin", |
| 67 | + "x86_64-linux", |
| 68 | + "armv7l-linux" |
| 69 | + ] |
| 70 | + } |
| 71 | + }, |
| 72 | + "glibc_patch": { |
| 73 | + "type": "boolean", |
| 74 | + "description": "Whether to patch glibc to the latest available version for this package" |
| 75 | + } |
41 | 76 | }
|
42 | 77 | },
|
43 |
| - "excluded_platforms": { |
44 |
| - "type": "array", |
45 |
| - "description": "Names of platforms to exclude the package on", |
46 |
| - "items": { |
47 |
| - "enum": ["i686-linux", "aarch64-linux", "aarch64-darwin", "x86_64-darwin", "x86_64-linux", "armv7l-linux"] |
48 |
| - } |
49 |
| - }, |
50 |
| - "glibc_patch": { |
51 |
| - "type":"boolean", |
52 |
| - "description": "Whether to patch glibc to the latest available version for this package" |
| 78 | + { |
| 79 | + "type": "string", |
| 80 | + "description": "Version of the package to install." |
53 | 81 | }
|
54 |
| - } |
55 |
| - }, |
56 |
| - { |
57 |
| - "type": "string", |
58 |
| - "description": "Version of the package to install." |
59 |
| - } |
60 |
| - ] |
| 82 | + ] |
61 | 83 | }
|
62 | 84 | }
|
63 | 85 | }
|
|
0 commit comments