Skip to content

Commit 602cd57

Browse files
feat: rewrite to React + TypeScript with Vite and MUI 9
- Remove entire Blazor/C#/.NET codebase (src/, BitesInByte.sln, .hintrc) - Add React 19 + TypeScript + Vite 8 project in web/ - Implement all 9 tools: JSON formatter, YAML validator, JWT decoder, text compare, encode/decode, CSV delimiter, cron tester, JSON↔YAML - MUI 9 with zinc/neutral palette matching bitesinbyte.com design - Inter font, dark mode default, animated hero, card glow effects - Monaco Editor for code editing and diff views - PWA manifest, sitemap, favicons, Google Analytics preserved - Update CI/CD to Node.js build deploying web/dist - Update .gitignore for Node.js and README for new stack
1 parent b293b63 commit 602cd57

File tree

89 files changed

+5889
-9701
lines changed

Some content is hidden

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

89 files changed

+5889
-9701
lines changed

.github/workflows/deploy.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,28 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17-
- name: Setup .NET SDK
18-
uses: actions/setup-dotnet@v4
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
1919
with:
20-
dotnet-version: 10.x
20+
node-version: 22
21+
cache: npm
22+
cache-dependency-path: web/package-lock.json
2123

22-
- name: Restore dependencies
23-
run: dotnet restore src/BitesInByte.Tools.csproj
24+
- name: Install dependencies
25+
run: npm ci
26+
working-directory: web
2427

25-
- name: Publish project
26-
run: dotnet publish src/BitesInByte.Tools.csproj -c Release -o release --nologo
27-
28-
- name: Change base-tag in index.html
29-
run: sed -i 's/<base href="\/" \/>/<base href="https\:\/\/tools.bitesinbyte.com\/" \/>/g' release/wwwroot/index.html
28+
- name: Build
29+
run: npm run build
30+
working-directory: web
3031

3132
- name: Copy index.html to 404.html
32-
run: cp release/wwwroot/index.html release/wwwroot/404.html
33+
run: cp web/dist/index.html web/dist/404.html
3334

3435
- name: Add .nojekyll file
35-
run: touch release/wwwroot/.nojekyll
36+
run: touch web/dist/.nojekyll
3637

3738
- name: Deploy to GitHub Pages
3839
uses: JamesIves/github-pages-deploy-action@v4
3940
with:
40-
folder: release/wwwroot
41+
folder: web/dist

0 commit comments

Comments
 (0)