@isograph/compiler 0.0.0-main-d57fb7f5 → 0.0.0-main-1e6efe41
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/artifacts/linux-arm64/isograph_cli +0 -0
- package/artifacts/linux-x64/isograph_cli +0 -0
- package/artifacts/macos-arm64/isograph_cli +0 -0
- package/artifacts/macos-x64/isograph_cli +0 -0
- package/artifacts/win-x64/isograph_cli.exe +0 -0
- package/isograph-config-schema.json +93 -0
- package/package.json +1 -1
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,93 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
+
"title": "IsographProjectConfig",
|
4
|
+
"type": "object",
|
5
|
+
"required": [
|
6
|
+
"project_root",
|
7
|
+
"schema"
|
8
|
+
],
|
9
|
+
"properties": {
|
10
|
+
"$schema": {
|
11
|
+
"description": "The user may hard-code the JSON Schema for their version of the config.",
|
12
|
+
"type": [
|
13
|
+
"string",
|
14
|
+
"null"
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"artifact_directory": {
|
18
|
+
"description": "The relative path to the folder where the compiler should create artifacts Defaults to the project_root directory.",
|
19
|
+
"type": [
|
20
|
+
"string",
|
21
|
+
"null"
|
22
|
+
]
|
23
|
+
},
|
24
|
+
"options": {
|
25
|
+
"description": "Various options of less importance",
|
26
|
+
"allOf": [
|
27
|
+
{
|
28
|
+
"$ref": "#/definitions/ConfigFileOptions"
|
29
|
+
}
|
30
|
+
]
|
31
|
+
},
|
32
|
+
"project_root": {
|
33
|
+
"description": "The relative path to the folder where the compiler should look for Isograph literals",
|
34
|
+
"type": "string"
|
35
|
+
},
|
36
|
+
"schema": {
|
37
|
+
"description": "The relative path to the GraphQL schema",
|
38
|
+
"type": "string"
|
39
|
+
},
|
40
|
+
"schema_extensions": {
|
41
|
+
"description": "The relative path to schema extensions",
|
42
|
+
"default": [],
|
43
|
+
"type": "array",
|
44
|
+
"items": {
|
45
|
+
"type": "string"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"additionalProperties": false,
|
50
|
+
"definitions": {
|
51
|
+
"ConfigFileOptionalValidationLevel": {
|
52
|
+
"oneOf": [
|
53
|
+
{
|
54
|
+
"description": "If this validation error is encountered, it will be ignored",
|
55
|
+
"type": "string",
|
56
|
+
"enum": [
|
57
|
+
"ignore"
|
58
|
+
]
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"description": "If this validation error is encountered, a warning will be issued",
|
62
|
+
"type": "string",
|
63
|
+
"enum": [
|
64
|
+
"warn"
|
65
|
+
]
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"description": "If this validation error is encountered, the compilation will fail",
|
69
|
+
"type": "string",
|
70
|
+
"enum": [
|
71
|
+
"error"
|
72
|
+
]
|
73
|
+
}
|
74
|
+
]
|
75
|
+
},
|
76
|
+
"ConfigFileOptions": {
|
77
|
+
"type": "object",
|
78
|
+
"properties": {
|
79
|
+
"include_file_extensions_in_import_statements": {
|
80
|
+
"default": false,
|
81
|
+
"type": "boolean"
|
82
|
+
},
|
83
|
+
"on_invalid_id_type": {
|
84
|
+
"$ref": "#/definitions/ConfigFileOptionalValidationLevel"
|
85
|
+
},
|
86
|
+
"on_missing_babel_transform": {
|
87
|
+
"$ref": "#/definitions/ConfigFileOptionalValidationLevel"
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"additionalProperties": false
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
package/package.json
CHANGED