From 291803c31f829fe0d32bb3207bc11def95a7408c Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 20:05:50 +0100 Subject: Urađena test aplikacija. Povezan front i back. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../node_modules/@angular/cli/lib/cli/index.d.ts | 12 + .../node_modules/@angular/cli/lib/cli/index.js | 110 + .../@angular/cli/lib/config/schema.json | 2845 ++++++++++++++++++++ .../@angular/cli/lib/config/workspace-schema.d.ts | 710 +++++ .../@angular/cli/lib/config/workspace-schema.js | 76 + .../Front/node_modules/@angular/cli/lib/init.d.ts | 8 + .../Front/node_modules/@angular/cli/lib/init.js | 128 + 7 files changed, 3889 insertions(+) create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.d.ts create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.js create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/schema.json create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.d.ts create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.js create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.d.ts create mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.js (limited to 'sandbox/testAppNevena/Front/node_modules/@angular/cli/lib') diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.d.ts new file mode 100644 index 00000000..f24b23c4 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.d.ts @@ -0,0 +1,12 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +export { VERSION, Version } from '../../models/version'; +export default function (options: { + testing?: boolean; + cliArgs: string[]; +}): Promise; diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.js b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.js new file mode 100644 index 00000000..9126dce7 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/cli/index.js @@ -0,0 +1,110 @@ +"use strict"; +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Version = exports.VERSION = void 0; +const node_1 = require("@angular-devkit/core/node"); +const util_1 = require("util"); +const command_runner_1 = require("../../models/command-runner"); +const color_1 = require("../../utilities/color"); +const config_1 = require("../../utilities/config"); +const log_file_1 = require("../../utilities/log-file"); +const project_1 = require("../../utilities/project"); +var version_1 = require("../../models/version"); +Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return version_1.VERSION; } }); +Object.defineProperty(exports, "Version", { enumerable: true, get: function () { return version_1.Version; } }); +const debugEnv = process.env['NG_DEBUG']; +const isDebug = debugEnv !== undefined && debugEnv !== '0' && debugEnv.toLowerCase() !== 'false'; +/* eslint-disable no-console */ +async function default_1(options) { + // This node version check ensures that the requirements of the project instance of the CLI are met + const version = process.versions.node.split('.').map((part) => Number(part)); + if (version[0] < 12 || (version[0] === 12 && version[1] < 20)) { + process.stderr.write(`Node.js version ${process.version} detected.\n` + + 'The Angular CLI requires a minimum v12.20.\n\n' + + 'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n'); + return 3; + } + const logger = (0, node_1.createConsoleLogger)(isDebug, process.stdout, process.stderr, { + info: (s) => (color_1.colors.enabled ? s : (0, color_1.removeColor)(s)), + debug: (s) => (color_1.colors.enabled ? s : (0, color_1.removeColor)(s)), + warn: (s) => (color_1.colors.enabled ? color_1.colors.bold.yellow(s) : (0, color_1.removeColor)(s)), + error: (s) => (color_1.colors.enabled ? color_1.colors.bold.red(s) : (0, color_1.removeColor)(s)), + fatal: (s) => (color_1.colors.enabled ? color_1.colors.bold.red(s) : (0, color_1.removeColor)(s)), + }); + // Redirect console to logger + console.info = console.log = function (...args) { + logger.info((0, util_1.format)(...args)); + }; + console.warn = function (...args) { + logger.warn((0, util_1.format)(...args)); + }; + console.error = function (...args) { + logger.error((0, util_1.format)(...args)); + }; + let workspace; + const workspaceFile = (0, project_1.findWorkspaceFile)(); + if (workspaceFile === null) { + const [, localPath] = (0, config_1.getWorkspaceRaw)('local'); + if (localPath !== null) { + logger.fatal(`An invalid configuration file was found ['${localPath}'].` + + ' Please delete the file before running the command.'); + return 1; + } + } + else { + try { + workspace = await config_1.AngularWorkspace.load(workspaceFile); + } + catch (e) { + logger.fatal(`Unable to read workspace file '${workspaceFile}': ${e.message}`); + return 1; + } + } + try { + const maybeExitCode = await (0, command_runner_1.runCommand)(options.cliArgs, logger, workspace); + if (typeof maybeExitCode === 'number') { + console.assert(Number.isInteger(maybeExitCode)); + return maybeExitCode; + } + return 0; + } + catch (err) { + if (err instanceof Error) { + try { + const logPath = (0, log_file_1.writeErrorToLogFile)(err); + logger.fatal(`An unhandled exception occurred: ${err.message}\n` + + `See "${logPath}" for further details.`); + } + catch (e) { + logger.fatal(`An unhandled exception occurred: ${err.message}\n` + + `Fatal error writing debug log file: ${e.message}`); + if (err.stack) { + logger.fatal(err.stack); + } + } + return 127; + } + else if (typeof err === 'string') { + logger.fatal(err); + } + else if (typeof err === 'number') { + // Log nothing. + } + else { + logger.fatal('An unexpected error occurred: ' + JSON.stringify(err)); + } + if (options.testing) { + // eslint-disable-next-line no-debugger + debugger; + throw err; + } + return 1; + } +} +exports.default = default_1; diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/schema.json b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/schema.json new file mode 100644 index 00000000..7d0c7fd2 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/schema.json @@ -0,0 +1,2845 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "ng-cli://config/schema.json", + "title": "Angular CLI Workspace Configuration", + "type": "object", + "properties": { + "$schema": { + "type": "string" + }, + "version": { + "$ref": "#/definitions/fileVersion" + }, + "cli": { + "$ref": "#/definitions/cliOptions" + }, + "schematics": { + "$ref": "#/definitions/schematicOptions" + }, + "newProjectRoot": { + "type": "string", + "description": "Path where new projects will be created." + }, + "defaultProject": { + "type": "string", + "description": "Default project name used in commands." + }, + "projects": { + "type": "object", + "patternProperties": { + "^(?:@[a-zA-Z0-9_-]+/)?[a-zA-Z0-9_-]+$": { + "$ref": "#/definitions/project" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "version" + ], + "definitions": { + "cliOptions": { + "type": "object", + "properties": { + "defaultCollection": { + "description": "The default schematics collection to use.", + "type": "string" + }, + "packageManager": { + "description": "Specify which package manager tool to use.", + "type": "string", + "enum": [ + "npm", + "cnpm", + "yarn", + "pnpm" + ] + }, + "warnings": { + "description": "Control CLI specific console warnings", + "type": "object", + "properties": { + "versionMismatch": { + "description": "Show a warning when the global version is newer than the local one.", + "type": "boolean" + } + } + }, + "analytics": { + "type": [ + "boolean", + "string" + ], + "description": "Share anonymous usage data with the Angular Team at Google." + }, + "analyticsSharing": { + "type": "object", + "properties": { + "tracking": { + "description": "Analytics sharing info tracking ID.", + "type": "string", + "pattern": "^(GA|UA)?-\\d+-\\d+$" + }, + "uuid": { + "description": "Analytics sharing info universally unique identifier.", + "type": "string", + "format": "uuid" + } + } + }, + "cache": { + "description": "Control disk cache.", + "type": "object", + "properties": { + "environment": { + "description": "Configure in which environment disk cache is enabled.", + "type": "string", + "enum": [ + "local", + "ci", + "all" + ] + }, + "enabled": { + "description": "Configure whether disk caching is enabled.", + "type": "boolean" + }, + "path": { + "description": "Cache base path.", + "type": "string" + } + } + } + }, + "additionalProperties": false + }, + "schematicOptions": { + "type": "object", + "properties": { + "@schematics/angular:application": { + "$ref": "#/definitions/SchematicsAngularApplicationSchema" + }, + "@schematics/angular:class": { + "$ref": "#/definitions/SchematicsAngularClassSchema" + }, + "@schematics/angular:component": { + "$ref": "#/definitions/SchematicsAngularComponentSchema" + }, + "@schematics/angular:directive": { + "$ref": "#/definitions/SchematicsAngularDirectiveSchema" + }, + "@schematics/angular:enum": { + "$ref": "#/definitions/SchematicsAngularEnumSchema" + }, + "@schematics/angular:guard": { + "$ref": "#/definitions/SchematicsAngularGuardSchema" + }, + "@schematics/angular:interceptor": { + "$ref": "#/definitions/SchematicsAngularInterceptorSchema" + }, + "@schematics/angular:interface": { + "$ref": "#/definitions/SchematicsAngularInterfaceSchema" + }, + "@schematics/angular:library": { + "$ref": "#/definitions/SchematicsAngularLibrarySchema" + }, + "@schematics/angular:pipe": { + "$ref": "#/definitions/SchematicsAngularPipeSchema" + }, + "@schematics/angular:ng-new": { + "$ref": "#/definitions/SchematicsAngularNgNewSchema" + }, + "@schematics/angular:resolver": { + "$ref": "#/definitions/SchematicsAngularResolverSchema" + }, + "@schematics/angular:service": { + "$ref": "#/definitions/SchematicsAngularServiceSchema" + }, + "@schematics/angular:web-worker": { + "$ref": "#/definitions/SchematicsAngularWebWorkerSchema" + } + }, + "additionalProperties": { + "type": "object" + } + }, + "fileVersion": { + "type": "integer", + "description": "File format version", + "minimum": 1 + }, + "project": { + "type": "object", + "properties": { + "cli": { + "defaultCollection": { + "description": "The default schematics collection to use.", + "type": "string" + } + }, + "schematics": { + "$ref": "#/definitions/schematicOptions" + }, + "prefix": { + "type": "string", + "format": "html-selector", + "description": "The prefix to apply to generated selectors." + }, + "root": { + "type": "string", + "description": "Root of the project files." + }, + "i18n": { + "$ref": "#/definitions/project/definitions/i18n" + }, + "sourceRoot": { + "type": "string", + "description": "The root of the source files, assets and index.html file structure." + }, + "projectType": { + "type": "string", + "description": "Project type.", + "enum": [ + "application", + "library" + ] + }, + "architect": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/project/definitions/target" + } + }, + "targets": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/project/definitions/target" + } + } + }, + "required": [ + "root", + "projectType" + ], + "anyOf": [ + { + "required": [ + "architect" + ], + "not": { + "required": [ + "targets" + ] + } + }, + { + "required": [ + "targets" + ], + "not": { + "required": [ + "architect" + ] + } + }, + { + "not": { + "required": [ + "targets", + "architect" + ] + } + } + ], + "additionalProperties": false, + "patternProperties": { + "^[a-z]{1,3}-.*": {} + }, + "definitions": { + "i18n": { + "description": "Project i18n options", + "type": "object", + "properties": { + "sourceLocale": { + "oneOf": [ + { + "type": "string", + "description": "Specifies the source locale of the application.", + "default": "en-US", + "$comment": "IETF BCP 47 language tag (simplified)", + "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$" + }, + { + "type": "object", + "description": "Localization options to use for the source locale", + "properties": { + "code": { + "type": "string", + "description": "Specifies the locale code of the source locale", + "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$" + }, + "baseHref": { + "type": "string", + "description": "HTML base HREF to use for the locale (defaults to the locale code)" + } + }, + "additionalProperties": false + } + ] + }, + "locales": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$": { + "oneOf": [ + { + "type": "string", + "description": "Localization file to use for i18n" + }, + { + "type": "array", + "description": "Localization files to use for i18n", + "items": { + "type": "string", + "uniqueItems": true + } + }, + { + "type": "object", + "description": "Localization options to use for the locale", + "properties": { + "translation": { + "oneOf": [ + { + "type": "string", + "description": "Localization file to use for i18n" + }, + { + "type": "array", + "description": "Localization files to use for i18n", + "items": { + "type": "string", + "uniqueItems": true + } + } + ] + }, + "baseHref": { + "type": "string", + "description": "HTML base HREF to use for the locale (defaults to the locale code)" + } + }, + "additionalProperties": false + } + ] + } + } + } + }, + "additionalProperties": false + }, + "target": { + "oneOf": [ + { + "$comment": "Extendable target with custom builder", + "type": "object", + "properties": { + "builder": { + "type": "string", + "description": "The builder used for this package.", + "not": { + "enum": [ + "@angular-devkit/build-angular:app-shell", + "@angular-devkit/build-angular:browser", + "@angular-devkit/build-angular:dev-server", + "@angular-devkit/build-angular:extract-i18n", + "@angular-devkit/build-angular:karma", + "@angular-devkit/build-angular:protractor", + "@angular-devkit/build-angular:server", + "@angular-devkit/build-angular:ng-packagr" + ] + } + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "type": "object" + }, + "configurations": { + "type": "object", + "description": "A map of alternative target options.", + "additionalProperties": { + "type": "object" + } + } + }, + "additionalProperties": false, + "required": [ + "builder" + ] + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:app-shell" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersAppShellSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersAppShellSchema" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:browser" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserSchema" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:dev-server" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersDevServerSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersDevServerSchema" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:extract-i18n" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersExtractI18nSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersExtractI18nSchema" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:karma" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersKarmaSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersKarmaSchema" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:protractor" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersProtractorSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersProtractorSchema" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:server" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersServerSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersServerSchema" + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "builder": { + "const": "@angular-devkit/build-angular:ng-packagr" + }, + "defaultConfiguration": { + "type": "string", + "description": "A default named configuration to use when a target configuration is not provided." + }, + "options": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersNgPackagrSchema" + }, + "configurations": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersNgPackagrSchema" + } + } + } + } + ] + } + } + }, + "global": { + "type": "object", + "properties": { + "$schema": { + "type": "string", + "format": "uri" + }, + "version": { + "$ref": "#/definitions/fileVersion" + }, + "cli": { + "$ref": "#/definitions/cliOptions" + }, + "schematics": { + "$ref": "#/definitions/schematicOptions" + } + }, + "required": [ + "version" + ] + }, + "SchematicsAngularApplicationSchema": { + "title": "Angular Application Options Schema", + "type": "object", + "description": "Generates a new basic app definition in the \"projects\" subfolder of the workspace.", + "additionalProperties": false, + "properties": { + "projectRoot": { + "description": "The root directory of the new app.", + "type": "string", + "visible": false + }, + "name": { + "description": "The name of the new app.", + "type": "string", + "pattern": "^(?:@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*/)?[a-zA-Z0-9-~][a-zA-Z0-9-._~]*$", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the application?" + }, + "inlineStyle": { + "description": "Include styles inline in the root component.ts file. Only CSS styles can be included inline. Default is false, meaning that an external styles file is created and referenced in the root component.ts file.", + "type": "boolean", + "alias": "s", + "x-user-analytics": 9 + }, + "inlineTemplate": { + "description": "Include template inline in the root component.ts file. Default is false, meaning that an external template file is created and referenced in the root component.ts file. ", + "type": "boolean", + "alias": "t", + "x-user-analytics": 10 + }, + "viewEncapsulation": { + "description": "The view encapsulation strategy to use in the new application.", + "enum": [ + "Emulated", + "None", + "ShadowDom" + ], + "type": "string", + "x-user-analytics": 11 + }, + "routing": { + "type": "boolean", + "description": "Create a routing NgModule.", + "default": false, + "x-prompt": "Would you like to add Angular routing?", + "x-user-analytics": 17 + }, + "prefix": { + "type": "string", + "format": "html-selector", + "description": "A prefix to apply to generated selectors.", + "default": "app", + "alias": "p" + }, + "style": { + "description": "The file extension or preprocessor to use for style files.", + "type": "string", + "default": "css", + "enum": [ + "css", + "scss", + "sass", + "less" + ], + "x-prompt": { + "message": "Which stylesheet format would you like to use?", + "type": "list", + "items": [ + { + "value": "css", + "label": "CSS" + }, + { + "value": "scss", + "label": "SCSS [ https://sass-lang.com/documentation/syntax#scss ]" + }, + { + "value": "sass", + "label": "Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]" + }, + { + "value": "less", + "label": "Less [ http://lesscss.org ]" + } + ] + }, + "x-user-analytics": 5 + }, + "skipTests": { + "description": "Do not create \"spec.ts\" test files for the application.", + "type": "boolean", + "default": false, + "alias": "S", + "x-user-analytics": 12 + }, + "skipPackageJson": { + "type": "boolean", + "default": false, + "description": "Do not add dependencies to the \"package.json\" file." + }, + "minimal": { + "description": "Create a bare-bones project without any testing frameworks. (Use for learning purposes only.)", + "type": "boolean", + "default": false, + "x-user-analytics": 14 + }, + "skipInstall": { + "description": "Skip installing dependency packages.", + "type": "boolean", + "default": false + }, + "strict": { + "description": "Creates an application with stricter bundle budgets settings.", + "type": "boolean", + "default": true, + "x-user-analytics": 7 + } + } + }, + "SchematicsAngularClassSchema": { + "title": "Angular Class Options Schema", + "type": "object", + "description": "Creates a new, generic class definition in the given or default project.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the new class.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the class?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the class, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new class.", + "default": false, + "x-user-analytics": 12 + }, + "type": { + "type": "string", + "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".", + "default": "" + } + } + }, + "SchematicsAngularComponentSchema": { + "title": "Angular Component Options Schema", + "type": "object", + "description": "Creates a new, generic component definition in the given or default project.", + "additionalProperties": false, + "properties": { + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the component file, relative to the current workspace. Default is a folder with the same name as the component in the project root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "name": { + "type": "string", + "description": "The name of the component.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the component?" + }, + "displayBlock": { + "description": "Specifies if the style will contain `:host { display: block; }`.", + "type": "boolean", + "default": false, + "alias": "b" + }, + "inlineStyle": { + "description": "Include styles inline in the component.ts file. Only CSS styles can be included inline. By default, an external styles file is created and referenced in the component.ts file.", + "type": "boolean", + "default": false, + "alias": "s", + "x-user-analytics": 9 + }, + "inlineTemplate": { + "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.", + "type": "boolean", + "default": false, + "alias": "t", + "x-user-analytics": 10 + }, + "viewEncapsulation": { + "description": "The view encapsulation strategy to use in the new component.", + "enum": [ + "Emulated", + "None", + "ShadowDom" + ], + "type": "string", + "alias": "v", + "x-user-analytics": 11 + }, + "changeDetection": { + "description": "The change detection strategy to use in the new component.", + "enum": [ + "Default", + "OnPush" + ], + "type": "string", + "default": "Default", + "alias": "c" + }, + "prefix": { + "type": "string", + "description": "The prefix to apply to the generated component selector.", + "alias": "p", + "oneOf": [ + { + "maxLength": 0 + }, + { + "minLength": 1, + "format": "html-selector" + } + ] + }, + "style": { + "description": "The file extension or preprocessor to use for style files, or 'none' to skip generating the style file.", + "type": "string", + "default": "css", + "enum": [ + "css", + "scss", + "sass", + "less", + "none" + ], + "x-user-analytics": 5 + }, + "type": { + "type": "string", + "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".", + "default": "Component" + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new component.", + "default": false, + "x-user-analytics": 12 + }, + "flat": { + "type": "boolean", + "description": "Create the new files at the top level of the current project.", + "default": false + }, + "skipImport": { + "type": "boolean", + "description": "Do not import this component into the owning NgModule.", + "default": false, + "x-user-analytics": 18 + }, + "selector": { + "type": "string", + "format": "html-selector", + "description": "The HTML selector to use for this component." + }, + "skipSelector": { + "type": "boolean", + "default": false, + "description": "Specifies if the component should have a selector or not." + }, + "module": { + "type": "string", + "description": "The declaring NgModule.", + "alias": "m" + }, + "export": { + "type": "boolean", + "default": false, + "description": "The declaring NgModule exports this component.", + "x-user-analytics": 19 + } + } + }, + "SchematicsAngularDirectiveSchema": { + "title": "Angular Directive Options Schema", + "type": "object", + "description": "Creates a new, generic directive definition in the given or default project.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the new directive.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the directive?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the interface that defines the directive, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "prefix": { + "type": "string", + "description": "A prefix to apply to generated selectors.", + "alias": "p", + "oneOf": [ + { + "maxLength": 0 + }, + { + "minLength": 1, + "format": "html-selector" + } + ] + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new class.", + "default": false, + "x-user-analytics": 12 + }, + "skipImport": { + "type": "boolean", + "description": "Do not import this directive into the owning NgModule.", + "default": false, + "x-user-analytics": 18 + }, + "selector": { + "type": "string", + "format": "html-selector", + "description": "The HTML selector to use for this directive." + }, + "flat": { + "type": "boolean", + "description": "When true (the default), creates the new files at the top level of the current project.", + "default": true + }, + "module": { + "type": "string", + "description": "The declaring NgModule.", + "alias": "m" + }, + "export": { + "type": "boolean", + "default": false, + "description": "The declaring NgModule exports this directive.", + "x-user-analytics": 19 + } + } + }, + "SchematicsAngularEnumSchema": { + "title": "Angular Enum Options Schema", + "type": "object", + "description": "Generates a new, generic enum definition for the given or default project.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the enum.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the enum?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the enum definition, relative to the current workspace.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project in which to create the enum. Default is the configured default project for the workspace.", + "$default": { + "$source": "projectName" + } + }, + "type": { + "type": "string", + "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\"." + } + } + }, + "SchematicsAngularGuardSchema": { + "title": "Angular Guard Options Schema", + "type": "object", + "description": "Generates a new, generic route guard definition in the given or default project.", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the new route guard.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the guard?" + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new guard.", + "default": false, + "x-user-analytics": 12 + }, + "flat": { + "type": "boolean", + "description": "When true (the default), creates the new files at the top level of the current project.", + "default": true + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the interface that defines the guard, relative to the current workspace.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "implements": { + "type": "array", + "description": "Specifies which interfaces to implement.", + "uniqueItems": true, + "minItems": 1, + "items": { + "enum": [ + "CanActivate", + "CanActivateChild", + "CanDeactivate", + "CanLoad" + ], + "type": "string" + }, + "default": [ + "CanActivate" + ], + "x-prompt": "Which interfaces would you like to implement?" + } + } + }, + "SchematicsAngularInterceptorSchema": { + "title": "Angular Interceptor Options Schema", + "type": "object", + "additionalProperties": false, + "description": "Creates a new, generic interceptor definition in the given or default project.", + "properties": { + "name": { + "type": "string", + "description": "The name of the interceptor.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the interceptor?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the interceptor, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "flat": { + "type": "boolean", + "default": true, + "description": "When true (the default), creates files at the top level of the project." + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new interceptor.", + "default": false, + "x-user-analytics": 12 + } + } + }, + "SchematicsAngularInterfaceSchema": { + "title": "Angular Interface Options Schema", + "type": "object", + "additionalProperties": false, + "description": "Creates a new, generic interface definition in the given or default project.", + "properties": { + "name": { + "type": "string", + "description": "The name of the interface.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the interface?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the interface, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "prefix": { + "type": "string", + "default": "", + "description": "A prefix to apply to generated selectors." + }, + "type": { + "type": "string", + "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".", + "$default": { + "$source": "argv", + "index": 1 + } + } + } + }, + "SchematicsAngularLibrarySchema": { + "title": "Library Options Schema", + "type": "object", + "description": "Creates a new, generic library project in the current workspace.", + "long-description": "./library-long.md", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the library.", + "pattern": "^(?:@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*/)?[a-zA-Z0-9-~][a-zA-Z0-9-._~]*$", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the library?" + }, + "entryFile": { + "type": "string", + "format": "path", + "description": "The path at which to create the library's public API file, relative to the workspace root.", + "default": "public-api" + }, + "prefix": { + "type": "string", + "format": "html-selector", + "description": "A prefix to apply to generated selectors.", + "default": "lib", + "alias": "p" + }, + "skipPackageJson": { + "type": "boolean", + "default": false, + "description": "Do not add dependencies to the \"package.json\" file. " + }, + "skipInstall": { + "description": "Do not install dependency packages.", + "type": "boolean", + "default": false + }, + "skipTsConfig": { + "type": "boolean", + "default": false, + "description": "Do not update \"tsconfig.json\" to add a path mapping for the new library. The path mapping is needed to use the library in an app, but can be disabled here to simplify development." + } + } + }, + "SchematicsAngularPipeSchema": { + "title": "Angular Pipe Options Schema", + "type": "object", + "additionalProperties": false, + "description": "Creates a new, generic pipe definition in the given or default project.", + "properties": { + "name": { + "type": "string", + "description": "The name of the pipe.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the pipe?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the pipe, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "flat": { + "type": "boolean", + "default": true, + "description": "When true (the default) creates files at the top level of the project." + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new pipe.", + "default": false, + "x-user-analytics": 12 + }, + "skipImport": { + "type": "boolean", + "default": false, + "description": "Do not import this pipe into the owning NgModule.", + "x-user-analytics": 18 + }, + "module": { + "type": "string", + "description": "The declaring NgModule.", + "alias": "m" + }, + "export": { + "type": "boolean", + "default": false, + "description": "The declaring NgModule exports this pipe.", + "x-user-analytics": 19 + } + } + }, + "SchematicsAngularNgNewSchema": { + "title": "Angular Ng New Options Schema", + "type": "object", + "description": "Creates a new project by combining the workspace and application schematics.", + "additionalProperties": false, + "properties": { + "directory": { + "type": "string", + "description": "The directory name to create the workspace in." + }, + "name": { + "description": "The name of the new workspace and initial project.", + "type": "string", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the new workspace and initial project?" + }, + "skipInstall": { + "description": "Do not install dependency packages.", + "type": "boolean", + "default": false + }, + "linkCli": { + "description": "Link the CLI to the global version (internal development only).", + "type": "boolean", + "default": false, + "visible": false + }, + "skipGit": { + "description": "Do not initialize a git repository.", + "type": "boolean", + "default": false, + "alias": "g" + }, + "commit": { + "description": "Initial git repository commit information.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string", + "format": "email" + }, + "message": { + "type": "string" + } + } + } + ], + "default": true + }, + "newProjectRoot": { + "description": "The path where new projects will be created, relative to the new workspace root.", + "type": "string", + "default": "projects" + }, + "inlineStyle": { + "description": "Include styles inline in the component TS file. By default, an external styles file is created and referenced in the component TypeScript file.", + "type": "boolean", + "alias": "s", + "x-user-analytics": 9 + }, + "inlineTemplate": { + "description": "Include template inline in the component TS file. By default, an external template file is created and referenced in the component TypeScript file.", + "type": "boolean", + "alias": "t", + "x-user-analytics": 10 + }, + "viewEncapsulation": { + "description": "The view encapsulation strategy to use in the initial project.", + "enum": [ + "Emulated", + "None", + "ShadowDom" + ], + "type": "string", + "x-user-analytics": 11 + }, + "version": { + "type": "string", + "description": "The version of the Angular CLI to use.", + "visible": false, + "$default": { + "$source": "ng-cli-version" + } + }, + "routing": { + "type": "boolean", + "description": "Generate a routing module for the initial project.", + "x-user-analytics": 17 + }, + "prefix": { + "type": "string", + "format": "html-selector", + "description": "The prefix to apply to generated selectors for the initial project.", + "minLength": 1, + "default": "app", + "alias": "p" + }, + "style": { + "description": "The file extension or preprocessor to use for style files.", + "type": "string", + "enum": [ + "css", + "scss", + "sass", + "less" + ], + "x-user-analytics": 5 + }, + "skipTests": { + "description": "Do not generate \"spec.ts\" test files for the new project.", + "type": "boolean", + "default": false, + "alias": "S", + "x-user-analytics": 12 + }, + "createApplication": { + "description": "Create a new initial application project in the 'src' folder of the new workspace. When false, creates an empty workspace with no initial application. You can then use the generate application command so that all applications are created in the projects folder.", + "type": "boolean", + "default": true + }, + "minimal": { + "description": "Create a workspace without any testing frameworks. (Use for learning purposes only.)", + "type": "boolean", + "default": false, + "x-user-analytics": 14 + }, + "strict": { + "description": "Creates a workspace with stricter type checking and stricter bundle budgets settings. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.io/guide/strict-mode", + "type": "boolean", + "default": true, + "x-user-analytics": 7 + }, + "packageManager": { + "description": "The package manager used to install dependencies.", + "type": "string", + "enum": [ + "npm", + "yarn", + "pnpm", + "cnpm" + ] + } + } + }, + "SchematicsAngularResolverSchema": { + "title": "Angular resolver Options Schema", + "type": "object", + "additionalProperties": false, + "description": "Generates a new, generic resolver definition in the given or default project.", + "properties": { + "name": { + "type": "string", + "description": "The name of the new resolver.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the resolver?" + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new resolver.", + "default": false, + "x-user-analytics": 12 + }, + "flat": { + "type": "boolean", + "description": "When true (the default), creates the new files at the top level of the current project.", + "default": true + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the interface that defines the resolver, relative to the current workspace.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + } + } + }, + "SchematicsAngularServiceSchema": { + "title": "Angular Service Options Schema", + "type": "object", + "additionalProperties": false, + "description": "Creates a new, generic service definition in the given or default project.", + "properties": { + "name": { + "type": "string", + "description": "The name of the service.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the service?" + }, + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the service, relative to the workspace root.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "flat": { + "type": "boolean", + "default": true, + "description": "When true (the default), creates files at the top level of the project." + }, + "skipTests": { + "type": "boolean", + "description": "Do not create \"spec.ts\" test files for the new service.", + "default": false, + "x-user-analytics": 12 + } + } + }, + "SchematicsAngularWebWorkerSchema": { + "title": "Angular Web Worker Options Schema", + "type": "object", + "additionalProperties": false, + "description": "Creates a new, generic web worker definition in the given or default project.", + "properties": { + "path": { + "type": "string", + "format": "path", + "description": "The path at which to create the worker file, relative to the current workspace.", + "visible": false + }, + "project": { + "type": "string", + "description": "The name of the project.", + "$default": { + "$source": "projectName" + } + }, + "name": { + "type": "string", + "description": "The name of the worker.", + "$default": { + "$source": "argv", + "index": 0 + }, + "x-prompt": "What name would you like to use for the worker?" + }, + "snippet": { + "type": "boolean", + "default": true, + "description": "Add a worker creation snippet in a sibling file of the same name." + } + } + }, + "AngularDevkitBuildAngularBuildersAppShellSchema": { + "title": "App Shell Target", + "description": "App Shell target options for Build Facade.", + "type": "object", + "properties": { + "browserTarget": { + "type": "string", + "description": "A browser builder target use for rendering the app shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", + "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" + }, + "serverTarget": { + "type": "string", + "description": "A server builder target use for rendering the app shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", + "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" + }, + "appModuleBundle": { + "type": "string", + "description": "Script that exports the Server AppModule to render. This should be the main JavaScript outputted by the server target. By default we will resolve the outputPath of the serverTarget and find a bundle named 'main' in it (whether or not there's a hash tag)." + }, + "route": { + "type": "string", + "description": "The route to render.", + "default": "/" + }, + "inputIndexPath": { + "type": "string", + "description": "The input path for the index.html file. By default uses the output index.html of the browser target." + }, + "outputIndexPath": { + "type": "string", + "description": "The output path of the index.html file. By default will overwrite the input file." + } + }, + "additionalProperties": false + }, + "AngularDevkitBuildAngularBuildersBrowserSchema": { + "title": "Webpack browser schema for Build Facade.", + "description": "Browser target options", + "type": "object", + "properties": { + "assets": { + "type": "array", + "description": "List of static application assets.", + "default": [], + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserSchema/definitions/assetPattern" + } + }, + "main": { + "type": "string", + "description": "The full path for the main entry point to the app, relative to the current workspace." + }, + "polyfills": { + "type": "string", + "description": "The full path for the polyfills file, relative to the current workspace." + }, + "tsConfig": { + "type": "string", + "description": "The full path for the TypeScript configuration file, relative to the current workspace." + }, + "scripts": { + "description": "Global scripts to be included in the build.", + "type": "array", + "default": [], + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserSchema/definitions/extraEntryPoint" + } + }, + "styles": { + "description": "Global styles to be included in the build.", + "type": "array", + "default": [], + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserSchema/definitions/extraEntryPoint" + } + }, + "inlineStyleLanguage": { + "description": "The stylesheet language to use for the application's inline component styles.", + "type": "string", + "default": "css", + "enum": [ + "css", + "less", + "sass", + "scss" + ] + }, + "stylePreprocessorOptions": { + "description": "Options to pass to style preprocessors.", + "type": "object", + "properties": { + "includePaths": { + "description": "Paths to include. Paths will be resolved to workspace root.", + "type": "array", + "items": { + "type": "string" + }, + "default": [] + } + }, + "additionalProperties": false + }, + "optimization": { + "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.", + "x-user-analytics": 16, + "default": true, + "oneOf": [ + { + "type": "object", + "properties": { + "scripts": { + "type": "boolean", + "description": "Enables optimization of the scripts output.", + "default": true + }, + "styles": { + "description": "Enables optimization of the styles output.", + "default": true, + "oneOf": [ + { + "type": "object", + "properties": { + "minify": { + "type": "boolean", + "description": "Minify CSS definitions by removing extraneous whitespace and comments, merging identifiers and minimizing values.", + "default": true + }, + "inlineCritical": { + "type": "boolean", + "description": "Extract and inline critical CSS definitions to improve first paint time.", + "default": true + } + }, + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "fonts": { + "description": "Enables optimization for fonts. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.", + "default": true, + "oneOf": [ + { + "type": "object", + "properties": { + "inline": { + "type": "boolean", + "description": "Reduce render blocking requests by inlining external Google Fonts and Adobe Fonts CSS definitions in the application's HTML index file. This option requires internet access. `HTTPS_PROXY` environment variable can be used to specify a proxy server.", + "default": true + } + }, + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + } + }, + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "fileReplacements": { + "description": "Replace compilation source files with other compilation source files in the build.", + "type": "array", + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserSchema/definitions/fileReplacement" + }, + "default": [] + }, + "outputPath": { + "type": "string", + "description": "The full path for the new output directory, relative to the current workspace.\n\nBy default, writes output to a folder named dist/ in the current project." + }, + "resourcesOutputPath": { + "type": "string", + "description": "The path where style resources will be placed, relative to outputPath.", + "default": "" + }, + "aot": { + "type": "boolean", + "description": "Build using Ahead of Time compilation.", + "x-user-analytics": 13, + "default": true + }, + "sourceMap": { + "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.", + "default": false, + "oneOf": [ + { + "type": "object", + "properties": { + "scripts": { + "type": "boolean", + "description": "Output source maps for all scripts.", + "default": true + }, + "styles": { + "type": "boolean", + "description": "Output source maps for all styles.", + "default": true + }, + "hidden": { + "type": "boolean", + "description": "Output source maps used for error reporting tools.", + "default": false + }, + "vendor": { + "type": "boolean", + "description": "Resolve vendor packages source maps.", + "default": false + } + }, + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "vendorChunk": { + "type": "boolean", + "description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.", + "default": false + }, + "commonChunk": { + "type": "boolean", + "description": "Generate a seperate bundle containing code used across multiple bundles.", + "default": true + }, + "baseHref": { + "type": "string", + "description": "Base url for the application being built." + }, + "deployUrl": { + "type": "string", + "description": "URL where files will be deployed.", + "x-deprecated": "Use \"baseHref\" option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url." + }, + "verbose": { + "type": "boolean", + "description": "Adds more details to output logging.", + "default": false + }, + "progress": { + "type": "boolean", + "description": "Log progress to the console while building.", + "default": true + }, + "i18nMissingTranslation": { + "type": "string", + "description": "How to handle missing translations for i18n.", + "enum": [ + "warning", + "error", + "ignore" + ], + "default": "warning" + }, + "i18nDuplicateTranslation": { + "type": "string", + "description": "How to handle duplicate translations for i18n.", + "enum": [ + "warning", + "error", + "ignore" + ], + "default": "warning" + }, + "localize": { + "description": "Translate the bundles in one or more locales.", + "oneOf": [ + { + "type": "boolean", + "description": "Translate all locales." + }, + { + "type": "array", + "description": "List of locales ID's to translate.", + "minItems": 1, + "items": { + "type": "string", + "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$" + } + } + ] + }, + "watch": { + "type": "boolean", + "description": "Run build when files change.", + "default": false + }, + "outputHashing": { + "type": "string", + "description": "Define the output filename cache-busting hashing mode.", + "default": "none", + "enum": [ + "none", + "all", + "media", + "bundles" + ] + }, + "poll": { + "type": "number", + "description": "Enable and define the file watching poll time period in milliseconds." + }, + "deleteOutputPath": { + "type": "boolean", + "description": "Delete the output path before building.", + "default": true + }, + "preserveSymlinks": { + "type": "boolean", + "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set." + }, + "extractLicenses": { + "type": "boolean", + "description": "Extract all licenses in a separate file.", + "default": true + }, + "showCircularDependencies": { + "type": "boolean", + "description": "Show circular dependency warnings on builds.", + "default": false, + "x-deprecated": "The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tooling." + }, + "buildOptimizer": { + "type": "boolean", + "description": "Enables '@angular-devkit/build-optimizer' optimizations when using the 'aot' option.", + "default": true + }, + "namedChunks": { + "type": "boolean", + "description": "Use file name for lazy loaded chunks.", + "default": false + }, + "subresourceIntegrity": { + "type": "boolean", + "description": "Enables the use of subresource integrity validation.", + "default": false + }, + "serviceWorker": { + "type": "boolean", + "description": "Generates a service worker config for production builds.", + "default": false + }, + "ngswConfigPath": { + "type": "string", + "description": "Path to ngsw-config.json." + }, + "index": { + "description": "Configures the generation of the application's HTML index.", + "oneOf": [ + { + "type": "string", + "description": "The path of a file to use for the application's HTML index. The filename of the specified path will be used for the generated file and will be created in the root of the application's configured output path." + }, + { + "type": "object", + "description": "", + "properties": { + "input": { + "type": "string", + "minLength": 1, + "description": "The path of a file to use for the application's generated HTML index." + }, + "output": { + "type": "string", + "minLength": 1, + "default": "index.html", + "description": "The output path of the application's generated HTML index file. The full provided path will be used and will be considered relative to the application's configured output path." + } + } + } + ] + }, + "statsJson": { + "type": "boolean", + "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.", + "default": false + }, + "budgets": { + "description": "Budget thresholds to ensure parts of your application stay within boundaries which you set.", + "type": "array", + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersBrowserSchema/definitions/budget" + }, + "default": [] + }, + "webWorkerTsConfig": { + "type": "string", + "description": "TypeScript configuration for Web Worker modules." + }, + "crossOrigin": { + "type": "string", + "description": "Define the crossorigin attribute setting of elements that provide CORS support.", + "default": "none", + "enum": [ + "none", + "anonymous", + "use-credentials" + ] + }, + "allowedCommonJsDependencies": { + "description": "A list of CommonJS packages that are allowed to be used without a build time warning.", + "type": "array", + "items": { + "type": "string" + }, + "default": [] + } + }, + "additionalProperties": false, + "definitions": { + "assetPattern": { + "oneOf": [ + { + "type": "object", + "properties": { + "followSymlinks": { + "type": "boolean", + "default": false, + "description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched." + }, + "glob": { + "type": "string", + "description": "The pattern to match." + }, + "input": { + "type": "string", + "description": "The input directory path in which to apply 'glob'. Defaults to the project root." + }, + "ignore": { + "description": "An array of globs to ignore.", + "type": "array", + "items": { + "type": "string" + } + }, + "output": { + "type": "string", + "description": "Absolute path within the output." + } + }, + "additionalProperties": false + }, + { + "type": "string" + } + ] + }, + "fileReplacement": { + "oneOf": [ + { + "type": "object", + "properties": { + "src": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + }, + "replaceWith": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "replace": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + }, + "with": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + } + }, + "additionalProperties": false + } + ] + }, + "extraEntryPoint": { + "oneOf": [ + { + "type": "object", + "properties": { + "input": { + "type": "string", + "description": "The file to include." + }, + "bundleName": { + "type": "string", + "pattern": "^[\\w\\-.]*$", + "description": "The bundle name for this extra entry point." + }, + "inject": { + "type": "boolean", + "description": "If the bundle will be referenced in the HTML file.", + "default": true + } + }, + "additionalProperties": false + }, + { + "type": "string", + "description": "The file to include." + } + ] + }, + "budget": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of budget.", + "enum": [ + "all", + "allScript", + "any", + "anyScript", + "anyComponentStyle", + "bundle", + "initial" + ] + }, + "name": { + "type": "string", + "description": "The name of the bundle." + }, + "baseline": { + "type": "string", + "description": "The baseline size for comparison." + }, + "maximumWarning": { + "type": "string", + "description": "The maximum threshold for warning relative to the baseline." + }, + "maximumError": { + "type": "string", + "description": "The maximum threshold for error relative to the baseline." + }, + "minimumWarning": { + "type": "string", + "description": "The minimum threshold for warning relative to the baseline." + }, + "minimumError": { + "type": "string", + "description": "The minimum threshold for error relative to the baseline." + }, + "warning": { + "type": "string", + "description": "The threshold for warning relative to the baseline (min & max)." + }, + "error": { + "type": "string", + "description": "The threshold for error relative to the baseline (min & max)." + } + }, + "additionalProperties": false + } + } + }, + "AngularDevkitBuildAngularBuildersDevServerSchema": { + "title": "Dev Server Target", + "description": "Dev Server target options for Build Facade.", + "type": "object", + "properties": { + "browserTarget": { + "type": "string", + "description": "A browser builder target to serve in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", + "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" + }, + "port": { + "type": "number", + "description": "Port to listen on.", + "default": 4200 + }, + "host": { + "type": "string", + "description": "Host to listen on.", + "default": "localhost" + }, + "proxyConfig": { + "type": "string", + "description": "Proxy configuration file. For more information, see https://angular.io/guide/build#proxying-to-a-backend-server." + }, + "ssl": { + "type": "boolean", + "description": "Serve using HTTPS.", + "default": false + }, + "sslKey": { + "type": "string", + "description": "SSL key to use for serving HTTPS." + }, + "sslCert": { + "type": "string", + "description": "SSL certificate to use for serving HTTPS." + }, + "headers": { + "type": "object", + "description": "Custom HTTP headers to be added to all responses.", + "propertyNames": { + "pattern": "^[-_A-Za-z0-9]+$" + }, + "additionalProperties": { + "type": "string" + } + }, + "open": { + "type": "boolean", + "description": "Opens the url in default browser.", + "default": false, + "alias": "o" + }, + "verbose": { + "type": "boolean", + "description": "Adds more details to output logging." + }, + "liveReload": { + "type": "boolean", + "description": "Whether to reload the page on change, using live-reload.", + "default": true + }, + "publicHost": { + "type": "string", + "description": "The URL that the browser client (or live-reload client, if enabled) should use to connect to the development server. Use for a complex dev server setup, such as one with reverse proxies." + }, + "allowedHosts": { + "type": "array", + "description": "List of hosts that are allowed to access the dev server.", + "default": [], + "items": { + "type": "string" + } + }, + "servePath": { + "type": "string", + "description": "The pathname where the app will be served." + }, + "disableHostCheck": { + "type": "boolean", + "description": "Don't verify connected clients are part of allowed hosts.", + "default": false + }, + "hmr": { + "type": "boolean", + "description": "Enable hot module replacement.", + "default": false + }, + "watch": { + "type": "boolean", + "description": "Rebuild on change.", + "default": true + }, + "poll": { + "type": "number", + "description": "Enable and define the file watching poll time period in milliseconds." + } + }, + "additionalProperties": false + }, + "AngularDevkitBuildAngularBuildersExtractI18nSchema": { + "title": "Extract i18n Target", + "description": "Extract i18n target options for Build Facade.", + "type": "object", + "properties": { + "browserTarget": { + "type": "string", + "description": "A browser builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", + "pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$" + }, + "format": { + "type": "string", + "description": "Output format for the generated file.", + "default": "xlf", + "enum": [ + "xmb", + "xlf", + "xlif", + "xliff", + "xlf2", + "xliff2", + "json", + "arb", + "legacy-migrate" + ] + }, + "progress": { + "type": "boolean", + "description": "Log progress to the console.", + "default": true + }, + "outputPath": { + "type": "string", + "description": "Path where output will be placed." + }, + "outFile": { + "type": "string", + "description": "Name of the file to output." + } + }, + "additionalProperties": false + }, + "AngularDevkitBuildAngularBuildersKarmaSchema": { + "title": "Karma Target", + "description": "Karma target options for Build Facade.", + "type": "object", + "properties": { + "main": { + "type": "string", + "description": "The name of the main entry-point file." + }, + "tsConfig": { + "type": "string", + "description": "The name of the TypeScript configuration file." + }, + "karmaConfig": { + "type": "string", + "description": "The name of the Karma configuration file." + }, + "polyfills": { + "type": "string", + "description": "The name of the polyfills file." + }, + "assets": { + "type": "array", + "description": "List of static application assets.", + "default": [], + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersKarmaSchema/definitions/assetPattern" + } + }, + "scripts": { + "description": "Global scripts to be included in the build.", + "type": "array", + "default": [], + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersKarmaSchema/definitions/extraEntryPoint" + } + }, + "styles": { + "description": "Global styles to be included in the build.", + "type": "array", + "default": [], + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersKarmaSchema/definitions/extraEntryPoint" + } + }, + "inlineStyleLanguage": { + "description": "The stylesheet language to use for the application's inline component styles.", + "type": "string", + "default": "css", + "enum": [ + "css", + "less", + "sass", + "scss" + ] + }, + "stylePreprocessorOptions": { + "description": "Options to pass to style preprocessors", + "type": "object", + "properties": { + "includePaths": { + "description": "Paths to include. Paths will be resolved to workspace root.", + "type": "array", + "items": { + "type": "string" + }, + "default": [] + } + }, + "additionalProperties": false + }, + "include": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Globs of files to include, relative to workspace or project root. \nThere are 2 special cases:\n - when a path to directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists it will be included instead." + }, + "sourceMap": { + "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.", + "default": true, + "oneOf": [ + { + "type": "object", + "properties": { + "scripts": { + "type": "boolean", + "description": "Output source maps for all scripts.", + "default": true + }, + "styles": { + "type": "boolean", + "description": "Output source maps for all styles.", + "default": true + }, + "vendor": { + "type": "boolean", + "description": "Resolve vendor packages source maps.", + "default": false + } + }, + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "progress": { + "type": "boolean", + "description": "Log progress to the console while building.", + "default": true + }, + "watch": { + "type": "boolean", + "description": "Run build when files change." + }, + "poll": { + "type": "number", + "description": "Enable and define the file watching poll time period in milliseconds." + }, + "preserveSymlinks": { + "type": "boolean", + "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set." + }, + "browsers": { + "type": "string", + "description": "Override which browsers tests are run against." + }, + "codeCoverage": { + "type": "boolean", + "description": "Output a code coverage report.", + "default": false + }, + "codeCoverageExclude": { + "type": "array", + "description": "Globs to exclude from code coverage.", + "items": { + "type": "string" + }, + "default": [] + }, + "fileReplacements": { + "description": "Replace compilation source files with other compilation source files in the build.", + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "src": { + "type": "string" + }, + "replaceWith": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "replace": { + "type": "string" + }, + "with": { + "type": "string" + } + }, + "additionalProperties": false + } + ] + }, + "default": [] + }, + "reporters": { + "type": "array", + "description": "Karma reporters to use. Directly passed to the karma runner.", + "items": { + "type": "string" + } + }, + "webWorkerTsConfig": { + "type": "string", + "description": "TypeScript configuration for Web Worker modules." + } + }, + "additionalProperties": false, + "definitions": { + "assetPattern": { + "oneOf": [ + { + "type": "object", + "properties": { + "glob": { + "type": "string", + "description": "The pattern to match." + }, + "input": { + "type": "string", + "description": "The input directory path in which to apply 'glob'. Defaults to the project root." + }, + "output": { + "type": "string", + "description": "Absolute path within the output." + }, + "ignore": { + "description": "An array of globs to ignore.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + { + "type": "string" + } + ] + }, + "extraEntryPoint": { + "oneOf": [ + { + "type": "object", + "properties": { + "input": { + "type": "string", + "description": "The file to include." + }, + "bundleName": { + "type": "string", + "pattern": "^[\\w\\-.]*$", + "description": "The bundle name for this extra entry point." + }, + "inject": { + "type": "boolean", + "description": "If the bundle will be referenced in the HTML file.", + "default": true + } + }, + "additionalProperties": false + }, + { + "type": "string", + "description": "The file to include." + } + ] + } + } + }, + "AngularDevkitBuildAngularBuildersProtractorSchema": { + "title": "Protractor Target", + "description": "Protractor target options for Build Facade.", + "type": "object", + "properties": { + "protractorConfig": { + "type": "string", + "description": "The name of the Protractor configuration file." + }, + "devServerTarget": { + "type": "string", + "description": "A dev-server builder target to run tests against in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.", + "pattern": "^([^:\\s]+:[^:\\s]+(:[^\\s]+)?)?$" + }, + "grep": { + "type": "string", + "description": "Execute specs whose names match the pattern, which is internally compiled to a RegExp." + }, + "invertGrep": { + "type": "boolean", + "description": "Invert the selection specified by the 'grep' option.", + "default": false + }, + "specs": { + "type": "array", + "description": "Override specs in the protractor config.", + "default": [], + "items": { + "type": "string", + "description": "Spec name." + } + }, + "suite": { + "type": "string", + "description": "Override suite in the protractor config." + }, + "webdriverUpdate": { + "type": "boolean", + "description": "Try to update webdriver.", + "default": true + }, + "port": { + "type": "number", + "description": "The port to use to serve the application." + }, + "host": { + "type": "string", + "description": "Host to listen on." + }, + "baseUrl": { + "type": "string", + "description": "Base URL for protractor to connect to." + } + }, + "additionalProperties": false + }, + "AngularDevkitBuildAngularBuildersServerSchema": { + "title": "Universal Target", + "type": "object", + "properties": { + "main": { + "type": "string", + "description": "The name of the main entry-point file." + }, + "tsConfig": { + "type": "string", + "default": "tsconfig.app.json", + "description": "The name of the TypeScript configuration file." + }, + "inlineStyleLanguage": { + "description": "The stylesheet language to use for the application's inline component styles.", + "type": "string", + "default": "css", + "enum": [ + "css", + "less", + "sass", + "scss" + ] + }, + "stylePreprocessorOptions": { + "description": "Options to pass to style preprocessors", + "type": "object", + "properties": { + "includePaths": { + "description": "Paths to include. Paths will be resolved to workspace root.", + "type": "array", + "items": { + "type": "string" + }, + "default": [] + } + }, + "additionalProperties": false + }, + "optimization": { + "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking and dead-code elimination. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.", + "x-user-analytics": 16, + "default": true, + "oneOf": [ + { + "type": "object", + "properties": { + "scripts": { + "type": "boolean", + "description": "Enables optimization of the scripts output.", + "default": true + }, + "styles": { + "type": "boolean", + "description": "Enables optimization of the styles output.", + "default": true + } + }, + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "fileReplacements": { + "description": "Replace compilation source files with other compilation source files in the build.", + "type": "array", + "items": { + "$ref": "#/definitions/AngularDevkitBuildAngularBuildersServerSchema/definitions/fileReplacement" + }, + "default": [] + }, + "outputPath": { + "type": "string", + "description": "Path where output will be placed." + }, + "resourcesOutputPath": { + "type": "string", + "description": "The path where style resources will be placed, relative to outputPath.", + "default": "" + }, + "sourceMap": { + "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.", + "default": false, + "oneOf": [ + { + "type": "object", + "properties": { + "scripts": { + "type": "boolean", + "description": "Output source maps for all scripts.", + "default": true + }, + "styles": { + "type": "boolean", + "description": "Output source maps for all styles.", + "default": true + }, + "hidden": { + "type": "boolean", + "description": "Output source maps used for error reporting tools.", + "default": false + }, + "vendor": { + "type": "boolean", + "description": "Resolve vendor packages source maps.", + "default": false + } + }, + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "deployUrl": { + "type": "string", + "description": "URL where files will be deployed.", + "x-deprecated": "Use \"baseHref\" browser builder option, \"APP_BASE_HREF\" DI token or a combination of both instead. For more information, see https://angular.io/guide/deployment#the-deploy-url." + }, + "verbose": { + "type": "boolean", + "description": "Adds more details to output logging.", + "default": false + }, + "progress": { + "type": "boolean", + "description": "Log progress to the console while building.", + "default": true + }, + "i18nMissingTranslation": { + "type": "string", + "description": "How to handle missing translations for i18n.", + "enum": [ + "warning", + "error", + "ignore" + ], + "default": "warning" + }, + "i18nDuplicateTranslation": { + "type": "string", + "description": "How to handle duplicate translations for i18n.", + "enum": [ + "warning", + "error", + "ignore" + ], + "default": "warning" + }, + "localize": { + "description": "Translate the bundles in one or more locales.", + "oneOf": [ + { + "type": "boolean", + "description": "Translate all locales." + }, + { + "type": "array", + "description": "List of locales ID's to translate.", + "minItems": 1, + "items": { + "type": "string", + "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$" + } + } + ] + }, + "outputHashing": { + "type": "string", + "description": "Define the output filename cache-busting hashing mode.", + "default": "none", + "enum": [ + "none", + "all", + "media", + "bundles" + ] + }, + "deleteOutputPath": { + "type": "boolean", + "description": "Delete the output path before building.", + "default": true + }, + "preserveSymlinks": { + "type": "boolean", + "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set." + }, + "extractLicenses": { + "type": "boolean", + "description": "Extract all licenses in a separate file, in the case of production builds only.", + "default": true + }, + "showCircularDependencies": { + "type": "boolean", + "description": "Show circular dependency warnings on builds.", + "default": false, + "x-deprecated": "The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tooling." + }, + "namedChunks": { + "type": "boolean", + "description": "Use file name for lazy loaded chunks.", + "default": false + }, + "bundleDependencies": { + "description": "Which external dependencies to bundle into the bundle. By default, all of node_modules will be bundled.", + "default": true, + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "string", + "enum": [ + "none", + "all" + ] + } + ] + }, + "externalDependencies": { + "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime.", + "type": "array", + "items": { + "type": "string" + }, + "default": [] + }, + "statsJson": { + "type": "boolean", + "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.", + "default": false + }, + "watch": { + "type": "boolean", + "description": "Run build when files change.", + "default": false + }, + "poll": { + "type": "number", + "description": "Enable and define the file watching poll time period in milliseconds." + } + }, + "additionalProperties": false, + "definitions": { + "fileReplacement": { + "oneOf": [ + { + "type": "object", + "properties": { + "src": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + }, + "replaceWith": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "replace": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + }, + "with": { + "type": "string", + "pattern": "\\.(([cm]?j|t)sx?|json)$" + } + }, + "additionalProperties": false + } + ] + } + } + }, + "AngularDevkitBuildAngularBuildersNgPackagrSchema": { + "title": "ng-packagr Target", + "description": "ng-packagr target options for Build Architect. Use to build library projects.", + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "The file path for the ng-packagr configuration file, relative to the current workspace." + }, + "tsConfig": { + "type": "string", + "description": "The full path for the TypeScript configuration file, relative to the current workspace." + }, + "watch": { + "type": "boolean", + "description": "Run build when files change.", + "default": false + } + }, + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.d.ts new file mode 100644 index 00000000..47f03d72 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.d.ts @@ -0,0 +1,710 @@ +export interface Schema { + $schema?: string; + cli?: CliOptions; + /** + * Default project name used in commands. + */ + defaultProject?: string; + /** + * Path where new projects will be created. + */ + newProjectRoot?: string; + projects?: Projects; + schematics?: SchematicOptions; + version: number; +} +export interface CliOptions { + /** + * Share anonymous usage data with the Angular Team at Google. + */ + analytics?: Analytics; + analyticsSharing?: AnalyticsSharing; + /** + * Control disk cache. + */ + cache?: Cache; + /** + * The default schematics collection to use. + */ + defaultCollection?: string; + /** + * Specify which package manager tool to use. + */ + packageManager?: PackageManager; + /** + * Control CLI specific console warnings + */ + warnings?: Warnings; +} +/** + * Share anonymous usage data with the Angular Team at Google. + */ +export declare type Analytics = boolean | string; +export interface AnalyticsSharing { + /** + * Analytics sharing info tracking ID. + */ + tracking?: string; + /** + * Analytics sharing info universally unique identifier. + */ + uuid?: string; +} +/** + * Control disk cache. + */ +export interface Cache { + /** + * Configure whether disk caching is enabled. + */ + enabled?: boolean; + /** + * Configure in which environment disk cache is enabled. + */ + environment?: Environment; + /** + * Cache base path. + */ + path?: string; +} +/** + * Configure in which environment disk cache is enabled. + */ +export declare enum Environment { + All = "all", + Ci = "ci", + Local = "local" +} +/** + * Specify which package manager tool to use. + * + * The package manager used to install dependencies. + */ +export declare enum PackageManager { + Cnpm = "cnpm", + Npm = "npm", + Pnpm = "pnpm", + Yarn = "yarn" +} +/** + * Control CLI specific console warnings + */ +export interface Warnings { + /** + * Show a warning when the global version is newer than the local one. + */ + versionMismatch?: boolean; +} +export interface Projects { +} +export interface SchematicOptions { + "@schematics/angular:application"?: AngularApplicationOptionsSchema; + "@schematics/angular:class"?: AngularClassOptionsSchema; + "@schematics/angular:component"?: AngularComponentOptionsSchema; + "@schematics/angular:directive"?: AngularDirectiveOptionsSchema; + "@schematics/angular:enum"?: AngularEnumOptionsSchema; + "@schematics/angular:guard"?: AngularGuardOptionsSchema; + "@schematics/angular:interceptor"?: AngularInterceptorOptionsSchema; + "@schematics/angular:interface"?: AngularInterfaceOptionsSchema; + "@schematics/angular:library"?: LibraryOptionsSchema; + "@schematics/angular:ng-new"?: AngularNgNewOptionsSchema; + "@schematics/angular:pipe"?: AngularPipeOptionsSchema; + "@schematics/angular:resolver"?: AngularResolverOptionsSchema; + "@schematics/angular:service"?: AngularServiceOptionsSchema; + "@schematics/angular:web-worker"?: AngularWebWorkerOptionsSchema; +} +/** + * Generates a new basic app definition in the "projects" subfolder of the workspace. + */ +export interface AngularApplicationOptionsSchema { + /** + * Include styles inline in the root component.ts file. Only CSS styles can be included + * inline. Default is false, meaning that an external styles file is created and referenced + * in the root component.ts file. + */ + inlineStyle?: boolean; + /** + * Include template inline in the root component.ts file. Default is false, meaning that an + * external template file is created and referenced in the root component.ts file. + */ + inlineTemplate?: boolean; + /** + * Create a bare-bones project without any testing frameworks. (Use for learning purposes + * only.) + */ + minimal?: boolean; + /** + * The name of the new app. + */ + name: string; + /** + * A prefix to apply to generated selectors. + */ + prefix?: string; + /** + * The root directory of the new app. + */ + projectRoot?: string; + /** + * Create a routing NgModule. + */ + routing?: boolean; + /** + * Skip installing dependency packages. + */ + skipInstall?: boolean; + /** + * Do not add dependencies to the "package.json" file. + */ + skipPackageJson?: boolean; + /** + * Do not create "spec.ts" test files for the application. + */ + skipTests?: boolean; + /** + * Creates an application with stricter bundle budgets settings. + */ + strict?: boolean; + /** + * The file extension or preprocessor to use for style files. + */ + style?: SchematicsAngularApplicationStyle; + /** + * The view encapsulation strategy to use in the new application. + */ + viewEncapsulation?: ViewEncapsulation; +} +/** + * The file extension or preprocessor to use for style files. + */ +export declare enum SchematicsAngularApplicationStyle { + Css = "css", + Less = "less", + Sass = "sass", + Scss = "scss" +} +/** + * The view encapsulation strategy to use in the new application. + * + * The view encapsulation strategy to use in the new component. + * + * The view encapsulation strategy to use in the initial project. + */ +export declare enum ViewEncapsulation { + Emulated = "Emulated", + None = "None", + ShadowDom = "ShadowDom" +} +/** + * Creates a new, generic class definition in the given or default project. + */ +export interface AngularClassOptionsSchema { + /** + * The name of the new class. + */ + name: string; + /** + * The path at which to create the class, relative to the workspace root. + */ + path?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Do not create "spec.ts" test files for the new class. + */ + skipTests?: boolean; + /** + * Adds a developer-defined type to the filename, in the format "name.type.ts". + */ + type?: string; +} +/** + * Creates a new, generic component definition in the given or default project. + */ +export interface AngularComponentOptionsSchema { + /** + * The change detection strategy to use in the new component. + */ + changeDetection?: ChangeDetection; + /** + * Specifies if the style will contain `:host { display: block; }`. + */ + displayBlock?: boolean; + /** + * The declaring NgModule exports this component. + */ + export?: boolean; + /** + * Create the new files at the top level of the current project. + */ + flat?: boolean; + /** + * Include styles inline in the component.ts file. Only CSS styles can be included inline. + * By default, an external styles file is created and referenced in the component.ts file. + */ + inlineStyle?: boolean; + /** + * Include template inline in the component.ts file. By default, an external template file + * is created and referenced in the component.ts file. + */ + inlineTemplate?: boolean; + /** + * The declaring NgModule. + */ + module?: string; + /** + * The name of the component. + */ + name: string; + /** + * The path at which to create the component file, relative to the current workspace. + * Default is a folder with the same name as the component in the project root. + */ + path?: string; + /** + * The prefix to apply to the generated component selector. + */ + prefix?: string; + /** + * The name of the project. + */ + project?: string; + /** + * The HTML selector to use for this component. + */ + selector?: string; + /** + * Do not import this component into the owning NgModule. + */ + skipImport?: boolean; + /** + * Specifies if the component should have a selector or not. + */ + skipSelector?: boolean; + /** + * Do not create "spec.ts" test files for the new component. + */ + skipTests?: boolean; + /** + * The file extension or preprocessor to use for style files, or 'none' to skip generating + * the style file. + */ + style?: SchematicsAngularComponentStyle; + /** + * Adds a developer-defined type to the filename, in the format "name.type.ts". + */ + type?: string; + /** + * The view encapsulation strategy to use in the new component. + */ + viewEncapsulation?: ViewEncapsulation; +} +/** + * The change detection strategy to use in the new component. + */ +export declare enum ChangeDetection { + Default = "Default", + OnPush = "OnPush" +} +/** + * The file extension or preprocessor to use for style files, or 'none' to skip generating + * the style file. + */ +export declare enum SchematicsAngularComponentStyle { + Css = "css", + Less = "less", + None = "none", + Sass = "sass", + Scss = "scss" +} +/** + * Creates a new, generic directive definition in the given or default project. + */ +export interface AngularDirectiveOptionsSchema { + /** + * The declaring NgModule exports this directive. + */ + export?: boolean; + /** + * When true (the default), creates the new files at the top level of the current project. + */ + flat?: boolean; + /** + * The declaring NgModule. + */ + module?: string; + /** + * The name of the new directive. + */ + name: string; + /** + * The path at which to create the interface that defines the directive, relative to the + * workspace root. + */ + path?: string; + /** + * A prefix to apply to generated selectors. + */ + prefix?: string; + /** + * The name of the project. + */ + project?: string; + /** + * The HTML selector to use for this directive. + */ + selector?: string; + /** + * Do not import this directive into the owning NgModule. + */ + skipImport?: boolean; + /** + * Do not create "spec.ts" test files for the new class. + */ + skipTests?: boolean; +} +/** + * Generates a new, generic enum definition for the given or default project. + */ +export interface AngularEnumOptionsSchema { + /** + * The name of the enum. + */ + name: string; + /** + * The path at which to create the enum definition, relative to the current workspace. + */ + path?: string; + /** + * The name of the project in which to create the enum. Default is the configured default + * project for the workspace. + */ + project?: string; + /** + * Adds a developer-defined type to the filename, in the format "name.type.ts". + */ + type?: string; +} +/** + * Generates a new, generic route guard definition in the given or default project. + */ +export interface AngularGuardOptionsSchema { + /** + * When true (the default), creates the new files at the top level of the current project. + */ + flat?: boolean; + /** + * Specifies which interfaces to implement. + */ + implements?: Implement[]; + /** + * The name of the new route guard. + */ + name: string; + /** + * The path at which to create the interface that defines the guard, relative to the current + * workspace. + */ + path?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Do not create "spec.ts" test files for the new guard. + */ + skipTests?: boolean; +} +export declare enum Implement { + CanActivate = "CanActivate", + CanActivateChild = "CanActivateChild", + CanDeactivate = "CanDeactivate", + CanLoad = "CanLoad" +} +/** + * Creates a new, generic interceptor definition in the given or default project. + */ +export interface AngularInterceptorOptionsSchema { + /** + * When true (the default), creates files at the top level of the project. + */ + flat?: boolean; + /** + * The name of the interceptor. + */ + name: string; + /** + * The path at which to create the interceptor, relative to the workspace root. + */ + path?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Do not create "spec.ts" test files for the new interceptor. + */ + skipTests?: boolean; +} +/** + * Creates a new, generic interface definition in the given or default project. + */ +export interface AngularInterfaceOptionsSchema { + /** + * The name of the interface. + */ + name: string; + /** + * The path at which to create the interface, relative to the workspace root. + */ + path?: string; + /** + * A prefix to apply to generated selectors. + */ + prefix?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Adds a developer-defined type to the filename, in the format "name.type.ts". + */ + type?: string; +} +/** + * Creates a new, generic library project in the current workspace. + */ +export interface LibraryOptionsSchema { + /** + * The path at which to create the library's public API file, relative to the workspace root. + */ + entryFile?: string; + /** + * The name of the library. + */ + name: string; + /** + * A prefix to apply to generated selectors. + */ + prefix?: string; + /** + * Do not install dependency packages. + */ + skipInstall?: boolean; + /** + * Do not add dependencies to the "package.json" file. + */ + skipPackageJson?: boolean; + /** + * Do not update "tsconfig.json" to add a path mapping for the new library. The path mapping + * is needed to use the library in an app, but can be disabled here to simplify development. + */ + skipTsConfig?: boolean; +} +/** + * Creates a new project by combining the workspace and application schematics. + */ +export interface AngularNgNewOptionsSchema { + /** + * Initial git repository commit information. + */ + commit?: CommitUnion; + /** + * Create a new initial application project in the 'src' folder of the new workspace. When + * false, creates an empty workspace with no initial application. You can then use the + * generate application command so that all applications are created in the projects folder. + */ + createApplication?: boolean; + /** + * The directory name to create the workspace in. + */ + directory?: string; + /** + * Include styles inline in the component TS file. By default, an external styles file is + * created and referenced in the component TypeScript file. + */ + inlineStyle?: boolean; + /** + * Include template inline in the component TS file. By default, an external template file + * is created and referenced in the component TypeScript file. + */ + inlineTemplate?: boolean; + /** + * Link the CLI to the global version (internal development only). + */ + linkCli?: boolean; + /** + * Create a workspace without any testing frameworks. (Use for learning purposes only.) + */ + minimal?: boolean; + /** + * The name of the new workspace and initial project. + */ + name: string; + /** + * The path where new projects will be created, relative to the new workspace root. + */ + newProjectRoot?: string; + /** + * The package manager used to install dependencies. + */ + packageManager?: PackageManager; + /** + * The prefix to apply to generated selectors for the initial project. + */ + prefix?: string; + /** + * Generate a routing module for the initial project. + */ + routing?: boolean; + /** + * Do not initialize a git repository. + */ + skipGit?: boolean; + /** + * Do not install dependency packages. + */ + skipInstall?: boolean; + /** + * Do not generate "spec.ts" test files for the new project. + */ + skipTests?: boolean; + /** + * Creates a workspace with stricter type checking and stricter bundle budgets settings. + * This setting helps improve maintainability and catch bugs ahead of time. For more + * information, see https://angular.io/guide/strict-mode + */ + strict?: boolean; + /** + * The file extension or preprocessor to use for style files. + */ + style?: SchematicsAngularApplicationStyle; + /** + * The version of the Angular CLI to use. + */ + version: string; + /** + * The view encapsulation strategy to use in the initial project. + */ + viewEncapsulation?: ViewEncapsulation; +} +/** + * Initial git repository commit information. + */ +export declare type CommitUnion = boolean | CommitObject; +export interface CommitObject { + email: string; + message?: string; + name: string; +} +/** + * Creates a new, generic pipe definition in the given or default project. + */ +export interface AngularPipeOptionsSchema { + /** + * The declaring NgModule exports this pipe. + */ + export?: boolean; + /** + * When true (the default) creates files at the top level of the project. + */ + flat?: boolean; + /** + * The declaring NgModule. + */ + module?: string; + /** + * The name of the pipe. + */ + name: string; + /** + * The path at which to create the pipe, relative to the workspace root. + */ + path?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Do not import this pipe into the owning NgModule. + */ + skipImport?: boolean; + /** + * Do not create "spec.ts" test files for the new pipe. + */ + skipTests?: boolean; +} +/** + * Generates a new, generic resolver definition in the given or default project. + */ +export interface AngularResolverOptionsSchema { + /** + * When true (the default), creates the new files at the top level of the current project. + */ + flat?: boolean; + /** + * The name of the new resolver. + */ + name: string; + /** + * The path at which to create the interface that defines the resolver, relative to the + * current workspace. + */ + path?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Do not create "spec.ts" test files for the new resolver. + */ + skipTests?: boolean; +} +/** + * Creates a new, generic service definition in the given or default project. + */ +export interface AngularServiceOptionsSchema { + /** + * When true (the default), creates files at the top level of the project. + */ + flat?: boolean; + /** + * The name of the service. + */ + name: string; + /** + * The path at which to create the service, relative to the workspace root. + */ + path?: string; + /** + * The name of the project. + */ + project?: string; + /** + * Do not create "spec.ts" test files for the new service. + */ + skipTests?: boolean; +} +/** + * Creates a new, generic web worker definition in the given or default project. + */ +export interface AngularWebWorkerOptionsSchema { + /** + * The name of the worker. + */ + name: string; + /** + * The path at which to create the worker file, relative to the current workspace. + */ + path?: string; + /** + * The name of the project. + */ + project: string; + /** + * Add a worker creation snippet in a sibling file of the same name. + */ + snippet?: boolean; +} diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.js b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.js new file mode 100644 index 00000000..24e1142c --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/config/workspace-schema.js @@ -0,0 +1,76 @@ +"use strict"; +// THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE +// CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...). +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Implement = exports.SchematicsAngularComponentStyle = exports.ChangeDetection = exports.ViewEncapsulation = exports.SchematicsAngularApplicationStyle = exports.PackageManager = exports.Environment = void 0; +/** + * Configure in which environment disk cache is enabled. + */ +var Environment; +(function (Environment) { + Environment["All"] = "all"; + Environment["Ci"] = "ci"; + Environment["Local"] = "local"; +})(Environment = exports.Environment || (exports.Environment = {})); +/** + * Specify which package manager tool to use. + * + * The package manager used to install dependencies. + */ +var PackageManager; +(function (PackageManager) { + PackageManager["Cnpm"] = "cnpm"; + PackageManager["Npm"] = "npm"; + PackageManager["Pnpm"] = "pnpm"; + PackageManager["Yarn"] = "yarn"; +})(PackageManager = exports.PackageManager || (exports.PackageManager = {})); +/** + * The file extension or preprocessor to use for style files. + */ +var SchematicsAngularApplicationStyle; +(function (SchematicsAngularApplicationStyle) { + SchematicsAngularApplicationStyle["Css"] = "css"; + SchematicsAngularApplicationStyle["Less"] = "less"; + SchematicsAngularApplicationStyle["Sass"] = "sass"; + SchematicsAngularApplicationStyle["Scss"] = "scss"; +})(SchematicsAngularApplicationStyle = exports.SchematicsAngularApplicationStyle || (exports.SchematicsAngularApplicationStyle = {})); +/** + * The view encapsulation strategy to use in the new application. + * + * The view encapsulation strategy to use in the new component. + * + * The view encapsulation strategy to use in the initial project. + */ +var ViewEncapsulation; +(function (ViewEncapsulation) { + ViewEncapsulation["Emulated"] = "Emulated"; + ViewEncapsulation["None"] = "None"; + ViewEncapsulation["ShadowDom"] = "ShadowDom"; +})(ViewEncapsulation = exports.ViewEncapsulation || (exports.ViewEncapsulation = {})); +/** + * The change detection strategy to use in the new component. + */ +var ChangeDetection; +(function (ChangeDetection) { + ChangeDetection["Default"] = "Default"; + ChangeDetection["OnPush"] = "OnPush"; +})(ChangeDetection = exports.ChangeDetection || (exports.ChangeDetection = {})); +/** + * The file extension or preprocessor to use for style files, or 'none' to skip generating + * the style file. + */ +var SchematicsAngularComponentStyle; +(function (SchematicsAngularComponentStyle) { + SchematicsAngularComponentStyle["Css"] = "css"; + SchematicsAngularComponentStyle["Less"] = "less"; + SchematicsAngularComponentStyle["None"] = "none"; + SchematicsAngularComponentStyle["Sass"] = "sass"; + SchematicsAngularComponentStyle["Scss"] = "scss"; +})(SchematicsAngularComponentStyle = exports.SchematicsAngularComponentStyle || (exports.SchematicsAngularComponentStyle = {})); +var Implement; +(function (Implement) { + Implement["CanActivate"] = "CanActivate"; + Implement["CanActivateChild"] = "CanActivateChild"; + Implement["CanDeactivate"] = "CanDeactivate"; + Implement["CanLoad"] = "CanLoad"; +})(Implement = exports.Implement || (exports.Implement = {})); diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.d.ts b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.d.ts new file mode 100644 index 00000000..8df63e62 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.d.ts @@ -0,0 +1,8 @@ +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +import 'symbol-observable'; diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.js b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.js new file mode 100644 index 00000000..0733b1d1 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@angular/cli/lib/init.js @@ -0,0 +1,128 @@ +"use strict"; +/** + * @license + * Copyright Google LLC All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +require("symbol-observable"); +// symbol polyfill must go first +const fs_1 = require("fs"); +const path = __importStar(require("path")); +const semver_1 = require("semver"); +const version_1 = require("../models/version"); +const color_1 = require("../utilities/color"); +const config_1 = require("../utilities/config"); +(async () => { + var _a; + /** + * Disable Browserslist old data warning as otherwise with every release we'd need to update this dependency + * which is cumbersome considering we pin versions and the warning is not user actionable. + * `Browserslist: caniuse-lite is outdated. Please run next command `npm update` + * See: https://github.com/browserslist/browserslist/blob/819c4337456996d19db6ba953014579329e9c6e1/node.js#L324 + */ + process.env.BROWSERSLIST_IGNORE_OLD_DATA = '1'; + const disableVersionCheckEnv = process.env['NG_DISABLE_VERSION_CHECK']; + /** + * Disable CLI version mismatch checks and forces usage of the invoked CLI + * instead of invoking the local installed version. + */ + const disableVersionCheck = disableVersionCheckEnv !== undefined && + disableVersionCheckEnv !== '0' && + disableVersionCheckEnv.toLowerCase() !== 'false'; + if (disableVersionCheck) { + return (await Promise.resolve().then(() => __importStar(require('./cli')))).default; + } + let cli; + try { + // No error implies a projectLocalCli, which will load whatever + // version of ng-cli you have installed in a local package.json + const projectLocalCli = require.resolve('@angular/cli', { paths: [process.cwd()] }); + cli = await Promise.resolve().then(() => __importStar(require(projectLocalCli))); + const globalVersion = new semver_1.SemVer(version_1.VERSION.full); + // Older versions might not have the VERSION export + let localVersion = (_a = cli.VERSION) === null || _a === void 0 ? void 0 : _a.full; + if (!localVersion) { + try { + const localPackageJson = await fs_1.promises.readFile(path.join(path.dirname(projectLocalCli), '../../package.json'), 'utf-8'); + localVersion = JSON.parse(localPackageJson).version; + } + catch (error) { + // eslint-disable-next-line no-console + console.error('Version mismatch check skipped. Unable to retrieve local version: ' + error); + } + } + let isGlobalGreater = false; + try { + isGlobalGreater = !!localVersion && globalVersion.compare(localVersion) > 0; + } + catch (error) { + // eslint-disable-next-line no-console + console.error('Version mismatch check skipped. Unable to compare local version: ' + error); + } + if (isGlobalGreater) { + // If using the update command and the global version is greater, use the newer update command + // This allows improvements in update to be used in older versions that do not have bootstrapping + if (process.argv[2] === 'update' && + cli.VERSION && + cli.VERSION.major - globalVersion.major <= 1) { + cli = await Promise.resolve().then(() => __importStar(require('./cli'))); + } + else if (await (0, config_1.isWarningEnabled)('versionMismatch')) { + // Otherwise, use local version and warn if global is newer than local + const warning = `Your global Angular CLI version (${globalVersion}) is greater than your local ` + + `version (${localVersion}). The local Angular CLI version is used.\n\n` + + 'To disable this warning use "ng config -g cli.warnings.versionMismatch false".'; + // eslint-disable-next-line no-console + console.error(color_1.colors.yellow(warning)); + } + } + } + catch { + // If there is an error, resolve could not find the ng-cli + // library from a package.json. Instead, include it from a relative + // path to this script file (which is likely a globally installed + // npm package). Most common cause for hitting this is `ng new` + cli = await Promise.resolve().then(() => __importStar(require('./cli'))); + } + if ('default' in cli) { + cli = cli['default']; + } + return cli; +})() + .then((cli) => { + return cli({ + cliArgs: process.argv.slice(2), + inputStream: process.stdin, + outputStream: process.stdout, + }); +}) + .then((exitCode) => { + process.exit(exitCode); +}) + .catch((err) => { + // eslint-disable-next-line no-console + console.error('Unknown error: ' + err.toString()); + process.exit(127); +}); -- cgit v1.2.3