-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JNG-4463 fix generator add tests fix readme (#12)
* JNG-4463: fix generator bugs, redundant helpers * JNG-4463: fix generator bugs, redundant helpers, test project * JNG-4463: gix generator, add tests, fix readme
- Loading branch information
Showing
53 changed files
with
6,784 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ target/ | |
**/*.iml | ||
transaction-logs/ | ||
.flattened-pom.xml | ||
.nodejs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" output="target/classes" path="src/main/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
<attribute name="test" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>judo-ui-react-external-packages</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.pde.PluginNature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>hu.blackbelt.judo.generator</groupId> | ||
<artifactId>judo-ui-react-template</artifactId> | ||
<version>${revision}</version> | ||
</parent> | ||
|
||
<artifactId>judo-ui-react-external-packages</artifactId> | ||
<packaging>bundle</packaging> | ||
<name>JUDO UI React Frontend Repackaged External Packages</name> | ||
|
||
<properties> | ||
<node-install-dir>${project.parent.basedir}/target/nodejs</node-install-dir> | ||
<build-dir>${basedir}/target/classes</build-dir> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.github.eirslett</groupId> | ||
<artifactId>frontend-maven-plugin</artifactId> | ||
<version>${frontend-maven-plugin-version}</version> | ||
<executions> | ||
<execution> | ||
<id>install node and pnpm</id> | ||
<goals> | ||
<goal>install-node-and-pnpm</goal> | ||
</goals> | ||
<phase>generate-resources</phase> | ||
</execution> | ||
<execution> | ||
<id>pnpm install</id> | ||
<goals> | ||
<goal>pnpm</goal> | ||
</goals> | ||
<phase>compile</phase> | ||
<configuration> | ||
<arguments>install</arguments> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>build</id> | ||
<goals> | ||
<goal>pnpm</goal> | ||
</goals> | ||
<phase>compile</phase> | ||
<configuration> | ||
<arguments>build</arguments> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<nodeVersion>v${node-version}</nodeVersion> | ||
<pnpmVersion>${pnpm-version}</pnpmVersion> | ||
<installDirectory>${node-install-dir}</installDirectory> | ||
<workingDirectory>${build-dir}</workingDirectory> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>maven-bundle-plugin</artifactId> | ||
<version>4.2.1</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<instructions> | ||
<!-- <Web-ContextPath>${model-name}/${actor}</Web-ContextPath>--> | ||
<Include-Resource> | ||
/externals=${build-dir}/dist, | ||
{maven-resources} | ||
</Include-Resource> | ||
</instructions> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
6 changes: 6 additions & 0 deletions
6
judo-ui-react-external-packages/src/main/resources/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.idea | ||
**/*.iml | ||
node_modules | ||
target | ||
dist | ||
**/*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
auto-install-peers=true |
25 changes: 25 additions & 0 deletions
25
judo-ui-react-external-packages/src/main/resources/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# judo-tatami-ui-packages | ||
|
||
Re-packaged external dependencies which do not provide UMD modules. | ||
|
||
## Items | ||
- @mui/x-data-grid | ||
- @mui/x-date-pickers | ||
- @mui/x-date-pickers/AdapterDayjs | ||
- react-dom/client | ||
- react/jsx-runtime | ||
|
||
## Setup | ||
|
||
```bash | ||
pnpm i | ||
``` | ||
|
||
## Commands | ||
|
||
```bash | ||
pnpm build | ||
|
||
pnpm watch | ||
pnpm preview | ||
``` |
Oops, something went wrong.