knip 0.0.0-angular.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/README.md +907 -0
  2. package/dist/ConfigurationChief.d.ts +53 -0
  3. package/dist/ConfigurationChief.js +297 -0
  4. package/dist/ConfigurationValidator.d.ts +2325 -0
  5. package/dist/ConfigurationValidator.js +119 -0
  6. package/dist/ConsoleStreamer.d.ts +12 -0
  7. package/dist/ConsoleStreamer.js +34 -0
  8. package/dist/DependencyDeputy.d.ts +64 -0
  9. package/dist/DependencyDeputy.js +254 -0
  10. package/dist/IssueCollector.d.ts +27 -0
  11. package/dist/IssueCollector.js +52 -0
  12. package/dist/PrincipalFactory.d.ts +25 -0
  13. package/dist/PrincipalFactory.js +56 -0
  14. package/dist/ProjectPrincipal.d.ts +64 -0
  15. package/dist/ProjectPrincipal.js +197 -0
  16. package/dist/WorkspaceWorker.d.ts +56 -0
  17. package/dist/WorkspaceWorker.js +244 -0
  18. package/dist/binaries/bash-parser.d.ts +6 -0
  19. package/dist/binaries/bash-parser.js +58 -0
  20. package/dist/binaries/index.d.ts +2 -0
  21. package/dist/binaries/index.js +18 -0
  22. package/dist/binaries/resolvers/c8.d.ts +2 -0
  23. package/dist/binaries/resolvers/c8.js +10 -0
  24. package/dist/binaries/resolvers/dotenv.d.ts +2 -0
  25. package/dist/binaries/resolvers/dotenv.js +6 -0
  26. package/dist/binaries/resolvers/fallback.d.ts +2 -0
  27. package/dist/binaries/resolvers/fallback.js +22 -0
  28. package/dist/binaries/resolvers/index.d.ts +8 -0
  29. package/dist/binaries/resolvers/index.js +8 -0
  30. package/dist/binaries/resolvers/node.d.ts +2 -0
  31. package/dist/binaries/resolvers/node.js +10 -0
  32. package/dist/binaries/resolvers/nodemon.d.ts +2 -0
  33. package/dist/binaries/resolvers/nodemon.js +15 -0
  34. package/dist/binaries/resolvers/npx.d.ts +2 -0
  35. package/dist/binaries/resolvers/npx.js +20 -0
  36. package/dist/binaries/resolvers/pnpm.d.ts +2 -0
  37. package/dist/binaries/resolvers/pnpm.js +63 -0
  38. package/dist/binaries/resolvers/rollup.d.ts +2 -0
  39. package/dist/binaries/resolvers/rollup.js +11 -0
  40. package/dist/binaries/resolvers/yarn.d.ts +2 -0
  41. package/dist/binaries/resolvers/yarn.js +48 -0
  42. package/dist/binaries/types.d.ts +15 -0
  43. package/dist/binaries/types.js +1 -0
  44. package/dist/binaries/util.d.ts +8 -0
  45. package/dist/binaries/util.js +33 -0
  46. package/dist/cli.d.ts +2 -0
  47. package/dist/cli.js +72 -0
  48. package/dist/constants.d.ts +12 -0
  49. package/dist/constants.js +90 -0
  50. package/dist/index.d.ts +10 -0
  51. package/dist/index.js +334 -0
  52. package/dist/issues/initializers.d.ts +4 -0
  53. package/dist/issues/initializers.js +11 -0
  54. package/dist/manifest/helpers.d.ts +7 -0
  55. package/dist/manifest/helpers.js +16 -0
  56. package/dist/manifest/index.d.ts +16 -0
  57. package/dist/manifest/index.js +56 -0
  58. package/dist/plugins/_template/index.d.ts +9 -0
  59. package/dist/plugins/_template/index.js +14 -0
  60. package/dist/plugins/_template/types.d.ts +3 -0
  61. package/dist/plugins/_template/types.js +1 -0
  62. package/dist/plugins/angular/index.d.ts +6 -0
  63. package/dist/plugins/angular/index.js +36 -0
  64. package/dist/plugins/angular/types.d.ts +745 -0
  65. package/dist/plugins/angular/types.js +1 -0
  66. package/dist/plugins/ava/index.d.ts +7 -0
  67. package/dist/plugins/ava/index.js +20 -0
  68. package/dist/plugins/ava/types.d.ts +4 -0
  69. package/dist/plugins/ava/types.js +1 -0
  70. package/dist/plugins/babel/helpers.d.ts +15 -0
  71. package/dist/plugins/babel/helpers.js +34 -0
  72. package/dist/plugins/babel/index.d.ts +8 -0
  73. package/dist/plugins/babel/index.js +30 -0
  74. package/dist/plugins/babel/types.d.ts +9 -0
  75. package/dist/plugins/babel/types.js +1 -0
  76. package/dist/plugins/capacitor/index.d.ts +6 -0
  77. package/dist/plugins/capacitor/index.js +11 -0
  78. package/dist/plugins/capacitor/types.d.ts +3 -0
  79. package/dist/plugins/capacitor/types.js +1 -0
  80. package/dist/plugins/changesets/index.d.ts +6 -0
  81. package/dist/plugins/changesets/index.js +15 -0
  82. package/dist/plugins/commitizen/index.d.ts +6 -0
  83. package/dist/plugins/commitizen/index.js +14 -0
  84. package/dist/plugins/commitizen/types.d.ts +3 -0
  85. package/dist/plugins/commitizen/types.js +1 -0
  86. package/dist/plugins/commitlint/index.d.ts +6 -0
  87. package/dist/plugins/commitlint/index.js +18 -0
  88. package/dist/plugins/cspell/index.d.ts +6 -0
  89. package/dist/plugins/cspell/index.js +17 -0
  90. package/dist/plugins/cspell/types.d.ts +3 -0
  91. package/dist/plugins/cspell/types.js +1 -0
  92. package/dist/plugins/cypress/index.d.ts +5 -0
  93. package/dist/plugins/cypress/index.js +10 -0
  94. package/dist/plugins/eslint/fallback.d.ts +1 -0
  95. package/dist/plugins/eslint/fallback.js +13 -0
  96. package/dist/plugins/eslint/helpers.d.ts +14 -0
  97. package/dist/plugins/eslint/helpers.js +83 -0
  98. package/dist/plugins/eslint/index.d.ts +7 -0
  99. package/dist/plugins/eslint/index.js +15 -0
  100. package/dist/plugins/eslint/types.d.ts +27 -0
  101. package/dist/plugins/eslint/types.js +1 -0
  102. package/dist/plugins/gatsby/index.d.ts +7 -0
  103. package/dist/plugins/gatsby/index.js +30 -0
  104. package/dist/plugins/gatsby/types.d.ts +15 -0
  105. package/dist/plugins/gatsby/types.js +1 -0
  106. package/dist/plugins/github-actions/index.d.ts +6 -0
  107. package/dist/plugins/github-actions/index.js +21 -0
  108. package/dist/plugins/husky/index.d.ts +6 -0
  109. package/dist/plugins/husky/index.js +19 -0
  110. package/dist/plugins/index.d.ts +41 -0
  111. package/dist/plugins/index.js +41 -0
  112. package/dist/plugins/jest/index.d.ts +7 -0
  113. package/dist/plugins/jest/index.js +68 -0
  114. package/dist/plugins/lefthook/index.d.ts +6 -0
  115. package/dist/plugins/lefthook/index.js +28 -0
  116. package/dist/plugins/lint-staged/index.d.ts +6 -0
  117. package/dist/plugins/lint-staged/index.js +32 -0
  118. package/dist/plugins/lint-staged/types.d.ts +5 -0
  119. package/dist/plugins/lint-staged/types.js +1 -0
  120. package/dist/plugins/markdownlint/helpers.d.ts +1 -0
  121. package/dist/plugins/markdownlint/helpers.js +6 -0
  122. package/dist/plugins/markdownlint/index.d.ts +6 -0
  123. package/dist/plugins/markdownlint/index.js +19 -0
  124. package/dist/plugins/markdownlint/types.d.ts +3 -0
  125. package/dist/plugins/markdownlint/types.js +1 -0
  126. package/dist/plugins/mocha/index.d.ts +6 -0
  127. package/dist/plugins/mocha/index.js +15 -0
  128. package/dist/plugins/next/index.d.ts +6 -0
  129. package/dist/plugins/next/index.js +11 -0
  130. package/dist/plugins/npm-package-json-lint/index.d.ts +6 -0
  131. package/dist/plugins/npm-package-json-lint/index.js +13 -0
  132. package/dist/plugins/npm-package-json-lint/types.d.ts +3 -0
  133. package/dist/plugins/npm-package-json-lint/types.js +1 -0
  134. package/dist/plugins/nx/index.d.ts +6 -0
  135. package/dist/plugins/nx/index.js +24 -0
  136. package/dist/plugins/nx/types.d.ts +11 -0
  137. package/dist/plugins/nx/types.js +1 -0
  138. package/dist/plugins/nyc/index.d.ts +6 -0
  139. package/dist/plugins/nyc/index.js +11 -0
  140. package/dist/plugins/playwright/index.d.ts +5 -0
  141. package/dist/plugins/playwright/index.js +5 -0
  142. package/dist/plugins/postcss/index.d.ts +6 -0
  143. package/dist/plugins/postcss/index.js +23 -0
  144. package/dist/plugins/postcss/types.d.ts +3 -0
  145. package/dist/plugins/postcss/types.js +1 -0
  146. package/dist/plugins/prettier/index.d.ts +6 -0
  147. package/dist/plugins/prettier/index.js +20 -0
  148. package/dist/plugins/release-it/index.d.ts +6 -0
  149. package/dist/plugins/release-it/index.js +30 -0
  150. package/dist/plugins/release-it/types.d.ts +10 -0
  151. package/dist/plugins/release-it/types.js +1 -0
  152. package/dist/plugins/remark/index.d.ts +6 -0
  153. package/dist/plugins/remark/index.js +18 -0
  154. package/dist/plugins/remix/index.d.ts +6 -0
  155. package/dist/plugins/remix/index.js +11 -0
  156. package/dist/plugins/rollup/index.d.ts +5 -0
  157. package/dist/plugins/rollup/index.js +5 -0
  158. package/dist/plugins/semantic-release/index.d.ts +6 -0
  159. package/dist/plugins/semantic-release/index.js +17 -0
  160. package/dist/plugins/semantic-release/types.d.ts +3 -0
  161. package/dist/plugins/semantic-release/types.js +1 -0
  162. package/dist/plugins/sentry/index.d.ts +5 -0
  163. package/dist/plugins/sentry/index.js +5 -0
  164. package/dist/plugins/storybook/index.d.ts +8 -0
  165. package/dist/plugins/storybook/index.js +19 -0
  166. package/dist/plugins/storybook/types.d.ts +11 -0
  167. package/dist/plugins/storybook/types.js +1 -0
  168. package/dist/plugins/stryker/index.d.ts +6 -0
  169. package/dist/plugins/stryker/index.js +17 -0
  170. package/dist/plugins/stryker/types.d.ts +5 -0
  171. package/dist/plugins/stryker/types.js +1 -0
  172. package/dist/plugins/stylelint/index.d.ts +6 -0
  173. package/dist/plugins/stylelint/index.js +22 -0
  174. package/dist/plugins/stylelint/types.d.ts +4 -0
  175. package/dist/plugins/stylelint/types.js +1 -0
  176. package/dist/plugins/svelte/index.d.ts +7 -0
  177. package/dist/plugins/svelte/index.js +9 -0
  178. package/dist/plugins/tailwind/index.d.ts +5 -0
  179. package/dist/plugins/tailwind/index.js +5 -0
  180. package/dist/plugins/typedoc/index.d.ts +6 -0
  181. package/dist/plugins/typedoc/index.js +22 -0
  182. package/dist/plugins/typedoc/types.d.ts +3 -0
  183. package/dist/plugins/typedoc/types.js +1 -0
  184. package/dist/plugins/typescript/index.d.ts +7 -0
  185. package/dist/plugins/typescript/index.js +42 -0
  186. package/dist/plugins/vite/index.d.ts +6 -0
  187. package/dist/plugins/vite/index.js +12 -0
  188. package/dist/plugins/vite/types.d.ts +4 -0
  189. package/dist/plugins/vite/types.js +1 -0
  190. package/dist/plugins/vitest/helpers.d.ts +6 -0
  191. package/dist/plugins/vitest/helpers.js +22 -0
  192. package/dist/plugins/vitest/index.d.ts +9 -0
  193. package/dist/plugins/vitest/index.js +25 -0
  194. package/dist/plugins/vitest/types.d.ts +11 -0
  195. package/dist/plugins/vitest/types.js +1 -0
  196. package/dist/plugins/webpack/index.d.ts +6 -0
  197. package/dist/plugins/webpack/index.js +82 -0
  198. package/dist/plugins/webpack/types.d.ts +10 -0
  199. package/dist/plugins/webpack/types.js +1 -0
  200. package/dist/reporters/codeowners.d.ts +3 -0
  201. package/dist/reporters/codeowners.js +62 -0
  202. package/dist/reporters/compact.d.ts +3 -0
  203. package/dist/reporters/compact.js +36 -0
  204. package/dist/reporters/index.d.ts +7 -0
  205. package/dist/reporters/index.js +10 -0
  206. package/dist/reporters/json.d.ts +3 -0
  207. package/dist/reporters/json.js +67 -0
  208. package/dist/reporters/symbols.d.ts +3 -0
  209. package/dist/reporters/symbols.js +54 -0
  210. package/dist/reporters/util.d.ts +15 -0
  211. package/dist/reporters/util.js +17 -0
  212. package/dist/types/cli.d.ts +10 -0
  213. package/dist/types/cli.js +1 -0
  214. package/dist/types/compilers.d.ts +6 -0
  215. package/dist/types/compilers.js +1 -0
  216. package/dist/types/config.d.ts +39 -0
  217. package/dist/types/config.js +3 -0
  218. package/dist/types/exports.d.ts +20 -0
  219. package/dist/types/exports.js +1 -0
  220. package/dist/types/imports.d.ts +13 -0
  221. package/dist/types/imports.js +1 -0
  222. package/dist/types/issues.d.ts +62 -0
  223. package/dist/types/issues.js +10 -0
  224. package/dist/types/plugins.d.ts +19 -0
  225. package/dist/types/plugins.js +1 -0
  226. package/dist/types/workspace.d.ts +17 -0
  227. package/dist/types/workspace.js +1 -0
  228. package/dist/typescript/SourceFile.d.ts +18 -0
  229. package/dist/typescript/SourceFile.js +1 -0
  230. package/dist/typescript/SourceFileManager.d.ts +13 -0
  231. package/dist/typescript/SourceFileManager.js +57 -0
  232. package/dist/typescript/ast-helpers.d.ts +27 -0
  233. package/dist/typescript/ast-helpers.js +101 -0
  234. package/dist/typescript/createHosts.d.ts +15 -0
  235. package/dist/typescript/createHosts.js +39 -0
  236. package/dist/typescript/getImportsAndExports.d.ts +29 -0
  237. package/dist/typescript/getImportsAndExports.js +159 -0
  238. package/dist/typescript/resolveModuleNames.d.ts +2 -0
  239. package/dist/typescript/resolveModuleNames.js +27 -0
  240. package/dist/typescript/sys.d.ts +35 -0
  241. package/dist/typescript/sys.js +16 -0
  242. package/dist/typescript/utils.d.ts +2 -0
  243. package/dist/typescript/utils.js +9 -0
  244. package/dist/typescript/visitors/exports/exportAssignment.d.ts +3 -0
  245. package/dist/typescript/visitors/exports/exportAssignment.js +9 -0
  246. package/dist/typescript/visitors/exports/exportDeclaration.d.ts +3 -0
  247. package/dist/typescript/visitors/exports/exportDeclaration.js +13 -0
  248. package/dist/typescript/visitors/exports/exportKeyword.d.ts +3 -0
  249. package/dist/typescript/visitors/exports/exportKeyword.js +77 -0
  250. package/dist/typescript/visitors/exports/index.d.ts +3 -0
  251. package/dist/typescript/visitors/exports/index.js +7 -0
  252. package/dist/typescript/visitors/exports/moduleExportsAccessExpression.d.ts +3 -0
  253. package/dist/typescript/visitors/exports/moduleExportsAccessExpression.js +31 -0
  254. package/dist/typescript/visitors/helpers.d.ts +4 -0
  255. package/dist/typescript/visitors/helpers.js +10 -0
  256. package/dist/typescript/visitors/imports/importCall.d.ts +3 -0
  257. package/dist/typescript/visitors/imports/importCall.js +11 -0
  258. package/dist/typescript/visitors/imports/importDeclaration.d.ts +3 -0
  259. package/dist/typescript/visitors/imports/importDeclaration.js +32 -0
  260. package/dist/typescript/visitors/imports/importEqualsDeclaration.d.ts +3 -0
  261. package/dist/typescript/visitors/imports/importEqualsDeclaration.js +11 -0
  262. package/dist/typescript/visitors/imports/index.d.ts +3 -0
  263. package/dist/typescript/visitors/imports/index.js +18 -0
  264. package/dist/typescript/visitors/imports/jsDocType.d.ts +3 -0
  265. package/dist/typescript/visitors/imports/jsDocType.js +11 -0
  266. package/dist/typescript/visitors/imports/reExportDeclaration.d.ts +3 -0
  267. package/dist/typescript/visitors/imports/reExportDeclaration.js +21 -0
  268. package/dist/typescript/visitors/imports/requireCall.d.ts +3 -0
  269. package/dist/typescript/visitors/imports/requireCall.js +45 -0
  270. package/dist/typescript/visitors/imports/requireResolveCall.d.ts +3 -0
  271. package/dist/typescript/visitors/imports/requireResolveCall.js +12 -0
  272. package/dist/typescript/visitors/index.d.ts +10 -0
  273. package/dist/typescript/visitors/index.js +16 -0
  274. package/dist/typescript/visitors/scripts/execa.d.ts +3 -0
  275. package/dist/typescript/visitors/scripts/execa.js +18 -0
  276. package/dist/typescript/visitors/scripts/index.d.ts +3 -0
  277. package/dist/typescript/visitors/scripts/index.js +5 -0
  278. package/dist/typescript/visitors/scripts/zx.d.ts +3 -0
  279. package/dist/typescript/visitors/scripts/zx.js +8 -0
  280. package/dist/util/Performance.d.ts +23 -0
  281. package/dist/util/Performance.js +80 -0
  282. package/dist/util/array.d.ts +2 -0
  283. package/dist/util/array.js +2 -0
  284. package/dist/util/cli-arguments.d.ts +28 -0
  285. package/dist/util/cli-arguments.js +83 -0
  286. package/dist/util/compilers.d.ts +426 -0
  287. package/dist/util/compilers.js +20 -0
  288. package/dist/util/debug.d.ts +3 -0
  289. package/dist/util/debug.js +34 -0
  290. package/dist/util/errors.d.ts +12 -0
  291. package/dist/util/errors.js +14 -0
  292. package/dist/util/fs.d.ts +7 -0
  293. package/dist/util/fs.js +42 -0
  294. package/dist/util/get-included-issue-types.d.ts +16 -0
  295. package/dist/util/get-included-issue-types.js +37 -0
  296. package/dist/util/git.d.ts +1 -0
  297. package/dist/util/git.js +20 -0
  298. package/dist/util/glob.d.ts +19 -0
  299. package/dist/util/glob.js +59 -0
  300. package/dist/util/loader.d.ts +1 -0
  301. package/dist/util/loader.js +31 -0
  302. package/dist/util/map.d.ts +1 -0
  303. package/dist/util/map.js +6 -0
  304. package/dist/util/modules.d.ts +8 -0
  305. package/dist/util/modules.js +52 -0
  306. package/dist/util/object.d.ts +3 -0
  307. package/dist/util/object.js +37 -0
  308. package/dist/util/path.d.ts +11 -0
  309. package/dist/util/path.js +13 -0
  310. package/dist/util/plugin.d.ts +3 -0
  311. package/dist/util/plugin.js +14 -0
  312. package/dist/util/register.d.ts +1 -0
  313. package/dist/util/register.js +14 -0
  314. package/dist/util/reporter.d.ts +3 -0
  315. package/dist/util/reporter.js +16 -0
  316. package/dist/util/require.d.ts +5 -0
  317. package/dist/util/require.js +34 -0
  318. package/dist/util/tsconfig-loader.d.ts +2 -0
  319. package/dist/util/tsconfig-loader.js +11 -0
  320. package/dist/util/workspace.d.ts +1 -0
  321. package/dist/util/workspace.js +11 -0
  322. package/dist/version.d.ts +1 -0
  323. package/dist/version.js +1 -0
  324. package/license +12 -0
  325. package/package.json +150 -0
  326. package/schema.json +403 -0
@@ -0,0 +1,745 @@
1
+ type FileVersion = number;
2
+ type Project = Project1 & {
3
+ cli?: {
4
+ [k: string]: unknown;
5
+ };
6
+ schematics?: SchematicOptions;
7
+ prefix?: string;
8
+ root: string;
9
+ i18n?: I18N;
10
+ sourceRoot?: string;
11
+ projectType: 'application' | 'library';
12
+ architect?: {
13
+ [k: string]: {
14
+ builder: string;
15
+ defaultConfiguration?: string;
16
+ options?: {
17
+ [k: string]: unknown;
18
+ };
19
+ configurations?: {
20
+ [k: string]: {
21
+ [k: string]: unknown;
22
+ };
23
+ };
24
+ } | {
25
+ builder?: '@angular-devkit/build-angular:app-shell';
26
+ defaultConfiguration?: string;
27
+ options?: AppShellTarget;
28
+ configurations?: {
29
+ [k: string]: AppShellTarget;
30
+ };
31
+ } | {
32
+ builder?: '@angular-devkit/build-angular:browser';
33
+ defaultConfiguration?: string;
34
+ options?: WebpackBrowserSchemaForBuildFacade;
35
+ configurations?: {
36
+ [k: string]: WebpackBrowserSchemaForBuildFacade;
37
+ };
38
+ } | {
39
+ builder?: '@angular-devkit/build-angular:browser-esbuild';
40
+ defaultConfiguration?: string;
41
+ options?: EsbuildBrowserSchemaForBuildFacade;
42
+ configurations?: {
43
+ [k: string]: EsbuildBrowserSchemaForBuildFacade;
44
+ };
45
+ } | {
46
+ builder?: '@angular-devkit/build-angular:dev-server';
47
+ defaultConfiguration?: string;
48
+ options?: DevServerTarget;
49
+ configurations?: {
50
+ [k: string]: DevServerTarget;
51
+ };
52
+ } | {
53
+ builder?: '@angular-devkit/build-angular:extract-i18n';
54
+ defaultConfiguration?: string;
55
+ options?: ExtractI18NTarget;
56
+ configurations?: {
57
+ [k: string]: ExtractI18NTarget;
58
+ };
59
+ } | {
60
+ builder?: '@angular-devkit/build-angular:karma';
61
+ defaultConfiguration?: string;
62
+ options?: KarmaTarget;
63
+ configurations?: {
64
+ [k: string]: KarmaTarget;
65
+ };
66
+ } | {
67
+ builder?: '@angular-devkit/build-angular:jest';
68
+ defaultConfiguration?: string;
69
+ options?: JestBrowserSchemaForBuildFacade;
70
+ configurations?: {
71
+ [k: string]: JestBrowserSchemaForBuildFacade;
72
+ };
73
+ } | {
74
+ builder?: '@angular-devkit/build-angular:protractor';
75
+ defaultConfiguration?: string;
76
+ options?: ProtractorTarget;
77
+ configurations?: {
78
+ [k: string]: ProtractorTarget;
79
+ };
80
+ } | {
81
+ builder?: '@angular-devkit/build-angular:server';
82
+ defaultConfiguration?: string;
83
+ options?: UniversalTarget;
84
+ configurations?: {
85
+ [k: string]: UniversalTarget;
86
+ };
87
+ } | {
88
+ builder?: '@angular-devkit/build-angular:ng-packagr';
89
+ defaultConfiguration?: string;
90
+ options?: NgPackagrTarget;
91
+ configurations?: {
92
+ [k: string]: NgPackagrTarget;
93
+ };
94
+ };
95
+ };
96
+ targets?: {
97
+ [k: string]: {
98
+ builder: string;
99
+ defaultConfiguration?: string;
100
+ options?: {
101
+ [k: string]: unknown;
102
+ };
103
+ configurations?: {
104
+ [k: string]: {
105
+ [k: string]: unknown;
106
+ };
107
+ };
108
+ } | {
109
+ builder?: '@angular-devkit/build-angular:app-shell';
110
+ defaultConfiguration?: string;
111
+ options?: AppShellTarget;
112
+ configurations?: {
113
+ [k: string]: AppShellTarget;
114
+ };
115
+ } | {
116
+ builder?: '@angular-devkit/build-angular:browser';
117
+ defaultConfiguration?: string;
118
+ options?: WebpackBrowserSchemaForBuildFacade;
119
+ configurations?: {
120
+ [k: string]: WebpackBrowserSchemaForBuildFacade;
121
+ };
122
+ } | {
123
+ builder?: '@angular-devkit/build-angular:browser-esbuild';
124
+ defaultConfiguration?: string;
125
+ options?: EsbuildBrowserSchemaForBuildFacade;
126
+ configurations?: {
127
+ [k: string]: EsbuildBrowserSchemaForBuildFacade;
128
+ };
129
+ } | {
130
+ builder?: '@angular-devkit/build-angular:dev-server';
131
+ defaultConfiguration?: string;
132
+ options?: DevServerTarget;
133
+ configurations?: {
134
+ [k: string]: DevServerTarget;
135
+ };
136
+ } | {
137
+ builder?: '@angular-devkit/build-angular:extract-i18n';
138
+ defaultConfiguration?: string;
139
+ options?: ExtractI18NTarget;
140
+ configurations?: {
141
+ [k: string]: ExtractI18NTarget;
142
+ };
143
+ } | {
144
+ builder?: '@angular-devkit/build-angular:karma';
145
+ defaultConfiguration?: string;
146
+ options?: KarmaTarget;
147
+ configurations?: {
148
+ [k: string]: KarmaTarget;
149
+ };
150
+ } | {
151
+ builder?: '@angular-devkit/build-angular:jest';
152
+ defaultConfiguration?: string;
153
+ options?: JestBrowserSchemaForBuildFacade;
154
+ configurations?: {
155
+ [k: string]: JestBrowserSchemaForBuildFacade;
156
+ };
157
+ } | {
158
+ builder?: '@angular-devkit/build-angular:protractor';
159
+ defaultConfiguration?: string;
160
+ options?: ProtractorTarget;
161
+ configurations?: {
162
+ [k: string]: ProtractorTarget;
163
+ };
164
+ } | {
165
+ builder?: '@angular-devkit/build-angular:server';
166
+ defaultConfiguration?: string;
167
+ options?: UniversalTarget;
168
+ configurations?: {
169
+ [k: string]: UniversalTarget;
170
+ };
171
+ } | {
172
+ builder?: '@angular-devkit/build-angular:ng-packagr';
173
+ defaultConfiguration?: string;
174
+ options?: NgPackagrTarget;
175
+ configurations?: {
176
+ [k: string]: NgPackagrTarget;
177
+ };
178
+ };
179
+ };
180
+ [k: string]: unknown;
181
+ };
182
+ type Project1 = {
183
+ [k: string]: unknown;
184
+ };
185
+ export interface AngularCLIWorkspaceConfiguration {
186
+ $schema?: string;
187
+ version: FileVersion;
188
+ cli?: CliOptions;
189
+ schematics?: SchematicOptions;
190
+ newProjectRoot?: string;
191
+ projects?: {
192
+ [k: string]: Project;
193
+ };
194
+ }
195
+ interface CliOptions {
196
+ schematicCollections?: string[];
197
+ packageManager?: 'npm' | 'cnpm' | 'yarn' | 'pnpm';
198
+ warnings?: {
199
+ versionMismatch?: boolean;
200
+ };
201
+ analytics?: boolean | string;
202
+ cache?: {
203
+ environment?: 'local' | 'ci' | 'all';
204
+ enabled?: boolean;
205
+ path?: string;
206
+ };
207
+ }
208
+ interface SchematicOptions {
209
+ '@schematics/angular:application'?: AngularApplicationOptionsSchema;
210
+ '@schematics/angular:class'?: AngularClassOptionsSchema;
211
+ '@schematics/angular:component'?: AngularComponentOptionsSchema;
212
+ '@schematics/angular:directive'?: AngularDirectiveOptionsSchema;
213
+ '@schematics/angular:enum'?: AngularEnumOptionsSchema;
214
+ '@schematics/angular:guard'?: AngularGuardOptionsSchema;
215
+ '@schematics/angular:interceptor'?: AngularInterceptorOptionsSchema;
216
+ '@schematics/angular:interface'?: AngularInterfaceOptionsSchema;
217
+ '@schematics/angular:library'?: LibraryOptionsSchema;
218
+ '@schematics/angular:pipe'?: AngularPipeOptionsSchema;
219
+ '@schematics/angular:ng-new'?: AngularNgNewOptionsSchema;
220
+ '@schematics/angular:resolver'?: AngularResolverOptionsSchema;
221
+ '@schematics/angular:service'?: AngularServiceOptionsSchema;
222
+ '@schematics/angular:web-worker'?: AngularWebWorkerOptionsSchema;
223
+ [k: string]: unknown;
224
+ }
225
+ interface AngularApplicationOptionsSchema {
226
+ projectRoot?: string;
227
+ name?: string;
228
+ inlineStyle?: boolean;
229
+ inlineTemplate?: boolean;
230
+ viewEncapsulation?: 'Emulated' | 'None' | 'ShadowDom';
231
+ routing?: boolean;
232
+ prefix?: string;
233
+ style?: 'css' | 'scss' | 'sass' | 'less';
234
+ skipTests?: boolean;
235
+ skipPackageJson?: boolean;
236
+ minimal?: boolean;
237
+ skipInstall?: boolean;
238
+ strict?: boolean;
239
+ standalone?: boolean;
240
+ }
241
+ interface AngularClassOptionsSchema {
242
+ name?: string;
243
+ path?: string;
244
+ project?: string;
245
+ skipTests?: boolean;
246
+ type?: string;
247
+ }
248
+ interface AngularComponentOptionsSchema {
249
+ path?: string;
250
+ project?: string;
251
+ name?: string;
252
+ displayBlock?: boolean;
253
+ inlineStyle?: boolean;
254
+ inlineTemplate?: boolean;
255
+ standalone?: boolean;
256
+ viewEncapsulation?: 'Emulated' | 'None' | 'ShadowDom';
257
+ changeDetection?: 'Default' | 'OnPush';
258
+ prefix?: {
259
+ [k: string]: unknown;
260
+ } & string;
261
+ style?: 'css' | 'scss' | 'sass' | 'less' | 'none';
262
+ type?: string;
263
+ skipTests?: boolean;
264
+ flat?: boolean;
265
+ skipImport?: boolean;
266
+ selector?: string;
267
+ skipSelector?: boolean;
268
+ module?: string;
269
+ export?: boolean;
270
+ }
271
+ interface AngularDirectiveOptionsSchema {
272
+ name?: string;
273
+ path?: string;
274
+ project?: string;
275
+ prefix?: {
276
+ [k: string]: unknown;
277
+ } & string;
278
+ skipTests?: boolean;
279
+ skipImport?: boolean;
280
+ selector?: string;
281
+ standalone?: boolean;
282
+ flat?: boolean;
283
+ module?: string;
284
+ export?: boolean;
285
+ }
286
+ interface AngularEnumOptionsSchema {
287
+ name?: string;
288
+ path?: string;
289
+ project?: string;
290
+ type?: string;
291
+ }
292
+ interface AngularGuardOptionsSchema {
293
+ name?: string;
294
+ skipTests?: boolean;
295
+ flat?: boolean;
296
+ path?: string;
297
+ project?: string;
298
+ functional?: boolean;
299
+ implements?: [
300
+ 'CanActivate' | 'CanActivateChild' | 'CanDeactivate' | 'CanMatch',
301
+ ...('CanActivate' | 'CanActivateChild' | 'CanDeactivate' | 'CanMatch')[]
302
+ ];
303
+ }
304
+ interface AngularInterceptorOptionsSchema {
305
+ name?: string;
306
+ path?: string;
307
+ project?: string;
308
+ flat?: boolean;
309
+ skipTests?: boolean;
310
+ functional?: boolean;
311
+ }
312
+ interface AngularInterfaceOptionsSchema {
313
+ name?: string;
314
+ path?: string;
315
+ project?: string;
316
+ prefix?: string;
317
+ type?: string;
318
+ }
319
+ interface LibraryOptionsSchema {
320
+ name?: string;
321
+ entryFile?: string;
322
+ prefix?: string;
323
+ skipPackageJson?: boolean;
324
+ skipInstall?: boolean;
325
+ skipTsConfig?: boolean;
326
+ projectRoot?: string;
327
+ standalone?: boolean;
328
+ }
329
+ interface AngularPipeOptionsSchema {
330
+ name?: string;
331
+ path?: string;
332
+ project?: string;
333
+ flat?: boolean;
334
+ skipTests?: boolean;
335
+ skipImport?: boolean;
336
+ standalone?: boolean;
337
+ module?: string;
338
+ export?: boolean;
339
+ }
340
+ interface AngularNgNewOptionsSchema {
341
+ directory?: string;
342
+ name?: string;
343
+ skipInstall?: boolean;
344
+ linkCli?: boolean;
345
+ skipGit?: boolean;
346
+ commit?: boolean | {
347
+ name?: string;
348
+ email?: string;
349
+ message?: string;
350
+ [k: string]: unknown;
351
+ };
352
+ newProjectRoot?: string;
353
+ inlineStyle?: boolean;
354
+ inlineTemplate?: boolean;
355
+ viewEncapsulation?: 'Emulated' | 'None' | 'ShadowDom';
356
+ version?: string;
357
+ routing?: boolean;
358
+ prefix?: string;
359
+ style?: 'css' | 'scss' | 'sass' | 'less';
360
+ skipTests?: boolean;
361
+ createApplication?: boolean;
362
+ minimal?: boolean;
363
+ strict?: boolean;
364
+ packageManager?: 'npm' | 'yarn' | 'pnpm' | 'cnpm';
365
+ standalone?: boolean;
366
+ }
367
+ interface AngularResolverOptionsSchema {
368
+ name?: string;
369
+ skipTests?: boolean;
370
+ flat?: boolean;
371
+ functional?: boolean;
372
+ path?: string;
373
+ project?: string;
374
+ }
375
+ interface AngularServiceOptionsSchema {
376
+ name?: string;
377
+ path?: string;
378
+ project?: string;
379
+ flat?: boolean;
380
+ skipTests?: boolean;
381
+ }
382
+ interface AngularWebWorkerOptionsSchema {
383
+ path?: string;
384
+ project?: string;
385
+ name?: string;
386
+ snippet?: boolean;
387
+ }
388
+ interface I18N {
389
+ sourceLocale?: string | {
390
+ code?: string;
391
+ baseHref?: string;
392
+ };
393
+ locales?: {
394
+ [k: string]: string | string[] | {
395
+ translation?: string | string[];
396
+ baseHref?: string;
397
+ };
398
+ };
399
+ }
400
+ interface AppShellTarget {
401
+ browserTarget?: string;
402
+ serverTarget?: string;
403
+ appModuleBundle?: string;
404
+ route?: string;
405
+ inputIndexPath?: string;
406
+ outputIndexPath?: string;
407
+ }
408
+ interface WebpackBrowserSchemaForBuildFacade {
409
+ assets?: ({
410
+ followSymlinks?: boolean;
411
+ glob?: string;
412
+ input?: string;
413
+ ignore?: string[];
414
+ output?: string;
415
+ } | string)[];
416
+ main?: string;
417
+ polyfills?: string[] | string;
418
+ tsConfig?: string;
419
+ scripts?: ({
420
+ input?: string;
421
+ bundleName?: string;
422
+ inject?: boolean;
423
+ } | string)[];
424
+ styles?: ({
425
+ input?: string;
426
+ bundleName?: string;
427
+ inject?: boolean;
428
+ } | string)[];
429
+ inlineStyleLanguage?: 'css' | 'less' | 'sass' | 'scss';
430
+ stylePreprocessorOptions?: {
431
+ includePaths?: string[];
432
+ };
433
+ optimization?: {
434
+ scripts?: boolean;
435
+ styles?: {
436
+ minify?: boolean;
437
+ inlineCritical?: boolean;
438
+ } | boolean;
439
+ fonts?: {
440
+ inline?: boolean;
441
+ } | boolean;
442
+ } | boolean;
443
+ fileReplacements?: ({
444
+ src?: string;
445
+ replaceWith?: string;
446
+ } | {
447
+ replace?: string;
448
+ with?: string;
449
+ })[];
450
+ outputPath?: string;
451
+ resourcesOutputPath?: string;
452
+ aot?: boolean;
453
+ sourceMap?: {
454
+ scripts?: boolean;
455
+ styles?: boolean;
456
+ hidden?: boolean;
457
+ vendor?: boolean;
458
+ } | boolean;
459
+ vendorChunk?: boolean;
460
+ commonChunk?: boolean;
461
+ baseHref?: string;
462
+ deployUrl?: string;
463
+ verbose?: boolean;
464
+ progress?: boolean;
465
+ i18nMissingTranslation?: 'warning' | 'error' | 'ignore';
466
+ i18nDuplicateTranslation?: 'warning' | 'error' | 'ignore';
467
+ localize?: boolean | [string, ...string[]];
468
+ watch?: boolean;
469
+ outputHashing?: 'none' | 'all' | 'media' | 'bundles';
470
+ poll?: number;
471
+ deleteOutputPath?: boolean;
472
+ preserveSymlinks?: boolean;
473
+ extractLicenses?: boolean;
474
+ buildOptimizer?: boolean;
475
+ namedChunks?: boolean;
476
+ subresourceIntegrity?: boolean;
477
+ serviceWorker?: boolean;
478
+ ngswConfigPath?: string;
479
+ index?: string | {
480
+ input?: string;
481
+ output?: string;
482
+ [k: string]: unknown;
483
+ };
484
+ statsJson?: boolean;
485
+ budgets?: Budget[];
486
+ webWorkerTsConfig?: string;
487
+ crossOrigin?: 'none' | 'anonymous' | 'use-credentials';
488
+ allowedCommonJsDependencies?: string[];
489
+ }
490
+ interface Budget {
491
+ type?: 'all' | 'allScript' | 'any' | 'anyScript' | 'anyComponentStyle' | 'bundle' | 'initial';
492
+ name?: string;
493
+ baseline?: string;
494
+ maximumWarning?: string;
495
+ maximumError?: string;
496
+ minimumWarning?: string;
497
+ minimumError?: string;
498
+ warning?: string;
499
+ error?: string;
500
+ }
501
+ interface EsbuildBrowserSchemaForBuildFacade {
502
+ assets?: ({
503
+ followSymlinks?: boolean;
504
+ glob?: string;
505
+ input?: string;
506
+ ignore?: string[];
507
+ output?: string;
508
+ } | string)[];
509
+ main?: string;
510
+ polyfills?: string[] | string;
511
+ tsConfig?: string;
512
+ scripts?: ({
513
+ input?: string;
514
+ bundleName?: string;
515
+ inject?: boolean;
516
+ } | string)[];
517
+ styles?: ({
518
+ input?: string;
519
+ bundleName?: string;
520
+ inject?: boolean;
521
+ } | string)[];
522
+ inlineStyleLanguage?: 'css' | 'less' | 'sass' | 'scss';
523
+ stylePreprocessorOptions?: {
524
+ includePaths?: string[];
525
+ };
526
+ externalDependencies?: string[];
527
+ optimization?: {
528
+ scripts?: boolean;
529
+ styles?: {
530
+ minify?: boolean;
531
+ inlineCritical?: boolean;
532
+ } | boolean;
533
+ fonts?: {
534
+ inline?: boolean;
535
+ } | boolean;
536
+ } | boolean;
537
+ fileReplacements?: FileReplacement[];
538
+ outputPath?: string;
539
+ resourcesOutputPath?: string;
540
+ aot?: boolean;
541
+ sourceMap?: {
542
+ scripts?: boolean;
543
+ styles?: boolean;
544
+ hidden?: boolean;
545
+ vendor?: boolean;
546
+ } | boolean;
547
+ vendorChunk?: boolean;
548
+ commonChunk?: boolean;
549
+ baseHref?: string;
550
+ deployUrl?: string;
551
+ verbose?: boolean;
552
+ progress?: boolean;
553
+ i18nMissingTranslation?: 'warning' | 'error' | 'ignore';
554
+ i18nDuplicateTranslation?: 'warning' | 'error' | 'ignore';
555
+ localize?: boolean | [string, ...string[]];
556
+ watch?: boolean;
557
+ outputHashing?: 'none' | 'all' | 'media' | 'bundles';
558
+ poll?: number;
559
+ deleteOutputPath?: boolean;
560
+ preserveSymlinks?: boolean;
561
+ extractLicenses?: boolean;
562
+ buildOptimizer?: boolean;
563
+ namedChunks?: boolean;
564
+ subresourceIntegrity?: boolean;
565
+ serviceWorker?: boolean;
566
+ ngswConfigPath?: string;
567
+ index?: string | {
568
+ input?: string;
569
+ output?: string;
570
+ [k: string]: unknown;
571
+ } | false;
572
+ statsJson?: boolean;
573
+ budgets?: Budget1[];
574
+ webWorkerTsConfig?: string;
575
+ crossOrigin?: 'none' | 'anonymous' | 'use-credentials';
576
+ allowedCommonJsDependencies?: string[];
577
+ }
578
+ interface FileReplacement {
579
+ replace?: string;
580
+ with?: string;
581
+ }
582
+ interface Budget1 {
583
+ type?: 'all' | 'allScript' | 'any' | 'anyScript' | 'anyComponentStyle' | 'bundle' | 'initial';
584
+ name?: string;
585
+ baseline?: string;
586
+ maximumWarning?: string;
587
+ maximumError?: string;
588
+ minimumWarning?: string;
589
+ minimumError?: string;
590
+ warning?: string;
591
+ error?: string;
592
+ }
593
+ interface DevServerTarget {
594
+ browserTarget?: string;
595
+ port?: number;
596
+ host?: string;
597
+ proxyConfig?: string;
598
+ ssl?: boolean;
599
+ sslKey?: string;
600
+ sslCert?: string;
601
+ headers?: {
602
+ [k: string]: string;
603
+ };
604
+ open?: boolean;
605
+ verbose?: boolean;
606
+ liveReload?: boolean;
607
+ publicHost?: string;
608
+ allowedHosts?: string[];
609
+ servePath?: string;
610
+ disableHostCheck?: boolean;
611
+ hmr?: boolean;
612
+ watch?: boolean;
613
+ poll?: number;
614
+ }
615
+ interface ExtractI18NTarget {
616
+ browserTarget?: string;
617
+ format?: 'xmb' | 'xlf' | 'xlif' | 'xliff' | 'xlf2' | 'xliff2' | 'json' | 'arb' | 'legacy-migrate';
618
+ progress?: boolean;
619
+ outputPath?: string;
620
+ outFile?: string;
621
+ }
622
+ interface KarmaTarget {
623
+ main?: string;
624
+ tsConfig?: string;
625
+ karmaConfig?: string;
626
+ polyfills?: string[] | string;
627
+ assets?: ({
628
+ glob?: string;
629
+ input?: string;
630
+ output?: string;
631
+ ignore?: string[];
632
+ } | string)[];
633
+ scripts?: ({
634
+ input?: string;
635
+ bundleName?: string;
636
+ inject?: boolean;
637
+ } | string)[];
638
+ styles?: ({
639
+ input?: string;
640
+ bundleName?: string;
641
+ inject?: boolean;
642
+ } | string)[];
643
+ inlineStyleLanguage?: 'css' | 'less' | 'sass' | 'scss';
644
+ stylePreprocessorOptions?: {
645
+ includePaths?: string[];
646
+ };
647
+ include?: string[];
648
+ exclude?: string[];
649
+ sourceMap?: {
650
+ scripts?: boolean;
651
+ styles?: boolean;
652
+ vendor?: boolean;
653
+ } | boolean;
654
+ progress?: boolean;
655
+ watch?: boolean;
656
+ poll?: number;
657
+ preserveSymlinks?: boolean;
658
+ browsers?: string;
659
+ codeCoverage?: boolean;
660
+ codeCoverageExclude?: string[];
661
+ fileReplacements?: ({
662
+ src?: string;
663
+ replaceWith?: string;
664
+ } | {
665
+ replace?: string;
666
+ with?: string;
667
+ })[];
668
+ reporters?: string[];
669
+ webWorkerTsConfig?: string;
670
+ }
671
+ interface JestBrowserSchemaForBuildFacade {
672
+ include?: string[];
673
+ exclude?: string[];
674
+ tsConfig?: string;
675
+ polyfills?: string[] | string;
676
+ }
677
+ interface ProtractorTarget {
678
+ protractorConfig?: string;
679
+ devServerTarget?: string;
680
+ grep?: string;
681
+ invertGrep?: boolean;
682
+ specs?: string[];
683
+ suite?: string;
684
+ webdriverUpdate?: boolean;
685
+ port?: number;
686
+ host?: string;
687
+ baseUrl?: string;
688
+ }
689
+ interface UniversalTarget {
690
+ assets?: ({
691
+ followSymlinks?: boolean;
692
+ glob?: string;
693
+ input?: string;
694
+ ignore?: string[];
695
+ output?: string;
696
+ } | string)[];
697
+ main?: string;
698
+ tsConfig?: string;
699
+ inlineStyleLanguage?: 'css' | 'less' | 'sass' | 'scss';
700
+ stylePreprocessorOptions?: {
701
+ includePaths?: string[];
702
+ };
703
+ optimization?: {
704
+ scripts?: boolean;
705
+ styles?: boolean;
706
+ } | boolean;
707
+ fileReplacements?: ({
708
+ src?: string;
709
+ replaceWith?: string;
710
+ } | {
711
+ replace?: string;
712
+ with?: string;
713
+ })[];
714
+ outputPath?: string;
715
+ resourcesOutputPath?: string;
716
+ sourceMap?: {
717
+ scripts?: boolean;
718
+ styles?: boolean;
719
+ hidden?: boolean;
720
+ vendor?: boolean;
721
+ } | boolean;
722
+ deployUrl?: string;
723
+ vendorChunk?: boolean;
724
+ verbose?: boolean;
725
+ progress?: boolean;
726
+ i18nMissingTranslation?: 'warning' | 'error' | 'ignore';
727
+ i18nDuplicateTranslation?: 'warning' | 'error' | 'ignore';
728
+ localize?: boolean | [string, ...string[]];
729
+ outputHashing?: 'none' | 'all' | 'media' | 'bundles';
730
+ deleteOutputPath?: boolean;
731
+ preserveSymlinks?: boolean;
732
+ extractLicenses?: boolean;
733
+ buildOptimizer?: boolean;
734
+ namedChunks?: boolean;
735
+ externalDependencies?: string[];
736
+ statsJson?: boolean;
737
+ watch?: boolean;
738
+ poll?: number;
739
+ }
740
+ interface NgPackagrTarget {
741
+ project?: string;
742
+ tsConfig?: string;
743
+ watch?: boolean;
744
+ }
745
+ export {};