Skip to content

Commit

Permalink
chore: refactor project structure (#1034)
Browse files Browse the repository at this point in the history
Move extension into subfolders and rename modules folders following
Quarkus conventions (deployment, runtime)

Fixes #1012
  • Loading branch information
mcollovati authored Nov 2, 2024
1 parent 67b6c08 commit 7399f2a
Show file tree
Hide file tree
Showing 145 changed files with 28 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ drivers/
error-screenshots/
webpack.generated.js
integration-tests/smoke-tests/build/
deployment-commons/src/main/frontend/
commons/deployment/src/main/frontend/
1 change: 1 addition & 0 deletions deployment-commons/pom.xml → commons/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>quarkus-hilla-commons-deployment</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>hilla-shaded-deps</artifactId>
Expand Down
1 change: 1 addition & 0 deletions runtime-commons/pom.xml → commons/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>quarkus-hilla-commons</artifactId>
Expand Down
1 change: 1 addition & 0 deletions deployment/pom.xml → lit/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>quarkus-hilla-deployment</artifactId>
Expand Down
1 change: 1 addition & 0 deletions hilla-jandex/pom.xml → lit/hilla-jandex/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>hilla-jandex</artifactId>
Expand Down
1 change: 1 addition & 0 deletions runtime/pom.xml → lit/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>quarkus-hilla</artifactId>
Expand Down
36 changes: 18 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -462,15 +462,15 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>hilla-shaded-deps</module>
<module>hilla-jandex</module>
<module>hilla-react-jandex</module>
<module>runtime-commons</module>
<module>runtime</module>
<module>runtime-react</module>
<module>deployment-commons</module>
<module>deployment</module>
<module>deployment-react</module>
<module>commons/hilla-shaded-deps</module>
<module>lit/hilla-jandex</module>
<module>react/hilla-react-jandex</module>
<module>commons/runtime</module>
<module>lit/runtime</module>
<module>react/runtime</module>
<module>commons/deployment</module>
<module>lit/deployment</module>
<module>react/deployment</module>
</modules>
</profile>
<profile>
Expand Down Expand Up @@ -583,15 +583,15 @@
<profile>
<id>all-modules</id>
<modules>
<module>hilla-shaded-deps</module>
<module>hilla-jandex</module>
<module>hilla-react-jandex</module>
<module>runtime-commons</module>
<module>runtime</module>
<module>runtime-react</module>
<module>deployment-commons</module>
<module>deployment</module>
<module>deployment-react</module>
<module>commons/hilla-shaded-deps</module>
<module>lit/hilla-jandex</module>
<module>react/hilla-react-jandex</module>
<module>commons/runtime</module>
<module>lit/runtime</module>
<module>react/runtime</module>
<module>commons/deployment</module>
<module>lit/deployment</module>
<module>react/deployment</module>
<module>integration-tests</module>
</modules>
</profile>
Expand Down
1 change: 1 addition & 0 deletions deployment-react/pom.xml → react/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>quarkus-hilla-react-deployment</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>hilla-react-jandex</artifactId>
Expand Down
1 change: 1 addition & 0 deletions runtime-react/pom.xml → react/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<groupId>com.github.mcollovati</groupId>
<artifactId>quarkus-hilla-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>quarkus-hilla-react</artifactId>
Expand Down

0 comments on commit 7399f2a

Please sign in to comment.