-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(app): update project to new angular framework
- Loading branch information
1 parent
80ca5fd
commit eebfc2b
Showing
182 changed files
with
18,460 additions
and
3,995 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"project": { | ||
"name": "angular-starter" | ||
}, | ||
"apps": [ | ||
{ | ||
"root": "src", | ||
"outDir": "dist/browser", | ||
"assets": ["assets", "favicon.ico"], | ||
"index": "index.html", | ||
"main": "main.ts", | ||
"polyfills": "polyfills.ts", | ||
"test": "test.ts", | ||
"tsconfig": "tsconfig.app.json", | ||
"testTsconfig": "tsconfig.spec.json", | ||
"prefix": "app", | ||
"styles": ["scss/main.scss"], | ||
"stylePreprocessorOptions": { | ||
"includePaths": ["scss"] | ||
}, | ||
"scripts": [], | ||
"environmentSource": "environments/environment.ts", | ||
"environments": { | ||
"dev": "environments/environment.ts", | ||
"prod": "environments/environment.prod.ts" | ||
} | ||
}, | ||
{ | ||
"root": "src", | ||
"outDir": "dist/server", | ||
"assets": ["assets", "favicon.ico"], | ||
"index": "index.html", | ||
"main": "main.server.ts", | ||
"test": "test.ts", | ||
"tsconfig": "tsconfig.server.json", | ||
"testTsconfig": "tsconfig.spec.json", | ||
"prefix": "app", | ||
"styles": ["scss/main.scss"], | ||
"stylePreprocessorOptions": { | ||
"includePaths": ["scss"] | ||
}, | ||
"scripts": [], | ||
"environmentSource": "environments/environment.ts", | ||
"environments": { | ||
"dev": "environments/environment.ts", | ||
"prod": "environments/environment.prod.ts" | ||
}, | ||
"platform": "server", | ||
"name": "ssr" | ||
} | ||
], | ||
"e2e": { | ||
"protractor": { | ||
"config": "./protractor.conf.js" | ||
} | ||
}, | ||
"lint": [ | ||
{ | ||
"project": "src/tsconfig.app.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "src/tsconfig.spec.json", | ||
"exclude": "**/node_modules/**" | ||
}, | ||
{ | ||
"project": "e2e/tsconfig.e2e.json", | ||
"exclude": "**/node_modules/**" | ||
} | ||
], | ||
"test": { | ||
"karma": { | ||
"config": "./karma.conf.js" | ||
} | ||
}, | ||
"defaults": { | ||
"styleExt": "scss", | ||
"component": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# CircleCI configuration for angular-starter | ||
# | ||
|
||
version: 2 | ||
jobs: | ||
build: | ||
working_directory: ~/angular-starter | ||
docker: | ||
- image: circleci/node:8-browsers | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: angular-starter-{{ .Branch }}-{{ checksum "package.json" }} | ||
- run: npm i --no-progress | ||
- save_cache: | ||
key: angular-starter-{{ .Branch }}-{{ checksum "package.json" }} | ||
paths: | ||
- "node_modules" | ||
- run: npm run lint | ||
- run: xvfb-run -a npm run test -- --single-run --code-coverage --no-progress --browser=ChromeNoSandbox | ||
- run: xvfb-run -a npm run e2e -- --no-progress | ||
- run: npm run coverage |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,46 @@ | ||
logs/* | ||
!.gitkeep | ||
node_modules/ | ||
app/components/ | ||
app/js/config/ | ||
dist/ | ||
docs/ | ||
css/ | ||
coverage/ | ||
tmp | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
/dist | ||
/dist-server | ||
/tmp | ||
/out-tsc | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
|
||
# e2e | ||
/e2e/*.js | ||
/e2e/*.map | ||
|
||
# System Files | ||
.DS_Store | ||
.idea | ||
.grunt | ||
*.log | ||
_SpecRunner.html | ||
nohup.out | ||
Thumbs.db | ||
|
||
dist-server |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
package.json | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"semi": true, | ||
"bracketSpacing": true, | ||
"overrides": [ | ||
{ | ||
"files": "src/**/*.scss", | ||
"options": { | ||
"singleQuote": false | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"], | ||
"rules": { | ||
"order/order": [ | ||
"custom-properties", | ||
"declarations" | ||
], | ||
"order/properties-alphabetical-order": true, | ||
"no-empty-source": null, | ||
"selector-type-no-unknown": [ | ||
true, | ||
{ | ||
"ignore": ["custom-elements", "default-namespace"] | ||
} | ||
], | ||
"selector-pseudo-element-no-unknown": [ | ||
true, | ||
{ | ||
"ignorePseudoElements": ["ng-deep"] | ||
} | ||
], | ||
"declaration-colon-newline-after": null, | ||
"at-rule-empty-line-before": null, | ||
"block-closing-brace-newline-after": null | ||
}, | ||
"plugins": [ | ||
"stylelint-order" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.