Skip to content

Commit

Permalink
KEYCLOAK-6977: Stop using yarn for new admin console (keycloak#5181)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssilvert authored May 3, 2018
1 parent 20f24bf commit f3340b1
Show file tree
Hide file tree
Showing 5 changed files with 4,901 additions and 3,041 deletions.
29 changes: 14 additions & 15 deletions themes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,50 +69,49 @@
<artifactId>frontend-maven-plugin</artifactId>
<executions>
<execution>
<id>install node and yarn</id>
<id>install node and npm</id>
<goals>
<goal>install-node-and-yarn</goal>
<goal>install-node-and-npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
<nodeVersion>v6.9.1</nodeVersion>
<yarnVersion>v0.28.4</yarnVersion>
<nodeVersion>v8.9.4</nodeVersion>
</configuration>
</execution>
<execution>
<id>yarn install keycloak preview</id>
<id>npm install</id>
<goals>
<goal>yarn</goal>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>install --production=false --frozen-lockfile</arguments>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>compile typescript</id>
<goals>
<goal>yarn</goal>
<goal>npm</goal>
</goals>
<phase>compile</phase>
<configuration>
<arguments>run build</arguments>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
</configuration>
</execution>
<execution>
<id>yarn remove dev dependencies production=true</id>
<id>npm remove dev dependencies production=true</id>
<goals>
<goal>yarn</goal>
<goal>npm</goal>
</goals>
<phase>process-classes</phase>
<configuration>
<arguments>install --production=true --frozen-lockfile</arguments>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
<arguments>install --production=true --no-package-lock</arguments>
</configuration>
</execution>
</executions>
<configuration>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
Expand Down
Loading

0 comments on commit f3340b1

Please sign in to comment.