Keep NPM module versions in sync with Maven module versions

master
Jens Pelzetter 2023-04-25 19:34:57 +02:00
parent 407a2276bf
commit d6d3f232bb
4 changed files with 23 additions and 3 deletions

View File

@ -93,6 +93,16 @@
<goal>npm</goal>
</goals>
</execution>
<!-- Sync Maven module version and NPM module version -->
<execution>
<id>npm version</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>version --allow-same-version=true ${project.version}</arguments>
</configuration>
</execution>
<execution>
<id>build</id>
<goals>

View File

@ -1,12 +1,12 @@
{
"name": "@libreccm/ccm-core",
"version": "7.0.0",
"version": "7.0.0-SNAPSHOT",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@libreccm/ccm-core",
"version": "7.0.0",
"version": "7.0.0-SNAPSHOT",
"license": "LGPL-3.0-or-later",
"dependencies": {
"bootstrap": "^4.6.0",

View File

@ -1,6 +1,6 @@
{
"name": "@libreccm/ccm-core",
"version": "7.0.0",
"version": "7.0.0-SNAPSHOT",
"description": "JavaScript stuff for ccm-core",
"main": "target/generated-resources/assets/@admin/ccm-admin.js",
"scripts": {

View File

@ -334,6 +334,16 @@
<goal>npm</goal>
</goals>
</execution>
<!-- Sync Maven module version and NPM module version -->
<execution>
<id>npm version</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>version --allow-same-version=true ${project.version}</arguments>
</configuration>
</execution>
<execution>
<id>build</id>
<goals>