Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anthony ROZEN
Not Alone
Commits
0d2e5bf5
Commit
0d2e5bf5
authored
Dec 11, 2020
by
Gerson Sunyé
Browse files
Configure maven-frontend-plugin to use Yarn instead of npm
parent
1465c91b
Changes
2
Show whitespace changes
Inline
Side-by-side
not-alone-player/package.json
View file @
0d2e5bf5
...
...
@@ -2,7 +2,9 @@
"name"
:
"not-alone-player"
,
"version"
:
"0.0.0"
,
"main"
:
"dist/main.js"
,
"types"
:
"dist/main.d.ts"
,
"scripts"
:
{
"clean"
:
"rm -rf ./src/codegen/* ./dist/*"
,
"prebuild"
:
"tslint -c tslint.json -p tsconfig.json --fix"
,
"build"
:
"tsc"
,
"prestart"
:
"npm run build"
,
...
...
not-alone-player/pom.xml
View file @
0d2e5bf5
...
...
@@ -21,45 +21,62 @@
<configuration>
<workingDirectory>
./
</workingDirectory>
<nodeVersion>
v14.11.0
</nodeVersion>
<
npm
Version>
7.0
.10
</
npm
Version>
<
yarn
Version>
v1.22
.10
</
yarn
Version>
</configuration>
<executions>
<execution>
<id>
install
node
and
npm
</id>
<id>
install
-
node
-
and
-yarn
</id>
<goals>
<goal>
install-node-and-
npm
</goal>
<goal>
install-node-and-
yarn
</goal>
</goals>
<phase>
generate-resources
</phase>
</execution>
<execution>
<id>
npm
install
</id>
<id>
yarn-
install
</id>
<goals>
<goal>
npm
</goal>
<goal>
yarn
</goal>
</goals>
<configuration>
<arguments>
install
</arguments>
</configuration>
<phase>
generate-resources
</phase>
</execution>
<execution>
<id>
npm
run build
</id>
<id>
yarn
run build
</id>
<goals>
<goal>
npm
</goal>
<goal>
yarn
</goal>
</goals>
<configuration>
<arguments>
run build
</arguments>
</configuration>
<phase>
compile
</phase>
</execution>
<execution>
<id>
code
generation
</id>
<phase>
compile
</phase>
<id>
code
-
generation
</id>
<phase>
generate-sources
</phase>
<goals>
<goal>
npm
</goal>
<goal>
yarn
</goal>
</goals>
<configuration>
<arguments>
run codegen
</arguments>
</configuration>
</execution>
<execution>
<id>
yarn-clean
</id>
<phase>
clean
</phase>
<goals>
<goal>
yarn
</goal>
</goals>
<configuration>
<arguments>
run clean
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment