diff --git a/docs/generated/packages/angular.json b/docs/generated/packages/angular.json index dba70185fc..14528d7992 100644 --- a/docs/generated/packages/angular.json +++ b/docs/generated/packages/angular.json @@ -2216,11 +2216,14 @@ }, "outputPath": { "type": "string", - "description": "The full path for the output directory, relative to the workspace root." + "description": "The full path for the output directory, relative to the workspace root.", + "x-completion-type": "directory" }, "tsConfig": { "type": "string", - "description": "The full path for the TypeScript configuration file, relative to the workspace root." + "description": "The full path for the TypeScript configuration file, relative to the workspace root.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "watch": { "type": "boolean", @@ -2267,7 +2270,9 @@ }, "tsConfig": { "type": "string", - "description": "The full path for the TypeScript configuration file, relative to the workspace root." + "description": "The full path for the TypeScript configuration file, relative to the workspace root.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "watch": { "type": "boolean", @@ -2328,7 +2333,9 @@ }, "tsConfig": { "type": "string", - "description": "The full path for the TypeScript configuration file, relative to the workspace root." + "description": "The full path for the TypeScript configuration file, relative to the workspace root.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "watch": { "type": "boolean", @@ -2348,7 +2355,9 @@ }, "tailwindConfig": { "type": "string", - "description": "The full path for the Tailwind configuration file, relative to the workspace root. If not provided and a `tailwind.config.js` file exists in the project or workspace root, it will be used. Otherwise, Tailwind will not be configured." + "description": "The full path for the Tailwind configuration file, relative to the workspace root. If not provided and a `tailwind.config.js` file exists in the project or workspace root, it will be used. Otherwise, Tailwind will not be configured.", + "x-completion-type": "file", + "x-completion-glob": "tailwind.config.js" } }, "additionalProperties": false, diff --git a/docs/generated/packages/cypress.json b/docs/generated/packages/cypress.json index 7eb41e7507..761cf83891 100644 --- a/docs/generated/packages/cypress.json +++ b/docs/generated/packages/cypress.json @@ -194,7 +194,9 @@ "properties": { "cypressConfig": { "type": "string", - "description": "The path of the Cypress configuration json file." + "description": "The path of the Cypress configuration json file.", + "x-completion-type": "file", + "x-completion-glob": "cypress?(*)@(.js|.ts|.json)" }, "watch": { "type": "boolean", @@ -203,7 +205,9 @@ }, "tsConfig": { "type": "string", - "description": "The path of the Cypress tsconfig configuration json file." + "description": "The path of the Cypress tsconfig configuration json file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "devServerTarget": { "type": "string", diff --git a/docs/generated/packages/detox.json b/docs/generated/packages/detox.json index ce10ccbd52..51656758a7 100644 --- a/docs/generated/packages/detox.json +++ b/docs/generated/packages/detox.json @@ -121,7 +121,9 @@ "configPath": { "type": "string", "description": "Specify Detox config file path. If not supplied, detox searches for `.detoxrc[.js]` or `detox` section in `package.json`.", - "alias": "cp" + "alias": "cp", + "x-completion-type": "file", + "x-completion-glob": ".detoxrc?(.js)" } }, "required": [], @@ -165,7 +167,9 @@ "configPath": { "type": "string", "description": "Specify Detox config file path. If not supplied, detox searches for `.detoxrc[.js]` or `detox` section in package.json.", - "alias": "cp" + "alias": "cp", + "x-completion-type": "file", + "x-completion-glob": ".detoxrc?(.js)" }, "runnerConfig": { "type": "string", diff --git a/docs/generated/packages/jest.json b/docs/generated/packages/jest.json index 87b43c62c4..ac33ca1efd 100644 --- a/docs/generated/packages/jest.json +++ b/docs/generated/packages/jest.json @@ -173,7 +173,9 @@ }, "jestConfig": { "description": "The path of the Jest configuration. (https://jestjs.io/docs/en/configuration)", - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "jest.config@(.js|.ts)" }, "testFile": { "description": "The name of the file to test.", @@ -282,7 +284,8 @@ }, "coverageDirectory": { "description": "The directory where Jest should output its coverage files.", - "type": "string" + "type": "string", + "x-completion-type": "directory" }, "testResultsProcessor": { "description": "Node module that implements a custom results processor. (https://jestjs.io/docs/en/configuration#testresultsprocessor-string)", diff --git a/docs/generated/packages/js.json b/docs/generated/packages/js.json index 1951eee365..e184ac1c35 100644 --- a/docs/generated/packages/js.json +++ b/docs/generated/packages/js.json @@ -214,15 +214,20 @@ "properties": { "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts|.jsx|.tsx)" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "tsConfig": { "type": "string", - "description": "The path to the Typescript configuration file." + "description": "The path to the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "assets": { "type": "array", @@ -367,19 +372,26 @@ "properties": { "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts|.tsx)" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "tsConfig": { "type": "string", - "description": "The path to the Typescript configuration file." + "description": "The path to the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "swcrc": { "type": "string", - "description": "The path to the SWC configuration file. Default: .lib.swcrc" + "description": "The path to the SWC configuration file. Default: .lib.swcrc", + "x-completion-type": "file", + "x-completion-glob": ".swcrc" }, "assets": { "type": "array", diff --git a/docs/generated/packages/linter.json b/docs/generated/packages/linter.json index 5a0594f9f3..e533bdf54d 100644 --- a/docs/generated/packages/linter.json +++ b/docs/generated/packages/linter.json @@ -109,13 +109,26 @@ }, "config": { "type": "string", - "description": "The name of the configuration file." + "description": "The name of the configuration file.", + "x-completion-type": "file", + "x-completion-glob": "(tslint.json|.eslintrc.json)" }, "tsConfig": { "description": "The name of the TypeScript configuration file.", "oneOf": [ - { "type": "string" }, - { "type": "array", "items": { "type": "string" } } + { + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" + }, + { + "type": "array", + "items": { + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" + } + } ] }, "format": { @@ -147,13 +160,13 @@ "type": "array", "description": "Files to exclude from linting.", "default": [], - "items": { "type": "string" } + "items": { "type": "string", "x-completion-type": "file" } }, "files": { "type": "array", "description": "Files to include in linting.", "default": [], - "items": { "type": "string" } + "items": { "type": "string", "x-completion-type": "file" } }, "force": { "type": "boolean", @@ -177,11 +190,13 @@ }, "cacheLocation": { "type": "string", - "description": "Path to the cache file or directory." + "description": "Path to the cache file or directory.", + "x-completion-type": "directory" }, "outputFile": { "type": "string", - "description": "File to write report to." + "description": "File to write report to.", + "x-completion-type": "file" }, "maxWarnings": { "type": "number", @@ -215,7 +230,9 @@ "properties": { "eslintConfig": { "type": "string", - "description": "The name of the ESLint configuration file." + "description": "The name of the ESLint configuration file.", + "x-completion-type": "file", + "x-completion-glob": ".eslintrc?(.json)" }, "lintFilePatterns": { "type": "array", @@ -270,11 +287,14 @@ }, "cacheLocation": { "type": "string", - "description": "Path to the cache file or directory." + "description": "Path to the cache file or directory.", + "x-completion-type": "directory", + "x-completion-glob": "tsconfig.*.json" }, "outputFile": { "type": "string", - "description": "File to write report to." + "description": "File to write report to.", + "x-completion-type": "file" }, "maxWarnings": { "type": "number", @@ -288,7 +308,9 @@ }, "ignorePath": { "type": "string", - "description": "The path of the `.eslintignore` file." + "description": "The path of the `.eslintignore` file.", + "x-completion-type": "file", + "x-completion-glob": ".eslintignore" }, "noEslintrc": { "type": "boolean", @@ -309,11 +331,12 @@ "type": "array", "description": "The equivalent of the `--rulesdir` flag on the ESLint CLI.", "default": [], - "items": { "type": "string" } + "items": { "type": "string", "x-completion-type": "directory" } }, "resolvePluginsRelativeTo": { "type": "string", - "description": "The equivalent of the `--resolve-plugins-relative-to` flag on the ESLint CLI." + "description": "The equivalent of the `--resolve-plugins-relative-to` flag on the ESLint CLI.", + "x-completion-type": "directory" }, "reportUnusedDisableDirectives": { "type": "string", diff --git a/docs/generated/packages/next.json b/docs/generated/packages/next.json index ffa89fc078..e85bf34c93 100644 --- a/docs/generated/packages/next.json +++ b/docs/generated/packages/next.json @@ -629,7 +629,8 @@ "root": { "description": "The source root", "type": "string" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "fileReplacements": { "description": "Replace files with other files in the build.", @@ -639,11 +640,13 @@ "properties": { "replace": { "type": "string", - "description": "The file to be replaced." + "description": "The file to be replaced.", + "x-completion-type": "file" }, "with": { "type": "string", - "description": "The file to replace with." + "description": "The file to replace with.", + "x-completion-type": "file" } }, "additionalProperties": false, @@ -653,7 +656,9 @@ }, "nextConfig": { "description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).", - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "next?(*).js" }, "buildLibsFromSource": { "type": "boolean", @@ -717,7 +722,8 @@ }, "proxyConfig": { "type": "string", - "description": "Path to the proxy configuration file." + "description": "Path to the proxy configuration file.", + "x-completion-type": "file" }, "buildLibsFromSource": { "type": "boolean", diff --git a/docs/generated/packages/node.json b/docs/generated/packages/node.json index cf82cfee8e..5b098efb4e 100644 --- a/docs/generated/packages/node.json +++ b/docs/generated/packages/node.json @@ -282,15 +282,20 @@ "properties": { "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts)" }, "tsConfig": { "type": "string", - "description": "The name of the Typescript configuration file." + "description": "The name of the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "deleteOutputPath": { "type": "boolean", @@ -411,11 +416,13 @@ "properties": { "replace": { "type": "string", - "description": "The file to be replaced." + "description": "The file to be replaced.", + "x-completion-type": "file" }, "with": { "type": "string", - "description": "The file to replace with." + "description": "The file to replace with.", + "x-completion-type": "file" } }, "additionalProperties": false, @@ -425,8 +432,19 @@ }, "webpackConfig": { "oneOf": [ - { "type": "array", "items": { "type": "string" } }, - { "type": "string" } + { + "type": "array", + "items": { + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "webpack?(*)@(.js|.ts)" + } + }, + { + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "webpack?(*)@(.js|.ts)" + } ], "description": "Path to a function which takes a webpack config, context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack" }, @@ -474,7 +492,9 @@ }, "entryPath": { "type": "string", - "description": "Path to the additional entry file." + "description": "Path to the additional entry file.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts)" } } } diff --git a/docs/generated/packages/nx-plugin.json b/docs/generated/packages/nx-plugin.json index 575e179203..c8be3973e5 100644 --- a/docs/generated/packages/nx-plugin.json +++ b/docs/generated/packages/nx-plugin.json @@ -376,12 +376,16 @@ }, "jestConfig": { "type": "string", - "description": "Jest config file." + "description": "Jest config file.", + "x-completion-type": "file", + "x-completion-glob": "jest.config@(.js|.ts)" }, "tsSpecConfig": { "type": "string", "description": "The tsconfig file for specs.", - "x-deprecated": "Use the `tsconfig` property for `ts-jest` in the e2e project `jest.config.js` file. It will be removed in the next major release." + "x-deprecated": "Use the `tsconfig` property for `ts-jest` in the e2e project `jest.config.js` file. It will be removed in the next major release.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "codeCoverage": { "description": "Indicates that test coverage information should be collected and reported in the output. (https://jestjs.io/docs/cli#--coverageboolean)", @@ -410,7 +414,9 @@ }, "testFile": { "description": "The name of the file to test.", - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "**/*.+(spec|test).+(ts|js)" }, "tsConfig": { "description": "The name of the Typescript configuration file. Set the tsconfig option in the jest config file. ", diff --git a/docs/generated/packages/react-native.json b/docs/generated/packages/react-native.json index f1a3252b85..e3a359e387 100644 --- a/docs/generated/packages/react-native.json +++ b/docs/generated/packages/react-native.json @@ -711,7 +711,9 @@ "properties": { "entryFile": { "type": "string", - "description": "The entry file relative to project root." + "description": "The entry file relative to project root.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts)" }, "platform": { "enum": ["ios", "android"], @@ -732,7 +734,8 @@ }, "bundleOutput": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "maxWorkers": { "type": "number", diff --git a/docs/generated/packages/storybook.json b/docs/generated/packages/storybook.json index d404c92625..e39e47e575 100644 --- a/docs/generated/packages/storybook.json +++ b/docs/generated/packages/storybook.json @@ -370,7 +370,8 @@ }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "styles": { "type": "array", @@ -382,7 +383,8 @@ "properties": { "input": { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file" }, "bundleName": { "type": "string", @@ -454,7 +456,8 @@ "properties": { "input": { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file" }, "bundleName": { "type": "string", diff --git a/docs/generated/packages/web.json b/docs/generated/packages/web.json index 58aaaf5a14..b479b11b31 100644 --- a/docs/generated/packages/web.json +++ b/docs/generated/packages/web.json @@ -169,11 +169,15 @@ }, "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts|.tsx)" }, "tsConfig": { "type": "string", - "description": "The name of the Typescript configuration file." + "description": "The name of the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "compiler": { "type": "string", @@ -183,7 +187,8 @@ }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "deleteOutputPath": { "type": "boolean", @@ -264,7 +269,9 @@ }, "index": { "type": "string", - "description": "HTML File which will be contain the application." + "description": "HTML File which will be contain the application.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.html|.htm)" }, "scripts": { "type": "array", @@ -276,7 +283,9 @@ "properties": { "input": { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" }, "bundleName": { "type": "string", @@ -291,7 +300,12 @@ "additionalProperties": false, "required": ["input"] }, - { "type": "string", "description": "The file to include." } + { + "type": "string", + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" + } ] }, "default": [] @@ -306,7 +320,9 @@ "properties": { "input": { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" }, "bundleName": { "type": "string", @@ -321,7 +337,12 @@ "additionalProperties": false, "required": ["input"] }, - { "type": "string", "description": "The file to include." } + { + "type": "string", + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" + } ] }, "default": [] @@ -444,7 +465,9 @@ }, "polyfills": { "type": "string", - "description": "Polyfills to load before application" + "description": "Polyfills to load before application", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts|.tsx)" }, "verbose": { "type": "boolean", @@ -479,11 +502,13 @@ "properties": { "replace": { "type": "string", - "description": "The file to be replaced." + "description": "The file to be replaced.", + "x-completion-type": "file" }, "with": { "type": "string", - "description": "The file to replace with." + "description": "The file to replace with.", + "x-completion-type": "file" } }, "additionalProperties": false, @@ -507,7 +532,9 @@ }, "webpackConfig": { "type": "string", - "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack" + "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack", + "x-completion-type": "file", + "x-completion-glob": "webpack?(*)@(.js|.ts)" } }, "required": ["tsConfig", "main", "index"], @@ -599,7 +626,9 @@ "properties": { "input": { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" }, "bundleName": { "type": "string", @@ -614,7 +643,12 @@ "additionalProperties": false, "required": ["input"] }, - { "type": "string", "description": "The file to include." } + { + "type": "string", + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" + } ] } }, @@ -640,11 +674,14 @@ }, "entryFile": { "type": "string", - "description": "The path to the entry file, relative to project." + "description": "The path to the entry file, relative to project.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts)" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "deleteOutputPath": { "type": "boolean", @@ -653,7 +690,9 @@ }, "tsConfig": { "type": "string", - "description": "The path to tsconfig file." + "description": "The path to tsconfig file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "format": { "type": "array", @@ -685,8 +724,19 @@ }, "rollupConfig": { "oneOf": [ - { "type": "array", "items": { "type": "string" } }, - { "type": "string" } + { + "type": "array", + "items": { + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "rollup?(*)@(.js|.ts)" + } + }, + { + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "rollup?(*)@(.js|.ts)" + } ], "description": "Path to a function which takes a rollup config and returns an updated rollup config." }, diff --git a/packages/angular/src/executors/delegate-build/schema.json b/packages/angular/src/executors/delegate-build/schema.json index 3b7745456a..9c2e55bb3a 100644 --- a/packages/angular/src/executors/delegate-build/schema.json +++ b/packages/angular/src/executors/delegate-build/schema.json @@ -11,11 +11,14 @@ }, "outputPath": { "type": "string", - "description": "The full path for the output directory, relative to the workspace root." + "description": "The full path for the output directory, relative to the workspace root.", + "x-completion-type": "directory" }, "tsConfig": { "type": "string", - "description": "The full path for the TypeScript configuration file, relative to the workspace root." + "description": "The full path for the TypeScript configuration file, relative to the workspace root.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "watch": { "type": "boolean", diff --git a/packages/angular/src/executors/ng-packagr-lite/schema.json b/packages/angular/src/executors/ng-packagr-lite/schema.json index 5a03b9a56e..0573d3bd49 100644 --- a/packages/angular/src/executors/ng-packagr-lite/schema.json +++ b/packages/angular/src/executors/ng-packagr-lite/schema.json @@ -25,7 +25,9 @@ }, "tsConfig": { "type": "string", - "description": "The full path for the TypeScript configuration file, relative to the workspace root." + "description": "The full path for the TypeScript configuration file, relative to the workspace root.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "watch": { "type": "boolean", diff --git a/packages/angular/src/executors/package/schema.json b/packages/angular/src/executors/package/schema.json index 50461b2b25..73eb6425e2 100644 --- a/packages/angular/src/executors/package/schema.json +++ b/packages/angular/src/executors/package/schema.json @@ -25,7 +25,9 @@ }, "tsConfig": { "type": "string", - "description": "The full path for the TypeScript configuration file, relative to the workspace root." + "description": "The full path for the TypeScript configuration file, relative to the workspace root.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "watch": { "type": "boolean", @@ -45,7 +47,9 @@ }, "tailwindConfig": { "type": "string", - "description": "The full path for the Tailwind configuration file, relative to the workspace root. If not provided and a `tailwind.config.js` file exists in the project or workspace root, it will be used. Otherwise, Tailwind will not be configured." + "description": "The full path for the Tailwind configuration file, relative to the workspace root. If not provided and a `tailwind.config.js` file exists in the project or workspace root, it will be used. Otherwise, Tailwind will not be configured.", + "x-completion-type": "file", + "x-completion-glob": "tailwind.config.js" } }, "additionalProperties": false, diff --git a/packages/cypress/src/executors/cypress/schema.json b/packages/cypress/src/executors/cypress/schema.json index a8caf6d31e..8c2a50d9bf 100644 --- a/packages/cypress/src/executors/cypress/schema.json +++ b/packages/cypress/src/executors/cypress/schema.json @@ -7,7 +7,9 @@ "properties": { "cypressConfig": { "type": "string", - "description": "The path of the Cypress configuration json file." + "description": "The path of the Cypress configuration json file.", + "x-completion-type": "file", + "x-completion-glob": "cypress?(*)@(.js|.ts|.json)" }, "watch": { "type": "boolean", @@ -16,7 +18,9 @@ }, "tsConfig": { "type": "string", - "description": "The path of the Cypress tsconfig configuration json file." + "description": "The path of the Cypress tsconfig configuration json file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "devServerTarget": { "type": "string", diff --git a/packages/detox/src/executors/build/schema.json b/packages/detox/src/executors/build/schema.json index df80508579..fd354196ab 100644 --- a/packages/detox/src/executors/build/schema.json +++ b/packages/detox/src/executors/build/schema.json @@ -12,7 +12,9 @@ "configPath": { "type": "string", "description": "Specify Detox config file path. If not supplied, detox searches for `.detoxrc[.js]` or `detox` section in `package.json`.", - "alias": "cp" + "alias": "cp", + "x-completion-type": "file", + "x-completion-glob": ".detoxrc?(.js)" } }, "required": [] diff --git a/packages/detox/src/executors/test/schema.json b/packages/detox/src/executors/test/schema.json index 18b052cd77..82e8a97a6c 100644 --- a/packages/detox/src/executors/test/schema.json +++ b/packages/detox/src/executors/test/schema.json @@ -28,7 +28,9 @@ "configPath": { "type": "string", "description": "Specify Detox config file path. If not supplied, detox searches for `.detoxrc[.js]` or `detox` section in package.json.", - "alias": "cp" + "alias": "cp", + "x-completion-type": "file", + "x-completion-glob": ".detoxrc?(.js)" }, "runnerConfig": { "type": "string", diff --git a/packages/jest/src/executors/jest/schema.json b/packages/jest/src/executors/jest/schema.json index 235d7e4789..50f8e038ea 100644 --- a/packages/jest/src/executors/jest/schema.json +++ b/packages/jest/src/executors/jest/schema.json @@ -31,7 +31,9 @@ }, "jestConfig": { "description": "The path of the Jest configuration. (https://jestjs.io/docs/en/configuration)", - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "jest.config@(.js|.ts)" }, "testFile": { "description": "The name of the file to test.", @@ -148,7 +150,8 @@ }, "coverageDirectory": { "description": "The directory where Jest should output its coverage files.", - "type": "string" + "type": "string", + "x-completion-type": "directory" }, "testResultsProcessor": { "description": "Node module that implements a custom results processor. (https://jestjs.io/docs/en/configuration#testresultsprocessor-string)", diff --git a/packages/js/src/executors/swc/schema.json b/packages/js/src/executors/swc/schema.json index 1542583e6b..f6de3bc096 100644 --- a/packages/js/src/executors/swc/schema.json +++ b/packages/js/src/executors/swc/schema.json @@ -7,19 +7,26 @@ "properties": { "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts|.tsx)" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "tsConfig": { "type": "string", - "description": "The path to the Typescript configuration file." + "description": "The path to the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "swcrc": { "type": "string", - "description": "The path to the SWC configuration file. Default: .lib.swcrc" + "description": "The path to the SWC configuration file. Default: .lib.swcrc", + "x-completion-type": "file", + "x-completion-glob": ".swcrc" }, "assets": { "type": "array", diff --git a/packages/js/src/executors/tsc/schema.json b/packages/js/src/executors/tsc/schema.json index 0c0d48bda9..183d06d701 100644 --- a/packages/js/src/executors/tsc/schema.json +++ b/packages/js/src/executors/tsc/schema.json @@ -6,15 +6,20 @@ "properties": { "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts|.jsx|.tsx)" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "tsConfig": { "type": "string", - "description": "The path to the Typescript configuration file." + "description": "The path to the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "assets": { "type": "array", diff --git a/packages/linter/src/executors/eslint/schema.json b/packages/linter/src/executors/eslint/schema.json index 97d934a3a2..8244625bf6 100644 --- a/packages/linter/src/executors/eslint/schema.json +++ b/packages/linter/src/executors/eslint/schema.json @@ -7,7 +7,9 @@ "properties": { "eslintConfig": { "type": "string", - "description": "The name of the ESLint configuration file." + "description": "The name of the ESLint configuration file.", + "x-completion-type": "file", + "x-completion-glob": ".eslintrc?(.json)" }, "lintFilePatterns": { "type": "array", @@ -66,11 +68,14 @@ }, "cacheLocation": { "type": "string", - "description": "Path to the cache file or directory." + "description": "Path to the cache file or directory.", + "x-completion-type": "directory", + "x-completion-glob": "tsconfig.*.json" }, "outputFile": { "type": "string", - "description": "File to write report to." + "description": "File to write report to.", + "x-completion-type": "file" }, "maxWarnings": { "type": "number", @@ -84,7 +89,9 @@ }, "ignorePath": { "type": "string", - "description": "The path of the `.eslintignore` file." + "description": "The path of the `.eslintignore` file.", + "x-completion-type": "file", + "x-completion-glob": ".eslintignore" }, "noEslintrc": { "type": "boolean", @@ -106,12 +113,14 @@ "description": "The equivalent of the `--rulesdir` flag on the ESLint CLI.", "default": [], "items": { - "type": "string" + "type": "string", + "x-completion-type": "directory" } }, "resolvePluginsRelativeTo": { "type": "string", - "description": "The equivalent of the `--resolve-plugins-relative-to` flag on the ESLint CLI." + "description": "The equivalent of the `--resolve-plugins-relative-to` flag on the ESLint CLI.", + "x-completion-type": "directory" }, "reportUnusedDisableDirectives": { "type": "string", diff --git a/packages/linter/src/executors/lint/schema.json b/packages/linter/src/executors/lint/schema.json index 5a1311c6cb..fd3d13999f 100644 --- a/packages/linter/src/executors/lint/schema.json +++ b/packages/linter/src/executors/lint/schema.json @@ -13,16 +13,24 @@ }, "config": { "type": "string", - "description": "The name of the configuration file." + "description": "The name of the configuration file.", + "x-completion-type": "file", + "x-completion-glob": "(tslint.json|.eslintrc.json)" }, "tsConfig": { "description": "The name of the TypeScript configuration file.", "oneOf": [ - { "type": "string" }, + { + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" + }, { "type": "array", "items": { - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" } } ] @@ -57,7 +65,8 @@ "description": "Files to exclude from linting.", "default": [], "items": { - "type": "string" + "type": "string", + "x-completion-type": "file" } }, "files": { @@ -65,7 +74,8 @@ "description": "Files to include in linting.", "default": [], "items": { - "type": "string" + "type": "string", + "x-completion-type": "file" } }, "force": { @@ -90,11 +100,13 @@ }, "cacheLocation": { "type": "string", - "description": "Path to the cache file or directory." + "description": "Path to the cache file or directory.", + "x-completion-type": "directory" }, "outputFile": { "type": "string", - "description": "File to write report to." + "description": "File to write report to.", + "x-completion-type": "file" }, "maxWarnings": { "type": "number", diff --git a/packages/next/src/executors/build/schema.json b/packages/next/src/executors/build/schema.json index 067d3ace01..aebfa724d7 100644 --- a/packages/next/src/executors/build/schema.json +++ b/packages/next/src/executors/build/schema.json @@ -11,7 +11,8 @@ }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "fileReplacements": { "description": "Replace files with other files in the build.", @@ -21,11 +22,14 @@ "properties": { "replace": { "type": "string", - "description": "The file to be replaced." + "description": "The file to be replaced.", + + "x-completion-type": "file" }, "with": { "type": "string", - "description": "The file to replace with." + "description": "The file to replace with.", + "x-completion-type": "file" } }, "additionalProperties": false, @@ -35,7 +39,9 @@ }, "nextConfig": { "description": "Path (relative to workspace root) to a function which takes phase, config, and builder options, and returns the resulting config. This is an advanced option and should not be used with a normal Next.js config file (i.e. `next.config.js`).", - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "next?(*).js" }, "buildLibsFromSource": { "type": "boolean", diff --git a/packages/next/src/executors/server/schema.json b/packages/next/src/executors/server/schema.json index f83a52a6c5..26954547ba 100644 --- a/packages/next/src/executors/server/schema.json +++ b/packages/next/src/executors/server/schema.json @@ -43,7 +43,8 @@ }, "proxyConfig": { "type": "string", - "description": "Path to the proxy configuration file." + "description": "Path to the proxy configuration file.", + "x-completion-type": "file" }, "buildLibsFromSource": { "type": "boolean", diff --git a/packages/node/src/executors/webpack/schema.json b/packages/node/src/executors/webpack/schema.json index 60b733357b..756c74d362 100644 --- a/packages/node/src/executors/webpack/schema.json +++ b/packages/node/src/executors/webpack/schema.json @@ -6,15 +6,20 @@ "properties": { "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts)" }, "tsConfig": { "type": "string", - "description": "The name of the Typescript configuration file." + "description": "The name of the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "deleteOutputPath": { "type": "boolean", @@ -132,11 +137,13 @@ "properties": { "replace": { "type": "string", - "description": "The file to be replaced." + "description": "The file to be replaced.", + "x-completion-type": "file" }, "with": { "type": "string", - "description": "The file to replace with." + "description": "The file to replace with.", + "x-completion-type": "file" } }, "additionalProperties": false, @@ -149,11 +156,15 @@ { "type": "array", "items": { - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "webpack?(*)@(.js|.ts)" } }, { - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "webpack?(*)@(.js|.ts)" } ], "description": "Path to a function which takes a webpack config, context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack" @@ -188,7 +199,9 @@ }, "entryPath": { "type": "string", - "description": "Path to the additional entry file." + "description": "Path to the additional entry file.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts)" } } } diff --git a/packages/nx-plugin/src/executors/e2e/schema.json b/packages/nx-plugin/src/executors/e2e/schema.json index 859d7af8ad..fc023641a9 100644 --- a/packages/nx-plugin/src/executors/e2e/schema.json +++ b/packages/nx-plugin/src/executors/e2e/schema.json @@ -10,12 +10,16 @@ }, "jestConfig": { "type": "string", - "description": "Jest config file." + "description": "Jest config file.", + "x-completion-type": "file", + "x-completion-glob": "jest.config@(.js|.ts)" }, "tsSpecConfig": { "type": "string", "description": "The tsconfig file for specs.", - "x-deprecated": "Use the `tsconfig` property for `ts-jest` in the e2e project `jest.config.js` file. It will be removed in the next major release." + "x-deprecated": "Use the `tsconfig` property for `ts-jest` in the e2e project `jest.config.js` file. It will be removed in the next major release.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "codeCoverage": { @@ -45,7 +49,9 @@ }, "testFile": { "description": "The name of the file to test.", - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "**/*.+(spec|test).+(ts|js)" }, "tsConfig": { "description": "The name of the Typescript configuration file. Set the tsconfig option in the jest config file. ", diff --git a/packages/react-native/src/executors/bundle/schema.json b/packages/react-native/src/executors/bundle/schema.json index 411a17edcc..b8836701bc 100644 --- a/packages/react-native/src/executors/bundle/schema.json +++ b/packages/react-native/src/executors/bundle/schema.json @@ -8,7 +8,9 @@ "properties": { "entryFile": { "type": "string", - "description": "The entry file relative to project root." + "description": "The entry file relative to project root.", + "x-completion-type": "file", + "x-completion-glob": "main@(.js|.ts)" }, "platform": { "enum": ["ios", "android"], @@ -29,7 +31,8 @@ }, "bundleOutput": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "maxWorkers": { "type": "number", diff --git a/packages/storybook/src/executors/build-storybook/schema.json b/packages/storybook/src/executors/build-storybook/schema.json index 0b523400ad..e0c3c9c6c6 100644 --- a/packages/storybook/src/executors/build-storybook/schema.json +++ b/packages/storybook/src/executors/build-storybook/schema.json @@ -26,7 +26,8 @@ }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "styles": { "type": "array", @@ -89,7 +90,8 @@ "properties": { "input": { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file" }, "bundleName": { "type": "string", diff --git a/packages/web/src/executors/rollup/schema.json b/packages/web/src/executors/rollup/schema.json index ccbb6142c9..bd9c227466 100644 --- a/packages/web/src/executors/rollup/schema.json +++ b/packages/web/src/executors/rollup/schema.json @@ -10,11 +10,14 @@ }, "entryFile": { "type": "string", - "description": "The path to the entry file, relative to project." + "description": "The path to the entry file, relative to project.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts)" }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "deleteOutputPath": { "type": "boolean", @@ -23,7 +26,9 @@ }, "tsConfig": { "type": "string", - "description": "The path to tsconfig file." + "description": "The path to tsconfig file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "format": { "type": "array", @@ -63,11 +68,15 @@ { "type": "array", "items": { - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "rollup?(*)@(.js|.ts)" } }, { - "type": "string" + "type": "string", + "x-completion-type": "file", + "x-completion-glob": "rollup?(*)@(.js|.ts)" } ], "description": "Path to a function which takes a rollup config and returns an updated rollup config." diff --git a/packages/web/src/executors/webpack/schema.json b/packages/web/src/executors/webpack/schema.json index 2448888732..c76feae2a8 100644 --- a/packages/web/src/executors/webpack/schema.json +++ b/packages/web/src/executors/webpack/schema.json @@ -10,11 +10,15 @@ }, "main": { "type": "string", - "description": "The name of the main entry-point file." + "description": "The name of the main entry-point file.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts|.tsx)" }, "tsConfig": { "type": "string", - "description": "The name of the Typescript configuration file." + "description": "The name of the Typescript configuration file.", + "x-completion-type": "file", + "x-completion-glob": "tsconfig.*.json" }, "compiler": { "type": "string", @@ -24,7 +28,8 @@ }, "outputPath": { "type": "string", - "description": "The output path of the generated files." + "description": "The output path of the generated files.", + "x-completion-type": "directory" }, "deleteOutputPath": { "type": "boolean", @@ -86,7 +91,9 @@ }, "index": { "type": "string", - "description": "HTML File which will be contain the application." + "description": "HTML File which will be contain the application.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.html|.htm)" }, "scripts": { "type": "array", @@ -178,7 +185,9 @@ }, "polyfills": { "type": "string", - "description": "Polyfills to load before application" + "description": "Polyfills to load before application", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.js|.ts|.tsx)" }, "verbose": { "type": "boolean", @@ -213,11 +222,13 @@ "properties": { "replace": { "type": "string", - "description": "The file to be replaced." + "description": "The file to be replaced.", + "x-completion-type": "file" }, "with": { "type": "string", - "description": "The file to replace with." + "description": "The file to replace with.", + "x-completion-type": "file" } }, "additionalProperties": false, @@ -241,7 +252,9 @@ }, "webpackConfig": { "type": "string", - "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack" + "description": "Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack", + "x-completion-type": "file", + "x-completion-glob": "webpack?(*)@(.js|.ts)" } }, "required": ["tsConfig", "main", "index"], @@ -330,7 +343,9 @@ "properties": { "input": { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" }, "bundleName": { "type": "string", @@ -347,7 +362,9 @@ }, { "type": "string", - "description": "The file to include." + "description": "The file to include.", + "x-completion-type": "file", + "x-completion-glob": "**/*@(.css|.scss|.less|.sass|.styl|.stylus)" } ] }