Skip to content

Commit 92e3a65

Browse files
authored
Merge pull request #81 from IgniteUI/vnext
Push to production
2 parents b27c961 + bb19fe9 commit 92e3a65

383 files changed

Lines changed: 46845 additions & 8027 deletions

File tree

Some content is hidden

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

.github/workflows/codeql.yml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL Advanced"
13+
14+
on:
15+
push:
16+
branches: [ "vnext" ]
17+
pull_request:
18+
branches: [ "vnext" ]
19+
20+
jobs:
21+
analyze:
22+
name: Analyze (${{ matrix.language }})
23+
# Runner size impacts CodeQL analysis time. To learn more, please see:
24+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
25+
# - https://gh.io/supported-runners-and-hardware-resources
26+
# - https://gh.io/using-larger-runners (GitHub.com only)
27+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
28+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
29+
permissions:
30+
# required for all workflows
31+
security-events: write
32+
33+
# required to fetch internal or private CodeQL packs
34+
packages: read
35+
36+
# only required for workflows in private repositories
37+
actions: read
38+
contents: read
39+
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
include:
44+
- language: javascript-typescript
45+
build-mode: none
46+
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
47+
# Use `c-cpp` to analyze code written in C, C++ or both
48+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
49+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
50+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
51+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
52+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
53+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
54+
steps:
55+
- name: Checkout repository
56+
uses: actions/checkout@v4
57+
58+
# Initializes the CodeQL tools for scanning.
59+
- name: Initialize CodeQL
60+
uses: github/codeql-action/init@v3
61+
with:
62+
languages: ${{ matrix.language }}
63+
build-mode: ${{ matrix.build-mode }}
64+
# If you wish to specify custom queries, you can do so here or in a config file.
65+
# By default, queries listed here will override any specified in a config file.
66+
# Prefix the list here with "+" to use these queries and those in the config file.
67+
68+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
69+
# queries: security-extended,security-and-quality
70+
71+
# If the analyze step fails for one of the languages you are analyzing with
72+
# "We were unable to automatically build your code", modify the matrix above
73+
# to set the build mode to "manual" for that language. Then modify this step
74+
# to build your code.
75+
# ℹ️ Command-line programs to run using the OS shell.
76+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
77+
- if: matrix.build-mode == 'manual'
78+
shell: bash
79+
run: |
80+
echo 'If you are using a "manual" build mode for one or more of the' \
81+
'languages you are analyzing, replace this with the commands to build' \
82+
'your code, for example:'
83+
echo ' make bootstrap'
84+
echo ' make release'
85+
exit 1
86+
87+
- name: Perform CodeQL Analysis
88+
uses: github/codeql-action/analyze@v3
89+
with:
90+
category: "/language:${{matrix.language}}"

.github/workflows/node.js.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ "vnext", "master" ]
9+
pull_request:
10+
branches: [ "vnext", "master" ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [20.x, 22.x]
20+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: 'npm'
29+
- run: npm ci
30+
- run: npm run build --if-present

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@infragistics:registry=https://packages.infragistics.com/npm/js-licensed/
2+
legacy-peer-deps=true

angular.json

Lines changed: 117 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,15 @@
5050
{
5151
"glob": "**/*",
5252
"input": "projects/sales-grid/public"
53+
},
54+
{
55+
"glob": "**/*",
56+
"input": "projects/fleet-management-grid/public"
5357
}
5458
],
5559
"styles": [
5660
"src/styles.scss"
5761
],
58-
"server": "src/main.server.ts",
59-
"outputMode": "static",
60-
"ssr": {
61-
"entry": "src/server.ts"
62-
},
6362
"stylePreprocessorOptions": {
6463
"includePaths": [
6564
"node_modules"
@@ -590,6 +589,119 @@
590589
}
591590
}
592591
}
592+
},
593+
"fleet-management": {
594+
"projectType": "application",
595+
"schematics": {
596+
"@schematics/angular:component": {
597+
"style": "scss"
598+
}
599+
},
600+
"root": "projects/fleet-management-grid",
601+
"sourceRoot": "projects/fleet-management-grid/src",
602+
"prefix": "app",
603+
"architect": {
604+
"build": {
605+
"builder": "@angular-devkit/build-angular:application",
606+
"options": {
607+
"outputPath": "dist/fleet-management",
608+
"index": "projects/fleet-management-grid/src/index.html",
609+
"browser": "projects/fleet-management-grid/src/main.ts",
610+
"polyfills": [
611+
"zone.js"
612+
],
613+
"tsConfig": "projects/fleet-management-grid/tsconfig.app.json",
614+
"inlineStyleLanguage": "scss",
615+
"assets": [
616+
{
617+
"glob": "**/*",
618+
"input": "projects/fleet-management-grid/public"
619+
}
620+
],
621+
"styles": [
622+
"projects/fleet-management-grid/src/styles.scss"
623+
],
624+
"scripts": [
625+
"./node_modules/hammerjs/hammer.min.js"
626+
],
627+
"outputMode": "static",
628+
"stylePreprocessorOptions": {
629+
"includePaths": [
630+
"node_modules"
631+
]
632+
}
633+
},
634+
"configurations": {
635+
"production": {
636+
"budgets": [
637+
{
638+
"type": "initial",
639+
"maximumWarning": "11MB",
640+
"maximumError": "12MB"
641+
},
642+
{
643+
"type": "anyComponentStyle",
644+
"maximumWarning": "4kB",
645+
"maximumError": "8kB"
646+
}
647+
],
648+
"outputHashing": "all"
649+
},
650+
"development": {
651+
"optimization": false,
652+
"extractLicenses": false,
653+
"sourceMap": true
654+
}
655+
},
656+
"defaultConfiguration": "production"
657+
},
658+
"serve": {
659+
"builder": "@angular-devkit/build-angular:dev-server",
660+
"configurations": {
661+
"production": {
662+
"buildTarget": "fleet-management:build:production"
663+
},
664+
"development": {
665+
"buildTarget": "fleet-management:build:development"
666+
}
667+
},
668+
"defaultConfiguration": "development"
669+
},
670+
"extract-i18n": {
671+
"builder": "@angular-devkit/build-angular:extract-i18n"
672+
},
673+
"test": {
674+
"builder": "@angular-devkit/build-angular:karma",
675+
"options": {
676+
"polyfills": [
677+
"zone.js",
678+
"zone.js/testing"
679+
],
680+
"tsConfig": "projects/fleet-management-grid/tsconfig.spec.json",
681+
"inlineStyleLanguage": "scss",
682+
"assets": [
683+
{
684+
"glob": "**/*",
685+
"input": "projects/fleet-management-grid/public"
686+
}
687+
],
688+
"styles": [
689+
"projects/fleet-management-grid/src/styles.scss"
690+
],
691+
"scripts": [
692+
"./node_modules/hammerjs/hammer.min.js"
693+
],
694+
"stylePreprocessorOptions": {
695+
"includePaths": [
696+
"node_modules"
697+
]
698+
}
699+
}
700+
}
701+
}
593702
}
703+
},
704+
"cli": {
705+
"analytics": false
594706
}
595707
}

0 commit comments

Comments
 (0)