Skip to content

Commit e57291d

Browse files
authored
Update adapter to handle undo/redo actions (#415)
* Update adapter to handle undo/redo actions * Delete vscode extension workflows * Delete vscode extension related code * Lint, format and type check fixes * Fix copilot recommendations
1 parent c665de2 commit e57291d

39 files changed

+699
-1181
lines changed

.eslintrc.js

Lines changed: 0 additions & 103 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Node
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: '20'
28+
node-version: '22'
2929
- name: Install the npm dependencies
3030
run: |
3131
npm install
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup Node
4646
uses: actions/setup-node@v4
4747
with:
48-
node-version: '20'
48+
node-version: '22'
4949

5050
- name: Install Dependencies
5151
run: npm install

.github/workflows/code-quality.yml

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
code-quality:
15-
name: Code Quality Checks
14+
format-check:
15+
name: Format Check (Prettier)
1616
runs-on: ubuntu-latest
1717

1818
steps:
@@ -22,7 +22,30 @@ jobs:
2222
- name: Setup Node.js
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: '20'
25+
node-version: '22'
26+
27+
- name: Install dependencies
28+
run: npm install
29+
30+
- name: Run Format Checks
31+
run: |
32+
echo "::group::Running Format Checks"
33+
npm run format:check
34+
echo "✓ Prettier passed"
35+
echo "::endgroup::"
36+
37+
lint-check:
38+
name: Lint Check (ESLint)
39+
runs-on: ubuntu-latest
40+
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v4
44+
45+
- name: Setup Node.js
46+
uses: actions/setup-node@v4
47+
with:
48+
node-version: '22'
2649

2750
- name: Install dependencies
2851
run: npm install
@@ -33,18 +56,27 @@ jobs:
3356
echo "Running ESLint..."
3457
npm run lint
3558
echo "✓ ESLint passed"
36-
echo ""
3759
echo "::endgroup::"
3860
39-
- name: Run Format Checks
40-
run: |
41-
echo "::group::Running Format Checks"
42-
npm run format:check
43-
echo "✓ Prettier passed"
44-
echo ""
45-
echo "::endgroup::"
61+
type-check:
62+
name: Type Check (TypeScript)
63+
runs-on: ubuntu-latest
64+
65+
steps:
66+
- name: Checkout
67+
uses: actions/checkout@v4
68+
69+
- name: Setup Node.js
70+
uses: actions/setup-node@v4
71+
with:
72+
node-version: '22'
73+
74+
- name: Install dependencies
75+
run: npm install
76+
4677
- name: Build project
4778
run: npm run build
79+
4880
- name: Run Type Checks
4981
run: |
5082
echo "::group::Running Type Checks"

.github/workflows/vscode-code-quality.yml

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)