Skip to content

Commit

Permalink
Update OrderDrinksApp example
Browse files Browse the repository at this point in the history
  • Loading branch information
annmirosh committed Feb 27, 2020
1 parent 67d56bc commit 44c5c66
Show file tree
Hide file tree
Showing 11 changed files with 9,048 additions and 7,844 deletions.
13 changes: 13 additions & 0 deletions examples/OrderDrinksApp/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
46 changes: 46 additions & 0 deletions examples/OrderDrinksApp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out

# dependencies
/node_modules

# profiling files
chrome-profiler-events*.json
speed-measure-plugin*.json

# 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
.history/*

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db
28 changes: 12 additions & 16 deletions examples/OrderDrinksApp/angular.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"version": 1,
"newProjectRoot": "projects",
"projects": {
"coffee": {
"OrderDrinksApp": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand All @@ -17,18 +17,17 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/coffee",
"outputPath": "dist/OrderDrinksApp",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": false,
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/pink-bluegrey.css",
"src/styles.scss"
],
"scripts": []
Expand All @@ -46,7 +45,6 @@
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -68,18 +66,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "coffee:build"
"browserTarget": "OrderDrinksApp:build"
},
"configurations": {
"production": {
"browserTarget": "coffee:build:production"
"browserTarget": "OrderDrinksApp:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "coffee:build"
"browserTarget": "OrderDrinksApp:build"
}
},
"test": {
Expand All @@ -94,7 +92,6 @@
"src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/pink-bluegrey.css",
"src/styles.scss"
],
"scripts": []
Expand All @@ -117,16 +114,15 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "coffee:serve"
"devServerTarget": "OrderDrinksApp:serve"
},
"configurations": {
"production": {
"devServerTarget": "coffee:serve:production"
"devServerTarget": "OrderDrinksApp:serve:production"
}
}
}
}
}
},
"defaultProject": "coffee"
}
}},
"defaultProject": "OrderDrinksApp"
}
Loading

0 comments on commit 44c5c66

Please sign in to comment.