KEYCLOAK-6977: Stop using yarn for new admin console (#5181)

This commit is contained in:
Stan Silvert 2018-05-03 09:29:13 -04:00 committed by GitHub
parent 20f24bffc4
commit f3340b113f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4901 additions and 3041 deletions

View file

@ -69,50 +69,49 @@
<artifactId>frontend-maven-plugin</artifactId> <artifactId>frontend-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>install node and yarn</id> <id>install node and npm</id>
<goals> <goals>
<goal>install-node-and-yarn</goal> <goal>install-node-and-npm</goal>
</goals> </goals>
<phase>generate-resources</phase> <phase>generate-resources</phase>
<configuration> <configuration>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory> <nodeVersion>v8.9.4</nodeVersion>
<nodeVersion>v6.9.1</nodeVersion>
<yarnVersion>v0.28.4</yarnVersion>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>yarn install keycloak preview</id> <id>npm install</id>
<goals> <goals>
<goal>yarn</goal> <goal>npm</goal>
</goals> </goals>
<phase>generate-resources</phase>
<configuration> <configuration>
<arguments>install --production=false --frozen-lockfile</arguments> <arguments>install</arguments>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>compile typescript</id> <id>compile typescript</id>
<goals> <goals>
<goal>yarn</goal> <goal>npm</goal>
</goals> </goals>
<phase>compile</phase> <phase>compile</phase>
<configuration> <configuration>
<arguments>run build</arguments> <arguments>run build</arguments>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>yarn remove dev dependencies production=true</id> <id>npm remove dev dependencies production=true</id>
<goals> <goals>
<goal>yarn</goal> <goal>npm</goal>
</goals> </goals>
<phase>process-classes</phase> <phase>process-classes</phase>
<configuration> <configuration>
<arguments>install --production=true --frozen-lockfile</arguments> <arguments>install --production=true --no-package-lock</arguments>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
<configuration>
<workingDirectory>src/main/resources/theme/keycloak-preview/account/resources</workingDirectory>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>

File diff suppressed because it is too large Load diff

View file

@ -24,19 +24,21 @@
"author": "Stan Silvert", "author": "Stan Silvert",
"license": "Apache 2.0", "license": "Apache 2.0",
"dependencies": { "dependencies": {
"@angular/animations": "'5.0.0'", "@angular/animations": "5.0.0",
"@angular/common": "'5.0.0'", "@angular/common": "5.0.0",
"@angular/compiler": "'5.0.0'", "@angular/compiler": "5.0.0",
"@angular/compiler-cli": "'5.0.0'", "@angular/compiler-cli": "5.0.0",
"@angular/core": "'5.0.0'", "@angular/core": "5.0.0",
"@angular/forms": "'5.0.0'", "@angular/forms": "5.0.0",
"@angular/http": "'5.0.0'", "@angular/http": "5.0.0",
"@angular/platform-browser": "'5.0.0'", "@angular/platform-browser": "5.0.0",
"@angular/platform-browser-dynamic": "'5.0.0'", "@angular/platform-browser-dynamic": "5.0.0",
"@angular/platform-server": "'5.0.0'", "@angular/platform-server": "5.0.0",
"@angular/router": "'5.0.0'", "@angular/router": "5.0.0",
"@ngx-translate/core": "^9.1.1", "@ngx-translate/core": "^9.1.1",
"bootstrap": "^4.1.0",
"core-js": "^2.4.1", "core-js": "^2.4.1",
"jquery": "^3.3.1",
"patternfly": "^3.23.2", "patternfly": "^3.23.2",
"rxjs": "5.5.2", "rxjs": "5.5.2",
"rxjs-system-bundle": "^5.5.6", "rxjs-system-bundle": "^5.5.6",

View file

@ -7,7 +7,7 @@
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"lib": [ "es2015", "dom" ], "lib": [ "es2015", "dom" ],
"noImplicitAny": true, "noImplicitAny": false,
"suppressImplicitAnyIndexErrors": true "suppressImplicitAnyIndexErrors": true
} }
} }