feat(misc): add x-priority tags to next, react, webpack, rollup, esbuild (#14352)
This commit is contained in:
parent
9e07cf4146
commit
d20cf91e6c
@ -14,12 +14,14 @@
|
|||||||
"description": "The path to the entry file, relative to project.",
|
"description": "The path to the entry file, relative to project.",
|
||||||
"alias": "entryFile",
|
"alias": "entryFile",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "**/*@(.js|.ts)"
|
"x-completion-glob": "**/*@(.js|.ts)",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputFileName": {
|
"outputFileName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -29,11 +31,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to tsconfig file.",
|
"description": "The path to tsconfig file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "tsconfig.*.json"
|
"x-completion-glob": "tsconfig.*.json",
|
||||||
},
|
"x-priority": "important"
|
||||||
"project": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The path to package.json file."
|
|
||||||
},
|
},
|
||||||
"additionalEntryPoints": {
|
"additionalEntryPoints": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -139,7 +138,8 @@
|
|||||||
"skipTypeCheck": {
|
"skipTypeCheck": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skip type-checking via TypeScript. Skipping type-checking speeds up the build but type errors are not caught.",
|
"description": "Skip type-checking via TypeScript. Skipping type-checking speeds up the build but type errors are not caught.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"thirdParty": {
|
"thirdParty": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -155,7 +155,8 @@
|
|||||||
"esbuildOptions": {
|
"esbuildOptions": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Additional options to pass to esbuild. See https://esbuild.github.io/api/.",
|
"description": "Additional options to pass to esbuild. See https://esbuild.github.io/api/.",
|
||||||
"additionalProperties": true
|
"additionalProperties": true,
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["tsConfig", "main", "outputPath"],
|
"required": ["tsConfig", "main", "outputPath"],
|
||||||
|
|||||||
@ -14,31 +14,37 @@
|
|||||||
"description": "The name of the project.",
|
"description": "The name of the project.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a esbuild for?"
|
"x-prompt": "What is the name of the project to set up a esbuild for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the main entry file. Defaults to `<project-root>/src/main.ts` or `<project-root>src/index.ts`, whichever is found.",
|
"description": "Path relative to the workspace root for the main entry file. Defaults to `<project-root>/src/main.ts` or `<project-root>src/index.ts`, whichever is found.",
|
||||||
"alias": "entryFile"
|
"alias": "entryFile",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `<project-root>/tsconfig.app.json` or `<project-root>/tsconfig.lib.json`, whichever is found."
|
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `<project-root>/tsconfig.app.json` or `<project-root>/tsconfig.lib.json`, whichever is found.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipValidation": {
|
"skipValidation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not perform any validation on existing project."
|
"description": "Do not perform any validation on existing project.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"importPath": {
|
"importPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -10,11 +10,16 @@
|
|||||||
"description": "Build a Next.js app.",
|
"description": "Build a Next.js app.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"root": { "description": "The source root", "type": "string" },
|
"root": {
|
||||||
|
"description": "The source root",
|
||||||
|
"type": "string",
|
||||||
|
"x-priority": "important"
|
||||||
|
},
|
||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"fileReplacements": {
|
"fileReplacements": {
|
||||||
"description": "Replace files with other files in the build.",
|
"description": "Replace files with other files in the build.",
|
||||||
@ -42,7 +47,8 @@
|
|||||||
"description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).",
|
"description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "next?(*).js"
|
"x-completion-glob": "next?(*).js",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildLibsFromSource": {
|
"buildLibsFromSource": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -57,7 +63,8 @@
|
|||||||
"generateLockfile": {
|
"generateLockfile": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Generate a lockfile (e.g. yarn.lock) that matches the workspace lockfile to ensure package versions match.",
|
"description": "Generate a lockfile (e.g. yarn.lock) that matches the workspace lockfile to ensure package versions match.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["root", "outputPath"],
|
"required": ["root", "outputPath"],
|
||||||
|
|||||||
@ -11,7 +11,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application"
|
"description": "Target which builds the application",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"silent": {
|
"silent": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -16,12 +16,14 @@
|
|||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application."
|
"description": "Target which builds the application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Port to listen on.",
|
"description": "Port to listen on.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"staticMarkup": {
|
"staticMarkup": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the application?",
|
"x-prompt": "What name would you like to use for the application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "d"
|
"alias": "d",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -71,12 +73,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).",
|
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -14,13 +14,15 @@
|
|||||||
"description": "The name of the project.",
|
"description": "The name of the project.",
|
||||||
"alias": "p",
|
"alias": "p",
|
||||||
"$default": { "$source": "projectName" },
|
"$default": { "$source": "projectName" },
|
||||||
"x-prompt": "What is the name of the project for this component?"
|
"x-prompt": "What is the name of the project for this component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the component.",
|
"description": "The name of the component.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the component?"
|
"x-prompt": "What name would you like to use for the component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -62,12 +64,14 @@
|
|||||||
"skipTests": {
|
"skipTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "When true, does not create `spec.ts` test files for the new component.",
|
"description": "When true, does not create `spec.ts` test files for the new component.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the component under this directory (can be nested).",
|
"description": "Create the component under this directory (can be nested).",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"export": {
|
"export": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -15,7 +15,8 @@
|
|||||||
"alias": "p",
|
"alias": "p",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a custom server for?"
|
"x-prompt": "What is the name of the project to set up a custom server for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"description": "Library name",
|
"description": "Library name",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the library?",
|
"x-prompt": "What name would you like to use for the library?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A directory where the lib is placed.",
|
"description": "A directory where the lib is placed.",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
|
|||||||
@ -14,18 +14,21 @@
|
|||||||
"description": "The name of the project.",
|
"description": "The name of the project.",
|
||||||
"alias": "p",
|
"alias": "p",
|
||||||
"$default": { "$source": "projectName" },
|
"$default": { "$source": "projectName" },
|
||||||
"x-prompt": "What is the name of the project for this component?"
|
"x-prompt": "What is the name of the project for this component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the component.",
|
"description": "The name of the component.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the component?"
|
"x-prompt": "What name would you like to use for the component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the page under this directory (can be nested). Will be created under `pages/`.",
|
"description": "Create the page under this directory (can be nested). Will be created under `pages/`.",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -63,7 +66,8 @@
|
|||||||
},
|
},
|
||||||
{ "value": "none", "label": "None" }
|
{ "value": "none", "label": "None" }
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"withTests": {
|
"withTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -12,21 +12,25 @@
|
|||||||
"devRemotes": {
|
"devRemotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "type": "string" },
|
"items": { "type": "string" },
|
||||||
"description": "List of remote applications to run in development mode (i.e. using serve target)."
|
"description": "List of remote applications to run in development mode (i.e. using serve target).",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipRemotes": {
|
"skipRemotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "type": "string" },
|
"items": { "type": "string" },
|
||||||
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository."
|
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application."
|
"description": "Target which builds the application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Port to listen on.",
|
"description": "Port to listen on.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -68,7 +72,8 @@
|
|||||||
"open": {
|
"open": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Open the application in the browser.",
|
"description": "Open the application in the browser.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"allowedHosts": {
|
"allowedHosts": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -11,26 +11,31 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"browserTarget": {
|
"browserTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the browser application."
|
"description": "Target which builds the browser application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"serverTarget": {
|
"serverTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the server application."
|
"description": "Target which builds the server application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"devRemotes": {
|
"devRemotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "type": "string" },
|
"items": { "type": "string" },
|
||||||
"description": "List of remote applications to run in development mode (i.e. using serve target)."
|
"description": "List of remote applications to run in development mode (i.e. using serve target).",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipRemotes": {
|
"skipRemotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "type": "string" },
|
"items": { "type": "string" },
|
||||||
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository."
|
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -28,12 +28,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the application?",
|
"x-prompt": "What name would you like to use for the application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -88,12 +90,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "hidden"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. babel, style).",
|
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. babel, style).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "hidden"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -162,7 +166,8 @@
|
|||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"description": "Do not add dependencies to `package.json`.",
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "hidden"
|
||||||
},
|
},
|
||||||
"rootProject": {
|
"rootProject": {
|
||||||
"description": "Create a application at the root of the workspace",
|
"description": "Create a application at the root of the workspace",
|
||||||
@ -175,7 +180,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["vite", "webpack"],
|
"enum": ["vite", "webpack"],
|
||||||
"x-prompt": "Which bundler do you want to use to build the application?",
|
"x-prompt": "Which bundler do you want to use to build the application?",
|
||||||
"default": "webpack"
|
"default": "webpack",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"minimal": {
|
"minimal": {
|
||||||
"description": "Generate a React app with a minimal setup, no separate test files.",
|
"description": "Generate a React app with a minimal setup, no separate test files.",
|
||||||
|
|||||||
@ -14,13 +14,15 @@
|
|||||||
"description": "The project name for which to generate tests.",
|
"description": "The project name for which to generate tests.",
|
||||||
"examples": ["shared-ui-component"],
|
"examples": ["shared-ui-component"],
|
||||||
"$default": { "$source": "projectName", "index": 0 },
|
"$default": { "$source": "projectName", "index": 0 },
|
||||||
"x-prompt": "What's name of the project for which to generate tests?"
|
"x-prompt": "What's name of the project for which to generate tests?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"componentPath": {
|
"componentPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Relative path to the component file from the library root?",
|
"description": "Relative path to the component file from the library root?",
|
||||||
"examples": ["lib/components"],
|
"examples": ["lib/components"],
|
||||||
"x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?"
|
"x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"js": {
|
"js": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -15,13 +15,15 @@
|
|||||||
"description": "The project where to add the components.",
|
"description": "The project where to add the components.",
|
||||||
"examples": ["shared-ui-component"],
|
"examples": ["shared-ui-component"],
|
||||||
"$default": { "$source": "projectName", "index": 0 },
|
"$default": { "$source": "projectName", "index": 0 },
|
||||||
"x-prompt": "What's name of the project where the component lives?"
|
"x-prompt": "What's name of the project where the component lives?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"componentPath": {
|
"componentPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Relative path to the component file from the library root.",
|
"description": "Relative path to the component file from the library root.",
|
||||||
"examples": ["lib/components"],
|
"examples": ["lib/components"],
|
||||||
"x-prompt": "What's path of the component relative to the project's lib root?"
|
"x-prompt": "What's path of the component relative to the project's lib root?",
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["project", "componentPath"],
|
"required": ["project", "componentPath"],
|
||||||
|
|||||||
@ -19,12 +19,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the project the component is apart of",
|
"description": "The name of the project the component is apart of",
|
||||||
"x-dropdown": "projects",
|
"x-dropdown": "projects",
|
||||||
"x-prompt": "What project is this component apart of?"
|
"x-prompt": "What project is this component apart of?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"componentPath": {
|
"componentPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path to component, from the project source root",
|
"description": "Path to component, from the project source root",
|
||||||
"x-prompt": "What is the path to the component?"
|
"x-prompt": "What is the path to the component?",
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["project", "componentPath"],
|
"required": ["project", "componentPath"],
|
||||||
|
|||||||
@ -24,13 +24,15 @@
|
|||||||
"description": "The name of the project.",
|
"description": "The name of the project.",
|
||||||
"alias": "p",
|
"alias": "p",
|
||||||
"$default": { "$source": "projectName" },
|
"$default": { "$source": "projectName" },
|
||||||
"x-prompt": "What is the name of the project for this component?"
|
"x-prompt": "What is the name of the project for this component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the component.",
|
"description": "The name of the component.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the component?"
|
"x-prompt": "What name would you like to use for the component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -78,12 +80,14 @@
|
|||||||
"skipTests": {
|
"skipTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "When true, does not create `spec.ts` test files for the new component.",
|
"description": "When true, does not create `spec.ts` test files for the new component.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the component under this directory (can be nested).",
|
"description": "Create the component under this directory (can be nested).",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"flat": {
|
"flat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -23,13 +23,15 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the project to add cypress component testing configuration to",
|
"description": "The name of the project to add cypress component testing configuration to",
|
||||||
"x-dropdown": "projects",
|
"x-dropdown": "projects",
|
||||||
"x-prompt": "What project should we add Cypress component testing to?"
|
"x-prompt": "What project should we add Cypress component testing to?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"generateTests": {
|
"generateTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Generate default component tests for existing components in the project",
|
"description": "Generate default component tests for existing components in the project",
|
||||||
"x-prompt": "Automatically generate tests for components declared in this project?",
|
"x-prompt": "Automatically generate tests for components declared in this project?",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -39,13 +41,15 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skip formatting files",
|
"description": "Skip formatting files",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"bundler": {
|
"bundler": {
|
||||||
"description": "The bundler to use for Cypress Component Testing.",
|
"description": "The bundler to use for Cypress Component Testing.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["vite", "webpack"],
|
"enum": ["vite", "webpack"],
|
||||||
"hidden": true
|
"hidden": true,
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["project"],
|
"required": ["project"],
|
||||||
|
|||||||
@ -20,13 +20,15 @@
|
|||||||
"description": "The name of the project.",
|
"description": "The name of the project.",
|
||||||
"alias": "p",
|
"alias": "p",
|
||||||
"$default": { "$source": "projectName" },
|
"$default": { "$source": "projectName" },
|
||||||
"x-prompt": "What is the name of the project for this hook?"
|
"x-prompt": "What is the name of the project for this hook?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the hook.",
|
"description": "The name of the hook.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the hook?"
|
"x-prompt": "What name would you like to use for the hook?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"js": {
|
"js": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -36,11 +38,13 @@
|
|||||||
"skipTests": {
|
"skipTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "When true, does not create `spec.ts` test files for the new hook.",
|
"description": "When true, does not create `spec.ts` test files for the new hook.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the hook under this directory (can be nested)."
|
"description": "Create the hook under this directory (can be nested).",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"flat": {
|
"flat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"description": "The name of the host application to generate the Module Federation configuration",
|
"description": "The name of the host application to generate the Module Federation configuration",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use as the host application?",
|
"x-prompt": "What name would you like to use as the host application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -68,12 +70,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -137,12 +141,14 @@
|
|||||||
"remotes": {
|
"remotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "A list of remote application names that the host application should consume.",
|
"description": "A list of remote application names that the host application should consume.",
|
||||||
"default": []
|
"default": [],
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"devServerPort": {
|
"devServerPort": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port for the dev server of the remote app.",
|
"description": "The port for the dev server of the remote app.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"ssr": {
|
"ssr": {
|
||||||
"description": "Whether to configure SSR for the host application",
|
"description": "Whether to configure SSR for the host application",
|
||||||
|
|||||||
@ -24,12 +24,14 @@
|
|||||||
"description": "Library name",
|
"description": "Library name",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use for the library?",
|
"x-prompt": "What name would you like to use for the library?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A directory where the lib is placed.",
|
"description": "A directory where the lib is placed.",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -93,12 +95,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipTsConfig": {
|
"skipTsConfig": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not update `tsconfig.json` for development experience."
|
"description": "Do not update `tsconfig.json` for development experience.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"pascalCaseFiles": {
|
"pascalCaseFiles": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -163,7 +167,8 @@
|
|||||||
"description": "The bundler to use. Choosing 'none' means this library is not buildable.",
|
"description": "The bundler to use. Choosing 'none' means this library is not buildable.",
|
||||||
"enum": ["none", "vite", "rollup"],
|
"enum": ["none", "vite", "rollup"],
|
||||||
"default": "none",
|
"default": "none",
|
||||||
"x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup."
|
"x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -174,7 +179,8 @@
|
|||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"description": "Do not add dependencies to `package.json`.",
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"minimal": {
|
"minimal": {
|
||||||
"description": "Create a React library with a minimal setup, no separate test files.",
|
"description": "Create a React library with a minimal setup, no separate test files.",
|
||||||
|
|||||||
@ -12,20 +12,23 @@
|
|||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Redux slice name.",
|
"description": "Redux slice name.",
|
||||||
"$default": { "$source": "argv", "index": 0 }
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the project to add the slice to. If it is an application, then the store configuration will be updated too.",
|
"description": "The name of the project to add the slice to. If it is an application, then the store configuration will be updated too.",
|
||||||
"alias": "p",
|
"alias": "p",
|
||||||
"$default": { "$source": "projectName" },
|
"$default": { "$source": "projectName" },
|
||||||
"x-prompt": "What is the name of the project for this slice?"
|
"x-prompt": "What is the name of the project for this slice?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir",
|
"alias": "dir",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "The name of the folder used to contain/group the generated Redux files."
|
"description": "The name of the folder used to contain/group the generated Redux files.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"appProject": {
|
"appProject": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"description": "The name of the remote application to generate the Module Federation configuration",
|
"description": "The name of the remote application to generate the Module Federation configuration",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What name would you like to use as the remote application?",
|
"x-prompt": "What name would you like to use as the remote application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -73,12 +75,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -141,12 +145,14 @@
|
|||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The host / shell application for this remote."
|
"description": "The host / shell application for this remote.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"devServerPort": {
|
"devServerPort": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port for the dev server of the remote app.",
|
"description": "The port for the dev server of the remote app.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"ssr": {
|
"ssr": {
|
||||||
"description": "Whether to configure SSR for the host application",
|
"description": "Whether to configure SSR for the host application",
|
||||||
|
|||||||
@ -14,7 +14,8 @@
|
|||||||
"description": "The name of the application to add SSR support to.",
|
"description": "The name of the application to add SSR support to.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-prompt": "What app would you like to add SSR support to?",
|
"x-prompt": "What app would you like to add SSR support to?",
|
||||||
"x-dropdown": "projects"
|
"x-dropdown": "projects",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"appComponentImportPath": {
|
"appComponentImportPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -24,11 +25,13 @@
|
|||||||
"serverPort": {
|
"serverPort": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 4200,
|
"default": 4200,
|
||||||
"description": "The port for the Express server."
|
"description": "The port for the Express server.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skip formatting the workspace after the generator completes."
|
"description": "Skip formatting the workspace after the generator completes.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"extraInclude": {
|
"extraInclude": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
@ -21,21 +21,25 @@
|
|||||||
"alias": "p",
|
"alias": "p",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-dropdown": "projects",
|
"x-dropdown": "projects",
|
||||||
"x-prompt": "What project would you like to add the Tailwind CSS setup?"
|
"x-prompt": "What project would you like to add the Tailwind CSS setup?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the target used to build the project. This option is not needed in most cases.",
|
"description": "The name of the target used to build the project. This option is not needed in most cases.",
|
||||||
"default": "build"
|
"default": "build",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skips formatting the workspace after the generator completes."
|
"description": "Skips formatting the workspace after the generator completes.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"aliases": ["name", "projectName"],
|
"aliases": ["name", "projectName"],
|
||||||
"description": "Project for which to generate stories.",
|
"description": "Project for which to generate stories.",
|
||||||
"$default": { "$source": "projectName", "index": 0 },
|
"$default": { "$source": "projectName", "index": 0 },
|
||||||
"x-prompt": "For which project do you want to generate stories?"
|
"x-prompt": "For which project do you want to generate stories?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"generateCypressSpecs": {
|
"generateCypressSpecs": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Automatically generate `*.spec.ts` files in the cypress e2e app generated by the cypress-configure generator.",
|
"description": "Automatically generate `*.spec.ts` files in the cypress e2e app generated by the cypress-configure generator.",
|
||||||
"x-prompt": "Do you want to generate Cypress specs as well?"
|
"x-prompt": "Do you want to generate Cypress specs as well?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"cypressProject": {
|
"cypressProject": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -11,19 +11,22 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"project": {
|
"project": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to package.json file."
|
"description": "The path to package.json file.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to the entry file, relative to project.",
|
"description": "The path to the entry file, relative to project.",
|
||||||
"alias": "entryFile",
|
"alias": "entryFile",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "**/*@(.js|.ts)"
|
"x-completion-glob": "**/*@(.js|.ts)",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputFileName": {
|
"outputFileName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -38,7 +41,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to tsconfig file.",
|
"description": "The path to tsconfig file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "tsconfig.*.json"
|
"x-completion-glob": "tsconfig.*.json",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"format": {
|
"format": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
@ -14,7 +14,8 @@
|
|||||||
"description": "The name of the project.",
|
"description": "The name of the project.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a rollup for?"
|
"x-prompt": "What is the name of the project to set up a rollup for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -25,26 +26,31 @@
|
|||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
|
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
|
||||||
"alias": "entryFile"
|
"alias": "entryFile",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'."
|
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipValidation": {
|
"skipValidation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not perform any validation on existing project."
|
"description": "Do not perform any validation on existing project.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"importPath": {
|
"importPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -11,12 +11,14 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application."
|
"description": "Target which builds the application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Port to listen on.",
|
"description": "Port to listen on.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -58,7 +60,8 @@
|
|||||||
"open": {
|
"open": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Open the application in the browser.",
|
"description": "Open the application in the browser.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"allowedHosts": {
|
"allowedHosts": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -11,16 +11,19 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"browserTarget": {
|
"browserTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the browser application."
|
"description": "Target which builds the browser application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"serverTarget": {
|
"serverTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the server application."
|
"description": "Target which builds the server application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"browserTargetOptions": {
|
"browserTargetOptions": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
@ -17,13 +17,15 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the main entry-point file.",
|
"description": "The name of the main entry-point file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "**/*@(.js|.ts|.tsx)"
|
"x-completion-glob": "**/*@(.js|.ts|.tsx)",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the Typescript configuration file.",
|
"description": "The name of the Typescript configuration file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "tsconfig.*.json"
|
"x-completion-glob": "tsconfig.*.json",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -34,7 +36,8 @@
|
|||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -378,7 +381,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack",
|
"description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "webpack?(*)@(.js|.ts)"
|
"x-completion-glob": "webpack?(*)@(.js|.ts)",
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["tsConfig", "main"],
|
"required": ["tsConfig", "main"],
|
||||||
|
|||||||
@ -14,7 +14,8 @@
|
|||||||
"description": "The name of the project.",
|
"description": "The name of the project.",
|
||||||
"$default": { "$source": "argv", "index": 0 },
|
"$default": { "$source": "argv", "index": 0 },
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a webpack for?"
|
"x-prompt": "What is the name of the project to set up a webpack for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -24,11 +25,13 @@
|
|||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'."
|
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'."
|
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -39,17 +42,20 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipValidation": {
|
"skipValidation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not perform any validation on existing project."
|
"description": "Do not perform any validation on existing project.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"devServer": {
|
"devServer": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -58,7 +64,8 @@
|
|||||||
},
|
},
|
||||||
"webpackConfig": {
|
"webpackConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config."
|
"description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config.",
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [],
|
"required": [],
|
||||||
|
|||||||
@ -11,12 +11,14 @@
|
|||||||
"description": "The path to the entry file, relative to project.",
|
"description": "The path to the entry file, relative to project.",
|
||||||
"alias": "entryFile",
|
"alias": "entryFile",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "**/*@(.js|.ts)"
|
"x-completion-glob": "**/*@(.js|.ts)",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputFileName": {
|
"outputFileName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -26,11 +28,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to tsconfig file.",
|
"description": "The path to tsconfig file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "tsconfig.*.json"
|
"x-completion-glob": "tsconfig.*.json",
|
||||||
},
|
"x-priority": "important"
|
||||||
"project": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The path to package.json file."
|
|
||||||
},
|
},
|
||||||
"additionalEntryPoints": {
|
"additionalEntryPoints": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@ -117,7 +116,8 @@
|
|||||||
"skipTypeCheck": {
|
"skipTypeCheck": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skip type-checking via TypeScript. Skipping type-checking speeds up the build but type errors are not caught.",
|
"description": "Skip type-checking via TypeScript. Skipping type-checking speeds up the build but type errors are not caught.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"thirdParty": {
|
"thirdParty": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -133,7 +133,8 @@
|
|||||||
"esbuildOptions": {
|
"esbuildOptions": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Additional options to pass to esbuild. See https://esbuild.github.io/api/.",
|
"description": "Additional options to pass to esbuild. See https://esbuild.github.io/api/.",
|
||||||
"additionalProperties": true
|
"additionalProperties": true,
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["tsConfig", "main", "outputPath"],
|
"required": ["tsConfig", "main", "outputPath"],
|
||||||
|
|||||||
@ -14,31 +14,37 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a esbuild for?"
|
"x-prompt": "What is the name of the project to set up a esbuild for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the main entry file. Defaults to `<project-root>/src/main.ts` or `<project-root>src/index.ts`, whichever is found.",
|
"description": "Path relative to the workspace root for the main entry file. Defaults to `<project-root>/src/main.ts` or `<project-root>src/index.ts`, whichever is found.",
|
||||||
"alias": "entryFile"
|
"alias": "entryFile",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `<project-root>/tsconfig.app.json` or `<project-root>/tsconfig.lib.json`, whichever is found."
|
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to `<project-root>/tsconfig.app.json` or `<project-root>/tsconfig.lib.json`, whichever is found.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipValidation": {
|
"skipValidation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not perform any validation on existing project."
|
"description": "Do not perform any validation on existing project.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"importPath": {
|
"importPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -9,12 +9,14 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"root": {
|
"root": {
|
||||||
"description": "The source root",
|
"description": "The source root",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"fileReplacements": {
|
"fileReplacements": {
|
||||||
"description": "Replace files with other files in the build.",
|
"description": "Replace files with other files in the build.",
|
||||||
@ -42,7 +44,8 @@
|
|||||||
"description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).",
|
"description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "next?(*).js"
|
"x-completion-glob": "next?(*).js",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildLibsFromSource": {
|
"buildLibsFromSource": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -57,7 +60,8 @@
|
|||||||
"generateLockfile": {
|
"generateLockfile": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Generate a lockfile (e.g. yarn.lock) that matches the workspace lockfile to ensure package versions match.",
|
"description": "Generate a lockfile (e.g. yarn.lock) that matches the workspace lockfile to ensure package versions match.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["root", "outputPath"]
|
"required": ["root", "outputPath"]
|
||||||
|
|||||||
@ -8,7 +8,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application"
|
"description": "Target which builds the application",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"silent": {
|
"silent": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -13,12 +13,14 @@
|
|||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application."
|
"description": "Target which builds the application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Port to listen on.",
|
"description": "Port to listen on.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"staticMarkup": {
|
"staticMarkup": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the application?",
|
"x-prompt": "What name would you like to use for the application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "d"
|
"alias": "d",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -71,12 +73,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).",
|
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -13,7 +13,8 @@
|
|||||||
"$default": {
|
"$default": {
|
||||||
"$source": "projectName"
|
"$source": "projectName"
|
||||||
},
|
},
|
||||||
"x-prompt": "What is the name of the project for this component?"
|
"x-prompt": "What is the name of the project for this component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -22,7 +23,8 @@
|
|||||||
"$source": "argv",
|
"$source": "argv",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the component?"
|
"x-prompt": "What name would you like to use for the component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -64,12 +66,14 @@
|
|||||||
"skipTests": {
|
"skipTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "When true, does not create `spec.ts` test files for the new component.",
|
"description": "When true, does not create `spec.ts` test files for the new component.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the component under this directory (can be nested).",
|
"description": "Create the component under this directory (can be nested).",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"export": {
|
"export": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -15,7 +15,8 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a custom server for?"
|
"x-prompt": "What is the name of the project to set up a custom server for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the library?",
|
"x-prompt": "What name would you like to use for the library?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A directory where the lib is placed.",
|
"description": "A directory where the lib is placed.",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
|
|||||||
@ -13,7 +13,8 @@
|
|||||||
"$default": {
|
"$default": {
|
||||||
"$source": "projectName"
|
"$source": "projectName"
|
||||||
},
|
},
|
||||||
"x-prompt": "What is the name of the project for this component?"
|
"x-prompt": "What is the name of the project for this component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -22,12 +23,14 @@
|
|||||||
"$source": "argv",
|
"$source": "argv",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the component?"
|
"x-prompt": "What name would you like to use for the component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the page under this directory (can be nested). Will be created under `pages/`.",
|
"description": "Create the page under this directory (can be nested). Will be created under `pages/`.",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -68,7 +71,8 @@
|
|||||||
"label": "None"
|
"label": "None"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"withTests": {
|
"withTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -11,23 +11,27 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"description": "List of remote applications to run in development mode (i.e. using serve target)."
|
"description": "List of remote applications to run in development mode (i.e. using serve target).",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipRemotes": {
|
"skipRemotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository."
|
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application."
|
"description": "Target which builds the application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Port to listen on.",
|
"description": "Port to listen on.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -69,7 +73,8 @@
|
|||||||
"open": {
|
"open": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Open the application in the browser.",
|
"description": "Open the application in the browser.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"allowedHosts": {
|
"allowedHosts": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -8,30 +8,35 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"browserTarget": {
|
"browserTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the browser application."
|
"description": "Target which builds the browser application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"serverTarget": {
|
"serverTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the server application."
|
"description": "Target which builds the server application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"devRemotes": {
|
"devRemotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"description": "List of remote applications to run in development mode (i.e. using serve target)."
|
"description": "List of remote applications to run in development mode (i.e. using serve target).",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipRemotes": {
|
"skipRemotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository."
|
"description": "List of remote applications to not automatically serve, either statically or in development mode. This can be useful for multi-repository module federation setups where the host application uses a remote application from an external repository.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -28,12 +28,14 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the application?",
|
"x-prompt": "What name would you like to use for the application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -94,12 +96,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "hidden"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. babel, style).",
|
"description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. babel, style).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "hidden"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -168,7 +172,8 @@
|
|||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"description": "Do not add dependencies to `package.json`.",
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "hidden"
|
||||||
},
|
},
|
||||||
"rootProject": {
|
"rootProject": {
|
||||||
"description": "Create a application at the root of the workspace",
|
"description": "Create a application at the root of the workspace",
|
||||||
@ -181,7 +186,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["vite", "webpack"],
|
"enum": ["vite", "webpack"],
|
||||||
"x-prompt": "Which bundler do you want to use to build the application?",
|
"x-prompt": "Which bundler do you want to use to build the application?",
|
||||||
"default": "webpack"
|
"default": "webpack",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"minimal": {
|
"minimal": {
|
||||||
"description": "Generate a React app with a minimal setup, no separate test files.",
|
"description": "Generate a React app with a minimal setup, no separate test files.",
|
||||||
|
|||||||
@ -14,13 +14,15 @@
|
|||||||
"$source": "projectName",
|
"$source": "projectName",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What's name of the project for which to generate tests?"
|
"x-prompt": "What's name of the project for which to generate tests?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"componentPath": {
|
"componentPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Relative path to the component file from the library root?",
|
"description": "Relative path to the component file from the library root?",
|
||||||
"examples": ["lib/components"],
|
"examples": ["lib/components"],
|
||||||
"x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?"
|
"x-prompt": "What's path of the component relative to the project's lib root for which to generate a test?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"js": {
|
"js": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -15,13 +15,15 @@
|
|||||||
"$source": "projectName",
|
"$source": "projectName",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What's name of the project where the component lives?"
|
"x-prompt": "What's name of the project where the component lives?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"componentPath": {
|
"componentPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Relative path to the component file from the library root.",
|
"description": "Relative path to the component file from the library root.",
|
||||||
"examples": ["lib/components"],
|
"examples": ["lib/components"],
|
||||||
"x-prompt": "What's path of the component relative to the project's lib root?"
|
"x-prompt": "What's path of the component relative to the project's lib root?",
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["project", "componentPath"]
|
"required": ["project", "componentPath"]
|
||||||
|
|||||||
@ -16,12 +16,14 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the project the component is apart of",
|
"description": "The name of the project the component is apart of",
|
||||||
"x-dropdown": "projects",
|
"x-dropdown": "projects",
|
||||||
"x-prompt": "What project is this component apart of?"
|
"x-prompt": "What project is this component apart of?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"componentPath": {
|
"componentPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path to component, from the project source root",
|
"description": "Path to component, from the project source root",
|
||||||
"x-prompt": "What is the path to the component?"
|
"x-prompt": "What is the path to the component?",
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["project", "componentPath"],
|
"required": ["project", "componentPath"],
|
||||||
|
|||||||
@ -23,7 +23,8 @@
|
|||||||
"$default": {
|
"$default": {
|
||||||
"$source": "projectName"
|
"$source": "projectName"
|
||||||
},
|
},
|
||||||
"x-prompt": "What is the name of the project for this component?"
|
"x-prompt": "What is the name of the project for this component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -32,7 +33,8 @@
|
|||||||
"$source": "argv",
|
"$source": "argv",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the component?"
|
"x-prompt": "What name would you like to use for the component?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -83,12 +85,14 @@
|
|||||||
"skipTests": {
|
"skipTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "When true, does not create `spec.ts` test files for the new component.",
|
"description": "When true, does not create `spec.ts` test files for the new component.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the component under this directory (can be nested).",
|
"description": "Create the component under this directory (can be nested).",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"flat": {
|
"flat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -20,13 +20,15 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the project to add cypress component testing configuration to",
|
"description": "The name of the project to add cypress component testing configuration to",
|
||||||
"x-dropdown": "projects",
|
"x-dropdown": "projects",
|
||||||
"x-prompt": "What project should we add Cypress component testing to?"
|
"x-prompt": "What project should we add Cypress component testing to?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"generateTests": {
|
"generateTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Generate default component tests for existing components in the project",
|
"description": "Generate default component tests for existing components in the project",
|
||||||
"x-prompt": "Automatically generate tests for components declared in this project?",
|
"x-prompt": "Automatically generate tests for components declared in this project?",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -36,13 +38,15 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skip formatting files",
|
"description": "Skip formatting files",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"bundler": {
|
"bundler": {
|
||||||
"description": "The bundler to use for Cypress Component Testing.",
|
"description": "The bundler to use for Cypress Component Testing.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["vite", "webpack"],
|
"enum": ["vite", "webpack"],
|
||||||
"hidden": true
|
"hidden": true,
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["project"],
|
"required": ["project"],
|
||||||
|
|||||||
@ -19,7 +19,8 @@
|
|||||||
"$default": {
|
"$default": {
|
||||||
"$source": "projectName"
|
"$source": "projectName"
|
||||||
},
|
},
|
||||||
"x-prompt": "What is the name of the project for this hook?"
|
"x-prompt": "What is the name of the project for this hook?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -28,7 +29,8 @@
|
|||||||
"$source": "argv",
|
"$source": "argv",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the hook?"
|
"x-prompt": "What name would you like to use for the hook?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"js": {
|
"js": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -38,11 +40,13 @@
|
|||||||
"skipTests": {
|
"skipTests": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "When true, does not create `spec.ts` test files for the new hook.",
|
"description": "When true, does not create `spec.ts` test files for the new hook.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Create the hook under this directory (can be nested)."
|
"description": "Create the hook under this directory (can be nested).",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"flat": {
|
"flat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use as the host application?",
|
"x-prompt": "What name would you like to use as the host application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -74,12 +76,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -143,12 +147,14 @@
|
|||||||
"remotes": {
|
"remotes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "A list of remote application names that the host application should consume.",
|
"description": "A list of remote application names that the host application should consume.",
|
||||||
"default": []
|
"default": [],
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"devServerPort": {
|
"devServerPort": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port for the dev server of the remote app.",
|
"description": "The port for the dev server of the remote app.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"ssr": {
|
"ssr": {
|
||||||
"description": "Whether to configure SSR for the host application",
|
"description": "Whether to configure SSR for the host application",
|
||||||
|
|||||||
@ -24,12 +24,14 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use for the library?",
|
"x-prompt": "What name would you like to use for the library?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "A directory where the lib is placed.",
|
"description": "A directory where the lib is placed.",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -96,12 +98,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipTsConfig": {
|
"skipTsConfig": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not update `tsconfig.json` for development experience."
|
"description": "Do not update `tsconfig.json` for development experience.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"pascalCaseFiles": {
|
"pascalCaseFiles": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -166,7 +170,8 @@
|
|||||||
"description": "The bundler to use. Choosing 'none' means this library is not buildable.",
|
"description": "The bundler to use. Choosing 'none' means this library is not buildable.",
|
||||||
"enum": ["none", "vite", "rollup"],
|
"enum": ["none", "vite", "rollup"],
|
||||||
"default": "none",
|
"default": "none",
|
||||||
"x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup."
|
"x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -177,7 +182,8 @@
|
|||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"description": "Do not add dependencies to `package.json`.",
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"minimal": {
|
"minimal": {
|
||||||
"description": "Create a React library with a minimal setup, no separate test files.",
|
"description": "Create a React library with a minimal setup, no separate test files.",
|
||||||
|
|||||||
@ -12,7 +12,8 @@
|
|||||||
"$default": {
|
"$default": {
|
||||||
"$source": "argv",
|
"$source": "argv",
|
||||||
"index": 0
|
"index": 0
|
||||||
}
|
},
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -21,13 +22,15 @@
|
|||||||
"$default": {
|
"$default": {
|
||||||
"$source": "projectName"
|
"$source": "projectName"
|
||||||
},
|
},
|
||||||
"x-prompt": "What is the name of the project for this slice?"
|
"x-prompt": "What is the name of the project for this slice?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir",
|
"alias": "dir",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "The name of the folder used to contain/group the generated Redux files."
|
"description": "The name of the folder used to contain/group the generated Redux files.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"appProject": {
|
"appProject": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What name would you like to use as the remote application?",
|
"x-prompt": "What name would you like to use as the remote application?",
|
||||||
"pattern": "^[a-zA-Z].*$"
|
"pattern": "^[a-zA-Z].*$",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"directory": {
|
"directory": {
|
||||||
"description": "The directory of the new application.",
|
"description": "The directory of the new application.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"alias": "dir"
|
"alias": "dir",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
"description": "The file extension to be used for style files.",
|
"description": "The file extension to be used for style files.",
|
||||||
@ -79,12 +81,14 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipWorkspaceJson": {
|
"skipWorkspaceJson": {
|
||||||
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
"description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"unitTestRunner": {
|
"unitTestRunner": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -147,12 +151,14 @@
|
|||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The host / shell application for this remote."
|
"description": "The host / shell application for this remote.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"devServerPort": {
|
"devServerPort": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port for the dev server of the remote app.",
|
"description": "The port for the dev server of the remote app.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"ssr": {
|
"ssr": {
|
||||||
"description": "Whether to configure SSR for the host application",
|
"description": "Whether to configure SSR for the host application",
|
||||||
|
|||||||
@ -14,7 +14,8 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "What app would you like to add SSR support to?",
|
"x-prompt": "What app would you like to add SSR support to?",
|
||||||
"x-dropdown": "projects"
|
"x-dropdown": "projects",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"appComponentImportPath": {
|
"appComponentImportPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -24,11 +25,13 @@
|
|||||||
"serverPort": {
|
"serverPort": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 4200,
|
"default": 4200,
|
||||||
"description": "The port for the Express server."
|
"description": "The port for the Express server.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skip formatting the workspace after the generator completes."
|
"description": "Skip formatting the workspace after the generator completes.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"extraInclude": {
|
"extraInclude": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
@ -21,21 +21,25 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-dropdown": "projects",
|
"x-dropdown": "projects",
|
||||||
"x-prompt": "What project would you like to add the Tailwind CSS setup?"
|
"x-prompt": "What project would you like to add the Tailwind CSS setup?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the target used to build the project. This option is not needed in most cases.",
|
"description": "The name of the target used to build the project. This option is not needed in most cases.",
|
||||||
"default": "build"
|
"default": "build",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Skips formatting the workspace after the generator completes."
|
"description": "Skips formatting the workspace after the generator completes.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|||||||
@ -14,12 +14,14 @@
|
|||||||
"$source": "projectName",
|
"$source": "projectName",
|
||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-prompt": "For which project do you want to generate stories?"
|
"x-prompt": "For which project do you want to generate stories?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"generateCypressSpecs": {
|
"generateCypressSpecs": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Automatically generate `*.spec.ts` files in the cypress e2e app generated by the cypress-configure generator.",
|
"description": "Automatically generate `*.spec.ts` files in the cypress e2e app generated by the cypress-configure generator.",
|
||||||
"x-prompt": "Do you want to generate Cypress specs as well?"
|
"x-prompt": "Do you want to generate Cypress specs as well?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"cypressProject": {
|
"cypressProject": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -8,19 +8,22 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"project": {
|
"project": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to package.json file."
|
"description": "The path to package.json file.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to the entry file, relative to project.",
|
"description": "The path to the entry file, relative to project.",
|
||||||
"alias": "entryFile",
|
"alias": "entryFile",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "**/*@(.js|.ts)"
|
"x-completion-glob": "**/*@(.js|.ts)",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"outputFileName": {
|
"outputFileName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -35,7 +38,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The path to tsconfig file.",
|
"description": "The path to tsconfig file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "tsconfig.*.json"
|
"x-completion-glob": "tsconfig.*.json",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"format": {
|
"format": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
@ -14,7 +14,8 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a rollup for?"
|
"x-prompt": "What is the name of the project to set up a rollup for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -25,26 +26,31 @@
|
|||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
|
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
|
||||||
"alias": "entryFile"
|
"alias": "entryFile",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'."
|
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipValidation": {
|
"skipValidation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not perform any validation on existing project."
|
"description": "Do not perform any validation on existing project.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"importPath": {
|
"importPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -8,12 +8,14 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"buildTarget": {
|
"buildTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the application."
|
"description": "Target which builds the application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "Port to listen on.",
|
"description": "Port to listen on.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"host": {
|
"host": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -55,7 +57,8 @@
|
|||||||
"open": {
|
"open": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "Open the application in the browser.",
|
"description": "Open the application in the browser.",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"allowedHosts": {
|
"allowedHosts": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@ -8,16 +8,19 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"browserTarget": {
|
"browserTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the browser application."
|
"description": "Target which builds the browser application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"serverTarget": {
|
"serverTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Target which builds the server application."
|
"description": "Target which builds the server application.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
"description": "The port to be set on `process.env.PORT` for use in the server.",
|
||||||
"default": 4200
|
"default": 4200,
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"browserTargetOptions": {
|
"browserTargetOptions": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
@ -14,13 +14,15 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the main entry-point file.",
|
"description": "The name of the main entry-point file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "**/*@(.js|.ts|.tsx)"
|
"x-completion-glob": "**/*@(.js|.ts|.tsx)",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The name of the Typescript configuration file.",
|
"description": "The name of the Typescript configuration file.",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "tsconfig.*.json"
|
"x-completion-glob": "tsconfig.*.json",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -31,7 +33,8 @@
|
|||||||
"outputPath": {
|
"outputPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The output path of the generated files.",
|
"description": "The output path of the generated files.",
|
||||||
"x-completion-type": "directory"
|
"x-completion-type": "directory",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -299,7 +302,8 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack",
|
"description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack",
|
||||||
"x-completion-type": "file",
|
"x-completion-type": "file",
|
||||||
"x-completion-glob": "webpack?(*)@(.js|.ts)"
|
"x-completion-glob": "webpack?(*)@(.js|.ts)",
|
||||||
|
"x-priority": "important"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["tsConfig", "main"],
|
"required": ["tsConfig", "main"],
|
||||||
|
|||||||
@ -14,7 +14,8 @@
|
|||||||
"index": 0
|
"index": 0
|
||||||
},
|
},
|
||||||
"x-dropdown": "project",
|
"x-dropdown": "project",
|
||||||
"x-prompt": "What is the name of the project to set up a webpack for?"
|
"x-prompt": "What is the name of the project to set up a webpack for?",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"compiler": {
|
"compiler": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -24,11 +25,13 @@
|
|||||||
},
|
},
|
||||||
"main": {
|
"main": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'."
|
"description": "Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"tsConfig": {
|
"tsConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'."
|
"description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.",
|
||||||
|
"x-priority": "important"
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -39,17 +42,20 @@
|
|||||||
"skipFormat": {
|
"skipFormat": {
|
||||||
"description": "Skip formatting files.",
|
"description": "Skip formatting files.",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false,
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipPackageJson": {
|
"skipPackageJson": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not add dependencies to `package.json`."
|
"description": "Do not add dependencies to `package.json`.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"skipValidation": {
|
"skipValidation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Do not perform any validation on existing project."
|
"description": "Do not perform any validation on existing project.",
|
||||||
|
"x-priority": "internal"
|
||||||
},
|
},
|
||||||
"devServer": {
|
"devServer": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
@ -58,7 +64,8 @@
|
|||||||
},
|
},
|
||||||
"webpackConfig": {
|
"webpackConfig": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config."
|
"description": "Path relative to workspace root to a custom webpack file that takes a config object and returns an updated config.",
|
||||||
|
"x-priority": "internal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": []
|
"required": []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user