Skip to content

Commit edb5ab7

Browse files
Add projects
1 parent ee9f16a commit edb5ab7

File tree

133 files changed

+54999
-32
lines changed

Some content is hidden

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

133 files changed

+54999
-32
lines changed

.github/workflows/check-images.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Check Unused Images
2+
3+
on:
4+
push:
5+
paths:
6+
- '**/*.md'
7+
- '*.png'
8+
- '*.jpg'
9+
- '*.jpeg'
10+
- '*.svg'
11+
- '*.gif'
12+
- 'images/**'
13+
pull_request:
14+
15+
jobs:
16+
check-unused-images:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Check for unused images
22+
run: |
23+
unused=()
24+
25+
# Find all images in the root and `images/` directory (if it exists)
26+
images=$(find . -maxdepth 1 -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.svg" -o -iname "*.gif" \) -printf "%P\n")
27+
if [ -d "./images" ]; then
28+
images+=" $(find ./images -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.svg" -o -iname "*.gif" \) -printf "%P\n")"
29+
fi
30+
31+
# Loop through each image to check if it's referenced in any README files
32+
for img in $images; do
33+
found=false
34+
while IFS= read -r -d '' readme_file; do
35+
if grep -q "!\[.*\](.*$img.*)" "$readme_file"; then
36+
found=true
37+
break
38+
fi
39+
done < <(find . -iname "readme.md" -print0)
40+
41+
if [ "$found" = false ]; then
42+
unused+=("$img")
43+
fi
44+
done
45+
46+
# Check if there are any unused images
47+
if [ ${#unused[@]} -gt 0 ]; then
48+
echo "❌ Unused images found that are not referenced in any README files:"
49+
echo "## Unused Images" >> $GITHUB_STEP_SUMMARY
50+
echo "" >> $GITHUB_STEP_SUMMARY
51+
echo "| Image Name | Path |" >> $GITHUB_STEP_SUMMARY
52+
echo "|------------|------|" >> $GITHUB_STEP_SUMMARY
53+
54+
for img in "${unused[@]}"; do
55+
if [[ -f "./$img" ]]; then
56+
path="./$img"
57+
else
58+
path="./images/$img"
59+
fi
60+
name=$(basename "$img")
61+
echo "$name -> $path"
62+
63+
echo "| $name | $path |" >> $GITHUB_STEP_SUMMARY
64+
done
65+
66+
exit 1
67+
else
68+
echo "✅ No unused images found that are not referenced in README files!"
69+
fi

.github/workflows/check-readme.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Check README links
2+
3+
concurrency:
4+
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
5+
cancel-in-progress: true
6+
7+
on:
8+
pull_request:
9+
push:
10+
branches:
11+
- "[0-9][0-9].[0-9].[0-9]*"
12+
13+
jobs:
14+
link-check:
15+
name: Check README links
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 10
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
22+
- name: Check links in README
23+
uses: lycheeverse/lychee-action@v1
24+
with:
25+
args: --verbose --no-progress './**/[Rr][Ee][Aa][Dd][Mm][Ee].md' --exclude-file .lycheeignore
26+
fail: true

.github/workflows/lint.yml

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
name: Lint
2+
3+
concurrency:
4+
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
5+
cancel-in-progress: true
6+
7+
on:
8+
pull_request:
9+
push:
10+
branches:
11+
- "[0-9][0-9].[0-9].[0-9]*"
12+
13+
jobs:
14+
Angular:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 60
17+
steps:
18+
- name: Get sources
19+
uses: actions/checkout@v3
20+
21+
- name: Use Node.js
22+
uses: actions/setup-node@v3
23+
24+
- name: Restore npm cache
25+
uses: actions/cache@v3
26+
with:
27+
path: ./Angular/node_modules
28+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
29+
restore-keys: ${{ runner.os }}-node-modules
30+
31+
- name: Run npm install
32+
working-directory: Angular
33+
run: npm install --no-audit --no-fund
34+
35+
- name: Lint Angular
36+
working-directory: Angular
37+
env:
38+
DEBUG: eslint:cli-engine
39+
run: npm run lint
40+
41+
jQuery:
42+
runs-on: ubuntu-latest
43+
timeout-minutes: 60
44+
steps:
45+
- name: Get sources
46+
uses: actions/checkout@v3
47+
48+
- name: Use Node.js
49+
uses: actions/setup-node@v3
50+
51+
- name: Restore npm cache
52+
uses: actions/cache@v3
53+
with:
54+
path: ./jQuery/node_modules
55+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
56+
restore-keys: ${{ runner.os }}-node-modules
57+
58+
- name: Run npm install
59+
working-directory: jQuery
60+
run: npm install --no-audit --no-fund
61+
62+
- name: Lint jQuery
63+
working-directory: jQuery
64+
env:
65+
DEBUG: eslint:cli-engine
66+
run: npm run lint
67+
68+
React:
69+
runs-on: ubuntu-latest
70+
timeout-minutes: 60
71+
steps:
72+
- name: Get sources
73+
uses: actions/checkout@v3
74+
75+
- name: Use Node.js
76+
uses: actions/setup-node@v4
77+
with:
78+
node-version: '20'
79+
80+
- name: Restore npm cache
81+
uses: actions/cache@v3
82+
with:
83+
path: ./React/node_modules
84+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
85+
restore-keys: ${{ runner.os }}-node-modules
86+
87+
- name: Run npm install
88+
working-directory: React
89+
run: npm install --no-audit --no-fund
90+
91+
- name: Lint React
92+
working-directory: React
93+
env:
94+
DEBUG: eslint:cli-engine
95+
run: npm run lint
96+
97+
Vue:
98+
runs-on: ubuntu-latest
99+
timeout-minutes: 60
100+
steps:
101+
- name: Get sources
102+
uses: actions/checkout@v3
103+
104+
- name: Use Node.js
105+
uses: actions/setup-node@v3
106+
107+
- name: Restore npm cache
108+
uses: actions/cache@v3
109+
with:
110+
path: ./Vue/node_modules
111+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
112+
restore-keys: ${{ runner.os }}-node-modules
113+
114+
- name: Run npm install
115+
working-directory: Vue
116+
run: npm install --no-audit --no-fund
117+
118+
- name: Lint Vue
119+
working-directory: Vue
120+
env:
121+
DEBUG: eslint:cli-engine
122+
run: npm run lint

.github/workflows/typescript.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: TS compilation
2+
3+
concurrency:
4+
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
5+
cancel-in-progress: true
6+
7+
on:
8+
pull_request:
9+
push:
10+
branches:
11+
- "[0-9][0-9].[0-9].[0-9]*"
12+
13+
jobs:
14+
Angular:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 60
17+
steps:
18+
- name: Get sources
19+
uses: actions/checkout@v3
20+
21+
- name: Use Node.js
22+
uses: actions/setup-node@v3
23+
24+
- name: Restore npm cache
25+
uses: actions/cache@v3
26+
with:
27+
path: ./Angular/node_modules
28+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
29+
restore-keys: ${{ runner.os }}-node-modules
30+
31+
- name: Run npm install
32+
working-directory: Angular
33+
run: npm install --no-audit --no-fund
34+
35+
- name: TSC Angular
36+
working-directory: Angular
37+
run: npm run build
38+
39+
React:
40+
runs-on: ubuntu-latest
41+
timeout-minutes: 60
42+
steps:
43+
- name: Get sources
44+
uses: actions/checkout@v3
45+
46+
- name: Use Node.js
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version: '20'
50+
51+
- name: Restore npm cache
52+
uses: actions/cache@v3
53+
with:
54+
path: ./React/node_modules
55+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
56+
restore-keys: ${{ runner.os }}-node-modules
57+
58+
- name: Run npm install
59+
working-directory: React
60+
run: npm install --no-audit --no-fund
61+
62+
- name: TSC React
63+
working-directory: React
64+
run: npm run build
65+
66+
Vue:
67+
runs-on: ubuntu-latest
68+
timeout-minutes: 60
69+
steps:
70+
- name: Get sources
71+
uses: actions/checkout@v3
72+
73+
- name: Use Node.js
74+
uses: actions/setup-node@v3
75+
76+
- name: Restore npm cache
77+
uses: actions/cache@v3
78+
with:
79+
path: ./Vue/node_modules
80+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
81+
restore-keys: ${{ runner.os }}-node-modules
82+
83+
- name: Run npm install
84+
working-directory: Vue
85+
run: npm install --no-audit --no-fund
86+
87+
- name: TSC Vue
88+
working-directory: Vue
89+
run: npm run type-check

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,7 @@ TesterMetadata.xml
303303

304304
# Backup files
305305
*.bak
306+
307+
*/wwwroot/*
308+
!*/wwwroot/css/Site.css
309+
*.DS_Store

.lycheeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
https://www.devexpress.com/support/examples/survey.xml?*
2+
https://supportcenter.devexpress.com/ticket/create
3+
http*://localhost*

0 commit comments

Comments
 (0)