Skip to content

Commit 3adb27b

Browse files
authored
Migrate to ESM, webpack/rspack+babel to vite, and jest to vitest (#665)
1 parent f1b4ec0 commit 3adb27b

File tree

72 files changed

+2666
-10314
lines changed

Some content is hidden

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

72 files changed

+2666
-10314
lines changed

.babelrc

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

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@
44
!/src/main
55
/src/main/*
66
!/src/main/frontend
7+
!/package.json
8+
!/tsconfig.json
9+
!/.prettierrc.json
10+
!/vite.config.ts
11+
!/vitest.config.ts

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ On one terminal, start a development server that will not process frontend asset
7272
mvn hpi:run -Dskip.npm -P quick-build
7373
```
7474

75-
On another terminal, start a [webpack](https://webpack.js.org/) dev server:
75+
On another terminal, start a [vite](https://vite.dev/) build command that automatically rebuilds on code changes:
7676
```sh
7777
npm run build:dev
7878
```
@@ -96,7 +96,7 @@ Code style will be enforced by GitHub pull request checks.
9696

9797
For frontend code we use [prettier](https://prettier.io/).
9898

99-
You can automatically fix issues with `npm run prettier`
99+
You can automatically fix issues with `npm run lint:fix`
100100

101101
For java code we use [spotless](https://github.com/diffplug/spotless).
102102

0 commit comments

Comments
 (0)