-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update Coffee Warehouse to Angular v17
- Loading branch information
Showing
25 changed files
with
8,972 additions
and
23,021 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,52 +1,42 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
# Compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
/app-builds | ||
main.js | ||
/bazel-out | ||
|
||
# dependencies | ||
# Node | ||
/node_modules | ||
|
||
#prettier configuration | ||
/.prettierrc | ||
|
||
#license | ||
/kendo-ui-license.txt | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# IDEs and editors | ||
/.idea | ||
.editorconfig | ||
.idea/ | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
# Visual Studio Code | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history/* | ||
|
||
# misc | ||
# Miscellaneous | ||
/.angular/cache | ||
/.sass-cache | ||
.sass-cache/ | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
testem.log | ||
/typings | ||
|
||
# e2e | ||
/e2e/*.js | ||
/e2e/*.map | ||
|
||
# System Files | ||
# System files | ||
.DS_Store | ||
Thumbs.db |
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,45 +1,27 @@ | ||
[<img src="./src/assets/logo-kendo.png" width="225" />](https://www.telerik.com/kendo-angular-ui/) [![Angular Logo](./src/assets/logo-angular.png)](https://angular.io/) | ||
|
||
# Using Kendo UI for Angular | ||
|
||
This Kendo UI for Angular sample project demonstrates how to use [Kendo UI for Angular components](https://www.telerik.com/kendo-angular-ui/components) within a coffee warehouse prototype application and visualize data. Currently, [the example is deployed on GitHub pages](https://telerik.github.io/kendo-angular/coffee-warehouse). | ||
|
||
Used Kendo UI for Angular Components: | ||
- [Buttons](https://www.telerik.com/kendo-angular-ui/components/buttons/button/) | ||
- [Charts](https://www.telerik.com/kendo-angular-ui/components/charts/) | ||
- [DateInputs](https://www.telerik.com/kendo-angular-ui/components/dateinputs/) | ||
- [DropDonws](https://www.telerik.com/kendo-angular-ui/components/dropdowns/) | ||
- [Editor](https://www.telerik.com/kendo-angular-ui/components/editor/) | ||
- [Grid](https://www.telerik.com/kendo-angular-ui/components/grid/) | ||
- [Inputs](https://www.telerik.com/kendo-angular-ui/components/inputs/) | ||
- [Layout](https://www.telerik.com/kendo-angular-ui/components/layout/) | ||
- [Notification](https://www.telerik.com/kendo-angular-ui/components/notification/) | ||
- [Scheduler](https://www.telerik.com/kendo-angular-ui/components/scheduler/) | ||
- [Uploads](https://www.telerik.com/kendo-angular-ui/components/uploads/) | ||
|
||
## In This Article | ||
|
||
* [Setting Up the Project](#setting-up-the-project) | ||
* [Getting Started](#getting-started) | ||
* [Building for Development](building-for-development) | ||
* [Serve in Production](serve-in-production) | ||
|
||
## Setting Up the Project | ||
|
||
The sample project runs with the [currently supported Angular version](https://www.telerik.com/kendo-angular-ui/components/installation/requirements/#toc-angular). | ||
|
||
## Getting Started | ||
|
||
1. Clone the repository of the sample application locally by running `git clone https://github.com/telerik/kendo-angular.git`. | ||
1. Navigate to the project folder by running `cd examples-standalone/coffee-warehouse`. | ||
1. Install dependencies with NPM by running `npm install`. | ||
|
||
## Building for Development | ||
|
||
To run the project: | ||
1. Execute the `ng serve` command in the terminal window for a dev server. | ||
1. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. | ||
|
||
## Serve in Production | ||
|
||
Run `npm run serve-prod` to run the project in production mode. | ||
# CoffeeWarehouse | ||
|
||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.3. | ||
|
||
## Development server | ||
|
||
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. | ||
|
||
## Code scaffolding | ||
|
||
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`. | ||
|
||
## Build | ||
|
||
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. | ||
|
||
## Running unit tests | ||
|
||
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). | ||
|
||
## Running end-to-end tests | ||
|
||
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities. | ||
|
||
## 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. |
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,116 +1,117 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"coffee-warehouse": { | ||
"projectType": "application", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"style": "scss", | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:service": { | ||
"skipTests": true | ||
} | ||
}, | ||
"root": "", | ||
"sourceRoot": "src", | ||
"prefix": "app", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"allowedCommonJsDependencies": [ | ||
"hammerjs", | ||
"@progress/kendo-angular-intl/locales/en/all", | ||
"@progress/kendo-angular-intl/locales/es/all", | ||
"@progress/kendo-angular-intl/locales/fr/all" | ||
], | ||
"outputPath": "dist/coffee-warehouse", | ||
"index": "src/index.html", | ||
"main": "src/main.ts", | ||
"polyfills": "src/polyfills.ts", | ||
"tsConfig": "tsconfig.app.json", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets", | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@progress/kendo-theme-bootstrap/dist", | ||
"output": "/assets/kendo-theme-bootstrap/dist" | ||
}, | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@progress/kendo-theme-default/dist", | ||
"output": "/assets/kendo-theme-default/dist" | ||
}, | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@progress/kendo-theme-material/dist", | ||
"output": "/assets/kendo-theme-material/dist" | ||
} | ||
], | ||
"styles": [ | ||
"src/styles/main.scss" | ||
], | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"coffee-warehouse": { | ||
"projectType": "application", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"style": "scss", | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:service": { | ||
"skipTests": true | ||
} | ||
}, | ||
"root": "", | ||
"sourceRoot": "src", | ||
"prefix": "app", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"allowedCommonJsDependencies": [ | ||
"hammerjs", | ||
"@progress/kendo-angular-intl/locales/en/all", | ||
"@progress/kendo-angular-intl/locales/es/all", | ||
"@progress/kendo-angular-intl/locales/fr/all" | ||
], | ||
"outputPath": "dist/coffee-warehouse", | ||
"index": "src/index.html", | ||
"main": "src/main.ts", | ||
"polyfills": [ | ||
"zone.js" | ||
], | ||
"tsConfig": "tsconfig.app.json", | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets", | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@progress/kendo-theme-bootstrap/dist", | ||
"output": "/assets/kendo-theme-bootstrap/dist" | ||
}, | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@progress/kendo-theme-default/dist", | ||
"output": "/assets/kendo-theme-default/dist" | ||
}, | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@progress/kendo-theme-material/dist", | ||
"output": "/assets/kendo-theme-material/dist" | ||
} | ||
], | ||
"styles": [ | ||
"src/styles/main.scss" | ||
], | ||
"scripts": [], | ||
"vendorChunk": true, | ||
"extractLicenses": false, | ||
"buildOptimizer": false, | ||
"sourceMap": true, | ||
"optimization": false, | ||
"namedChunks": true | ||
}, | ||
"configurations": { | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.prod.ts" | ||
} | ||
], | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"namedChunks": false, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true, | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "8mb", | ||
"maximumError": "10mb" | ||
}, | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "6kb" | ||
} | ||
] | ||
} | ||
"namedChunks": true | ||
}, | ||
"defaultConfiguration": "" | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"browserTarget": "coffee-warehouse:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "coffee-warehouse:build:production" | ||
} | ||
} | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "coffee-warehouse:build" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"defaultProject": "coffee-warehouse" | ||
"configurations": { | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "src/environments/environment.ts", | ||
"with": "src/environments/environment.prod.ts" | ||
} | ||
], | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"namedChunks": false, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true, | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "8mb", | ||
"maximumError": "10mb" | ||
}, | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "6kb" | ||
} | ||
] | ||
} | ||
}, | ||
"defaultConfiguration": "" | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"buildTarget": "coffee-warehouse:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"buildTarget": "coffee-warehouse:build:production" | ||
} | ||
} | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"buildTarget": "coffee-warehouse:build" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.