Skip to content

Commit 3387557

Browse files
authored
chore: update Finance portfolio versions (#4235)
1 parent 0604211 commit 3387557

Some content is hidden

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

61 files changed

+14976
-12419
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
npm ci
4848
npm run build
4949
50+
- name: Build Finance portfolio app
51+
working-directory: ./examples-standalone/finance-portfolio
52+
run: |
53+
npm ci
54+
5055
- name: Build Electron dashboard app
5156
working-directory: ./examples-standalone/electron-dashboard
5257
run: |
@@ -113,11 +118,5 @@ jobs:
113118
npm ci
114119
npm run build
115120
116-
- name: Build Finance portfolio app
117-
working-directory: ./examples-standalone/finance-portfolio
118-
run: |
119-
npm ci
120-
npm run build
121-
122121
- name: Cleanup
123122
run: git clean -xdf
Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,45 @@
1-
# CoffeeWarehouse
1+
[<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/)
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.3.
3+
# Using Kendo UI for Angular
44

5-
## Development server
5+
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).
66

7-
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.
7+
Used Kendo UI for Angular Components:
8+
- [Buttons](https://www.telerik.com/kendo-angular-ui/components/buttons/button/)
9+
- [Charts](https://www.telerik.com/kendo-angular-ui/components/charts/)
10+
- [DateInputs](https://www.telerik.com/kendo-angular-ui/components/dateinputs/)
11+
- [DropDonws](https://www.telerik.com/kendo-angular-ui/components/dropdowns/)
12+
- [Editor](https://www.telerik.com/kendo-angular-ui/components/editor/)
13+
- [Grid](https://www.telerik.com/kendo-angular-ui/components/grid/)
14+
- [Inputs](https://www.telerik.com/kendo-angular-ui/components/inputs/)
15+
- [Layout](https://www.telerik.com/kendo-angular-ui/components/layout/)
16+
- [Notification](https://www.telerik.com/kendo-angular-ui/components/notification/)
17+
- [Scheduler](https://www.telerik.com/kendo-angular-ui/components/scheduler/)
18+
- [Uploads](https://www.telerik.com/kendo-angular-ui/components/uploads/)
819

9-
## Code scaffolding
20+
## In This Article
1021

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`.
22+
* [Setting Up the Project](#setting-up-the-project)
23+
* [Getting Started](#getting-started)
24+
* [Building for Development](building-for-development)
25+
* [Serve in Production](serve-in-production)
1226

13-
## Build
27+
## Setting Up the Project
1428

15-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
29+
The sample project runs with the [currently supported Angular version](https://www.telerik.com/kendo-angular-ui/components/installation/requirements/#toc-angular).
1630

17-
## Running unit tests
31+
## Getting Started
1832

19-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
33+
1. Clone the repository of the sample application locally by running `git clone https://github.com/telerik/kendo-angular.git`.
34+
1. Navigate to the project folder by running `cd examples-standalone/coffee-warehouse`.
35+
1. Install dependencies with NPM by running `npm install`.
2036

21-
## Running end-to-end tests
37+
## Building for Development
2238

23-
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.
39+
To run the project:
40+
1. Execute the `ng serve` command in the terminal window for a dev server.
41+
1. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
2442

25-
## Further help
43+
## Serve in Production
2644

27-
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.
45+
Run `npm run serve-prod` to run the project in production mode.

examples-standalone/finance-portfolio/.browserslistrc

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples-standalone/finance-portfolio/.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ root = true
44
[*]
55
charset = utf-8
66
indent_style = space
7-
indent_size = 4
7+
indent_size = 2
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11+
[*.ts]
12+
quote_type = single
13+
1114
[*.md]
1215
max_line_length = off
1316
trim_trailing_whitespace = false
Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,42 @@
11
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

3-
# compiled output
3+
# Compiled output
44
/dist
55
/tmp
66
/out-tsc
7-
# Only exists if Bazel was run
87
/bazel-out
98

10-
# dependencies
9+
# Node
1110
/node_modules
12-
13-
# profiling files
14-
chrome-profiler-events.json
15-
speed-measure-plugin.json
11+
npm-debug.log
12+
yarn-error.log
1613

1714
# IDEs and editors
18-
/.idea
15+
.idea/
1916
.project
2017
.classpath
2118
.c9/
2219
*.launch
2320
.settings/
2421
*.sublime-workspace
2522

26-
# IDE - VSCode
23+
# Visual Studio Code
2724
.vscode/*
2825
!.vscode/settings.json
2926
!.vscode/tasks.json
3027
!.vscode/launch.json
3128
!.vscode/extensions.json
3229
.history/*
3330

34-
# misc
31+
# Miscellaneous
3532
/.angular/cache
36-
/.sass-cache
33+
.sass-cache/
3734
/connect.lock
3835
/coverage
3936
/libpeerconnection.log
40-
npm-debug.log
41-
yarn-error.log
4237
testem.log
4338
/typings
4439

45-
# System Files
40+
# System files
4641
.DS_Store
4742
Thumbs.db
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"trailingComma": "none",
3+
"printWidth": 140,
4+
"singleQuote": true,
5+
"tabWidth": 4,
6+
"quoteProps": "consistent"
7+
}
Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[<img src="./logo-kendo.png" width="225" />](https://www.telerik.com/kendo-angular-ui/) [![Angular Logo](./logo-angular.jpg)](https://angular.io/)
1+
[<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/)
22

33
# Using Kendo UI for Angular
44

@@ -13,35 +13,18 @@ Used Kendo UI for Angular Components:
1313
- [Buttons](https://www.telerik.com/kendo-angular-ui/components/buttons/button/)
1414
- [Kendo Theme Bootstrap](https://www.telerik.com/kendo-angular-ui/components/styling/theme-bootstrap/)
1515

16-
## In This Article
17-
18-
* [Setting Up the Project](#setting-up-the-project)
19-
* [Getting Started](#getting-started)
20-
* [Building for Development](building-for-development)
21-
* [Serve in Production](serve-in-production)
22-
2316
## Setting Up the Project
2417

25-
Currently, the sample project runs with:
26-
- Angular v13
27-
- Angular-CLI v13
28-
29-
Note: This sample project is an Angular CLI project:
30-
- 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`.
31-
- 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).
32-
18+
The sample project runs with the [currently supported Angular version](https://www.telerik.com/kendo-angular-ui/components/installation/requirements/#toc-angular).
3319

3420
## Getting Started
3521

3622
1. Clone the repository of the sample application locally by running `git clone https://github.com/telerik/kendo-angular.git`.
3723
1. Navigate to the project folder by running `cd examples-standalone/finance-portfolio`.
3824
1. Install dependencies with NPM by running `npm install`.
3925

40-
4126
## Building for Development
4227

43-
In the terminal window, `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
44-
45-
## Serve in Production
46-
47-
Run `npm run serve-prod` to run the project in production mode.
28+
To run the project:
29+
1. Execute the `ng serve` command in the terminal window for a dev server.
30+
1. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

examples-standalone/finance-portfolio/angular.json

Lines changed: 49 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,88 +7,95 @@
77
"projectType": "application",
88
"schematics": {
99
"@schematics/angular:component": {
10-
"style": "scss",
11-
"skipTests": true
12-
},
13-
"@schematics/angular:service": {
14-
"skipTests": true
10+
"style": "scss"
1511
}
1612
},
1713
"root": "",
1814
"sourceRoot": "src",
1915
"prefix": "app",
2016
"architect": {
2117
"build": {
22-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
2319
"options": {
2420
"outputPath": "dist/finance-portfolio",
2521
"index": "src/index.html",
26-
"main": "src/main.ts",
27-
"polyfills": "src/polyfills.ts",
22+
"browser": "src/main.ts",
23+
"polyfills": [
24+
"zone.js"
25+
],
2826
"tsConfig": "tsconfig.app.json",
27+
"inlineStyleLanguage": "scss",
2928
"assets": [
3029
"src/favicon.ico",
3130
"src/assets"
3231
],
3332
"styles": [
34-
"src/styles/_main.scss"
33+
"src/styles/_main.scss"
3534
],
36-
"scripts": [],
37-
"vendorChunk": true,
38-
"extractLicenses": false,
39-
"buildOptimizer": false,
40-
"sourceMap": true,
41-
"optimization": false,
42-
"namedChunks": true
35+
"scripts": [ ]
4336
},
4437
"configurations": {
4538
"production": {
46-
"fileReplacements": [
47-
{
48-
"replace": "src/environments/environment.ts",
49-
"with": "src/environments/environment.prod.ts"
50-
}
51-
],
52-
"optimization": true,
53-
"outputHashing": "all",
54-
"sourceMap": false,
55-
"namedChunks": false,
56-
"extractLicenses": true,
57-
"vendorChunk": false,
58-
"buildOptimizer": true,
5939
"budgets": [
6040
{
6141
"type": "initial",
62-
"maximumWarning": "8mb",
42+
"maximumWarning": "10mb",
6343
"maximumError": "10mb"
6444
},
6545
{
6646
"type": "anyComponentStyle",
67-
"maximumWarning": "6kb"
47+
"maximumWarning": "2kb",
48+
"maximumError": "4kb"
6849
}
69-
]
50+
],
51+
"outputHashing": "all"
52+
},
53+
"development": {
54+
"optimization": false,
55+
"extractLicenses": false,
56+
"sourceMap": true
7057
}
7158
},
72-
"defaultConfiguration": ""
59+
"defaultConfiguration": "production"
7360
},
7461
"serve": {
7562
"builder": "@angular-devkit/build-angular:dev-server",
76-
"options": {
77-
"browserTarget": "finance-portfolio:build"
78-
},
7963
"configurations": {
8064
"production": {
81-
"browserTarget": "finance-portfolio:build:production"
65+
"buildTarget": "finance-portfolio:build:production"
66+
},
67+
"development": {
68+
"buildTarget": "finance-portfolio:build:development"
8269
}
83-
}
70+
},
71+
"defaultConfiguration": "development"
8472
},
8573
"extract-i18n": {
8674
"builder": "@angular-devkit/build-angular:extract-i18n",
8775
"options": {
88-
"browserTarget": "finance-portfolio:build"
76+
"buildTarget": "finance-portfolio:build"
77+
}
78+
},
79+
"test": {
80+
"builder": "@angular-devkit/build-angular:karma",
81+
"options": {
82+
"polyfills": [
83+
"zone.js",
84+
"zone.js/testing"
85+
],
86+
"tsConfig": "tsconfig.spec.json",
87+
"inlineStyleLanguage": "scss",
88+
"assets": [
89+
"src/favicon.ico",
90+
"src/assets"
91+
],
92+
"styles": [
93+
"src/styles/_main.scss"
94+
],
95+
"scripts": []
8996
}
9097
}
9198
}
92-
}},
93-
"defaultProject": "finance-portfolio"
94-
}
99+
}
100+
}
101+
}

0 commit comments

Comments
 (0)