Skip to content
Merged

Next #26

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2ea80dd
Refactor EEcircuit component and add lazy loading for EditorCustom
danchitnis Oct 9, 2024
9576603
deno
danchitnis Oct 15, 2024
d4926b1
Update EEcircuit.tsx
danchitnis Oct 15, 2024
f513d38
sim loading button
danchitnis Oct 20, 2024
2b3e737
more suspense
danchitnis Oct 20, 2024
5483e22
fix editor suspense for LCP
danchitnis Oct 20, 2024
cc59398
initial
danchitnis Nov 9, 2024
e0f6438
preact
danchitnis Nov 10, 2024
132e36b
remove deno & preact
danchitnis Nov 16, 2024
b6d10ac
fixes
danchitnis Nov 16, 2024
e37e13d
npm in fix
danchitnis Nov 16, 2024
e2593b3
Merge pull request #22 from eelab-dev/chakra-v3
danchitnis Nov 17, 2024
fcbee9a
Update inject.js
danchitnis Nov 17, 2024
486a091
readOutput Bug
danchitnis Nov 18, 2024
78ea438
Update eecircuit-test.ts
danchitnis Nov 18, 2024
1579ef4
Auto updates after tests
danchitnis Nov 27, 2024
7a16653
Auto updates after tests
danchitnis Nov 27, 2024
d1b386e
Auto updates after tests
danchitnis Dec 1, 2024
9c3db80
Auto updates after tests
danchitnis Dec 8, 2024
aa2ece8
remove focus lock
danchitnis Dec 16, 2024
3800c6a
Auto updates after tests
danchitnis Dec 17, 2024
2a6b799
Auto updates after tests
danchitnis Dec 22, 2024
8ece9b7
Auto updates after tests
danchitnis Jan 5, 2025
06f9bf1
Auto updates after tests
danchitnis Jan 12, 2025
921c10d
fixed inject
danchitnis Mar 4, 2025
54e0ab4
update chore
danchitnis Mar 4, 2025
9fec798
using lib
danchitnis Mar 6, 2025
9a96202
Update .gitignore
danchitnis Mar 6, 2025
b928076
vite mts
danchitnis Mar 7, 2025
c6101f0
Merge pull request #25 from eelab-dev/engine
danchitnis Mar 7, 2025
f0a47d3
Auto updates after tests
danchitnis Mar 7, 2025
dacd218
refactor sim results
danchitnis Mar 8, 2025
1ee459c
fix download
danchitnis Mar 14, 2025
cb2d02f
Auto updates after tests
danchitnis Mar 14, 2025
4672ed2
light dark theme
danchitnis Mar 15, 2025
7d792c5
cursor light dark
danchitnis Mar 16, 2025
253d7ca
Auto updates after tests
danchitnis Mar 16, 2025
e376cc6
Merge branch 'main' into next
danchitnis Mar 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .eslintrc.js

This file was deleted.

68 changes: 31 additions & 37 deletions .github/workflows/build-push-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ env:

on:
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at midnight
workflow_dispatch: # Allows manual triggering
- cron: "0 0 * * 0" # Runs every Sunday at midnight
workflow_dispatch: # Allows manual triggering

jobs:
build-and-deploy:
Expand All @@ -20,47 +20,41 @@ jobs:
contents: write

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
repository: eelab-dev/EEcircuit
ref: next # Checkout the "next" branch
- name: Checkout Repository
uses: actions/checkout@v4
with:
repository: eelab-dev/EEcircuit
ref: next # Checkout the "next" branch

- name: Update Dependencies
run: npx --yes npm-check-updates -u

- name: Update Dependencies
run: npx --yes npm-check-updates -u

- name: Install Dependencies
run: npm install
- name: Install Dependencies
run: npm install

- name: Update engine to next version
run: npm install eecircuit-engine@next

- name: Build Project with Vite
run: npm run build
- name: Update engine to next version
run: npm install eecircuit-engine@next

- name: Deploy to Vercel
run: npx vercel --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project with Vite
run: npm run build

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Playwright tests
run: npx playwright test -g "EEcircuit Next"

- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

- name: Deploy to Vercel
run: npx vercel --token=${{ secrets.VERCEL_TOKEN }}

# auto commit
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Auto updates after tests
- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Playwright tests
run: npx playwright test -g "EEcircuit Next"


- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

# auto commit
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Auto updates after tests
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ tests/output
tests/repos
test-results
playwright-report
.DS_Store
37 changes: 0 additions & 37 deletions Docker/Dockerfile

This file was deleted.

4 changes: 0 additions & 4 deletions Docker/help.txt

This file was deleted.

88 changes: 0 additions & 88 deletions Docker/inject.js

This file was deleted.

63 changes: 0 additions & 63 deletions Docker/run.sh

This file was deleted.

14 changes: 14 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";


/** @type {import('eslint').Linter.Config[]} */
export default [
{files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
];
Loading