aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/.browserslistrc.template16
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/README.md.template24
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/karma.conf.js.template44
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/ng-package.json.template7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/package.json.template11
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/__entryFile__.ts.template7
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/test.ts.template27
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.lib.json.template15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.lib.prod.json.template10
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.spec.json.template17
10 files changed, 178 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/.browserslistrc.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/.browserslistrc.template
new file mode 100644
index 00000000..4f9ac269
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/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/library/files/README.md.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/README.md.template
new file mode 100644
index 00000000..8545804c
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/README.md.template
@@ -0,0 +1,24 @@
+# <%= classify(name) %>
+
+This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= angularLatestVersion %>.
+
+## Code scaffolding
+
+Run `ng generate component component-name --project <%= name %>` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project <%= name %>`.
+> Note: Don't forget to add `--project <%= name %>` or else it will be added to the default project in your `angular.json` file.
+
+## Build
+
+Run `ng build <%= name %>` to build the project. The build artifacts will be stored in the `dist/` directory.
+
+## Publishing
+
+After building your library with `ng build <%= name %>`, go to the dist folder `cd dist/<%= dasherize(name) %>` and run `npm publish`.
+
+## Running unit tests
+
+Run `ng test <%= name %>` to execute the unit tests via [Karma](https://karma-runner.github.io).
+
+## Further help
+
+To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/karma.conf.js.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/karma.conf.js.template
new file mode 100644
index 00000000..0cefa1c1
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/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/library/files/ng-package.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/ng-package.json.template
new file mode 100644
index 00000000..c0f915ca
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/ng-package.json.template
@@ -0,0 +1,7 @@
+{
+ "$schema": "<%= relativePathToWorkspaceRoot %>/node_modules/ng-packagr/ng-package.schema.json",
+ "dest": "<%= relativePathToWorkspaceRoot %>/<%= distRoot %>",
+ "lib": {
+ "entryFile": "src/<%= entryFile %>.ts"
+ }
+} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/package.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/package.json.template
new file mode 100644
index 00000000..dde7d496
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/package.json.template
@@ -0,0 +1,11 @@
+{
+ "name": "<%= dasherize(packageName) %>",
+ "version": "0.0.1",
+ "peerDependencies": {
+ "@angular/common": "^<%= angularLatestVersion %>",
+ "@angular/core": "^<%= angularLatestVersion %>"
+ },
+ "dependencies": {
+ "tslib": "^<%= tsLibLatestVersion %>"
+ }
+} \ No newline at end of file
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/__entryFile__.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/__entryFile__.ts.template
new file mode 100644
index 00000000..b4d46cdc
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/__entryFile__.ts.template
@@ -0,0 +1,7 @@
+/*
+ * Public API Surface of <%= dasherize(name) %>
+ */
+
+export * from './lib/<%= dasherize(name) %>.service';
+export * from './lib/<%= dasherize(name) %>.component';
+export * from './lib/<%= dasherize(name) %>.module';
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/test.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/test.ts.template
new file mode 100644
index 00000000..bcca659d
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/src/test.ts.template
@@ -0,0 +1,27 @@
+// This file is required by karma.conf.js and loads recursively all the .spec and framework files
+
+import 'zone.js';
+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/library/files/tsconfig.lib.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.lib.json.template
new file mode 100644
index 00000000..353a24b4
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.lib.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/lib",
+ "declaration": true,
+ "declarationMap": true,
+ "inlineSources": true,
+ "types": []
+ },
+ "exclude": [
+ "src/test.ts",
+ "**/*.spec.ts"
+ ]
+}
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.lib.prod.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.lib.prod.json.template
new file mode 100644
index 00000000..06de549e
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.lib.prod.json.template
@@ -0,0 +1,10 @@
+/* To learn more about this file see: https://angular.io/config/tsconfig. */
+{
+ "extends": "./tsconfig.lib.json",
+ "compilerOptions": {
+ "declarationMap": false
+ },
+ "angularCompilerOptions": {
+ "compilationMode": "partial"
+ }
+}
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.spec.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.spec.json.template
new file mode 100644
index 00000000..2108b9b9
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/library/files/tsconfig.spec.json.template
@@ -0,0 +1,17 @@
+/* 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"
+ ],
+ "include": [
+ "**/*.spec.ts",
+ "**/*.d.ts"
+ ]
+}