Get Typescript working on web + some extras

This commit gets typescript compiling to browser-safe javascript using webpack.
Also fix some issues regarding handling status endpoints, missed debug and error reports, and cleaning some other things up.

Last change involves getting maven to automatically compile typescript and styles for the website without needing to do it in cli before the package
This commit is contained in:
NovaFox161
2020-03-07 21:24:11 -06:00
parent 7b87cc6f32
commit e8d013a709
59 changed files with 2965 additions and 745 deletions
+34 -23
View File
@@ -87,29 +87,40 @@
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>Compile Website</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>gulp</executable>
<commandlineArgs>build</commandlineArgs>
</configuration>
</execution>
<execution>
<id>Clean Website</id>
<phase>clean</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>gulp</executable>
<commandlineArgs>clean:all</commandlineArgs>
</configuration>
</execution>
</executions>
<execution>
<id>Compile Website Styles</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>gulp</executable>
<commandlineArgs>build</commandlineArgs>
</configuration>
</execution>
<execution>
<id>Compile Website Javascript</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>webpack</executable>
<workingDirectory>..</workingDirectory>
</configuration>
</execution>
<execution>
<id>Clean Website</id>
<phase>clean</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>gulp</executable>
<commandlineArgs>clean:all</commandlineArgs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>