diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files')
13 files changed, 223 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/.browserslistrc.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/.browserslistrc.template new file mode 100644 index 00000000..4f9ac269 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/.browserslistrc.template @@ -0,0 +1,16 @@ +# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. +# For additional information regarding the format and rule options, please see: +# https://github.com/browserslist/browserslist#queries + +# For the full list of supported browsers by the Angular framework, please see: +# https://angular.io/guide/browser-support + +# You can see what browsers were selected by your queries by running: +# npx browserslist + +last 1 Chrome version +last 1 Firefox version +last 2 Edge major versions +last 2 Safari major versions +last 2 iOS major versions +Firefox ESR diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/karma.conf.js.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/karma.conf.js.template new file mode 100644 index 00000000..3cf2cece --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/karma.conf.js.template @@ -0,0 +1,44 @@ +// Karma configuration file, see link for more information +// https://karma-runner.github.io/1.0/config/configuration-file.html + +module.exports = function (config) { + config.set({ + basePath: '', + frameworks: ['jasmine', '@angular-devkit/build-angular'], + plugins: [ + require('karma-jasmine'), + require('karma-chrome-launcher'), + require('karma-jasmine-html-reporter'), + require('karma-coverage'), + require('@angular-devkit/build-angular/plugins/karma') + ], + client: { + jasmine: { + // you can add configuration options for Jasmine here + // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html + // for example, you can disable the random execution with `random: false` + // or set a specific seed with `seed: 4321` + }, + clearContext: false // leave Jasmine Spec Runner output visible in browser + }, + jasmineHtmlReporter: { + suppressAll: true // removes the duplicated traces + }, + coverageReporter: { + dir: require('path').join(__dirname, '<%= relativePathToWorkspaceRoot %>/coverage/<%= folderName%>'), + subdir: '.', + reporters: [ + { type: 'html' }, + { type: 'text-summary' } + ] + }, + reporters: ['progress', 'kjhtml'], + port: 9876, + colors: true, + logLevel: config.LOG_INFO, + autoWatch: true, + browsers: ['Chrome'], + singleRun: false, + restartOnFileChange: true + }); +}; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/assets/.gitkeep.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/assets/.gitkeep.template new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/assets/.gitkeep.template diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/environments/environment.prod.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/environments/environment.prod.ts.template new file mode 100644 index 00000000..3612073b --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/environments/environment.prod.ts.template @@ -0,0 +1,3 @@ +export const environment = { + production: true +}; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/environments/environment.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/environments/environment.ts.template new file mode 100644 index 00000000..f56ff470 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/environments/environment.ts.template @@ -0,0 +1,16 @@ +// This file can be replaced during build by using the `fileReplacements` array. +// `ng build` replaces `environment.ts` with `environment.prod.ts`. +// The list of file replacements can be found in `angular.json`. + +export const environment = { + production: false +}; + +/* + * For easier debugging in development mode, you can import the following file + * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. + * + * This import should be commented out in production mode because it will have a negative impact + * on performance if an error is thrown. + */ +// import 'zone.js/plugins/zone-error'; // Included with Angular CLI. diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/favicon.ico.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/favicon.ico.template Binary files differnew file mode 100644 index 00000000..997406ad --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/favicon.ico.template diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/index.html.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/index.html.template new file mode 100644 index 00000000..8a7c648e --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/index.html.template @@ -0,0 +1,13 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title><%= utils.classify(name) %></title> + <base href="/"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="icon" type="image/x-icon" href="favicon.ico"> +</head> +<body> + <<%= prefix %>-root></<%= prefix %>-root> +</body> +</html> diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/main.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/main.ts.template new file mode 100644 index 00000000..3d492bb9 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/main.ts.template @@ -0,0 +1,18 @@ +import { enableProdMode<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%> } from '@angular/core'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; + +import { AppModule } from './app/app.module'; +import { environment } from './environments/environment'; + +if (environment.production) { + enableProdMode(); +} +<% if(!!viewEncapsulation) { %> +platformBrowserDynamic().bootstrapModule(AppModule, { + defaultEncapsulation: ViewEncapsulation.<%= viewEncapsulation %> +}) + .catch(err => console.error(err)); +<% } else { %> +platformBrowserDynamic().bootstrapModule(AppModule) + .catch(err => console.error(err)); +<% } %>
\ No newline at end of file diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/polyfills.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/polyfills.ts.template new file mode 100644 index 00000000..429bb9ef --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/polyfills.ts.template @@ -0,0 +1,53 @@ +/** + * This file includes polyfills needed by Angular and is loaded before the app. + * You can add your own extra polyfills to this file. + * + * This file is divided into 2 sections: + * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers. + * 2. Application imports. Files imported after ZoneJS that should be loaded before your main + * file. + * + * The current setup is for so-called "evergreen" browsers; the last versions of browsers that + * automatically update themselves. This includes recent versions of Safari, Chrome (including + * Opera), Edge on the desktop, and iOS and Chrome on mobile. + * + * Learn more in https://angular.io/guide/browser-support + */ + +/*************************************************************************************************** + * BROWSER POLYFILLS + */ + +/** + * By default, zone.js will patch all possible macroTask and DomEvents + * user can disable parts of macroTask/DomEvents patch by setting following flags + * because those flags need to be set before `zone.js` being loaded, and webpack + * will put import in the top of bundle, so user need to create a separate file + * in this directory (for example: zone-flags.ts), and put the following flags + * into that file, and then add the following code before importing zone.js. + * import './zone-flags'; + * + * The flags allowed in zone-flags.ts are listed here. + * + * The following flags will work for all browsers. + * + * (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame + * (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick + * (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames + * + * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js + * with the following flag, it will bypass `zone.js` patch for IE/Edge + * + * (window as any).__Zone_enable_cross_context_check = true; + * + */ + +/*************************************************************************************************** + * Zone JS is required by default for Angular itself. + */ +import 'zone.js'; // Included with Angular CLI. + + +/*************************************************************************************************** + * APPLICATION IMPORTS + */ diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/styles.__style__.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/styles.__style__.template new file mode 100644 index 00000000..90d4ee00 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/styles.__style__.template @@ -0,0 +1 @@ +/* You can add global styles to this file, and also import other style files */ diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/test.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/test.ts.template new file mode 100644 index 00000000..00025daf --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/src/test.ts.template @@ -0,0 +1,26 @@ +// This file is required by karma.conf.js and loads recursively all the .spec and framework files + +import 'zone.js/testing'; +import { getTestBed } from '@angular/core/testing'; +import { + BrowserDynamicTestingModule, + platformBrowserDynamicTesting +} from '@angular/platform-browser-dynamic/testing'; + +declare const require: { + context(path: string, deep?: boolean, filter?: RegExp): { + <T>(id: string): T; + keys(): string[]; + }; +}; + +// First, initialize the Angular testing environment. +getTestBed().initTestEnvironment( + BrowserDynamicTestingModule, + platformBrowserDynamicTesting(), +); + +// Then we find all the tests. +const context = require.context('./', true, /\.spec\.ts$/); +// And load the modules. +context.keys().map(context); diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/tsconfig.app.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/tsconfig.app.json.template new file mode 100644 index 00000000..1966d893 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/tsconfig.app.json.template @@ -0,0 +1,15 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json", + "compilerOptions": { + "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/app", + "types": [] + }, + "files": [ + "src/main.ts", + "src/polyfills.ts" + ], + "include": [ + "src/**/*.d.ts" + ] +} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/tsconfig.spec.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/tsconfig.spec.json.template new file mode 100644 index 00000000..0e856e62 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/application/files/tsconfig.spec.json.template @@ -0,0 +1,18 @@ +/* To learn more about this file see: https://angular.io/config/tsconfig. */ +{ + "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json", + "compilerOptions": { + "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/spec", + "types": [ + "jasmine" + ] + }, + "files": [ + "src/test.ts", + "src/polyfills.ts" + ], + "include": [ + "src/**/*.spec.ts", + "src/**/*.d.ts" + ] +} |