|
304 | 304 | "required": [
|
305 | 305 | "url"
|
306 | 306 | ]
|
| 307 | + }, |
| 308 | + "devEngineDependency": { |
| 309 | + "description": "Specifies requirements for development environment components such as operating systems, runtimes, or package managers. Used to ensure consistent development environments across the team.", |
| 310 | + "type": "object", |
| 311 | + "required": [ |
| 312 | + "name" |
| 313 | + ], |
| 314 | + "properties": { |
| 315 | + "name": { |
| 316 | + "type": "string", |
| 317 | + "description": "The name of the dependency, with allowed values depending on the parent field" |
| 318 | + }, |
| 319 | + "version": { |
| 320 | + "type": "string", |
| 321 | + "description": "The version range for the dependency" |
| 322 | + }, |
| 323 | + "onFail": { |
| 324 | + "type": "string", |
| 325 | + "enum": [ |
| 326 | + "ignore", |
| 327 | + "warn", |
| 328 | + "error", |
| 329 | + "download" |
| 330 | + ], |
| 331 | + "description": "What action to take if validation fails" |
| 332 | + } |
| 333 | + } |
307 | 334 | }
|
308 | 335 | },
|
309 | 336 | "type": "object",
|
|
810 | 837 | "type": "string"
|
811 | 838 | }
|
812 | 839 | },
|
| 840 | + "devEngines": { |
| 841 | + "description": "Define the runtime and package manager for developing the current project.", |
| 842 | + "type": "object", |
| 843 | + "properties": { |
| 844 | + "os": { |
| 845 | + "oneOf": [ |
| 846 | + { |
| 847 | + "$ref": "#/definitions/devEngineDependency" |
| 848 | + }, |
| 849 | + { |
| 850 | + "type": "array", |
| 851 | + "items": { |
| 852 | + "$ref": "#/definitions/devEngineDependency" |
| 853 | + } |
| 854 | + } |
| 855 | + ], |
| 856 | + "description": "Specifies which operating systems are supported for development" |
| 857 | + }, |
| 858 | + "cpu": { |
| 859 | + "oneOf": [ |
| 860 | + { |
| 861 | + "$ref": "#/definitions/devEngineDependency" |
| 862 | + }, |
| 863 | + { |
| 864 | + "type": "array", |
| 865 | + "items": { |
| 866 | + "$ref": "#/definitions/devEngineDependency" |
| 867 | + } |
| 868 | + } |
| 869 | + ], |
| 870 | + "description": "Specifies which CPU architectures are supported for development" |
| 871 | + }, |
| 872 | + "libc": { |
| 873 | + "oneOf": [ |
| 874 | + { |
| 875 | + "$ref": "#/definitions/devEngineDependency" |
| 876 | + }, |
| 877 | + { |
| 878 | + "type": "array", |
| 879 | + "items": { |
| 880 | + "$ref": "#/definitions/devEngineDependency" |
| 881 | + } |
| 882 | + } |
| 883 | + ], |
| 884 | + "description": "Specifies which C standard libraries are supported for development" |
| 885 | + }, |
| 886 | + "runtime": { |
| 887 | + "oneOf": [ |
| 888 | + { |
| 889 | + "$ref": "#/definitions/devEngineDependency" |
| 890 | + }, |
| 891 | + { |
| 892 | + "type": "array", |
| 893 | + "items": { |
| 894 | + "$ref": "#/definitions/devEngineDependency" |
| 895 | + } |
| 896 | + } |
| 897 | + ], |
| 898 | + "description": "Specifies which JavaScript runtimes (like Node.js, Deno, Bun) are supported for development. Values should use WinterCG Runtime Keys (see https://runtime-keys.proposal.wintercg.org/)" |
| 899 | + }, |
| 900 | + "packageManager": { |
| 901 | + "oneOf": [ |
| 902 | + { |
| 903 | + "$ref": "#/definitions/devEngineDependency" |
| 904 | + }, |
| 905 | + { |
| 906 | + "type": "array", |
| 907 | + "items": { |
| 908 | + "$ref": "#/definitions/devEngineDependency" |
| 909 | + } |
| 910 | + } |
| 911 | + ], |
| 912 | + "description": "Specifies which package managers are supported for development" |
| 913 | + } |
| 914 | + } |
| 915 | + }, |
813 | 916 | "preferGlobal": {
|
814 | 917 | "type": "boolean",
|
815 | 918 | "description": "DEPRECATED: This option used to trigger an npm warning, but it will no longer warn. It is purely there for informational purposes. It is now recommended that you install any binaries as local devDependencies wherever possible."
|
|
0 commit comments