Skip to content

Commit 393b152

Browse files
committed
project for angular 9.0.6
0 parents  commit 393b152

33 files changed

+13314
-0
lines changed

.gitmodules

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "sample-styles-library"]
2+
path = sample-styles-library
3+
url = [email protected]:mcaligares/sample-styles-library.git
4+
[submodule "angular-sample-component"]
5+
path = angular-sample-component
6+
url = [email protected]:mcaligares/angular-sample-component.git

angular-sample-component

project-factory/.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

project-factory/README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# ProjectFactory
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).

project-factory/angular.json

+133
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"project-factory": {
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+
"preserveSymlinks": true,
45+
"outputPath": "dist/project-factory",
46+
"index": "src/index.html",
47+
"main": "src/main.ts",
48+
"polyfills": "src/polyfills.ts",
49+
"tsConfig": "tsconfig.app.json",
50+
"aot": true,
51+
"assets": [
52+
"src/favicon.ico",
53+
"src/assets"
54+
],
55+
"styles": [
56+
"src/styles/index.scss"
57+
],
58+
"scripts": []
59+
},
60+
"configurations": {
61+
"development": {
62+
"fileReplacements": [
63+
{
64+
"replace": "src/environments/environment.ts",
65+
"with": "src/environments/environment.dev.ts"
66+
}
67+
]
68+
},
69+
"preproduction": {
70+
"fileReplacements": [
71+
{
72+
"replace": "src/environments/environment.ts",
73+
"with": "src/environments/environment.ppd.ts"
74+
}
75+
]
76+
},
77+
"production": {
78+
"fileReplacements": [
79+
{
80+
"replace": "src/environments/environment.ts",
81+
"with": "src/environments/environment.prod.ts"
82+
}
83+
],
84+
"optimization": true,
85+
"outputHashing": "all",
86+
"sourceMap": false,
87+
"extractCss": true,
88+
"namedChunks": false,
89+
"extractLicenses": true,
90+
"vendorChunk": false,
91+
"buildOptimizer": true,
92+
"budgets": [
93+
{
94+
"type": "initial",
95+
"maximumWarning": "2mb",
96+
"maximumError": "5mb"
97+
},
98+
{
99+
"type": "anyComponentStyle",
100+
"maximumWarning": "6kb",
101+
"maximumError": "10kb"
102+
}
103+
]
104+
}
105+
}
106+
},
107+
"serve": {
108+
"builder": "@angular-devkit/build-angular:dev-server",
109+
"options": {
110+
"browserTarget": "project-factory:build"
111+
},
112+
"configurations": {
113+
"development": {
114+
"browserTarget": "project-factory:build:development"
115+
},
116+
"preproduction": {
117+
"browserTarget": "project-factory:build:preproduction"
118+
},
119+
"production": {
120+
"browserTarget": "project-factory:build:production"
121+
}
122+
}
123+
},
124+
"extract-i18n": {
125+
"builder": "@angular-devkit/build-angular:extract-i18n",
126+
"options": {
127+
"browserTarget": "project-factory:build"
128+
}
129+
}
130+
}
131+
}},
132+
"defaultProject": "project-factory"
133+
}

project-factory/brands/blue.scss

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* BLUE - BRAND */
2+
$primary: #4D648D;
3+
4+
$global-font: 'Times New Roman';

project-factory/brands/green.scss

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* GREEN - BRAND */
2+
$primary: #5FAE57;
3+
4+
$global-font: 'Courier';

project-factory/brands/red.scss

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* RED - BRAND */
2+
$primary: #CD6771;
3+
4+
$global-font: 'Comic Sans MS';

project-factory/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'.

0 commit comments

Comments
 (0)