feat(core): add file completion types for the nx language server (#11669)
This commit is contained in:
parent
3ff680907c
commit
e7ec91b9e0
@ -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,
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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)",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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. ",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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."
|
||||
},
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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": []
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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)",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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. ",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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."
|
||||
|
||||
@ -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)"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user