repository
stringclasses
528 values
commit
stringlengths
40
40
commitDate
timestamp[s]
path
stringlengths
11
149
repoStars
int64
5
94.9k
repoLastFetched
stringclasses
528 values
content
stringlengths
48
736k
license
stringclasses
14 values
language
stringclasses
7 values
nrwl/nx
eb977bfd6cb331980a24e73723c048d291cb2006
2023-02-22T17:32:26
packages/js/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxTypescriptLibrary", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a TypeScript Library.", "examplesFile": "../../../docs/library-examples.md", "properties": { "buildable": { "default": true, "description": "Generate a buildable library.", "type": "boolean", "x-priority": "important" }, "bundler": { "default": "none", "description": "The bundler to use.", "enum": [ "none", "esbuild", "rollup", "vite" ], "type": "string", "x-priority": "important" }, "compiler": { "default": "tsc", "description": "The compiler used by the build and test targets", "enum": [ "tsc", "swc" ], "type": "string", "x-priority": "important" }, "config": { "default": "project", "description": "Determines whether the project's executors should be configured in `workspace.json`, `project.json` or as npm scripts.", "enum": [ "workspace", "project", "npm-scripts" ], "type": "string", "x-priority": "internal" }, "directory": { "description": "A directory where the lib is placed.", "type": "string", "x-priority": "important" }, "importPath": { "description": "The library name used to import it, like @myorg/my-awesome-lib.", "type": "string" }, "includeBabelRc": { "description": "Include a .babelrc configuration to compile TypeScript files", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Library name.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the library?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case file names.", "type": "boolean" }, "publishable": { "default": false, "description": "Generate a publishable library.", "type": "boolean", "x-priority": "important" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipTsConfig": { "default": false, "description": "Do not update tsconfig.json for development experience.", "type": "boolean", "x-priority": "internal" }, "skipTypeCheck": { "default": false, "description": "Whether to skip TypeScript type checking for SWC compiler.", "type": "boolean" }, "strict": { "default": true, "description": "Whether to enable tsconfig strict mode or not.", "type": "boolean" }, "tags": { "description": "Add tags to the library (used for linting).", "type": "string" }, "testEnvironment": { "default": "jsdom", "description": "The test environment to use if unitTestRunner is set to jest.", "enum": [ "jsdom", "node" ], "type": "string" }, "unitTestRunner": { "description": "Test runner to use for unit tests.", "enum": [ "jest", "vitest", "none" ], "type": "string", "x-prompt": "Which unit test runner would you like to use?" } }, "required": [ "name" ], "title": "Create a TypeScript Library", "type": "object" }
MIT
en
nrwl/nx
b3676e8019170ca3288893eb38a457ae3c572991
2022-09-28T15:13:43
packages/angular/src/generators/ngrx/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNgrxGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Adds NgRx support to an application or library.", "properties": { "barrels": { "default": false, "description": "Use barrels to re-export actions, state and selectors.", "type": "boolean" }, "directory": { "default": "+state", "description": "The name of the folder used to contain/group the generated NgRx files.", "type": "string" }, "facade": { "default": false, "description": "Create a Facade class for the the feature.", "type": "boolean", "x-prompt": "Would you like to use a Facade with your NgRx state?" }, "minimal": { "default": true, "description": "Only register the root state management setup or feature state.", "type": "boolean" }, "module": { "description": "The path to the `NgModule` where the feature state will be registered. The host directory will create/use the new state directory.", "type": "string", "x-prompt": "What is the path to the module where this NgRx state should be registered?" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Name of the NgRx feature state, such as `products` or `users`. Recommended to use the plural form of the name.", "type": "string", "x-prompt": "What name would you like to use for the NgRx feature state? An example would be `users`." }, "root": { "default": false, "description": "Setup root or feature state management with NgRx.", "type": "boolean", "x-prompt": "Is this the root state of the application?" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipImport": { "default": false, "description": "Generate NgRx feature files without registering the feature in the NgModule.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not update the `package.json` with NgRx dependencies.", "type": "boolean" } }, "required": [ "module", "name" ], "title": "Add NgRx support to an application or library.", "type": "object" }
MIT
en
nrwl/nx
c87884ad6ed95eabab9970fb472eff5212123c73
2024-02-12T20:42:11
packages/react/src/generators/remote/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorReactRemote", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create Module Federation configuration files for given React Remote Application.", "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "compiler": { "default": "babel", "description": "The compiler to use.", "enum": [ "babel", "swc" ], "type": "string" }, "devServerPort": { "description": "The port for the dev server of the remote app.", "type": "number", "x-priority": "important" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "dynamic": { "default": false, "description": "Should the host application use dynamic federation?", "type": "boolean", "x-priority": "internal" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "playwright", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss.", "type": "boolean" }, "host": { "description": "The host / shell application for this remote.", "type": "string", "x-priority": "important" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the remote application to generate the Module Federation configuration", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use as the remote application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "routing": { "default": false, "description": "Generate application with routes.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipNxJson": { "default": false, "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", "x-priority": "internal" }, "ssr": { "default": false, "description": "Whether to configure SSR for the host application", "type": "boolean" }, "strict": { "default": true, "description": "Creates an application with strict mode and strict type checking.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ https://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ https://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "typescriptConfiguration": { "default": true, "description": "Whether the module federation configuration and webpack configuration files should use TS. When --js is used, this flag is ignored.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Generate Module Federation Setup for React Remote App", "type": "object" }
MIT
en
nrwl/nx
8f705e31e2f7dd0399851efc17e62ba4f35e6642
2024-05-09T01:54:41
packages/plugin/src/generators/executor/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxPluginExecutor", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create an Executor for an Nx Plugin.", "examples": [ { "command": "nx g executor my-executor --project=my-plugin", "description": "Generate `libs/my-plugin/src/executors/my-executor`" } ], "examplesFile": "../../../docs/generators/executor-examples.md", "properties": { "description": { "description": "Executor description.", "type": "string", "x-priority": "important" }, "directory": { "aliases": [ "dir" ], "description": "The directory at which to create the executor file. When `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. Otherwise, it will be relative to the workspace root.", "type": "string", "x-priority": "important" }, "includeHasher": { "default": false, "description": "Should the boilerplate for a custom hasher be generated?", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Executor name.", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the executor?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the executor in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipLintChecks": { "default": false, "description": "Do not add an eslint configuration for plugin json files.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create an Executor for an Nx Plugin", "type": "object" }
MIT
en
nrwl/nx
047dc22aed99ee0870357fa1508cd5decb8009a7
2024-01-16T14:29:44
packages/cypress/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxCypressInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Add Cypress Configuration to the workspace.", "properties": { "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" } }, "title": "Add Cypress Configuration to the workspace", "type": "object" }
MIT
en
nrwl/nx
d20cf91e6c5e1b71fb8af4e6413d27b15e82d2ce
2023-01-13T16:50:01
packages/react/src/generators/component/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactComponent", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a React Component for Nx.", "examples": [ { "command": "nx g component my-component --project=mylib", "description": "Generate a component in the `mylib` library" }, { "command": "nx g component my-component --project=mylib --classComponent", "description": "Generate a class component in the `mylib` library" } ], "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "directory": { "alias": "dir", "description": "Create the component under this directory (can be nested).", "type": "string", "x-priority": "important" }, "export": { "alias": "e", "default": false, "description": "When true, the component is exported from the project `index.ts` (if it exists).", "type": "boolean", "x-prompt": "Should this component be exported in the project?" }, "fileName": { "description": "Create a component with this file name.", "type": "string" }, "flat": { "default": false, "description": "Create component at the source root rather than its own directory.", "type": "boolean" }, "globalCss": { "default": false, "description": "Default is `false`. When `true`, the component is generated with `*.css`/`*.scss` instead of `*.module.css`/`*.module.scss`.", "type": "boolean" }, "inSourceTests": { "default": false, "description": "When using Vitest, separate spec files will not be generated and instead will be included within the source files. Read more on the Vitest docs site: https://vitest.dev/guide/in-source.html", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the component.", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the component?" }, "pascalCaseDirectory": { "alias": "R", "default": false, "description": "Use pascal case directory name (e.g. `App/App.tsx`).", "type": "boolean" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. `App.tsx`).", "type": "boolean" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-priority": "important", "x-prompt": "What is the name of the project for this component?" }, "routing": { "description": "Generate a library with routes.", "type": "boolean" }, "skipTests": { "default": false, "description": "When true, does not create `spec.ts` test files for the new component.", "type": "boolean", "x-priority": "internal" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } } }, "required": [ "name", "project" ], "title": "Create a React Component", "type": "object" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/react-native/src/executors/build-ios/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Build iOS app.", "examplesFile": "../../../docs/build-ios-examples.md", "presets": [ { "keys": [ "simulator" ], "name": "Build iOS for a simulator" }, { "keys": [ "device" ], "name": "Build iOS for a device" }, { "keys": [ "udid" ], "name": "Build iOS for a device with udid" } ], "properties": { "buildFolder": { "default": "./build", "description": "Location for iOS build artifacts. Corresponds to Xcode's \"-derivedDataPath\". Relative to ios directory", "type": "string" }, "device": { "description": "Explicitly set device to use by name. The value is not required if you have a single device connected.", "type": "string" }, "extraParams": { "description": "Custom params that will be passed to xcodebuild command.", "oneOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" } ] }, "interactive": { "description": "Explicitly select which scheme and configuration to use before running a build", "type": "boolean" }, "mode": { "default": "Debug", "description": "Explicitly set the scheme configuration to use", "examples": [ "Debug", "Release" ], "type": "string", "x-priority": "important" }, "port": { "default": 8081, "description": "The port where the packager server is listening on.", "type": "number" }, "resetCache": { "default": false, "description": "Resets metro cache.", "type": "boolean" }, "scheme": { "description": "Explicitly set Xcode scheme to use", "type": "string" }, "simulator": { "description": "Explicitly set simulator to use. Optionally include iOS version between parenthesis at the end to match an exact version: \"iPhone 6 (10.0)\"", "examples": [ "iPhone 14", "iPhone 13", "iPhone 12", "iPhone 11", "iPhone X" ], "type": "string", "x-priority": "important" }, "udid": { "description": "Explicitly set device to use by udid", "type": "string" }, "verbose": { "description": "Do not use xcbeautify or xcpretty even if installed", "type": "boolean" }, "xcconfig": { "description": "Explicitly set xcconfig to use", "type": "string" } }, "required": [], "title": "React Native Build iOS executor", "type": "object", "version": 2 }
MIT
en
nrwl/nx
20359e77a687421a1b1e2ce5b5d0bbe3b92f85ac
2023-06-09T07:21:12
packages/js/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxTypescriptLibrary", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a TypeScript Library.", "examplesFile": "../../../docs/library-examples.md", "properties": { "buildable": { "default": true, "description": "Generate a buildable library.", "type": "boolean", "x-deprecated": "Use the `bundler` option for greater control (swc, tsc, rollup, vite, esbuild, none)." }, "bundler": { "default": "tsc", "description": "The bundler to use. Choosing 'none' means this library is not buildable.", "enum": [ "swc", "tsc", "rollup", "vite", "esbuild", "none" ], "type": "string", "x-priority": "important", "x-prompt": "Which bundler would you like to use to build the library? Choose 'none' to skip build setup." }, "compiler": { "default": "tsc", "description": "The compiler used by the build and test targets", "enum": [ "tsc", "swc" ], "type": "string", "x-deprecated": "Use the `bundler` option for greater control (swc, tsc, rollup, vite, esbuild, none)." }, "config": { "default": "project", "description": "Determines whether the project's executors should be configured in `workspace.json`, `project.json` or as npm scripts.", "enum": [ "workspace", "project", "npm-scripts" ], "type": "string", "x-priority": "internal" }, "directory": { "description": "A directory where the lib is placed.", "type": "string", "x-priority": "important" }, "importPath": { "description": "The library name used to import it, like @myorg/my-awesome-lib. Required for publishable library.", "type": "string", "x-priority": "important" }, "includeBabelRc": { "description": "Include a .babelrc configuration to compile TypeScript files", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "minimal": { "default": false, "description": "Generate a library with a minimal setup. No README.md generated.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Library name.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the library?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case file names.", "type": "boolean" }, "publishable": { "default": false, "description": "Generate a publishable library.", "type": "boolean", "x-priority": "important" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "simpleName": { "default": false, "description": "Don't include the directory in the generated file name.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipTsConfig": { "default": false, "description": "Do not update tsconfig.json for development experience.", "type": "boolean", "x-priority": "internal" }, "skipTypeCheck": { "default": false, "description": "Whether to skip TypeScript type checking for SWC compiler.", "type": "boolean" }, "strict": { "default": true, "description": "Whether to enable tsconfig strict mode or not.", "type": "boolean" }, "tags": { "description": "Add tags to the library (used for linting).", "type": "string" }, "testEnvironment": { "default": "jsdom", "description": "The test environment to use if unitTestRunner is set to jest.", "enum": [ "jsdom", "node" ], "type": "string" }, "unitTestRunner": { "description": "Test runner to use for unit tests.", "enum": [ "jest", "vitest", "none" ], "type": "string", "x-prompt": "Which unit test runner would you like to use?" } }, "required": [ "name" ], "title": "Create a TypeScript Library", "type": "object" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/nest/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestLibraryGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create a NestJS Library for Nx.", "examples": [ { "command": "nx g lib mylib --directory=myapp", "description": "Generate libs/myapp/mylib" } ], "properties": { "buildable": { "default": false, "description": "Generate a buildable library.", "type": "boolean", "x-priority": "important" }, "controller": { "default": false, "description": "Include a controller with the library.", "type": "boolean" }, "directory": { "alias": "dir", "description": "A directory where the library is placed.", "type": "string" }, "global": { "default": false, "description": "Add the Global decorator to the generated module.", "type": "boolean" }, "importPath": { "description": "The library name used to import it, like @myorg/my-awesome-lib. Must be a valid npm name.", "type": "string" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Library name.", "pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$", "type": "string", "x-prompt": "What name would you like to use for the library?" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "publishable": { "description": "Create a publishable library.", "type": "boolean", "x-priority": "important" }, "service": { "default": false, "description": "Include a service with the library.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "simpleName": { "default": false, "description": "Don't include the directory in the name of the module of the library.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipTsConfig": { "default": false, "description": "Do not update tsconfig.base.json for development experience.", "type": "boolean", "x-priority": "internal" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "strict": { "default": true, "description": "Whether to enable tsconfig strict mode or not.", "type": "boolean" }, "tags": { "alias": "t", "description": "Add tags to the library (used for linting).", "type": "string" }, "target": { "default": "es2021", "description": "The ES target, Nest suggest using es2021 or higher.", "enum": [ "es5", "es6", "esnext", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021" ], "type": "string" }, "testEnvironment": { "default": "node", "description": "The test environment for jest, for node applications this should stay as node unless doing DOM testing.", "enum": [ "jsdom", "node" ], "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a NestJS Library for Nx", "type": "object" }
MIT
en
nrwl/nx
a22bd54f3f932fc2ddcb2a5cee0f769eaf68a355
2023-01-16T12:19:33
packages/angular/src/generators/library-secondary-entry-point/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularLibrarySecondaryEntryPoint", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Creates a secondary entry point for an Angular publishable library.", "examplesFile": "../../../docs/library-secondary-entry-point-examples.md", "properties": { "library": { "description": "The name of the library to create the secondary entry point for.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-dropdown": "projects", "x-priority": "important", "x-prompt": "What library would you like to create the secondary entry point for?" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the secondary entry point.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the secondary entry point?" }, "skipModule": { "default": false, "description": "Skip generating a module for the secondary entry point.", "type": "boolean" } }, "required": [ "name", "library" ], "title": "Creates a secondary entry point for a library", "type": "object" }
MIT
en
nrwl/nx
bdcbac4445df85a8f861ac70465eb641e025e8de
2021-10-15T22:07:12
packages/workspace/src/generators/preset/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspacePreset", "$schema": "http://json-schema.org/schema", "cli": "nx", "properties": { "cli": { "description": "CLI powering the workspace.", "type": "string" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "tslint", "eslint" ], "type": "string" }, "name": { "description": "The name of the application.", "type": "string" }, "npmScope": { "description": "Npm scope for importing libs.", "type": "string" }, "preset": { "description": "The name of the preset.", "type": "string" }, "standaloneConfig": { "description": "Split the project configurations into <projectRoot>/project.json rather than including it inside workspace.json", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl)[ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } } }, "title": "Creates applications in a new workspace", "type": "object" }
MIT
en
nrwl/nx
e2626adb682ab2ba08bd0c00fb4d301597844472
2021-12-10T14:33:46
packages/angular/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorAngularLibrary", "$schema": "http://json-schema.org/schema", "cli": "nx", "properties": { "addModuleSpec": { "default": false, "description": "Add a module spec file.", "type": "boolean" }, "buildable": { "default": false, "description": "Generate a buildable library.", "type": "boolean" }, "compilationMode": { "description": "Specifies the compilation mode to use. If not specified, it will default to `partial` for publishable libraries and to `full` for buildable libraries. The `full` value can not be used for publishable libraries.", "enum": [ "full", "partial" ], "type": "string" }, "directory": { "description": "A directory where the library is placed.", "type": "string" }, "importPath": { "description": "The library name used to import it, like `@myorg/my-awesome-lib`. Must be a valid npm name.", "type": "string" }, "lazy": { "default": false, "description": "Add `RouterModule.forChild` when set to true, and a simple array of routes when set to false.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the library.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the library?" }, "parentModule": { "description": "Update the router configuration of the parent module using `loadChildren` or `children`, depending on what `lazy` is set to.", "type": "string" }, "prefix": { "alias": "p", "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string" }, "publishable": { "default": false, "description": "Generate a publishable library.", "type": "boolean" }, "routing": { "default": false, "description": "Add router configuration. See `lazy` for more information.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "simpleModuleName": { "default": false, "description": "Keep the module name simple (when using `--directory`).", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" }, "skipTsConfig": { "default": false, "description": "Do not update `tsconfig.json` for development experience.", "type": "boolean" }, "standaloneConfig": { "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean" }, "strict": { "default": true, "description": "Create a library with stricter type checking and build optimization options.", "type": "boolean" }, "tags": { "description": "Add tags to the library (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "karma", "jest", "none" ], "type": "string" } }, "required": [], "title": "Create a library", "type": "object" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/nest/src/generators/interceptor/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestInterceptorGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Nest Interceptor Options Schema.", "properties": { "directory": { "aliases": [ "dir", "path" ], "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", "type": "string" }, "flat": { "default": true, "description": "Flag to indicate if a directory is created.", "type": "boolean", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v18." }, "language": { "description": "Nest interceptor language.", "enum": [ "js", "ts" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the interceptor.", "type": "string", "x-prompt": "What name would you like to use?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The Nest project to target.", "type": "string", "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Nest Interceptor Options Schema", "type": "object" }
MIT
en
nrwl/nx
c560b2bba68c36d997f1c2507a715d1ff1b76e1f
2024-05-17T13:05:29
packages/web/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWebApp", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Create a web application using `swc` or `babel` as compiler.", "examplesFile": "../../../docs/application-examples.md", "properties": { "bundler": { "default": "webpack", "description": "The bundler to use.", "enum": [ "webpack", "none", "vite" ], "type": "string", "x-priority": "important", "x-prompt": "Which bundler do you want to use?" }, "compiler": { "default": "swc", "description": "The compiler to use", "enum": [ "swc", "babel" ], "type": "string", "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "playwright", "description": "Test runner to use for end to end (e2e) tests", "enum": [ "playwright", "cypress", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "inSourceTests": { "default": false, "description": "When using Vitest, separate spec files will not be generated and instead will be included within the source files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-prompt": "What name would you like to use for the application?" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean", "x-priority": "internal" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside workspace.json", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ https://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ https://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "description": "Add tags to the application (used for linting)", "type": "string" }, "unitTestRunner": { "description": "Test runner to use for unit tests. Default value is 'jest' when using 'webpack' or 'none' as the bundler and 'vitest' when using 'vite' as the bundler", "enum": [ "jest", "vitest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a Web Application for Nx", "type": "object" }
MIT
en
nrwl/nx
678818a58b37bb395415665232f7acaac4bd21f6
2021-05-12T16:20:12
packages/workspace/src/generators/remove/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspaceRemove", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Remove a project from the workspace", "examples": [ { "command": "g @nrwl/workspace:remove my-feature-lib", "description": "Remove my-feature-lib from the workspace" }, { "command": "g @nrwl/workspace:remove my-feature-lib --forceRemove", "description": "Force removal of my-feature-lib from the workspace" } ], "properties": { "forceRemove": { "aliases": [ "force-remove" ], "default": false, "description": "When true, forces removal even if the project is still in use.", "type": "boolean" }, "projectName": { "$default": { "$source": "argv", "index": 0 }, "alias": "project", "description": "The name of the project to remove", "type": "string" }, "skipFormat": { "aliases": [ "skip-format" ], "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [ "projectName" ], "title": "Nx Remove", "type": "object" }
MIT
en
nrwl/nx
59c8e186db48290656d6aa70a5c423d0d0fc4d56
2021-07-16T01:34:28
packages/angular/src/generators/add-linting/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularAddLintingGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "properties": { "prefix": { "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string" }, "projectName": { "description": "The name of the project.", "type": "string" }, "projectRoot": { "description": "The path to the root of the selected project.", "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [ "prefix", "projectName", "projectRoot" ], "title": "Add linting to an Angular project.", "type": "object" }
MIT
en
nrwl/nx
25d6ec3a921d09cb95ad81ce2471e11e3f51e9d1
2023-11-07T20:45:42
packages/angular/src/generators/remote/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxMFRemote", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create an Angular Remote Module Federation Application.", "examples": [ { "command": "nx g @nx/angular:remote appName --host=host --port=4201", "description": "Create an Angular app with configuration in place for Module Federation. If host is provided, attach this remote app to host app's configuration." } ], "properties": { "addTailwind": { "default": false, "description": "Whether to configure Tailwind CSS for the application.", "type": "boolean" }, "backendProject": { "description": "Backend project that provides data to this application. This sets up `proxy.config.json`.", "type": "string" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "playwright", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "host": { "description": "The name of the host app to attach this remote app to.", "type": "string", "x-dropdown": "projects", "x-priority": "important" }, "inlineStyle": { "alias": "s", "default": false, "description": "Specifies if the style will be in the ts file.", "type": "boolean" }, "inlineTemplate": { "alias": "t", "default": false, "description": "Specifies if the template will be in the ts file.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name to give to the remote Angular app.", "pattern": "^[a-zA-Z][^:]*$", "type": "string" }, "port": { "description": "The port on which this app should be served.", "type": "number" }, "prefix": { "alias": "p", "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipTests": { "alias": "S", "default": false, "description": "Skip creating spec files.", "type": "boolean" }, "ssr": { "default": false, "description": "Whether to configure SSR for the remote application to be consumed by a host application using SSR.", "type": "boolean" }, "standalone": { "default": true, "description": "Whether to generate a remote application with standalone components.", "type": "boolean" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "strict": { "default": true, "description": "Create an application with stricter type checking and build optimization options.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "enum": [ "css", "scss", "sass", "less" ], "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "SASS(.sass) [ http://sass-lang.com ]", "value": "sass" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "description": "Add tags to the application (used for linting).", "type": "string" }, "typescriptConfiguration": { "default": true, "description": "Whether the module federation configuration and webpack configuration files should use TS.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" }, "viewEncapsulation": { "description": "Specifies the view encapsulation strategy.", "enum": [ "Emulated", "None", "ShadowDom" ], "type": "string" } }, "required": [ "name" ], "title": "Nx Module Federation Remote App", "type": "object" }
MIT
en
nrwl/nx
deb0f1a49294eafe18c407a96c95e40af15d3738
2024-01-30T21:29:05
packages/plugin/src/generators/generator/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxPluginGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create a Generator for an Nx Plugin.", "examples": [ { "command": "nx g generator my-generator --project=my-plugin", "description": "Generate `libs/my-plugin/src/generators/my-generator`" } ], "properties": { "description": { "description": "Generator description.", "type": "string", "x-priority": "important" }, "directory": { "aliases": [ "dir" ], "description": "The directory at which to create the generator file. When `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. Otherwise, it will be relative to the workspace root.", "type": "string", "x-priority": "important" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Generator name.", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the generator?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the generator in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." }, "skipFormat": { "default": false, "description": "Do not format files with prettier.", "type": "boolean", "x-priority": "internal" }, "skipLintChecks": { "default": false, "description": "Do not add an eslint configuration for plugin json files.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a Generator for an Nx Plugin", "type": "object" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/workspace/src/generators/convert-to-nx-project/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "SchematicsConvertToNxProject", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Migrates v1 config to v2 standalone configuration.", "examples": [ { "command": "nx g @nx/workspace:convert-to-nx-project --project my-feature-lib", "description": "Convert the `my-feature-lib` project to use `project.json` file instead of `workspace.json`" }, { "command": "nx g @nx/workspace:convert-to-nx-project --all", "description": "Convert all projects in `workspace.json` to separate `project.json` files" } ], "properties": { "all": { "description": "Convert all projects", "type": "boolean" }, "project": { "description": "Convert a single project", "type": "string" }, "reformat": { "description": "Just reformats the configuration", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean", "x-priority": "internal" } }, "title": "@nx/workspace:fix-configuration", "type": "object" }
MIT
en
nrwl/nx
204c5cb5d83649841a93fb5193319a8bbfda216b
2022-10-15T12:45:59
packages/next/src/generators/page/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNextReactPage", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a Page for Next.", "examplesFile": "../../../docs/page-examples.md", "properties": { "directory": { "alias": "dir", "description": "Create the page under this directory (can be nested). Will be created under `pages/`.", "type": "string" }, "export": { "alias": "e", "default": false, "description": "When true, the component is exported from the project `index.ts` (if it exists).", "type": "boolean" }, "flat": { "default": false, "description": "Create component at the source root rather than its own directory.", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the component.", "type": "string", "x-prompt": "What name would you like to use for the component?" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-prompt": "What is the name of the project for this component?" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "withTests": { "default": false, "description": "When true, creates a `spec.ts` test file for the new page.", "type": "boolean" } }, "required": [ "name", "project" ], "title": "Create a Page for Next", "type": "object" }
MIT
en
nrwl/nx
46e7b4d49c71718d50fe7293254fea50ffbcfaef
2022-04-12T18:05:55
packages/angular/src/generators/component-story/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularComponentStoryGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Creates a `stories.ts` file for an Angular component.", "properties": { "componentFileName": { "description": "Component file name without the `.ts` extension.", "examples": [ "awesome.component" ], "type": "string" }, "componentName": { "description": "Class name of the component.", "examples": [ "AwesomeComponent" ], "type": "string" }, "componentPath": { "description": "Relative path to the component file from the project root.", "examples": [ "awesome" ], "type": "string" }, "projectPath": { "description": "Path to the project.", "examples": [ "libs/ui-samples" ], "type": "string" } }, "required": [ "projectPath", "componentName", "componentPath", "componentFileName" ], "type": "object" }
MIT
en
nrwl/nx
abfa8640b24b7ea12d90b975bf060ec8014eae18
2023-01-13T13:14:36
packages/vite/src/executors/test/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Test using Vitest.", "examplesFile": "../../../docs/test-examples.md", "properties": { "config": { "description": "The path to the local vitest config", "type": "string", "x-completion-glob": "@(vitest|vite).config@(.js|.ts)", "x-completion-type": "file" }, "coverage": { "default": false, "description": "Enable coverage report", "type": "boolean", "x-priority": "important" }, "mode": { "default": "test", "description": "The mode that vitest will run on", "enum": [ "test", "benchmark", "typecheck" ], "type": "string", "x-priority": "important" }, "passWithNoTests": { "default": true, "description": "Pass the test even if no tests are found", "type": "boolean" }, "reporters": { "description": "An array of reporters to pass to vitest", "items": { "type": "string" }, "type": "array" }, "reportsDirectory": { "description": "Directory to write coverage report to.", "type": "string" }, "testNamePattern": { "description": "Run tests with full names matching the pattern", "type": "string" }, "update": { "alias": "u", "default": false, "description": "Update snapshots", "type": "boolean", "x-priority": "important" }, "watch": { "default": false, "description": "Enable watch mode", "type": "boolean" } }, "required": [], "title": "Vitest executor", "type": "object", "version": 2 }
MIT
en
nrwl/nx
8b48ba9ac25ce15adec257a92c05c570ed8fa5a2
2023-04-14T17:56:57
packages/react/src/generators/host/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorReactHost", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create Module Federation configuration files for given React Host Application.", "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "compiler": { "default": "babel", "description": "The compiler to use", "enum": [ "babel", "swc" ], "type": "string" }, "devServerPort": { "default": 4200, "description": "The port for the dev server of the remote app.", "type": "number", "x-priority": "important" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (e2e) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "minimal": { "default": false, "description": "Generate a React app with a minimal setup. No nx starter template.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the host application to generate the Module Federation configuration", "pattern": "^[a-zA-Z].*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use as the host application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "remotes": { "default": [], "description": "A list of remote application names that the host application should consume.", "type": "array", "x-priority": "important" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipWorkspaceJson": { "default": false, "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", "x-priority": "internal" }, "ssr": { "default": false, "description": "Whether to configure SSR for the host application", "type": "boolean" }, "strict": { "default": true, "description": "Creates an application with strict mode and strict type checking", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ] (DEPRECATED)", "value": "styl" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Generate Module Federation Setup for React Host App", "type": "object" }
MIT
en
nrwl/nx
deb0f1a49294eafe18c407a96c95e40af15d3738
2024-01-30T21:29:05
packages/nest/src/generators/filter/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestFilterGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Nest Filter Options Schema.", "properties": { "directory": { "aliases": [ "dir", "path" ], "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", "type": "string" }, "flat": { "default": true, "description": "Flag to indicate if a directory is created.", "type": "boolean", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." }, "language": { "description": "Nest filter language.", "enum": [ "js", "ts" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the filter.", "type": "string", "x-prompt": "What name would you like to use?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The Nest project to target.", "type": "string", "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Nest Filter Options Schema", "type": "object" }
MIT
en
nrwl/nx
e4758358b0cf9d3013ddfd30ae9ea387866f5144
2024-01-22T18:51:41
packages/webpack/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWebpackInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Initialize the Webpack Plugin.", "properties": { "keepExistingVersions": { "default": false, "description": "Keep existing dependencies versions", "type": "boolean", "x-priority": "internal" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" }, "updatePackageScripts": { "default": false, "description": "Update `package.json` scripts with inferred targets", "type": "boolean", "x-priority": "internal" } }, "required": [], "title": "Init Webpack Plugin", "type": "object" }
MIT
en
nrwl/nx
46e7b4d49c71718d50fe7293254fea50ffbcfaef
2022-04-12T18:05:55
packages/next/src/generators/component/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNextReactComponent", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a React Component for Next.", "examples": [ { "command": "nx g component my-component --project=mylib", "description": "Generate a component in the `mylib` library" }, { "command": "nx g component my-component --project=mylib --classComponent", "description": "Generate a class component in the `mylib` library" } ], "properties": { "directory": { "alias": "dir", "description": "Create the component under this directory (can be nested).", "type": "string" }, "export": { "alias": "e", "default": false, "description": "When true, the component is exported from the project index.ts (if it exists).", "type": "boolean" }, "flat": { "default": false, "description": "Create component at the source root rather than its own directory.", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the component.", "type": "string", "x-prompt": "What name would you like to use for the component?" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-prompt": "What is the name of the project for this component?" }, "skipTests": { "default": false, "description": "When true, does not create `spec.ts` test files for the new component.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } } }, "required": [ "name", "project" ], "title": "Create a React Component for Next", "type": "object" }
MIT
en
nrwl/nx
6dae32cc3af4f76f4de7f296a7c7c34ecfc1d62b
2022-03-24T16:00:06
packages/angular/src/generators/move/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularMove", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Move an Angular project to another folder in the workspace.", "examples": [ { "command": "nx g @nrwl/angular:move --project my-feature-lib shared/my-feature-lib", "description": "Move libs/my-feature-lib to libs/shared/my-feature-lib." } ], "properties": { "destination": { "$default": { "$source": "argv", "index": 0 }, "description": "The folder to move the Angular project into.", "type": "string" }, "importPath": { "description": "The new import path to use in the `tsconfig.base.json`.", "type": "string" }, "projectName": { "alias": "project", "description": "The name of the Angular project to move.", "type": "string" }, "skipFormat": { "aliases": [ "skip-format" ], "default": false, "description": "Skip formatting files.", "type": "boolean" }, "updateImportPath": { "default": true, "description": "Update the import path to reflect the new location.", "type": "boolean" } }, "required": [ "projectName", "destination" ], "title": "Nx Angular Move", "type": "object" }
MIT
en
nrwl/nx
d20cf91e6c5e1b71fb8af4e6413d27b15e82d2ce
2023-01-13T16:50:01
packages/next/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactLibrary", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a React Library for an Nx workspace.", "examplesFile": "../../../docs/library-examples.md", "properties": { "appProject": { "alias": "a", "description": "The application project to add the library route to.", "type": "string" }, "buildable": { "default": false, "description": "Generate a buildable library.", "type": "boolean" }, "component": { "default": true, "description": "Generate a default component.", "type": "boolean" }, "directory": { "alias": "dir", "description": "A directory where the lib is placed.", "type": "string", "x-priority": "important" }, "globalCss": { "default": false, "description": "When true, the stylesheet is generated using global CSS instead of CSS modules (e.g. file is `*.css` rather than `*.module.css`).", "type": "boolean" }, "importPath": { "description": "The library name used to import it, like `@myorg/my-awesome-lib`.", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Library name", "pattern": "^[a-zA-Z].*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the library?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. `App.tsx`).", "type": "boolean" }, "publishable": { "description": "Create a publishable library.", "type": "boolean" }, "routing": { "description": "Generate library with routes.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipTsConfig": { "default": false, "description": "Do not update tsconfig.json for development experience.", "type": "boolean" }, "standaloneConfig": { "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`", "type": "boolean" }, "strict": { "default": true, "description": "Whether to enable tsconfig strict mode or not.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the library (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a React Library for Nx", "type": "object" }
MIT
en
nrwl/nx
88a7ad765448ac52fb765a7daa83a418d1901045
2022-03-18T21:18:10
packages/angular/src/generators/ng-add/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularNgAddGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Migrates an Angular CLI workspace to Nx or adds the Angular plugin to an Nx workspace. NOTE: Does not work in the `--dry-run` mode.", "properties": { "defaultBase": { "description": "Default base branch for affected. NOTE: only used if running the generator in an Angular CLI workspace.", "type": "string" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (e2e) tests. NOTE: only used if running the generator in an Nx workspace.", "enum": [ "protractor", "cypress", "none" ], "type": "string" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks. NOTE: only used if running the generator in an Nx workspace.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "projectName" }, "description": "Project name. NOTE: only used if running the generator in an Angular CLI workspace.", "type": "string" }, "npmScope": { "description": "Npm scope for importing libs. NOTE: only used if running the generator in an Angular CLI workspace.", "type": "string" }, "preserveAngularCliLayout": { "default": false, "description": "Preserve the Angular CLI layout instead of moving the app into apps. NOTE: only used if running the generator in an Angular CLI workspace.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files. NOTE: only used if running the generator in an Nx workspace.", "type": "boolean" }, "skipInstall": { "default": false, "description": "Skip installing added packages.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`. NOTE: only used if running the generator in an Nx workspace.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files. NOTE: only used if running the generator in an Nx workspace.", "enum": [ "css", "scss", "sass", "less" ], "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests. NOTE: only used if running the generator in an Nx workspace.", "enum": [ "karma", "jest", "none" ], "type": "string" } }, "title": "Angular plugin initialization", "type": "object" }
MIT
en
nrwl/nx
47f8b7a8bef005cf7eb40207cec98793f704384d
2023-08-17T15:27:47
packages/angular/src/generators/host/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxMFHost", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create an Angular Host Module Federation Application.", "examples": [ { "command": "nx g @nx/angular:host appName --remotes=remote1", "description": "Create an Angular application with configuration in place for Module Federation. If the `remotes` option is provided, attach the remote application to this application's configuration" } ], "properties": { "addTailwind": { "default": false, "description": "Whether to configure Tailwind CSS for the application.", "type": "boolean" }, "backendProject": { "description": "Backend project that provides data to this application. This sets up `proxy.config.json`.", "type": "string" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "dynamic": { "default": false, "description": "Should the host application use dynamic federation?", "type": "boolean" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "playwright", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "inlineStyle": { "alias": "s", "default": false, "description": "Specifies if the style will be in the ts file.", "type": "boolean" }, "inlineTemplate": { "alias": "t", "default": false, "description": "Specifies if the template will be in the ts file.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name to give to the host Angular application.", "pattern": "^[a-zA-Z][^:]*$", "type": "string" }, "prefix": { "alias": "p", "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "remotes": { "description": "The names of the remote applications to add to the host.", "type": "array", "x-priority": "important" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipPostInstall": { "default": false, "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipTests": { "alias": "S", "default": false, "description": "Skip creating spec files.", "type": "boolean" }, "ssr": { "default": false, "description": "Whether to configure SSR for the host application", "type": "boolean", "x-priority": "important" }, "standalone": { "default": false, "description": "Whether to generate a host application that uses standalone components. _Note: This is only supported in Angular versions >= 14.1.0_", "type": "boolean" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "strict": { "default": true, "description": "Create an application with stricter type checking and build optimization options.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "enum": [ "css", "scss", "sass", "less" ], "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "SASS(.sass) [ http://sass-lang.com ]", "value": "sass" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" }, "viewEncapsulation": { "description": "Specifies the view encapsulation strategy.", "enum": [ "Emulated", "None", "ShadowDom" ], "type": "string" } }, "required": [ "name" ], "title": "Nx Module Federation Host Application", "type": "object" }
MIT
en
nrwl/nx
387af0cf3f92bb9dd20f39eccb349d766bd613bb
2021-08-25T19:54:23
packages/detox/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "properties": { "directory": { "description": "A directory where the project is placed", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "tslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Name of the E2E Project", "type": "string", "x-prompt": "What name would you like to use for the e2e project?" }, "project": { "$default": { "$source": "projectName" }, "description": "The name of the frontend project to test.", "type": "string", "x-prompt": "What is the name of the frontend project to test?" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean" } }, "required": [ "name", "project" ], "title": "Create Detox Configuration for the workspace", "type": "object" }
MIT
en
nrwl/nx
3eede1c7debee88572a71f4668b9b0d63a169f62
2023-04-12T12:23:13
packages/react/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactApp", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a React application for Nx.", "examples": [ { "command": "nx g app myapp --directory=myorg", "description": "Generate `apps/myorg/myapp` and `apps/myorg/myapp-e2e`" }, { "command": "nx g app myapp --classComponent", "description": "Use class components instead of functional components" }, { "command": "nx g app myapp --routing", "description": "Set up React Router" } ], "examplesFile": "../../../docs/application-examples.md", "properties": { "bundler": { "default": "webpack", "description": "The bundler to use.", "enum": [ "vite", "webpack" ], "type": "string", "x-priority": "important", "x-prompt": "Which bundler do you want to use to build the application?" }, "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "compiler": { "default": "babel", "description": "The compiler to use.", "enum": [ "babel", "swc" ], "type": "string" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "globalCss": { "default": false, "description": "Default is `false`. When `true`, the component is generated with `*.css`/`*.scss` instead of `*.module.css`/`*.module.scss`.", "type": "boolean" }, "inSourceTests": { "default": false, "description": "When using Vitest, separate spec files will not be generated and instead will be included within the source files. Read more on the Vitest docs site: https://vitest.dev/guide/in-source.html", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "minimal": { "default": false, "description": "Generate a React app with a minimal setup, no separate test files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. `App.tsx`).", "type": "boolean" }, "rootProject": { "default": false, "description": "Create a application at the root of the workspace", "hidden": true, "type": "boolean" }, "routing": { "default": false, "description": "Generate application with routes.", "type": "boolean", "x-prompt": "Would you like to add React Router to this application?" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipWorkspaceJson": { "default": false, "description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", "x-priority": "internal" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "strict": { "default": true, "description": "Creates an application with strict mode and strict type checking.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ] (DEPRECATED)", "value": "styl" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "vitest", "none" ], "type": "string" } }, "required": [], "title": "Create a React Application", "type": "object" }
MIT
en
nrwl/nx
d91c7ca4ec6c3eb6ffd7e4eb0fda4a61a5b5bd8c
2022-09-30T11:02:05
packages/react/src/generators/host/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorReactHost", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create Module Federation configuration files for given React Host Application.", "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "compiler": { "default": "babel", "description": "The compiler to use", "enum": [ "babel", "swc" ], "type": "string" }, "devServerPort": { "description": "The port for the dev server of the remote app.", "type": "number" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (e2e) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the host application to generate the Module Federation configuration", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use as the host application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "remotes": { "default": [], "description": "A list of remote application names that the host application should consume.", "type": "array" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipWorkspaceJson": { "default": false, "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean" }, "standaloneConfig": { "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json", "type": "boolean" }, "strict": { "default": true, "description": "Creates an application with strict mode and strict type checking", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Generate Module Federation Setup for React Host App", "type": "object" }
MIT
en
nrwl/nx
09c6ccb2666f98014a206e23187a2794642a579c
2022-09-28T15:08:01
packages/next/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactLibrary", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a React Library for an Nx workspace.", "examples": [ { "command": "nx g lib mylib --directory=myapp", "description": "Generate `libs/myapp/mylib`" }, { "command": "nx g lib mylib --appProject=myapp", "description": "Generate a library with routes and add them to `myapp`" } ], "properties": { "appProject": { "alias": "a", "description": "The application project to add the library route to.", "type": "string" }, "buildable": { "default": false, "description": "Generate a buildable library.", "type": "boolean" }, "component": { "default": true, "description": "Generate a default component.", "type": "boolean" }, "directory": { "alias": "dir", "description": "A directory where the lib is placed.", "type": "string" }, "globalCss": { "default": false, "description": "When true, the stylesheet is generated using global CSS instead of CSS modules (e.g. file is `*.css` rather than `*.module.css`).", "type": "boolean" }, "importPath": { "description": "The library name used to import it, like `@myorg/my-awesome-lib`.", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Library name", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the library?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. `App.tsx`).", "type": "boolean" }, "publishable": { "description": "Create a publishable library.", "type": "boolean" }, "routing": { "description": "Generate library with routes.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipTsConfig": { "default": false, "description": "Do not update tsconfig.json for development experience.", "type": "boolean" }, "standaloneConfig": { "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`", "type": "boolean" }, "strict": { "default": true, "description": "Whether to enable tsconfig strict mode or not.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the library (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a React Library for Nx", "type": "object" }
MIT
en
nrwl/nx
46e7b4d49c71718d50fe7293254fea50ffbcfaef
2022-04-12T18:05:55
packages/web/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWebInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Init Web Plugin.", "properties": { "e2eTestRunner": { "default": "cypress", "description": "Adds the specified e2e test runner", "enum": [ "cypress", "none" ], "type": "string" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Adds the specified unit test runner", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Init Web Plugin", "type": "object" }
MIT
en
nrwl/nx
678818a58b37bb395415665232f7acaac4bd21f6
2021-05-12T16:20:12
packages/react/src/generators/stories/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactStorybookStories", "$schema": "http://json-schema.org/schema", "cli": "nx", "properties": { "cypressProject": { "description": "The Cypress project to generate the stories under. This is inferred from 'project' by default", "type": "string" }, "generateCypressSpecs": { "default": true, "description": "Automatically generate *.spec.ts files in the cypress e2e app generated by the cypress-configure generator.", "type": "boolean", "x-prompt": "Do you want to generate Cypress specs as well?" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "project": { "$default": { "$source": "projectName", "index": 0 }, "description": "Library or application name", "type": "string", "x-prompt": "What's name of the project for which you want to generate stories?" } }, "required": [ "project" ], "type": "object" }
MIT
en
nrwl/nx
fb54f6758103973b530cc729a04df12e5a5c8a3f
2023-04-20T18:35:04
packages/plugin/src/generators/generator/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxPluginGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create a Generator for an Nx Plugin.", "examples": [ { "command": "nx g generator my-generator --project=my-plugin", "description": "Generate `libs/my-plugin/src/generators/my-generator`" } ], "properties": { "description": { "alias": "d", "description": "Generator description.", "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Generator name.", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the generator?" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-priority": "important", "x-prompt": "What is the name of the project for the generator?" }, "skipFormat": { "default": false, "description": "Do not format files with prettier.", "type": "boolean", "x-priority": "internal" }, "skipLintChecks": { "default": false, "description": "Do not add an eslint configuration for plugin json files.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "project", "name" ], "title": "Create a Generator for an Nx Plugin", "type": "object" }
MIT
en
nrwl/nx
739e2e7115ff057ec923ef71dc09f2d73bef2977
2024-04-23T15:27:09
packages/react/src/generators/remote/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorReactRemote", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create Module Federation configuration files for given React Remote Application.", "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "compiler": { "default": "babel", "description": "The compiler to use.", "enum": [ "babel", "swc" ], "type": "string" }, "devServerPort": { "description": "The port for the dev server of the remote app.", "type": "number", "x-priority": "important" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "dynamic": { "default": false, "description": "Should the host application use dynamic federation?", "type": "boolean", "x-priority": "internal" }, "e2eTestRunner": { "default": "playwright", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "playwright", "cypress", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss.", "type": "boolean" }, "host": { "description": "The host / shell application for this remote.", "type": "string", "x-priority": "important" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the remote application to generate the Module Federation configuration", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use as the remote application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "routing": { "default": false, "description": "Generate application with routes.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipNxJson": { "default": false, "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", "x-priority": "internal" }, "ssr": { "default": false, "description": "Whether to configure SSR for the host application", "type": "boolean" }, "strict": { "default": true, "description": "Creates an application with strict mode and strict type checking.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ https://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ https://lesscss.org ]", "value": "less" }, { "label": "tailwind [ https://tailwindcss.com/ ]", "value": "tailwind" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "typescriptConfiguration": { "default": true, "description": "Whether the module federation configuration and webpack configuration files should use TS. When --js is used, this flag is ignored.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Generate Module Federation Setup for React Remote App", "type": "object" }
MIT
en
nrwl/nx
6dae32cc3af4f76f4de7f296a7c7c34ecfc1d62b
2022-03-24T16:00:06
packages/cypress/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxCypressInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Add Cypress Configuration to the workspace.", "properties": { "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" } }, "title": "Add Cypress Configuration to the workspace", "type": "object" }
MIT
en
nrwl/nx
ad841c9048b9bf6d509b75a62a4cbbd5c295eb28
2023-05-09T13:30:52
packages/angular/src/generators/remote/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxMFRemote", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create an Angular Remote Module Federation Application.", "examples": [ { "command": "nx g @nx/angular:remote appName --host=host --port=4201", "description": "Create an Angular app with configuration in place for Module Federation. If host is provided, attach this remote app to host app's configuration." } ], "properties": { "addTailwind": { "default": false, "description": "Whether to configure Tailwind CSS for the application.", "type": "boolean" }, "backendProject": { "description": "Backend project that provides data to this application. This sets up `proxy.config.json`.", "type": "string" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "host": { "description": "The name of the host app to attach this remote app to.", "type": "string", "x-dropdown": "projects", "x-priority": "important" }, "inlineStyle": { "alias": "s", "default": false, "description": "Specifies if the style will be in the ts file.", "type": "boolean" }, "inlineTemplate": { "alias": "t", "default": false, "description": "Specifies if the template will be in the ts file.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name to give to the remote Angular app.", "pattern": "^[a-zA-Z].*$", "type": "string" }, "port": { "description": "The port on which this app should be served.", "type": "number" }, "prefix": { "alias": "p", "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipTests": { "alias": "S", "default": false, "description": "Skip creating spec files.", "type": "boolean" }, "ssr": { "default": false, "description": "Whether to configure SSR for the remote application to be consumed by a host application using SSR.", "type": "boolean" }, "standalone": { "default": false, "description": "Whether to generate a remote application with standalone components. _Note: This is only supported in Angular versions >= 14.1.0_", "type": "boolean" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "strict": { "default": true, "description": "Create an application with stricter type checking and build optimization options.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "enum": [ "css", "scss", "sass", "less" ], "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "SASS(.sass) [ http://sass-lang.com ]", "value": "sass" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" }, "viewEncapsulation": { "description": "Specifies the view encapsulation strategy.", "enum": [ "Emulated", "None", "ShadowDom" ], "type": "string" } }, "required": [ "name" ], "title": "Nx Module Federation Remote App", "type": "object" }
MIT
en
nrwl/nx
6141f44203898277adb8244db4200fcc3cea207f
2024-01-17T19:22:58
packages/js/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxTypescriptInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Init generator placeholder for nx/js.", "properties": { "js": { "default": false, "description": "Use JavaScript instead of TypeScript", "type": "boolean" }, "keepExistingVersions": { "default": false, "description": "Keep existing dependencies versions", "type": "boolean", "x-priority": "internal" }, "skipFormat": { "aliases": [ "skip-format" ], "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "description": "Skip adding package.json dependencies", "type": "boolean", "x-priority": "internal" }, "tsConfigName": { "description": "Customize the generated tsconfig file name.", "type": "string", "x-priority": "internal" } }, "title": "Init nx/js" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/angular/src/generators/ngrx/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNgrxGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Adds NgRx support to an application or library.", "examples": [ { "command": "nx g @nx/angular:ngrx --root --parent=apps/my-app/src/app/app.module.ts --facade=false placeholder", "description": "Add root ngrx configration to the `my-app` application" }, { "command": "nx g @nx/angular:ngrx --parent=libs/my-lib/src/lib/my-lib.module.ts --facade=true --root=false users", "description": "Add a `users` state with a facade to the `my-lib` library. It will be tracked under the default `+state` folder in the lib" }, { "command": "nx g @nx/angular:ngrx --parent=apps/my-app/src/app/app.config.ts --root", "description": "Add a root state configuration to `my-app` when `my-app` uses Standalone APIs" }, { "command": "nx g @nx/angular:ngrx --parent=libs/my-lib/src/lib.routes.ts users", "description": "Add a `users` feature state to the Route definition of a library using Standalone APIs" } ], "properties": { "barrels": { "default": false, "description": "Use barrels to re-export actions, state and selectors.", "type": "boolean" }, "directory": { "default": "+state", "description": "The name of the folder used to contain/group the generated NgRx files.", "type": "string" }, "facade": { "default": false, "description": "Create a Facade class for the the feature.", "type": "boolean", "x-prompt": "Would you like to use a Facade with your NgRx state?" }, "minimal": { "default": true, "description": "Only register the root state management setup or feature state.", "type": "boolean" }, "module": { "description": "The path to the `NgModule` where the feature state will be registered. The host directory will create/use the new state directory.", "type": "string", "x-deprecated": "This option will be removed in a future version of Nx. Please switch to using --parent instead." }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Name of the NgRx feature state, such as `products` or `users`. Recommended to use the plural form of the name.", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the NgRx feature state? An example would be `users`." }, "parent": { "description": "The path to the file where the state will be registered. For NgModule usage, this will be your `app.module.ts` for your root state, or your Feature Module for feature state. For Standalone API usage, this will be your `app.config.ts` file for your root state, or the Routes definition file for your feature state. The host directory will create/use the new state directory.", "type": "string", "x-priority": "important", "x-prompt": "What is the path to the module or Routes definition where this NgRx state should be registered?" }, "root": { "default": false, "description": "Setup root or feature state management with NgRx.", "type": "boolean", "x-priority": "important", "x-prompt": "Is this the root state of the application?" }, "route": { "default": "''", "description": "The route that the Standalone NgRx Providers should be added to.", "type": "string" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipImport": { "default": false, "description": "Generate NgRx feature files without registering the feature in the NgModule.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not update the `package.json` with NgRx dependencies.", "type": "boolean", "x-priority": "internal" } }, "required": [ "name" ], "title": "Add NgRx support to an application or library.", "type": "object", "x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Use the 'ngrx-root-store' and 'ngrx-feature-store' generators instead." }
MIT
en
nrwl/nx
9352f2ee987f543a634d20a2af59c7189aa0acf4
2022-07-11T12:27:33
packages/angular/src/generators/library-secondary-entry-point/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularLibrarySecondaryEntryPoint", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Creates a secondary entry point for an Angular publishable library.", "properties": { "library": { "$default": { "$source": "projectName" }, "description": "The name of the library to create the secondary entry point for.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What library would you like to create the secondary entry point for?" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the secondary entry point.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the secondary entry point?" }, "skipModule": { "default": false, "description": "Skip generating a module for the secondary entry point.", "type": "boolean" } }, "required": [ "name", "library" ], "title": "Creates a secondary entry point for a library", "type": "object" }
MIT
en
nrwl/nx
6141f44203898277adb8244db4200fcc3cea207f
2024-01-17T19:22:58
packages/express/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxExpressInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Init Express Plugin.", "properties": { "keepExistingVersions": { "default": false, "description": "Keep existing dependencies versions", "type": "boolean", "x-priority": "internal" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" } }, "required": [], "title": "Init Express Plugin", "type": "object" }
MIT
en
nrwl/nx
deb0f1a49294eafe18c407a96c95e40af15d3738
2024-01-30T21:29:05
packages/next/src/generators/component/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNextReactComponent", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Create a React Component for Next.", "examplesFile": "../../../docs/component-examples.md", "properties": { "directory": { "alias": "dir", "description": "The directory at which to create the component file. When `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. Otherwise, it will be relative to the project root.", "type": "string", "x-priority": "important" }, "export": { "alias": "e", "default": false, "description": "When true, the component is exported from the project index.ts (if it exists).", "type": "boolean" }, "flat": { "default": false, "description": "Create component at the source root rather than its own directory.", "type": "boolean", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. This option will be removed in Nx v19." }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the component.", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the component?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "pascalCaseDirectory": { "alias": "R", "default": false, "description": "Use pascal case directory name (e.g. `App/App.tsx`).", "type": "boolean", "x-deprecated": "Provide the `directory` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19." }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. `App.tsx`).", "type": "boolean", "x-deprecated": "Provide the `name` in pascal-case and use the `as-provided` format. This option will be removed in Nx v19." }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v19." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipTests": { "default": false, "description": "When true, does not create `spec.ts` test files for the new component.", "type": "boolean", "x-priority": "internal" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ https://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ https://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } } }, "required": [ "name" ], "title": "Create a React Component for Next", "type": "object" }
MIT
en
nrwl/nx
aa7625b76fcd3f53f6eda91220ecfd0a549928de
2023-10-17T22:14:36
packages/nest/src/generators/provider/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestProviderGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Nest Provider Options Schema.", "properties": { "directory": { "aliases": [ "dir", "path" ], "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", "type": "string" }, "flat": { "default": true, "description": "Flag to indicate if a directory is created.", "type": "boolean", "x-deprecated": "provide the `directory` option instead and use the `as-provided` format. it will be removed in nx v18." }, "language": { "description": "Nest provider language.", "enum": [ "js", "ts" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the provider.", "type": "string", "x-prompt": "What name would you like to use?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The Nest project to target.", "type": "string", "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v18." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Nest Provider Options Schema", "type": "object" }
MIT
en
nrwl/nx
d9aef75bd564cb2cec0bdbb5929b63bef2a65585
2021-02-11T02:30:55
packages/react/src/generators/component/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "examples": [ { "command": "g component my-component --project=mylib", "description": "Generate a component in the mylib library" }, { "command": "g component my-component --project=mylib --classComponent", "description": "Generate a class component in the mylib library" } ], "id": "NxReactApp", "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "directory": { "alias": "d", "description": "Create the component under this directory (can be nested).", "type": "string" }, "export": { "alias": "e", "default": false, "description": "When true, the component is exported from the project index.ts (if it exists).", "type": "boolean", "x-prompt": "Should this component be exported in the project?" }, "flat": { "default": false, "description": "Create component at the source root rather than its own directory.", "type": "boolean" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the component.", "type": "string", "x-prompt": "What name would you like to use for the component?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project.", "type": "string", "x-prompt": "What is the name of the project for this component?" }, "routing": { "description": "Generate a library with routes.", "type": "boolean" }, "skipTests": { "default": false, "description": "When true, does not create \"spec.ts\" test files for the new component.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } } }, "required": [ "name", "project" ], "title": "Create a React Component for Nx", "type": "object" }
MIT
en
nrwl/nx
9352f2ee987f543a634d20a2af59c7189aa0acf4
2022-07-11T12:27:33
packages/angular/src/generators/stories/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularStorybookStoriesGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Creates Storybook stories/specs for all Angular components declared in a project.", "properties": { "cypressProject": { "description": "The Cypress project to generate the stories under. This is inferred from `name` by default.", "type": "string" }, "generateCypressSpecs": { "description": "Specifies whether to automatically generate `*.spec.ts` files in the Cypress e2e app generated by the `cypress-configure` generator.", "type": "boolean", "x-prompt": "Do you want to generate Cypress specs as well?" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the project.", "type": "string", "x-dropdown": "projects", "x-prompt": "What's the name of the project for which you want to generate stories?" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [ "name" ], "title": "Create Storybook stories/specs", "type": "object" }
MIT
en
nrwl/nx
3ef5406fb81f0ef686c3e693564681a96d3a91f3
2023-03-02T15:38:18
packages/nest/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestLibraryGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create a NestJS Library for Nx.", "examples": [ { "command": "nx g lib mylib --directory=myapp", "description": "Generate libs/myapp/mylib" } ], "properties": { "buildable": { "default": false, "description": "Generate a buildable library.", "type": "boolean", "x-priority": "important" }, "controller": { "default": false, "description": "Include a controller with the library.", "type": "boolean" }, "directory": { "alias": "dir", "description": "A directory where the library is placed.", "type": "string" }, "global": { "default": false, "description": "Add the Global decorator to the generated module.", "type": "boolean" }, "importPath": { "description": "The library name used to import it, like @myorg/my-awesome-lib. Must be a valid npm name.", "type": "string" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Library name.", "type": "string", "x-prompt": "What name would you like to use for the library?" }, "publishable": { "description": "Create a publishable library.", "type": "boolean", "x-priority": "important" }, "service": { "default": false, "description": "Include a service with the library.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipTsConfig": { "default": false, "description": "Do not update tsconfig.base.json for development experience.", "type": "boolean", "x-priority": "internal" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "strict": { "default": false, "description": "Whether to enable tsconfig strict mode or not.", "type": "boolean" }, "tags": { "alias": "t", "description": "Add tags to the library (used for linting).", "type": "string" }, "target": { "default": "es6", "description": "The ES target, Nest suggest using es6 or higher.", "enum": [ "es5", "es6", "esnext", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020" ], "type": "string" }, "testEnvironment": { "default": "node", "description": "The test environment for jest, for node applications this should stay as node unless doing DOM testing.", "enum": [ "jsdom", "node" ], "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a NestJS Library for Nx", "type": "object" }
MIT
en
nrwl/nx
b63893d1cdfa94728e2aee519d80def090750685
2022-08-30T16:19:33
packages/workspace/src/generators/move/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspaceMove", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Move a project to another folder in the workspace.", "examples": [ { "command": "nx g @nrwl/workspace:move --project my-feature-lib --destination shared/my-feature-lib", "description": "Move `libs/my-feature-lib` to `libs/shared/my-feature-lib`" } ], "properties": { "destination": { "$default": { "$source": "argv", "index": 0 }, "description": "The folder to move the project into.", "type": "string" }, "importPath": { "description": "The new import path to use in the `tsconfig.base.json`.", "type": "string" }, "projectName": { "alias": "project", "description": "The name of the project to move.", "type": "string", "x-dropdown": "projects" }, "skipFormat": { "aliases": [ "skip-format" ], "default": false, "description": "Skip formatting files.", "type": "boolean" }, "updateImportPath": { "default": true, "description": "Should the generator update the import path to reflect the new location?", "type": "boolean" } }, "required": [ "projectName", "destination" ], "title": "Nx Move", "type": "object" }
MIT
en
nrwl/nx
6dae32cc3af4f76f4de7f296a7c7c34ecfc1d62b
2022-03-24T16:00:06
packages/react-native/src/generators/component-story/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactNativeComponentStory", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Generate storybook story for a react-native component.", "properties": { "componentPath": { "description": "Relative path to the component file from the library root.", "examples": [ "lib/components" ], "type": "string", "x-prompt": "What's path of the component relative to the project's lib root?" }, "project": { "$default": { "$source": "projectName", "index": 0 }, "description": "The project name where to add the components.", "examples": [ "shared-ui-component" ], "type": "string", "x-prompt": "What's the name of the project where the component lives?" } }, "required": [ "project", "componentPath" ], "title": "React native component story", "type": "object" }
MIT
en
nrwl/nx
b94b669035bc370660868dc609a0b8dd7b602ada
2023-03-27T14:44:10
packages/storybook/src/generators/configuration/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxStorybookConfigure", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Add Storybook configuration to a UI library or an application.", "examplesFile": "../../../docs/configuration-generator-examples.md", "properties": { "bundler": { "default": "webpack", "description": "The Storybook builder to use.", "enum": [ "vite", "webpack" ], "type": "string", "x-priority": "important" }, "configureCypress": { "description": "Run the cypress-configure generator.", "type": "boolean", "x-priority": "important", "x-prompt": "Configure a cypress e2e app to run against the storybook instance?" }, "configureStaticServe": { "default": false, "description": "Add a static-storybook to serve the static storybook built files.", "type": "boolean" }, "configureTestRunner": { "description": "Add a Storybook Test-Runner target.", "type": "boolean" }, "cypressDirectory": { "description": "A directory where the Cypress project will be placed. Added at root by default.", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript story files rather than TypeScript story files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "aliases": [ "project", "projectName" ], "description": "Project for which to generate Storybook configuration.", "type": "string", "x-dropdown": "projects", "x-priority": "important", "x-prompt": "For which project do you want to generate Storybook configuration?" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "storybook7Configuration": { "aliases": [ "storybook7betaConfiguration" ], "default": false, "description": "Configure your workspace using Storybook version 7.", "hidden": true, "type": "boolean" }, "storybook7UiFramework": { "description": "Storybook UI Framework to use, for Storybook version 7.", "enum": [ "@storybook/angular", "@storybook/html-webpack5", "@storybook/nextjs", "@storybook/preact-webpack5", "@storybook/react-webpack5", "@storybook/react-vite", "@storybook/server-webpack5", "@storybook/svelte-webpack5", "@storybook/svelte-vite", "@storybook/sveltekit", "@storybook/vue-webpack5", "@storybook/vue-vite", "@storybook/vue3-webpack5", "@storybook/vue3-vite", "@storybook/web-components-webpack5", "@storybook/web-components-vite" ], "hidden": true, "type": "string" }, "tsConfiguration": { "default": false, "description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.", "type": "boolean", "x-priority": "important" }, "uiFramework": { "description": "Storybook UI Framework to use.", "enum": [ "@storybook/angular", "@storybook/react", "@storybook/react-native", "@storybook/html", "@storybook/web-components", "@storybook/vue", "@storybook/vue3", "@storybook/svelte" ], "type": "string", "x-priority": "important" } }, "required": [ "name" ], "title": "Storybook Configuration", "type": "object" }
MIT
en
nrwl/nx
194c5bb9dd59cf73c7e0aa50ab71f18fe8070f93
2022-10-11T10:40:55
packages/angular/src/generators/library-secondary-entry-point/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularLibrarySecondaryEntryPoint", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Creates a secondary entry point for an Angular publishable library.", "examplesFile": "../../../docs/library-secondary-entry-point-examples.md", "properties": { "library": { "description": "The name of the library to create the secondary entry point for.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-dropdown": "projects", "x-prompt": "What library would you like to create the secondary entry point for?" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the secondary entry point.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the secondary entry point?" }, "skipModule": { "default": false, "description": "Skip generating a module for the secondary entry point.", "type": "boolean" } }, "required": [ "name", "library" ], "title": "Creates a secondary entry point for a library", "type": "object" }
MIT
en
nrwl/nx
b994a297a9175d0758da2c130ecdbe4e229cc719
2023-10-18T20:27:29
packages/vue/src/generators/stories/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxVueStorybookStories", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Generate stories/specs for all components declared in a project.", "examplesFile": "../../../docs/stories-examples.md", "properties": { "cypressProject": { "description": "The Cypress project to generate the stories under. This is inferred from `project` by default.", "type": "string" }, "generateCypressSpecs": { "description": "Automatically generate `*.spec.ts` files in the cypress e2e app generated by the cypress-configure generator.", "type": "boolean" }, "ignorePaths": { "default": [ "*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx" ], "description": "Paths to ignore when looking for components.", "examples": [ "apps/my-app/src/not-stories/**", "**/**/src/**/not-stories/**", "libs/my-lib/**/*.something.ts", "**/**/src/**/*.other.*", "libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts" ], "items": { "description": "Path to ignore.", "type": "string" }, "type": "array" }, "interactionTests": { "default": true, "description": "Set up Storybook interaction tests.", "type": "boolean", "x-priority": "important", "x-prompt": "Do you want to set up Storybook interaction tests?" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "project": { "$default": { "$source": "projectName", "index": 0 }, "aliases": [ "name", "projectName" ], "description": "Project for which to generate stories.", "type": "string", "x-priority": "important", "x-prompt": "For which project do you want to generate stories?" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" } }, "required": [ "project" ], "title": "Generate Vue Storybook stories", "type": "object" }
MIT
en
nrwl/nx
e78575badc15560278a3cb208f4dbc5afd9017c3
2023-08-01T14:51:51
packages/next/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNextApp", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a Next.js Application for Nx.", "examplesFile": "../../../docs/application-examples.md", "properties": { "appDir": { "default": true, "description": "Enable the App Router for this project.", "type": "boolean", "x-prompt": "Would you like to use the App Router (recommended)?" }, "customServer": { "default": false, "description": "Use a custom Express server for the Next.js application.", "type": "boolean" }, "directory": { "alias": "d", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "playwright", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the application?" }, "rootProject": { "default": false, "description": "Create an application at the root of the workspace.", "hidden": true, "type": "boolean", "x-priority": "internal" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ] (DEPRECATED)", "value": "styl" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "swc": { "default": true, "description": "Enable the Rust-based compiler SWC to compile JS/TS files.", "type": "boolean" }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Create a Next.js Application for Nx", "type": "object" }
MIT
en
nrwl/nx
93ac55ff2a649bc9a0d0dd07aa2ddc05d968742b
2023-01-18T15:26:27
packages/react-native/src/generators/storybook-configuration/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactNativeStorybookConfigure", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Set up Storybook for a React-Native app or library.", "properties": { "generateStories": { "default": true, "description": "Automatically generate *.stories.ts files for components declared in this project?", "type": "boolean", "x-priority": "important", "x-prompt": "Automatically generate *.stories.ts files for components declared in this project?" }, "ignorePaths": { "description": "Paths to ignore when looking for components.", "examples": [ "apps/my-app/src/not-stories/**", "**/**/src/**/not-stories/**", "libs/my-lib/**/*.something.ts", "**/**/src/**/*.other.*", "libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts" ], "items": { "description": "Path to ignore.", "type": "string" }, "type": "array" }, "js": { "default": false, "description": "Generate JavaScript story files rather than TypeScript story files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "aliases": [ "project", "projectName" ], "description": "Project for which to generate Storybook configuration.", "type": "string", "x-dropdown": "projects", "x-prompt": "For which project do you want to generate Storybook configuration?" }, "standaloneConfig": { "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean" }, "tsConfiguration": { "default": false, "description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.", "type": "boolean" } }, "required": [ "name" ], "title": "React native Storybook configuration", "type": "object" }
MIT
en
nrwl/nx
cfa081538556738b8e9d4c75d39df6d597f1d360
2024-02-21T15:20:12
packages/workspace/src/generators/new/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspaceNew", "$schema": "https://json-schema.org/schema", "additionalProperties": true, "cli": "nx", "description": "Create an empty workspace.", "properties": { "appName": { "description": "Application name.", "type": "string" }, "defaultBase": { "description": "Default base branch for affected.", "type": "string" }, "e2eTestRunner": { "description": "The tool to use for running e2e tests.", "enum": [ "cypress", "playwright", "jest", "detox", "none" ], "type": "string" }, "framework": { "description": "The framework which the application is using", "enum": [ "express", "koa", "fastify", "nest", "none" ], "type": "string" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the workspace.", "type": "string", "x-prompt": "What name would you like to use for the workspace?" }, "nextAppDir": { "default": true, "description": "Enable the App Router for this project.", "type": "boolean" }, "nextSrcDir": { "default": true, "description": "Generate a `src` directory for this project.", "type": "boolean" }, "packageManager": { "description": "The package manager used to install dependencies.", "enum": [ "npm", "yarn", "pnpm" ], "type": "string" }, "prefix": { "description": "The prefix to use for Angular component and directive selectors.", "type": "string" }, "preset": { "description": "What to create in the new workspace.", "type": "string" }, "routing": { "default": true, "description": "Add routing to the generated application.", "type": "boolean" }, "skipInstall": { "default": false, "description": "Skip installing dependency packages.", "type": "boolean" }, "ssr": { "default": false, "description": "Enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) for the Angular application.", "type": "boolean" }, "standaloneApi": { "default": false, "description": "Use Standalone Components if generating an Angular application.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "type": "string" } }, "title": "Create an empty workspace", "type": "object" }
MIT
en
nrwl/nx
b994a297a9175d0758da2c130ecdbe4e229cc719
2023-10-18T20:27:29
packages/angular/src/generators/stories/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularStorybookStoriesGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Creates Storybook stories/specs for all Angular components declared in a project.", "examplesFile": "../../../docs/stories-examples.md", "properties": { "cypressProject": { "description": "The Cypress project to generate the stories under. This is inferred from `name` by default.", "type": "string" }, "generateCypressSpecs": { "description": "Specifies whether to automatically generate `*.spec.ts` files in the Cypress e2e app generated by the `cypress-configure` generator.", "type": "boolean" }, "ignorePaths": { "default": [ "*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx" ], "description": "Paths to ignore when looking for components.", "examples": [ "apps/my-app/src/not-stories/**", "**/**/src/**/not-stories/**", "libs/my-lib/**/*.something.ts", "**/**/src/**/*.other.*", "libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts" ], "items": { "description": "Path to ignore.", "type": "string" }, "type": "array" }, "interactionTests": { "default": true, "description": "Set up Storybook interaction tests.", "type": "boolean", "x-priority": "important", "x-prompt": "Do you want to set up Storybook interaction tests?" }, "name": { "$default": { "$source": "argv", "index": 0 }, "aliases": [ "project", "projectName" ], "description": "Project for which to generate stories.", "type": "string", "x-dropdown": "projects", "x-priority": "important", "x-prompt": "What's the name of the project for which you want to generate stories?" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" } }, "required": [ "name" ], "title": "Create Storybook stories/specs", "type": "object" }
MIT
en
nrwl/nx
af93cfd597227cf7a70f7fb54c9818c1b6cf8fe6
2022-08-17T11:03:56
packages/angular/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorNxApp", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Creates an Angular application.", "properties": { "addTailwind": { "default": false, "description": "Whether to configure Tailwind CSS for the application.", "type": "boolean" }, "backendProject": { "description": "Backend project that provides data to this application. This sets up `proxy.config.json`.", "type": "string" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests. The `protractor` option is deprecated and it will be removed in v15.", "enum": [ "protractor", "cypress", "none" ], "type": "string" }, "federationType": { "default": "static", "description": "Use either Static or Dynamic Module Federation pattern for the application.", "enum": [ "static", "dynamic" ], "type": "string", "x-deprecated": "Use the `host` or `remote` generators instead. Support for generating Module Federation applications using the application generator will be removed in an upcoming version." }, "host": { "description": "The name of the host application that the remote application will be consumed by.", "type": "string", "x-deprecated": "Use the `host` or `remote` generators instead. Support for generating Module Federation applications using the application generator will be removed in an upcoming version." }, "inlineStyle": { "alias": "s", "default": false, "description": "Specifies if the style will be in the ts file.", "type": "boolean" }, "inlineTemplate": { "alias": "t", "default": false, "description": "Specifies if the template will be in the ts file.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "mf": { "default": false, "description": "Generate a Module Federation configuration for the application", "type": "boolean", "x-deprecated": "Use the `host` or `remote` generators instead. Support for generating Module Federation applications using the application generator will be removed in an upcoming version." }, "mfType": { "default": "remote", "description": "Type of application to generate the Module Federation configuration for.", "enum": [ "host", "remote" ], "type": "string", "x-deprecated": "Use the `host` or `remote` generators instead. Support for generating Module Federation applications using the application generator will be removed in an upcoming version." }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the application?" }, "port": { "description": "The port at which the remote application should be served.", "type": "number" }, "prefix": { "alias": "p", "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string" }, "remotes": { "description": "A list of remote application names that the host application should consume.", "type": "array", "x-deprecated": "Use the `host` or `remote` generators instead. Support for generating Module Federation applications using the application generator will be removed in an upcoming version." }, "routing": { "default": false, "description": "Generate a routing module.", "type": "boolean", "x-prompt": "Would you like to configure routing for this application?" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipDefaultProject": { "default": false, "description": "Skip setting the project as the default project. When `false` (the default), the project is set as the default project only if there is no default project already set.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" }, "skipPostInstall": { "default": false, "description": "Do not add or append `ngcc` to the `postinstall` script in `package.json`.", "type": "boolean" }, "skipTests": { "alias": "S", "default": false, "description": "Skip creating spec files.", "type": "boolean" }, "standalone": { "default": false, "description": "Generate an application that is setup to use standalone components.", "type": "boolean" }, "standaloneConfig": { "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean" }, "strict": { "default": true, "description": "Create an application with stricter type checking and build optimization options.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "enum": [ "css", "scss", "sass", "less" ], "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "SASS(.sass) [ http://sass-lang.com ]", "value": "sass" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "karma", "jest", "none" ], "type": "string" }, "viewEncapsulation": { "description": "Specifies the view encapsulation strategy.", "enum": [ "Emulated", "None", "ShadowDom" ], "type": "string" } }, "required": [ "name" ], "title": "Creates an Angular application.", "type": "object" }
MIT
en
nrwl/nx
8f705e31e2f7dd0399851efc17e62ba4f35e6642
2024-05-09T01:54:41
packages/react/src/generators/redux/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "redux", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Create a Redux state slice for a React project.", "properties": { "appProject": { "alias": "a", "description": "The application project to add the slice to.", "type": "string" }, "directory": { "alias": "dir", "default": "", "description": "The directory at which to create the Redux files. When `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. Otherwise, it will be relative to the project root.", "type": "string", "x-priority": "important" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Redux slice name.", "type": "string", "x-priority": "important" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project to add the slice to. If it is an application, then the store configuration will be updated too.", "type": "string", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. The project will be determined from the directory provided. It will be removed in Nx v20." } }, "required": [ "name" ], "title": "Create Redux state", "type": "object" }
MIT
en
nrwl/nx
8826a7737dd0d23a6da9a634b5511a4f8fa07919
2023-10-12T16:49:45
packages/react/src/generators/host/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorReactHost", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create Module Federation configuration files for given React Host Application.", "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "compiler": { "default": "babel", "description": "The compiler to use", "enum": [ "babel", "swc" ], "type": "string" }, "devServerPort": { "default": 4200, "description": "The port for the dev server of the remote app.", "type": "number", "x-priority": "important" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (e2e) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "minimal": { "default": false, "description": "Generate a React app with a minimal setup. No nx starter template.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the host application to generate the Module Federation configuration", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use as the host application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "remotes": { "default": [], "description": "A list of remote application names that the host application should consume.", "type": "array", "x-priority": "important" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipNxJson": { "default": false, "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", "x-priority": "internal" }, "ssr": { "default": false, "description": "Whether to configure SSR for the host application", "type": "boolean" }, "strict": { "default": true, "description": "Creates an application with strict mode and strict type checking", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "typescriptConfiguration": { "default": true, "description": "Whether the module federation configuration and webpack configuration files should use TS.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Generate Module Federation Setup for React Host App", "type": "object" }
MIT
en
nrwl/nx
37f02f7e6b301975977dc2f7bdcb0fb4c2609317
2024-05-23T15:50:04
packages/angular/src/generators/setup-ssr/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorAngularUniversalSetup", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create the additional configuration required to enable SSR via Angular Universal for an Angular application.", "properties": { "appId": { "default": "serverApp", "description": "The `appId` to use with `withServerTransition`.", "format": "html-selector", "type": "string", "x-deprecated": "This is deprecated and ignored since Angular 16 and not supported since Angular 17." }, "hydration": { "description": "Set up Hydration for the SSR application. It defaults to `true` for Angular versions >= 17.0.0. Otherwise, it defaults to `false`.", "type": "boolean" }, "main": { "default": "main.server.ts", "description": "The name of the main entry-point file.", "format": "path", "type": "string" }, "project": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application to generate the Angular Universal configuration for.", "type": "string", "x-dropdown": "projects", "x-prompt": "What app would you like to generate an Angular Universal configuration for?" }, "rootModuleClassName": { "default": "AppServerModule", "description": "The name of the root module class.", "type": "string" }, "rootModuleFileName": { "default": "app.server.module.ts", "description": "The name of the root module file", "format": "path", "type": "string" }, "serverFileName": { "default": "server.ts", "description": "The name of the Express server file.", "type": "string" }, "serverPort": { "default": 4000, "description": "The port for the Express server.", "type": "number" }, "skipFormat": { "description": "Skip formatting the workspace after the generator completes.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "standalone": { "description": "Use Standalone Components to bootstrap SSR.", "type": "boolean" } }, "required": [ "project" ], "title": "Generate Angular Universal (SSR) setup for an Angular App", "type": "object" }
MIT
en
nrwl/nx
295b8d737c687e21e709fa5fa8397e49e12987d3
2021-08-18T22:02:12
packages/react/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactApp", "$schema": "http://json-schema.org/schema", "cli": "nx", "examples": [ { "command": "g app myapp --directory=myorg", "description": "Generate apps/myorg/myapp and apps/myorg/myapp-e2e" }, { "command": "g app myapp --classComponent", "description": "Use class components instead of functional components" }, { "command": "g app myapp --routing", "description": "Set up React Router" } ], "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (e2e) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss", "type": "boolean" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "tslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "What name would you like to use for the application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "routing": { "default": false, "description": "Generate application with routes.", "type": "boolean", "x-prompt": "Would you like to add React Router to this application?" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipWorkspaceJson": { "default": false, "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean" }, "standaloneConfig": { "default": false, "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json", "type": "boolean" }, "strict": { "default": true, "description": "Creates an application with stricter type checking and build optimization options.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Create a React Application for Nx", "type": "object" }
MIT
en
nrwl/nx
3befa3a22d423d3b2d41dc69b95130be874e628a
2023-12-06T18:10:44
tools/workspace-plugin/src/generators/remove-migrations/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "RemoveMigrations", "$schema": "http://json-schema.org/schema", "description": "A generator for removing old migrations.", "properties": { "v": { "type": "number" } }, "required": [], "title": "", "type": "object" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/remix/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxRemixInit", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Initialize the Remix Plugin.", "properties": { "keepExistingVersions": { "default": false, "description": "Keep existing dependencies versions", "type": "boolean", "x-priority": "internal" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" }, "updatePackageScripts": { "default": false, "description": "Update `package.json` scripts with inferred targets", "type": "boolean", "x-priority": "internal" } }, "required": [], "title": "Init Remix Plugin", "type": "object" }
MIT
en
nrwl/nx
ad841c9048b9bf6d509b75a62a4cbbd5c295eb28
2023-05-09T13:30:52
packages/vite/src/generators/vitest/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "Vitest", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Generate a Vitest setup for a project.", "properties": { "coverageProvider": { "default": "c8", "description": "Coverage provider to use.", "enum": [ "c8", "istanbul" ], "type": "string" }, "inSourceTests": { "default": false, "description": "Do not generate separate spec files and set up in-source testing.", "type": "boolean" }, "project": { "$default": { "$source": "projectName" }, "description": "The name of the project to test.", "type": "string" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipViteConfig": { "default": false, "description": "Skip generating a vite config file.", "type": "boolean" }, "testTarget": { "description": "The test target of the project to be transformed to use the @nx/vite:test executor.", "hidden": true, "type": "string" }, "uiFramework": { "default": "none", "description": "UI framework to use with vitest.", "enum": [ "react", "none" ], "type": "string" } }, "required": [ "project" ], "title": "Vitest", "type": "object" }
MIT
en
nrwl/nx
b6cdf9d9754afa821e63f6350ae00007e72ee2c2
2023-06-05T21:18:52
packages/js/executors.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "builders": { "node": { "description": "Execute a Node application.", "implementation": "./src/executors/node/compat", "schema": "./src/executors/node/schema.json" }, "swc": { "description": "Build a project using SWC.", "implementation": "./src/executors/swc/compat", "schema": "./src/executors/swc/schema.json" }, "tsc": { "description": "Build a project using TypeScript.", "implementation": "./src/executors/tsc/compat", "schema": "./src/executors/tsc/schema.json" }, "verdaccio": { "description": "Start local registry with verdaccio", "implementation": "./src/executors/verdaccio/compat", "schema": "./src/executors/verdaccio/schema.json" } }, "executors": { "node": { "description": "Execute a Node application.", "implementation": "./src/executors/node/node.impl", "schema": "./src/executors/node/schema.json" }, "swc": { "description": "Build a project using SWC.", "implementation": "./src/executors/swc/swc.impl", "schema": "./src/executors/swc/schema.json" }, "tsc": { "batchImplementation": "./src/executors/tsc/tsc.batch-impl", "description": "Build a project using TypeScript.", "implementation": "./src/executors/tsc/tsc.impl", "schema": "./src/executors/tsc/schema.json" }, "verdaccio": { "description": "Start local registry with verdaccio", "implementation": "./src/executors/verdaccio/verdaccio.impl", "schema": "./src/executors/verdaccio/schema.json" } } }
MIT
en
nrwl/nx
4eb7cc7bf170cd48dd87fdd0dd387d3592beec69
2023-03-31T15:22:18
packages/node/src/generators/e2e-project/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "SchematicsNxNodeE2eProject", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Generate an E2E project for a Node server application.", "properties": { "directory": { "description": "The directory of the e2e project.", "type": "string", "x-priority": "important" }, "isNest": { "default": false, "description": "Is the E2E server project nest", "hidden": true, "type": "boolean", "x-priority": "internal" }, "linter": { "default": "eslint", "description": "Linter to be used for the E2E project", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "description": "The name of the e2e project. Defaults to the project name with '-e2e' suffix.", "type": "string" }, "port": { "default": 3000, "description": "The port that the server runs on. Only application for server application.", "type": "number" }, "project": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the project.", "type": "string", "x-dropdown": "project", "x-prompt": "What project is this for?" }, "projectType": { "default": "server", "description": "The type of application that is being tested.", "enum": [ "server", "cli" ], "type": "string" }, "rootProject": { "default": false, "description": "Create node application at the root of the workspace.", "hidden": true, "type": "boolean", "x-priority": "internal" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "hidden": true, "type": "boolean", "x-priority": "internal" } }, "required": [ "project" ], "title": "Node E2E Project Generator", "type": "object" }
MIT
en
nrwl/nx
b994a297a9175d0758da2c130ecdbe4e229cc719
2023-10-18T20:27:29
packages/react/src/generators/storybook-configuration/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactStorybookConfigure", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Set up Storybook for a React app or library.", "examplesFile": "../../../docs/storybook-configuration-examples.md", "properties": { "configureCypress": { "description": "Run the cypress-configure generator.", "type": "boolean", "x-deprecated": "Use interactionTests instead. This option will be removed in v18." }, "configureStaticServe": { "default": true, "description": "Specifies whether to configure a static file server target for serving storybook. Helpful for speeding up CI build/test times.", "type": "boolean", "x-priority": "important", "x-prompt": "Configure a static file server for the storybook instance?" }, "cypressDirectory": { "description": "A directory where the Cypress project will be placed. Placed at the root by default.", "type": "string", "x-deprecated": "Use interactionTests instead. This option will be removed in v18." }, "generateCypressSpecs": { "description": "Automatically generate test files in the Cypress E2E app generated by the `cypress-configure` generator.", "type": "boolean", "x-deprecated": "Use interactionTests instead. This option will be removed in v18." }, "generateStories": { "default": true, "description": "Automatically generate `*.stories.ts` files for components declared in this project?", "type": "boolean", "x-priority": "important", "x-prompt": "Automatically generate *.stories.ts files for components declared in this project?" }, "ignorePaths": { "default": [ "*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx" ], "description": "Paths to ignore when looking for components.", "examples": [ "apps/my-app/src/not-stories/**", "**/**/src/**/not-stories/**", "libs/my-lib/**/*.something.ts", "**/**/src/**/*.other.*", "libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts" ], "items": { "description": "Path to ignore.", "type": "string" }, "type": "array" }, "interactionTests": { "alias": [ "configureTestRunner" ], "default": true, "description": "Set up Storybook interaction tests.", "type": "boolean", "x-priority": "important", "x-prompt": "Do you want to set up Storybook interaction tests?" }, "js": { "default": false, "description": "Generate JavaScript story files rather than TypeScript story files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "aliases": [ "project", "projectName" ], "description": "Project for which to generate Storybook configuration.", "type": "string", "x-dropdown": "projects", "x-priority": "important", "x-prompt": "For which project do you want to generate Storybook configuration?" }, "tsConfiguration": { "default": true, "description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.", "type": "boolean" } }, "required": [ "name" ], "title": "React Storybook Configure", "type": "object" }
MIT
en
nrwl/nx
24c0c1b56fb501263f34d40bad06a1f8d56d7e5a
2022-03-10T19:42:03
packages/node/src/generators/library/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNodeLibrary", "$schema": "http://json-schema.org/schema", "cli": "nx", "examples": [ { "command": "g lib mylib --directory=myapp", "description": "Generate libs/myapp/mylib" } ], "properties": { "babelJest": { "default": false, "description": "Use babel instead ts-jest", "type": "boolean" }, "buildable": { "default": false, "description": "Generate a buildable library.", "type": "boolean" }, "compiler": { "default": "tsc", "description": "The compiler used by the build and test targets", "enum": [ "tsc", "swc" ], "type": "string" }, "directory": { "alias": "dir", "description": "A directory where the lib is placed", "type": "string" }, "importPath": { "description": "The library name used to import it, like @myorg/my-awesome-lib. Must be a valid npm name.", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "tslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Library name", "type": "string", "x-prompt": "What name would you like to use for the library?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case file names.", "type": "boolean" }, "publishable": { "description": "Create a publishable library.", "type": "boolean" }, "rootDir": { "alias": "srcRootForCompilationRoot", "description": "Sets the rootDir for TypeScript compilation. When not defined, it uses the project's root property, or srcRootForCompilationRoot if it is defined.", "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "simpleModuleName": { "default": false, "description": "Keep the module name simple (when using --directory)", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean" }, "skipTsConfig": { "default": false, "description": "Do not update tsconfig.base.json for development experience.", "type": "boolean" }, "standaloneConfig": { "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json", "type": "boolean" }, "strict": { "default": false, "description": "Whether to enable tsconfig strict mode or not.", "type": "boolean" }, "tags": { "alias": "t", "description": "Add tags to the library (used for linting)", "type": "string" }, "testEnvironment": { "default": "jsdom", "description": "The test environment to use if unitTestRunner is set to jest", "enum": [ "jsdom", "node" ], "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a Node Library for Nx", "type": "object" }
MIT
en
nrwl/nx
deb0f1a49294eafe18c407a96c95e40af15d3738
2024-01-30T21:29:05
packages/nest/src/generators/gateway/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestGatewayGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Nest Gateway Options Schema.", "properties": { "directory": { "aliases": [ "dir", "path" ], "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", "type": "string" }, "flat": { "default": true, "description": "Flag to indicate if a directory is created.", "type": "boolean", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." }, "language": { "description": "Nest gateway language.", "enum": [ "js", "ts" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the gateway.", "type": "string", "x-prompt": "What name would you like to use?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The Nest project to target.", "type": "string", "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Nest Gateway Options Schema", "type": "object" }
MIT
en
nrwl/nx
1dcb80d447f115c0054b8782fdf1a2dd118d0cdd
2023-08-02T15:59:00
packages/angular/src/generators/remote/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxMFRemote", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create an Angular Remote Module Federation Application.", "examples": [ { "command": "nx g @nx/angular:remote appName --host=host --port=4201", "description": "Create an Angular app with configuration in place for Module Federation. If host is provided, attach this remote app to host app's configuration." } ], "properties": { "addTailwind": { "default": false, "description": "Whether to configure Tailwind CSS for the application.", "type": "boolean" }, "backendProject": { "description": "Backend project that provides data to this application. This sets up `proxy.config.json`.", "type": "string" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "playwright", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "host": { "description": "The name of the host app to attach this remote app to.", "type": "string", "x-dropdown": "projects", "x-priority": "important" }, "inlineStyle": { "alias": "s", "default": false, "description": "Specifies if the style will be in the ts file.", "type": "boolean" }, "inlineTemplate": { "alias": "t", "default": false, "description": "Specifies if the template will be in the ts file.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name to give to the remote Angular app.", "pattern": "^[a-zA-Z].*$", "type": "string" }, "port": { "description": "The port on which this app should be served.", "type": "number" }, "prefix": { "alias": "p", "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "skipTests": { "alias": "S", "default": false, "description": "Skip creating spec files.", "type": "boolean" }, "ssr": { "default": false, "description": "Whether to configure SSR for the remote application to be consumed by a host application using SSR.", "type": "boolean" }, "standalone": { "default": false, "description": "Whether to generate a remote application with standalone components. _Note: This is only supported in Angular versions >= 14.1.0_", "type": "boolean" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "strict": { "default": true, "description": "Create an application with stricter type checking and build optimization options.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "enum": [ "css", "scss", "sass", "less" ], "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "SASS(.sass) [ http://sass-lang.com ]", "value": "sass" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" }, "viewEncapsulation": { "description": "Specifies the view encapsulation strategy.", "enum": [ "Emulated", "None", "ShadowDom" ], "type": "string" } }, "required": [ "name" ], "title": "Nx Module Federation Remote App", "type": "object" }
MIT
en
nrwl/nx
25d6ec3a921d09cb95ad81ce2471e11e3f51e9d1
2023-11-07T20:45:42
packages/angular/src/generators/ngrx-feature-store/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNgrxFeatureStoreGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Add an NgRx Feature Store to an application or library.", "properties": { "barrels": { "default": false, "description": "Use barrels to re-export actions, state and selectors.", "type": "boolean" }, "directory": { "default": "+state", "description": "The name of the folder used to contain/group the generated NgRx files.", "type": "string" }, "facade": { "default": false, "description": "Create a Facade class for the the feature.", "type": "boolean", "x-prompt": "Would you like to use a Facade with your NgRx state?" }, "minimal": { "default": false, "description": "Only register the feature state.", "type": "boolean", "x-priority": "important" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Name of the NgRx feature state, such as `products` or `users`. Recommended to use the plural form of the name.", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the NgRx feature state? An example would be `users`." }, "parent": { "description": "The path to the file where the state will be registered. For NgModule usage, this will be your Feature Module. For Standalone API usage, this will be your Routes definition file for your feature state. The host directory will create/use the new state directory.", "type": "string", "x-priority": "important", "x-prompt": "What is the path to the module or Routes definition where this NgRx state should be registered?" }, "route": { "default": "''", "description": "The route that the Standalone NgRx Providers should be added to.", "type": "string" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipImport": { "default": false, "description": "Generate NgRx feature files without registering the feature in the NgModule.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not update the `package.json` with NgRx dependencies.", "type": "boolean", "x-priority": "internal" } }, "required": [ "name" ], "title": "NgRx Feature Store Generator", "type": "object" }
MIT
en
nrwl/nx
9116c29c1848c08c77d425ce62c959b93c45e3b8
2023-09-18T19:11:44
packages/js/src/executors/release-publish/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "description": "DO NOT INVOKE DIRECTLY WITH `nx run`. Use `nx release publish` instead.", "properties": { "packageRoot": { "description": "The root directory of the directory (containing a manifest file at its root) to publish. Defaults to the project root.", "type": "string" }, "registry": { "description": "The registry to publish the package to.", "type": "string" }, "tag": { "description": "The distribution tag to apply to the published package.", "type": "string" } }, "required": [], "title": "Implementation details of `nx release publish`", "type": "object", "version": 2 }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/workspace/src/generators/remove/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspaceRemove", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Remove a project from the workspace.", "examples": [ { "command": "nx g @nx/workspace:remove my-feature-lib", "description": "Remove `my-feature-lib` from the workspace" }, { "command": "nx g @nx/workspace:remove my-feature-lib --forceRemove", "description": "Force removal of `my-feature-lib` from the workspace" } ], "properties": { "forceRemove": { "aliases": [ "force-remove" ], "default": false, "description": "When `true`, forces removal even if the project is still in use.", "type": "boolean" }, "importPath": { "description": "The library name used at creation time", "type": "string" }, "projectName": { "$default": { "$source": "argv", "index": 0 }, "alias": "project", "description": "The name of the project to remove.", "type": "string" }, "skipFormat": { "aliases": [ "skip-format" ], "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" } }, "required": [ "projectName" ], "title": "Nx Remove", "type": "object" }
MIT
en
nrwl/nx
678818a58b37bb395415665232f7acaac4bd21f6
2021-05-12T16:20:12
packages/next/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNextNgInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "properties": { "e2eTestRunner": { "default": "cypress", "description": "Adds the specified e2e test runner", "enum": [ "cypress", "none" ], "type": "string" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Adds the specified unit test runner", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Init Next Plugin", "type": "object" }
MIT
en
nrwl/nx
f49769a34a7f47d252648132793cddd2612262ee
2022-09-12T20:19:50
packages/webpack/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWebpackInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Init Webpack Plugin.", "properties": { "compiler": { "default": "babel", "description": "The compiler to initialize for.", "enum": [ "babel", "swc", "tsc" ], "type": "string" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" } }, "required": [], "title": "Init Webpack Plugin", "type": "object" }
MIT
en
nrwl/nx
d7536aa7e3e1d87fe80f99e5255533572db0d79d
2023-01-24T00:35:15
packages/next/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNextApp", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a Next.js Application for Nx.", "examplesFile": "../../../docs/application-examples.md", "properties": { "customServer": { "default": false, "description": "Use a custom Express server for the Next.js application.", "type": "boolean" }, "directory": { "alias": "d", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the application?" }, "server": { "description": "The server script path to be used with next.", "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipWorkspaceJson": { "default": false, "description": "Skip updating `workspace.json` with default options based on values provided to this app (e.g. `babel`, `style`).", "type": "boolean", "x-priority": "internal" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "swc": { "default": true, "description": "Enable the Rust-based compiler SWC to compile JS/TS files.", "type": "boolean" }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Create a Next.js Application for Nx", "type": "object" }
MIT
en
nrwl/nx
d9aef75bd564cb2cec0bdbb5929b63bef2a65585
2021-02-11T02:30:55
packages/react/src/generators/redux/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "id": "redux", "properties": { "appProject": { "alias": "a", "description": "The application project to add the slice to.", "type": "string" }, "directory": { "alias": "d", "default": "", "description": "The name of the folder used to contain/group the generated Redux files.", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Redux slice name.", "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project to add the slice to. If it is an application, then the store configuration will be updated too.", "type": "string", "x-prompt": "What is the name of the project for this slice?" } }, "required": [ "name" ], "type": "object" }
MIT
en
nrwl/nx
295b8d737c687e21e709fa5fa8397e49e12987d3
2021-08-18T22:02:12
packages/react/src/generators/redux/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "redux", "$schema": "http://json-schema.org/schema", "cli": "nx", "properties": { "appProject": { "alias": "a", "description": "The application project to add the slice to.", "type": "string" }, "directory": { "alias": "dir", "default": "", "description": "The name of the folder used to contain/group the generated Redux files.", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "Redux slice name.", "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The name of the project to add the slice to. If it is an application, then the store configuration will be updated too.", "type": "string", "x-prompt": "What is the name of the project for this slice?" } }, "required": [ "name" ], "type": "object" }
MIT
en
nrwl/nx
dbb73aa2ebd95d511f604f5530d610083c6da48e
2023-10-26T08:52:49
packages/js/src/generators/release-version/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxJSReleaseVersionGenerator", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "DO NOT INVOKE DIRECTLY WITH `nx generate`. Use `nx release version` instead.", "properties": { "currentVersionResolver": { "default": "disk", "description": "Which approach to use to determine the current version of the project.", "enum": [ "registry", "disk", "git-tag" ], "type": "string" }, "currentVersionResolverMetadata": { "default": {}, "description": "Additional metadata to pass to the current version resolver.", "type": "object" }, "packageRoot": { "description": "The root directory of the directory (containing a manifest file at its root) to publish. Defaults to the project root", "type": "string" }, "preid": { "description": "The optional prerelease identifier to apply to the version, in the case that specifier has been set to prerelease.", "type": "string" }, "projectGraph": { "description": "ProjectGraph instance", "type": "object" }, "projects": { "description": "The ProjectGraphProjectNodes being versioned in the current execution.", "items": { "type": "object" }, "type": "array" }, "releaseGroup": { "description": "The resolved release group configuration, including name, relevant to all projects in the current execution.", "type": "object" }, "specifier": { "description": "Exact version or semver keyword to apply to the selected release group. Overrides specifierSource.", "type": "string" }, "specifierSource": { "default": "prompt", "description": "Which approach to use to determine the semver specifier used to bump the version of the project.", "enum": [ "prompt", "conventional-commits" ], "type": "string" } }, "required": [ "projects", "projectGraph", "releaseGroup" ], "title": "Implementation details of `nx release version`", "type": "object" }
MIT
en
nrwl/nx
d6517506dfbd472ad72ed16cc77de25c33d0a916
2023-01-20T20:16:45
packages/workspace/src/generators/convert-to-nx-project/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "SchematicsConvertToNxProject", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a custom target to run any command.", "examples": [ { "command": "nx g @nrwl/workspace:convert-to-nx-project --project my-feature-lib", "description": "Convert the `my-feature-lib` project to use `project.json` file instead of `workspace.json`" }, { "command": "nx g @nrwl/workspace:convert-to-nx-project --all", "description": "Convert all projects in `workspace.json` to separate `project.json` files" } ], "properties": { "all": { "description": "Should every project be converted?", "type": "boolean" }, "project": { "description": "Project name.", "type": "string" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" } }, "title": "Create a custom target to run any command", "type": "object" }
MIT
en
nrwl/nx
deb0f1a49294eafe18c407a96c95e40af15d3738
2024-01-30T21:29:05
packages/nest/src/generators/middleware/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestMiddlewareGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Nest Middleware Options Schema.", "properties": { "directory": { "aliases": [ "dir", "path" ], "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", "type": "string" }, "flat": { "default": true, "description": "Flag to indicate if a directory is created.", "type": "boolean", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." }, "language": { "description": "Nest middleware language.", "enum": [ "js", "ts" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the middleware.", "type": "string", "x-prompt": "What name would you like to use?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The Nest project to target.", "type": "string", "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Nest Middleware Options Schema", "type": "object" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/eslint/src/generators/workspace-rules-project/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspaceRulesProject", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Create the Workspace Lint Rules Project.", "examples": [ { "command": "nx g @nx/eslint:workspace-rules-project", "description": "Create the Workspace Lint Rules Project" } ], "properties": { "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" } }, "required": [], "title": "Create the Workspace Lint Rules Project", "type": "object" }
MIT
en
nrwl/nx
9002662b07ec7a979c1db9cdaae1049ea2872257
2023-08-21T21:07:36
packages/detox/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "description": "Create Detox Configuration for the workspace.", "properties": { "appDisplayName": { "description": "Display name of the app to be tested if different from appProject", "type": "string" }, "appName": { "description": "Name of the app to be tested if different from appProject", "type": "string" }, "appProject": { "$default": { "$source": "projectName" }, "description": "Name of the frontend project to be tested.", "type": "string", "x-prompt": "What is the name of the frontend project to test?" }, "e2eDirectory": { "description": "A directory where the project is placed relative to apps directory.", "type": "string" }, "e2eName": { "$default": { "$source": "argv", "index": 0 }, "description": "Name of the E2E Project.", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-prompt": "What name would you like to use for the E2E project?" }, "framework": { "description": "App framework to test", "enum": [ "react-native", "expo" ], "type": "string", "x-prompt": "What app framework should detox test?" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" } }, "required": [ "e2eName", "appProject", "framework" ], "title": "Create Detox Configuration for the workspace", "type": "object" }
MIT
en
nrwl/nx
a63a25d2e2d0a4cd0afbc6840a3e1acc2edc683d
2022-11-25T20:25:37
packages/react/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxReactNgInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Initialize a React Plugin.", "properties": { "e2eTestRunner": { "default": "cypress", "description": "Adds the specified E2E test runner.", "enum": [ "cypress", "none" ], "type": "string" }, "js": { "default": false, "description": "Use JavaScript instead of TypeScript", "type": "boolean" }, "skipBabelConfig": { "default": false, "description": "Do not generate a root babel.config.json (if babel is not needed).", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Adds the specified unit test runner.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Init React Plugin", "type": "object" }
MIT
en
nrwl/nx
3f0bdddfdd77a615e3f46da1c63225cd3b995608
2023-06-22T09:33:05
packages/workspace/src/generators/ci-workflow/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspaceCIWorkflow", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Generate a CI workflow.", "properties": { "ci": { "description": "CI provider.", "enum": [ "github", "circleci", "azure", "bitbucket-pipelines", "gitlab" ], "type": "string", "x-prompt": { "items": [ { "label": "GitHub Actions", "value": "github" }, { "label": "Circle CI", "value": "circleci" }, { "label": "Azure DevOps", "value": "azure" }, { "label": "BitBucket Pipelines", "value": "bitbucket-pipelines" }, { "label": "Gitlab", "value": "gitlab" } ], "message": "What is your target CI provider?", "type": "list" } }, "name": { "$default": { "$source": "argv", "index": 0 }, "default": "CI", "description": "Workflow name.", "pattern": "^[a-zA-Z].*$", "type": "string", "x-prompt": "How should we name your workflow?" } }, "required": [ "ci", "name" ], "title": "Generate a CI workflow.", "type": "object" }
MIT
en
nrwl/nx
f04519996cf8d1cf1c34153f2030aff47b60eaa1
2023-10-04T21:43:02
packages/react/src/generators/remote/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "GeneratorReactRemote", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Create Module Federation configuration files for given React Remote Application.", "properties": { "classComponent": { "alias": "C", "default": false, "description": "Use class components instead of functional component.", "type": "boolean" }, "compiler": { "default": "babel", "description": "The compiler to use.", "enum": [ "babel", "swc" ], "type": "string" }, "devServerPort": { "description": "The port for the dev server of the remote app.", "type": "number", "x-priority": "important" }, "directory": { "alias": "dir", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (e2e) tests.", "enum": [ "cypress", "none" ], "type": "string" }, "globalCss": { "default": false, "description": "Default is false. When true, the component is generated with *.css/*.scss instead of *.module.css/*.module.scss.", "type": "boolean" }, "host": { "description": "The host / shell application for this remote.", "type": "string", "x-priority": "important" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the remote application to generate the Module Federation configuration", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use as the remote application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case component file name (e.g. App.tsx).", "type": "boolean" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "routing": { "default": false, "description": "Generate application with routes.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipNxJson": { "default": false, "description": "Skip updating workspace.json with default options based on values provided to this app (e.g. babel, style).", "type": "boolean", "x-priority": "internal" }, "ssr": { "default": false, "description": "Whether to configure SSR for the host application", "type": "boolean" }, "strict": { "default": true, "description": "Creates an application with strict mode and strict type checking.", "type": "boolean" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "DEPRECATD: Stylus(.styl) [ http://stylus-lang.com ]", "value": "styl" }, { "label": "None", "value": "none" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "typescriptConfiguration": { "default": false, "description": "Whether the module federation configuration and webpack configuration files should use TS.", "type": "boolean" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Generate Module Federation Setup for React Remote App", "type": "object" }
MIT
en
nrwl/nx
bdcbac4445df85a8f861ac70465eb641e025e8de
2021-10-15T22:07:12
packages/node/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "SchematicsNxNodeApp", "$schema": "http://json-schema.org/schema", "cli": "nx", "properties": { "babelJest": { "default": false, "description": "Use babel instead ts-jest", "type": "boolean" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "frontendProject": { "description": "Frontend project that needs to access this application. This sets up proxy configuration.", "type": "string" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "tslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "type": "string", "x-prompt": "What name would you like to use for the node application?" }, "pascalCaseFiles": { "alias": "P", "default": false, "description": "Use pascal case file names.", "type": "boolean" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint \"parserOptions.project\" option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to package.json.", "type": "boolean" }, "standaloneConfig": { "description": "Split the project configuration into <projectRoot>/project.json rather than including it inside workspace.json", "type": "boolean" }, "tags": { "description": "Add tags to the application (used for linting)", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Nx Application Options Schema", "type": "object" }
MIT
en
nrwl/nx
71fd015f3da26790ad265134dc3b345db1007576
2023-02-18T01:43:03
packages/js/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxTypescriptInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Init generator placeholder for nrwl/js.", "properties": { "js": { "default": false, "description": "Use JavaScript instead of TypeScript", "type": "boolean" }, "skipFormat": { "aliases": [ "skip-format" ], "default": true, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "tsConfigName": { "description": "Customize the generated tsconfig file name.", "type": "string", "x-priority": "internal" } }, "title": "Init nrwl/js" }
MIT
en
nrwl/nx
e5edcb84db58e8dd40b9bcb58f72cc3514e91dbe
2023-01-13T18:22:17
packages/angular/src/generators/storybook-configuration/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularStorybookConfigurationGenerator", "$schema": "http://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Adds Storybook configuration to a project to be able to use and create stories.", "examplesFile": "../../../docs/storybook-configuration-examples.md", "properties": { "configureCypress": { "default": true, "description": "Specifies whether to configure Cypress or not.", "type": "boolean", "x-priority": "important", "x-prompt": "Configure a Cypress e2e app to run against the storybook instance?" }, "configureTestRunner": { "description": "Add a Storybook Test-Runner target.", "type": "boolean" }, "cypressDirectory": { "description": "A directory where the Cypress project will be placed. Placed at the root by default.", "type": "string" }, "generateCypressSpecs": { "default": true, "description": "Specifies whether to automatically generate test files in the generated Cypress e2e app.", "type": "boolean", "x-priority": "important", "x-prompt": "Automatically generate test files in the generated Cypress e2e app?" }, "generateStories": { "default": true, "description": "Specifies whether to automatically generate `*.stories.ts` files for components declared in this project or not.", "type": "boolean", "x-priority": "important", "x-prompt": "Automatically generate *.stories.ts files for components declared in this project?" }, "ignorePaths": { "description": "Paths to ignore when looking for components.", "examples": [ "apps/my-app/src/not-stories/**", "**/**/src/**/not-stories/**", "libs/my-lib/**/*.something.ts", "**/**/src/**/*.other.*", "libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts" ], "items": { "description": "Path to ignore.", "type": "string" }, "type": "array" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "aliases": [ "project", "projectName" ], "description": "Project for which to generate Storybook configuration.", "type": "string", "x-dropdown": "projects", "x-priority": "important", "x-prompt": "For which project do you want to generate Storybook configuration?" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "storybook7betaConfiguration": { "default": false, "description": "Configure your workspace to use Storybook 7, even though Storybook v7 is still in beta.", "type": "boolean" }, "tsConfiguration": { "default": false, "description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.", "type": "boolean", "x-priority": "important" } }, "required": [ "name" ], "title": "Adds Storybook configuration to a project.", "type": "object" }
MIT
en
nrwl/nx
739e2e7115ff057ec923ef71dc09f2d73bef2977
2024-04-23T15:27:09
packages/web/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWebApp", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "Create a web application using `swc` or `babel` as compiler.", "examplesFile": "../../../docs/application-examples.md", "properties": { "bundler": { "default": "webpack", "description": "The bundler to use.", "enum": [ "webpack", "none", "vite" ], "type": "string", "x-priority": "important", "x-prompt": "Which bundler do you want to use?" }, "compiler": { "default": "swc", "description": "The compiler to use", "enum": [ "swc", "babel" ], "type": "string", "x-priority": "important" }, "directory": { "description": "The directory of the new application.", "type": "string" }, "e2eTestRunner": { "default": "playwright", "description": "Test runner to use for end to end (e2e) tests", "enum": [ "playwright", "cypress", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "inSourceTests": { "default": false, "description": "When using Vitest, separate spec files will not be generated and instead will be included within the source files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-prompt": "What name would you like to use for the application?" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean", "x-priority": "internal" }, "standaloneConfig": { "default": true, "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside workspace.json", "type": "boolean", "x-deprecated": "Nx only supports standaloneConfig" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ https://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ https://lesscss.org ]", "value": "less" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "tags": { "description": "Add tags to the application (used for linting)", "type": "string" }, "unitTestRunner": { "description": "Test runner to use for unit tests. Default value is 'jest' when using 'webpack' or 'none' as the bundler and 'vitest' when using 'vite' as the bundler", "enum": [ "jest", "vitest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Create a Web Application for Nx", "type": "object" }
MIT
en
nrwl/nx
726877d103fdd4e2e7694bb86938798842df1417
2021-12-15T17:23:50
packages/js/executors.json
22,349
2024-05-28T16:46:14.129163Z
{ "$schema": "http://json-schema.org/schema", "builders": { "swc": { "description": "Build a project using SWC", "implementation": "./src/executors/swc/compat", "schema": "./src/executors/swc/schema.json" }, "tsc": { "description": "Build a project using TypeScript.", "implementation": "./src/executors/tsc/compat", "schema": "./src/executors/tsc/schema.json" } }, "executors": { "swc": { "description": "Build a project using SWC", "implementation": "./src/executors/swc/swc.impl", "schema": "./src/executors/swc/schema.json" }, "tsc": { "description": "Build a project using TypeScript.", "implementation": "./src/executors/tsc/tsc.impl", "schema": "./src/executors/tsc/schema.json" } } }
MIT
en
nrwl/nx
3bedfd8039126d2831f4a1be653a41197fbd9c63
2021-12-10T20:44:20
packages/workspace/src/generators/new/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxWorkspaceNew", "$schema": "http://json-schema.org/schema", "additionalProperties": true, "cli": "nx", "properties": { "appName": { "description": "Application name.", "type": "string" }, "cli": { "default": "nx", "description": "CLI used for generating code and running tasks", "enum": [ "nx", "angular" ], "type": "string" }, "commit": { "default": true, "description": "Initial repository commit information.", "oneOf": [ { "type": "boolean" }, { "properties": { "email": { "format": "email", "type": "string" }, "message": { "type": "string" }, "name": { "type": "string" } }, "required": [ "name", "email" ], "type": "object" } ] }, "defaultBase": { "description": "Default base branch for affected.", "type": "string" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "tslint", "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the workspace.", "type": "string", "x-prompt": "What name would you like to use for the workspace?" }, "npmScope": { "description": "Npm scope for importing libs.", "type": "string" }, "nxCloud": { "default": false, "description": "Connect the workspace to the free tier of the distributed cache provided by Nx Cloud", "type": "boolean" }, "packageManager": { "description": "The package manager used to install dependencies.", "enum": [ "npm", "yarn", "pnpm" ], "type": "string" }, "preset": { "description": "What to create in the new workspace", "type": "string" }, "skipGit": { "alias": "g", "default": false, "description": "Skip initializing a git repository.", "type": "boolean" }, "skipInstall": { "default": false, "description": "Skip installing dependency packages.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "type": "string" } }, "title": "Create an empty workspace", "type": "object" }
MIT
en
nrwl/nx
881adfb185229d7d5957d51abe8558e93816c998
2024-05-23T13:58:53
packages/angular/src/generators/add-linting/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxAngularAddLintingGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Adds linting configuration to an Angular project.", "examples": [ { "command": "nx g @nx/angular:add-linting --prefix=cool --projectName=cool-lib --projectRoot=libs/cool-lib", "description": "Adds ESLint with Angular-specific rules for an existing project named `cool-lib` with the [prefix](https://angular.dev/style-guide#style-02-07) `cool`" } ], "properties": { "prefix": { "description": "The prefix to apply to generated selectors.", "format": "html-selector", "type": "string", "x-priority": "important" }, "projectName": { "description": "The name of the project.", "type": "string", "x-priority": "important" }, "projectRoot": { "description": "The path to the root of the selected project.", "type": "string", "x-priority": "important" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" } }, "required": [ "prefix", "projectName", "projectRoot" ], "title": "Add linting to an Angular project.", "type": "object" }
MIT
en
nrwl/nx
deb0f1a49294eafe18c407a96c95e40af15d3738
2024-01-30T21:29:05
packages/nest/src/generators/provider/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNestProviderGenerator", "$schema": "https://json-schema.org/schema", "additionalProperties": false, "cli": "nx", "description": "Nest Provider Options Schema.", "properties": { "directory": { "aliases": [ "dir", "path" ], "description": "Directory where the generated files are placed. when `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. otherwise, it will be relative to the workspace root.", "type": "string" }, "flat": { "default": true, "description": "Flag to indicate if a directory is created.", "type": "boolean", "x-deprecated": "Provide the `directory` option instead and use the `as-provided` format. It will be removed in Nx v19." }, "language": { "description": "Nest provider language.", "enum": [ "js", "ts" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the provider.", "type": "string", "x-prompt": "What name would you like to use?" }, "nameAndDirectoryFormat": { "description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "project": { "$default": { "$source": "projectName" }, "alias": "p", "description": "The Nest project to target.", "type": "string", "x-deprecated": "Provide The `directory` option instead and use the `as-provided` format. the project will be determined from the directory provided. it will be removed in nx v19." }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [ "name" ], "title": "Nest Provider Options Schema", "type": "object" }
MIT
en
nrwl/nx
a9974d3f25add9afcd6e2b416d490de60ee92d6e
2024-01-30T16:33:13
packages/js/src/generators/release-version/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxJSReleaseVersionGenerator", "$schema": "https://json-schema.org/schema", "cli": "nx", "description": "DO NOT INVOKE DIRECTLY WITH `nx generate`. Use `nx release version` instead.", "properties": { "currentVersionResolver": { "default": "disk", "description": "Which approach to use to determine the current version of the project.", "enum": [ "registry", "disk", "git-tag" ], "type": "string" }, "currentVersionResolverMetadata": { "default": {}, "description": "Additional metadata to pass to the current version resolver.", "type": "object" }, "packageRoot": { "description": "The root directory of the directory (containing a manifest file at its root) to publish. Defaults to the project root", "type": "string" }, "preid": { "description": "The optional prerelease identifier to apply to the version, in the case that specifier has been set to prerelease.", "type": "string" }, "projectGraph": { "description": "ProjectGraph instance", "type": "object" }, "projects": { "description": "The ProjectGraphProjectNodes being versioned in the current execution.", "items": { "type": "object" }, "type": "array" }, "releaseGroup": { "description": "The resolved release group configuration, including name, relevant to all projects in the current execution.", "type": "object" }, "specifier": { "description": "Exact version or semver keyword to apply to the selected release group. Overrides specifierSource.", "type": "string" }, "specifierSource": { "default": "prompt", "description": "Which approach to use to determine the semver specifier used to bump the version of the project.", "enum": [ "prompt", "conventional-commits" ], "type": "string" } }, "required": [ "projects", "projectGraph", "releaseGroup" ], "title": "Implementation details of `nx release version`", "type": "object" }
MIT
en
nrwl/nx
18ba93ad5d6fc2f6b1964fcef79b8bd7287466e8
2023-08-21T13:42:30
packages/next/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNextApp", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Create a Next.js Application for Nx.", "examplesFile": "../../../docs/application-examples.md", "properties": { "appDir": { "default": true, "description": "Enable the App Router for this project.", "type": "boolean", "x-prompt": "Would you like to use the App Router (recommended)?" }, "customServer": { "default": false, "description": "Use a custom Express server for the Next.js application.", "type": "boolean" }, "directory": { "alias": "d", "description": "The directory of the new application.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for end to end (E2E) tests.", "enum": [ "cypress", "playwright", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "The name of the application.", "pattern": "^[a-zA-Z][^:]*$", "type": "string", "x-priority": "important", "x-prompt": "What name would you like to use for the application?" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "rootProject": { "default": false, "description": "Create an application at the root of the workspace.", "hidden": true, "type": "boolean", "x-priority": "internal" }, "setParserOptionsProject": { "default": false, "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean", "x-priority": "internal" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean", "x-priority": "internal" }, "style": { "alias": "s", "default": "css", "description": "The file extension to be used for style files.", "type": "string", "x-prompt": { "items": [ { "label": "CSS", "value": "css" }, { "label": "SASS(.scss) [ http://sass-lang.com ]", "value": "scss" }, { "label": "LESS [ http://lesscss.org ]", "value": "less" }, { "label": "styled-components [ https://styled-components.com ]", "value": "styled-components" }, { "label": "emotion [ https://emotion.sh ]", "value": "@emotion/styled" }, { "label": "styled-jsx [ https://www.npmjs.com/package/styled-jsx ]", "value": "styled-jsx" }, { "label": "None", "value": "none" }, { "label": "Stylus(.styl) [ http://stylus-lang.com ] (DEPRECATED)", "value": "styl" } ], "message": "Which stylesheet format would you like to use?", "type": "list" } }, "swc": { "default": true, "description": "Enable the Rust-based compiler SWC to compile JS/TS files.", "type": "boolean" }, "tags": { "alias": "t", "description": "Add tags to the application (used for linting).", "type": "string" }, "unitTestRunner": { "default": "jest", "description": "Test runner to use for unit tests.", "enum": [ "jest", "none" ], "type": "string" } }, "required": [], "title": "Create a Next.js Application for Nx", "type": "object" }
MIT
en
nrwl/nx
5366d49936ea3de7a8012d5d7ab594d82c51faf5
2023-10-10T14:21:36
packages/nuxt/src/generators/init/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxNuxtInit", "$schema": "http://json-schema.org/schema", "cli": "nx", "description": "Initialize a Nuxt Plugin.", "properties": { "rootProject": { "default": false, "description": "Create a project at the root of the workspace", "type": "boolean" }, "skipFormat": { "default": false, "description": "Skip formatting files.", "type": "boolean" }, "skipPackageJson": { "default": false, "description": "Do not add dependencies to `package.json`.", "type": "boolean" }, "style": { "default": "css", "description": "The file extension to be used for style files.", "type": "string" } }, "required": [], "title": "Init Nuxt Plugin", "type": "object" }
MIT
en
nrwl/nx
71a0b0dce7d1dcd1b7b39e59e315093055b26b14
2024-03-28T15:41:09
packages/remix/src/generators/application/schema.json
22,349
2024-05-28T16:46:14.129163Z
{ "$id": "NxRemixApplication", "$schema": "https://json-schema.org/schema", "description": "Generate a new Remix application.", "properties": { "directory": { "alias": "dir", "description": "A directory where the app is placed.", "type": "string", "x-priority": "important" }, "e2eTestRunner": { "default": "cypress", "description": "Test runner to use for e2e tests", "enum": [ "cypress", "playwright", "none" ], "type": "string", "x-prompt": "Which E2E test runner would you like to use?" }, "js": { "default": false, "description": "Generate JavaScript files rather than TypeScript files.", "type": "boolean" }, "linter": { "default": "eslint", "description": "The tool to use for running lint checks.", "enum": [ "eslint", "none" ], "type": "string" }, "name": { "$default": { "$source": "argv", "index": 0 }, "description": "", "type": "string", "x-prompt": "What is the name of the application?" }, "projectNameAndRootFormat": { "description": "Whether to generate the project name and root directory as provided (`as-provided`) or generate them composing their values and taking the configured layout into account (`derived`).", "enum": [ "as-provided", "derived" ], "type": "string" }, "rootProject": { "default": false, "type": "boolean", "x-priority": "internal" }, "skipFormat": { "default": false, "description": "Skip formatting files", "type": "boolean" }, "tags": { "alias": "t", "description": "Add tags to the project (used for linting)", "type": "string" }, "unitTestRunner": { "default": "vitest", "description": "Test runner to use for unit tests.", "enum": [ "vitest", "jest", "none" ], "type": "string", "x-prompt": "What unit test runner should be used?" } }, "title": "Create an Application", "type": "object" }
MIT
en