Skip to content

Commit 0604211

Browse files
chore: update electron dashboard versions (#4239)
* chore: update electron dashboard versions * chore: fix dependency versions * chore: update workflow * chore: update workflow * chore: updated CI yml file for Electron dashboard app chore: updated CI yml file for Electron dashboard app chore: updated CI yml file for Electron dashboard app * chore: updated package-lock * chore: address comments --------- Co-authored-by: Daniel Takev <[email protected]>
1 parent 6213dd0 commit 0604211

File tree

117 files changed

+26560
-20871
lines changed

Some content is hidden

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

117 files changed

+26560
-20871
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ jobs:
4747
npm ci
4848
npm run build
4949
50+
- name: Build Electron dashboard app
51+
working-directory: ./examples-standalone/electron-dashboard
52+
run: |
53+
npm ci
54+
npm rebuild node-sass
55+
npm run build
56+
5057
- name: Build Grid & Charts integration app
5158
working-directory: ./examples-standalone/grid-charts-integration
5259
run: |
@@ -106,13 +113,6 @@ jobs:
106113
npm ci
107114
npm run build
108115
109-
- name: Build Electron dashboard app
110-
working-directory: ./examples-standalone/electron-dashboard
111-
run: |
112-
npm ci
113-
npm rebuild node-sass
114-
npm run build
115-
116116
- name: Build Finance portfolio app
117117
working-directory: ./examples-standalone/finance-portfolio
118118
run: |

examples-standalone/electron-dashboard/.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
src/environments/*
2+
e2e/playwright.config.ts

examples-standalone/electron-dashboard/.eslintrc.json

Lines changed: 30 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,59 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"node": true,
5-
"es6": true,
6-
"es2017": true
7-
},
2+
"root": true,
3+
"ignorePatterns": [
4+
"app/**/*", // ignore nodeJs files
5+
"dist/**/*",
6+
"release/**/*"
7+
],
88
"overrides": [
99
{
1010
"files": [
1111
"*.ts"
1212
],
13-
"extends": [
14-
"eslint:recommended",
15-
"plugin:@typescript-eslint/eslint-recommended",
16-
"plugin:@typescript-eslint/recommended",
17-
"plugin:@typescript-eslint/recommended-requiring-type-checking"
18-
],
19-
"parser": "@typescript-eslint/parser",
2013
"parserOptions": {
21-
"ecmaVersion": 10,
2214
"project": [
2315
"./tsconfig.serve.json",
2416
"./src/tsconfig.app.json",
2517
"./src/tsconfig.spec.json",
26-
"./e2e/tsconfig.e2e.json"
18+
"./e2e/tsconfig.e2e.json",
19+
"./tsconfig.json"
2720
],
28-
"sourceType": "module",
29-
"ecmaFeatures": {
30-
"modules": true
31-
}
21+
"createDefaultProgram": true
3222
},
33-
"plugins": [
34-
"@typescript-eslint",
35-
"@angular-eslint/eslint-plugin"
23+
"extends": [
24+
"plugin:@angular-eslint/recommended",
25+
"eslint:recommended",
26+
"plugin:@typescript-eslint/recommended",
27+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
28+
"plugin:@angular-eslint/template/process-inline-templates"
3629
],
3730
"rules": {
38-
"@typescript-eslint/indent": [
39-
"error",
40-
2,
41-
{
42-
"SwitchCase": 1,
43-
"CallExpression": {
44-
"arguments": "first"
45-
},
46-
"FunctionExpression": {
47-
"parameters": "first"
48-
},
49-
"FunctionDeclaration": {
50-
"parameters": "first"
51-
}
52-
}
53-
],
5431
"@typescript-eslint/no-empty-function": 0,
5532
"@typescript-eslint/no-explicit-any": 0,
56-
"@typescript-eslint/no-var-requires": 0,
33+
"@typescript-eslint/no-unsafe-assignment": 0,
5734
"@typescript-eslint/no-unsafe-call": 0,
5835
"@typescript-eslint/no-unsafe-member-access": 0,
59-
"@typescript-eslint/no-unsafe-assignment": 0,
60-
"@typescript-eslint/no-unsafe-return": 0,
61-
"@typescript-eslint/no-floating-promises": 0,
62-
"@typescript-eslint/semi": "error",
63-
"@angular-eslint/use-injectable-provided-in": "error",
64-
"@angular-eslint/no-attribute-decorator": "error"
36+
"prefer-arrow/prefer-arrow-functions": 0,
37+
"@angular-eslint/directive-selector": 0,
38+
"@angular-eslint/component-selector": [
39+
"error",
40+
{
41+
"type": "element",
42+
"prefix": "app",
43+
"style": "kebab-case"
44+
}
45+
],
46+
"jsdoc/newline-after-description": 0
6547
}
6648
},
6749
{
6850
"files": [
69-
"*.component.html"
51+
"*.html"
7052
],
71-
"parser": "@angular-eslint/template-parser",
72-
"plugins": [
73-
"@angular-eslint/template"
53+
"extends": [
54+
"plugin:@angular-eslint/template/recommended"
7455
],
7556
"rules": {
76-
"@angular-eslint/template/banana-in-box": "error",
77-
"@angular-eslint/template/no-negated-async": "error"
7857
}
7958
}
8059
]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: maximegris
4+
patreon: user?u=37550953
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: maximegris # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Additional context**
27+
- OS: [e.g. iOS]
28+
29+
Add any other context about the problem here.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "🐛 Bug report"
2+
description: Report errors or unexpected behavior
3+
labels:
4+
- bug
5+
- needs-triage
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Please make sure to [search for existing issues](https://github.com/maximegris/angular-electron/issues) before filing a new one!
11+
12+
- type: textarea
13+
attributes:
14+
label: Steps to reproduce
15+
description: We highly suggest including a screenshots and a bug report log.
16+
placeholder: |
17+
Tell us the steps required to trigger your bug.
18+
1. Go to '...'
19+
2. Click on '....'
20+
3. Scroll down to '....'
21+
4. See error
22+
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
attributes:
28+
label: ✔️ Expected Behavior
29+
placeholder: A clear and concise description of what you expected to happen.
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
attributes:
35+
label: 🔍 Additional context
36+
description: Add any other context about the problem here.
37+
placeholder: |
38+
OS: [e.g. iOS]
39+
40+
validations:
41+
required: false
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "⭐ New Feature / Enhancement Request"
2+
description: Propose something new.
3+
labels:
4+
- enhancement
5+
- needs-triage
6+
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Please limit one request per issue.
12+
13+
- type: textarea
14+
attributes:
15+
label: Description of the new feature / enhancement
16+
placeholder: |
17+
A clear and concise description of what is the expected behavior of the proposed feature?
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
attributes:
23+
label: Scenario when this would be used?
24+
placeholder: |
25+
What is the scenario this would be used? Why is this important?
26+
validations:
27+
required: true
28+
29+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

0 commit comments

Comments
 (0)