|
3 | 3 | "title":"Rush main config File",
|
4 | 4 | "description":"The main configuration file for the Rush multi-project build tool. See http://rushjs.io for details.",
|
5 | 5 | "type":"object",
|
| 6 | +"definitions": { |
| 7 | +"environmentVariables": { |
| 8 | +"description":"Enviroment variables for the package manager", |
| 9 | +"type":"object", |
| 10 | +"additionalProperties": { |
| 11 | +"type":"object", |
| 12 | +"properties": { |
| 13 | +"value": { |
| 14 | +"type":"string" |
| 15 | + }, |
| 16 | +"override": { |
| 17 | +"type":"boolean" |
| 18 | + } |
| 19 | + }, |
| 20 | +"additionalProperties":false |
| 21 | + } |
| 22 | + } |
| 23 | + }, |
6 | 24 | "properties": {
|
7 | 25 | "$schema": {
|
8 | 26 | "description":"Part of the JSON Schema standard, this optional keyword declares the URL of the schema that the file conforms to. Editors may download the schema and use it to perform syntax highlighting.",
|
|
53 | 71 | "type":"object",
|
54 | 72 | "properties": {
|
55 | 73 | "environmentVariables": {
|
56 |
| -"description":"Enviroment variables for the package manager", |
57 |
| -"type":"object", |
58 |
| -"additionalProperties": { |
59 |
| -"type":"object", |
60 |
| -"properties": { |
61 |
| -"value": { |
62 |
| -"type":"string" |
63 |
| - }, |
64 |
| -"override": { |
65 |
| -"type":"boolean" |
66 |
| - } |
67 |
| - }, |
68 |
| -"additionalProperties":false |
69 |
| - } |
| 74 | +"$ref":"#/definitions/environmentVariables" |
70 | 75 | }
|
71 | 76 | },
|
72 | 77 | "additionalProperties":false
|
|
96 | 101 | ]
|
97 | 102 | },
|
98 | 103 | "environmentVariables": {
|
99 |
| -"description":"Enviroment variables for the package manager", |
100 |
| -"type":"object", |
101 |
| -"additionalProperties": { |
102 |
| -"type":"object", |
103 |
| -"properties": { |
104 |
| -"value": { |
105 |
| -"type":"string" |
106 |
| - }, |
107 |
| -"override": { |
108 |
| -"type":"boolean" |
109 |
| - } |
110 |
| - }, |
111 |
| -"additionalProperties":false |
112 |
| - } |
| 104 | +"$ref":"#/definitions/environmentVariables" |
113 | 105 | }
|
114 | 106 | },
|
115 | 107 | "additionalProperties":false
|
|
123 | 115 | "type":"boolean"
|
124 | 116 | },
|
125 | 117 | "environmentVariables": {
|
126 |
| -"description":"Enviroment variables for the package manager", |
127 |
| -"type":"object", |
128 |
| -"additionalProperties": { |
129 |
| -"type":"object", |
130 |
| -"properties": { |
131 |
| -"value": { |
132 |
| -"type":"string" |
133 |
| - }, |
134 |
| -"override": { |
135 |
| -"type":"boolean" |
136 |
| - } |
137 |
| - }, |
138 |
| -"additionalProperties":false |
139 |
| - } |
| 118 | +"$ref":"#/definitions/environmentVariables" |
140 | 119 | }
|
141 | 120 | },
|
142 | 121 | "additionalProperties":false
|
|