Skip to content

Commit e8b3028

Browse files
committed
Switch from Marko to Svelte
Rewrite the F/E app with Svelte. Do some chores: - Upgrade Gradle and Spring Boot. - Use Playwright for CodeceptJS instead of Puppeteer. - Fix a problem to miss a test case for the PATCH method.
1 parent 126feb9 commit e8b3028

24 files changed

+12451
-9565
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ Thumbs.db
2424
Thumbs.db:encryptable
2525
ehthumbs.db
2626
ehthumbs_vista.db
27+
28+
# STS
29+
bin/
30+
!**/src/main/**/bin/
31+
!**/src/test/**/bin/

app/build.gradle

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,18 @@ plugins {
1111
id 'application'
1212

1313
// Spring
14-
id 'org.springframework.boot' version '2.3.5.RELEASE'
15-
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
14+
id 'org.springframework.boot' version '2.7.3'
15+
id 'io.spring.dependency-management' version '1.0.13.RELEASE'
1616
}
1717

1818
repositories {
19-
// Use JCenter for resolving dependencies.
20-
jcenter()
19+
// Use Maven Central for resolving dependencies.
20+
mavenCentral()
2121
}
2222

2323
dependencies {
24-
// Use JUnit Jupiter API for testing.
25-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
26-
27-
// Use JUnit Jupiter Engine for testing.
28-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
29-
30-
// This dependency is used by the application.
31-
implementation 'com.google.guava:guava:29.0-jre'
32-
33-
// Jackson for JSON.
34-
implementation 'com.fasterxml.jackson.core:jackson-core:2.11.3'
35-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.11.3'
24+
// Spring Test
25+
implementation 'org.springframework.boot:spring-boot-starter-test'
3626

3727
// Spring Web
3828
implementation 'org.springframework.boot:spring-boot-starter-web'
@@ -44,6 +34,6 @@ application {
4434
}
4535

4636
tasks.named('test') {
47-
// Use junit platform for unit tests.
37+
// Use JUnit Platform for unit tests.
4838
useJUnitPlatform()
4939
}

gradle/wrapper/gradle-wrapper.jar

2.32 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

Lines changed: 164 additions & 105 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)