Skip to content

Commit fb34515

Browse files
committed
project for angular 9.0.6
0 parents  commit fb34515

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+15081
-0
lines changed

Diff for: .gitignore

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
# /dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db

Diff for: README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# AngularSampleProject
2+
3+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.6.
4+
5+
## Development server
6+
7+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8+
9+
## Code scaffolding
10+
11+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12+
13+
## Build
14+
15+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
16+
17+
## Running unit tests
18+
19+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20+
21+
## Running end-to-end tests
22+
23+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24+
25+
## Further help
26+
27+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

Diff for: angular.json

+140
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"angular-sample-project": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"inlineTemplate": true,
11+
"inlineStyle": true,
12+
"style": "scss",
13+
"skipTests": true
14+
},
15+
"@schematics/angular:class": {
16+
"skipTests": true
17+
},
18+
"@schematics/angular:directive": {
19+
"skipTests": true
20+
},
21+
"@schematics/angular:guard": {
22+
"skipTests": true
23+
},
24+
"@schematics/angular:interceptor": {
25+
"skipTests": true
26+
},
27+
"@schematics/angular:module": {
28+
"skipTests": true
29+
},
30+
"@schematics/angular:pipe": {
31+
"skipTests": true
32+
},
33+
"@schematics/angular:service": {
34+
"skipTests": true
35+
}
36+
},
37+
"root": "",
38+
"sourceRoot": "src",
39+
"prefix": "app",
40+
"architect": {
41+
"build": {
42+
"builder": "@angular-devkit/build-angular:browser",
43+
"options": {
44+
"outputPath": "dist/angular-sample-project",
45+
"index": "src/index.html",
46+
"main": "src/main.ts",
47+
"polyfills": "src/polyfills.ts",
48+
"tsConfig": "tsconfig.app.json",
49+
"aot": true,
50+
"assets": [
51+
"src/favicon.ico"
52+
],
53+
"scripts": []
54+
},
55+
"configurations": {
56+
"production": {
57+
"optimization": true,
58+
"outputHashing": "all",
59+
"sourceMap": false,
60+
"extractCss": true,
61+
"namedChunks": false,
62+
"extractLicenses": true,
63+
"vendorChunk": false,
64+
"buildOptimizer": true,
65+
"budgets": [
66+
{
67+
"type": "initial",
68+
"maximumWarning": "2mb",
69+
"maximumError": "5mb"
70+
},
71+
{
72+
"type": "anyComponentStyle",
73+
"maximumWarning": "6kb",
74+
"maximumError": "10kb"
75+
}
76+
]
77+
}
78+
}
79+
},
80+
"serve": {
81+
"builder": "@angular-devkit/build-angular:dev-server",
82+
"options": {
83+
"browserTarget": "angular-sample-project:build"
84+
},
85+
"configurations": {
86+
"production": {
87+
"browserTarget": "angular-sample-project:build:production"
88+
}
89+
}
90+
},
91+
"extract-i18n": {
92+
"builder": "@angular-devkit/build-angular:extract-i18n",
93+
"options": {
94+
"browserTarget": "angular-sample-project:build"
95+
}
96+
}
97+
}
98+
},
99+
"sample-component-lib": {
100+
"projectType": "library",
101+
"root": "projects/sample-component-lib",
102+
"sourceRoot": "projects/sample-component-lib/src",
103+
"prefix": "lib",
104+
"architect": {
105+
"build": {
106+
"builder": "@angular-devkit/build-ng-packagr:build",
107+
"options": {
108+
"tsConfig": "projects/sample-component-lib/tsconfig.lib.json",
109+
"project": "projects/sample-component-lib/ng-package.json"
110+
},
111+
"configurations": {
112+
"production": {
113+
"tsConfig": "projects/sample-component-lib/tsconfig.lib.prod.json"
114+
}
115+
}
116+
},
117+
"test": {
118+
"builder": "@angular-devkit/build-angular:karma",
119+
"options": {
120+
"main": "projects/sample-component-lib/src/test.ts",
121+
"tsConfig": "projects/sample-component-lib/tsconfig.spec.json",
122+
"karmaConfig": "projects/sample-component-lib/karma.conf.js"
123+
}
124+
},
125+
"lint": {
126+
"builder": "@angular-devkit/build-angular:tslint",
127+
"options": {
128+
"tsConfig": [
129+
"projects/sample-component-lib/tsconfig.lib.json",
130+
"projects/sample-component-lib/tsconfig.spec.json"
131+
],
132+
"exclude": [
133+
"**/node_modules/**"
134+
]
135+
}
136+
}
137+
}
138+
}},
139+
"defaultProject": "angular-sample-project"
140+
}

Diff for: browserslist

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

Diff for: dist/sample-component-lib/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# SampleComponentLib
2+
3+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.7.
4+
5+
## Code scaffolding
6+
7+
Run `ng generate component component-name --project sample-component-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project sample-component-lib`.
8+
> Note: Don't forget to add `--project sample-component-lib` or else it will be added to the default project in your `angular.json` file.
9+
10+
## Build
11+
12+
Run `ng build sample-component-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13+
14+
## Publishing
15+
16+
After building your library with `ng build sample-component-lib`, go to the dist folder `cd dist/sample-component-lib` and run `npm publish`.
17+
18+
## Running unit tests
19+
20+
Run `ng test sample-component-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21+
22+
## Further help
23+
24+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

Diff for: dist/sample-component-lib/bundles/sample-component-lib.umd.js

+89
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/sample-component-lib/bundles/sample-component-lib.umd.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/sample-component-lib/bundles/sample-component-lib.umd.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)