Skip to content

Commit e663a0d

Browse files
JonasHelmingsdirix
andauthored
Migrate to NPM (#254)
* chore: migrate to npm Migrates the repository itself as well as the template projects from yarn to npm. Also updates to Node 22. * fix: widget template test cases - add jest-environment-dom dependency - adapt config to consume cjs variants of dependencies - add DragEvent mock required by Lumino - remove react warnings during execution --------- Co-authored-by: Stefan Dirix <[email protected]>
1 parent 22f01c9 commit e663a0d

16 files changed

+9996
-4585
lines changed

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [ubuntu-22.04]
21-
node: [20]
21+
node: [22]
2222

2323
steps:
2424
- name: Checkout
@@ -33,19 +33,19 @@ jobs:
3333

3434
- name: Install
3535
shell: bash
36-
run: yarn install
36+
run: npm ci
3737

3838
- name: Test
3939
shell: bash
40-
run: yarn test
40+
run: npm test
4141

4242
test-with-theia-latest:
4343
runs-on: ${{ matrix.os }}
4444

4545
strategy:
4646
matrix:
4747
os: [ubuntu-22.04]
48-
node: [20]
48+
node: [22]
4949

5050
steps:
5151
- name: Checkout
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Install
6262
shell: bash
63-
run: yarn install
63+
run: npm ci
6464

6565
- name: Generate and Build Templates with Latest Theia version
6666
shell: bash
@@ -72,7 +72,7 @@ jobs:
7272
strategy:
7373
matrix:
7474
os: [ubuntu-22.04]
75-
node: [20]
75+
node: [22]
7676

7777
steps:
7878
- name: Checkout
@@ -87,7 +87,7 @@ jobs:
8787

8888
- name: Install
8989
shell: bash
90-
run: yarn install
90+
run: npm ci
9191

9292
- name: Generate and Build Templates with Next Theia version
9393
shell: bash

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ lib
55
*-app/*
66
!*-app/package.json
77
generators
8-
package-lock.json

0 commit comments

Comments
 (0)