Skip to content

Commit

Permalink
chore: update Finance portfolio versions (#4235)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbechev committed Mar 14, 2024
1 parent 0604211 commit 3387557
Show file tree
Hide file tree
Showing 61 changed files with 14,976 additions and 12,419 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -47,6 +47,11 @@ jobs:
npm ci
npm run build
- name: Build Finance portfolio app
working-directory: ./examples-standalone/finance-portfolio
run: |
npm ci
- name: Build Electron dashboard app
working-directory: ./examples-standalone/electron-dashboard
run: |
Expand Down Expand Up @@ -113,11 +118,5 @@ jobs:
npm ci
npm run build
- name: Build Finance portfolio app
working-directory: ./examples-standalone/finance-portfolio
run: |
npm ci
npm run build
- name: Cleanup
run: git clean -xdf
46 changes: 32 additions & 14 deletions examples-standalone/coffee-warehouse/README.md
@@ -1,27 +1,45 @@
# CoffeeWarehouse
[<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/)

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

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

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.
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/)

## Code scaffolding
## In This Article

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

## Build
## Setting Up the Project

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

## Running unit tests
## Getting Started

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
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`.

## Running end-to-end tests
## Building for Development

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.
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.

## Further help
## Serve in Production

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.
Run `npm run serve-prod` to run the project in production mode.
12 changes: 0 additions & 12 deletions examples-standalone/finance-portfolio/.browserslistrc

This file was deleted.

5 changes: 4 additions & 1 deletion examples-standalone/finance-portfolio/.editorconfig
Expand Up @@ -4,10 +4,13 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
23 changes: 9 additions & 14 deletions examples-standalone/finance-portfolio/.gitignore
@@ -1,47 +1,42 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

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

# dependencies
# Node
/node_modules

# profiling files
chrome-profiler-events.json
speed-measure-plugin.json
npm-debug.log
yarn-error.log

# IDEs and editors
/.idea
.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
yarn-error.log
testem.log
/typings

# System Files
# System files
.DS_Store
Thumbs.db
7 changes: 7 additions & 0 deletions examples-standalone/finance-portfolio/.prettierrc
@@ -0,0 +1,7 @@
{
"trailingComma": "none",
"printWidth": 140,
"singleQuote": true,
"tabWidth": 4,
"quoteProps": "consistent"
}
27 changes: 5 additions & 22 deletions examples-standalone/finance-portfolio/README.md
@@ -1,4 +1,4 @@
[<img src="./logo-kendo.png" width="225" />](https://www.telerik.com/kendo-angular-ui/) [![Angular Logo](./logo-angular.jpg)](https://angular.io/)
[<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

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

## 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

Currently, the sample project runs with:
- Angular v13
- Angular-CLI v13

Note: This sample project is an Angular CLI project:
- 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`.
- 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).

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/finance-portfolio`.
1. Install dependencies with NPM by running `npm install`.


## Building for Development

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.

## Serve in Production

Run `npm run serve-prod` to run the project in production mode.
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.
91 changes: 49 additions & 42 deletions examples-standalone/finance-portfolio/angular.json
Expand Up @@ -7,88 +7,95 @@
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"skipTests": true
},
"@schematics/angular:service": {
"skipTests": true
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/finance-portfolio",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles/_main.scss"
"src/styles/_main.scss"
],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
"scripts": [ ]
},
"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",
"maximumWarning": "10mb",
"maximumError": "10mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
"maximumWarning": "2kb",
"maximumError": "4kb"
}
]
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": ""
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "finance-portfolio:build"
},
"configurations": {
"production": {
"browserTarget": "finance-portfolio:build:production"
"buildTarget": "finance-portfolio:build:production"
},
"development": {
"buildTarget": "finance-portfolio:build:development"
}
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "finance-portfolio:build"
"buildTarget": "finance-portfolio:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles/_main.scss"
],
"scripts": []
}
}
}
}},
"defaultProject": "finance-portfolio"
}
}
}
}

0 comments on commit 3387557

Please sign in to comment.