mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-14 16:20:04 +00:00
148935a47a
Bumps [frontend-maven-plugin](https://github.com/eirslett/frontend-maven-plugin) from 1.12.0 to 1.12.1. - [Release notes](https://github.com/eirslett/frontend-maven-plugin/releases) - [Changelog](https://github.com/eirslett/frontend-maven-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/eirslett/frontend-maven-plugin/compare/frontend-plugins-1.12.0...frontend-plugins-1.12.1) --- updated-dependencies: - dependency-name: com.github.eirslett:frontend-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
91 lines
2.5 KiB
XML
91 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>gameyfin</artifactId>
|
|
<groupId>de.grimsi</groupId>
|
|
<version>1.4.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>gameyfin-frontend</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<frontend-maven-plugin.version>1.12.1</frontend-maven-plugin.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>./dist/frontend</directory>
|
|
<targetPath>static</targetPath>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<!-- clean the dist directory used by Angular -->
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>dist</directory>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>${frontend-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
<!-- Install node and npm -->
|
|
<execution>
|
|
<id>Install Node and NPM</id>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<nodeVersion>v16.16.0</nodeVersion>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!-- clean install -->
|
|
<execution>
|
|
<id>npm install</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
</execution>
|
|
|
|
<!-- Update frontend version in package.json -->
|
|
<execution>
|
|
<id>npm version</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>version ${project.version} --allow-same-version</arguments>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!-- build app -->
|
|
<execution>
|
|
<id>npm run build</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build --omit=dev</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|