Skip to content

Commit

Permalink
docs(testing): add x-priority to jest package (#14252)
Browse files Browse the repository at this point in the history
  • Loading branch information
barbados-clemens authored Jan 23, 2023
1 parent f372dbf commit ef3d5de
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 18 deletions.
6 changes: 4 additions & 2 deletions docs/generated/packages/jest/generators/init.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`."
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
},
"js": {
"type": "boolean",
Expand All @@ -29,7 +30,8 @@
"description": "initialize Jest for an application at the root of the workspace",
"type": "boolean",
"default": false,
"hidden": true
"hidden": true,
"x-priority": "internal"
}
},
"required": [],
Expand Down
21 changes: 14 additions & 7 deletions docs/generated/packages/jest/generators/jest-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"project": {
"type": "string",
"description": "The name of the project.",
"$default": { "$source": "projectName" }
"$default": { "$source": "projectName" },
"x-priority": "important"
},
"skipSetupFile": {
"type": "boolean",
Expand All @@ -24,7 +25,8 @@
"type": "string",
"enum": ["none", "angular", "web-components"],
"description": "The setup file to be generated.",
"default": "none"
"default": "none",
"x-priority": "important"
},
"skipSerializers": {
"type": "boolean",
Expand All @@ -34,13 +36,15 @@
"supportTsx": {
"type": "boolean",
"description": "Setup `tsx` support.",
"default": false
"default": false,
"x-priority": "important"
},
"testEnvironment": {
"type": "string",
"enum": ["jsdom", "node"],
"description": "The test environment for jest.",
"default": "jsdom"
"default": "jsdom",
"x-priority": "important"
},
"compiler": {
"type": "string",
Expand All @@ -58,12 +62,14 @@
"skipFormat": {
"description": "Skip formatting files",
"type": "boolean",
"default": false
"default": false,
"x-priority": "internal"
},
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`."
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
},
"js": {
"type": "boolean",
Expand All @@ -74,7 +80,8 @@
"description": "Add Jest to an application at the root of the workspace",
"type": "boolean",
"default": false,
"hidden": true
"hidden": true,
"x-priority": "internal"
}
},
"required": [],
Expand Down
6 changes: 4 additions & 2 deletions packages/jest/src/generators/init/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`."
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
},
"js": {
"type": "boolean",
Expand All @@ -26,7 +27,8 @@
"description": "initialize Jest for an application at the root of the workspace",
"type": "boolean",
"default": false,
"hidden": true
"hidden": true,
"x-priority": "internal"
}
},
"required": []
Expand Down
21 changes: 14 additions & 7 deletions packages/jest/src/generators/jest-project/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"x-priority": "important"
},
"skipSetupFile": {
"type": "boolean",
Expand All @@ -23,7 +24,8 @@
"type": "string",
"enum": ["none", "angular", "web-components"],
"description": "The setup file to be generated.",
"default": "none"
"default": "none",
"x-priority": "important"
},
"skipSerializers": {
"type": "boolean",
Expand All @@ -33,13 +35,15 @@
"supportTsx": {
"type": "boolean",
"description": "Setup `tsx` support.",
"default": false
"default": false,
"x-priority": "important"
},
"testEnvironment": {
"type": "string",
"enum": ["jsdom", "node"],
"description": "The test environment for jest.",
"default": "jsdom"
"default": "jsdom",
"x-priority": "important"
},
"compiler": {
"type": "string",
Expand All @@ -57,12 +61,14 @@
"skipFormat": {
"description": "Skip formatting files",
"type": "boolean",
"default": false
"default": false,
"x-priority": "internal"
},
"skipPackageJson": {
"type": "boolean",
"default": false,
"description": "Do not add dependencies to `package.json`."
"description": "Do not add dependencies to `package.json`.",
"x-priority": "internal"
},
"js": {
"type": "boolean",
Expand All @@ -73,7 +79,8 @@
"description": "Add Jest to an application at the root of the workspace",
"type": "boolean",
"default": false,
"hidden": true
"hidden": true,
"x-priority": "internal"
}
},
"required": []
Expand Down

0 comments on commit ef3d5de

Please sign in to comment.