Skip to content

Commit f7e720a

Browse files
committed
Don't run npx before npm install
See gh-142
1 parent 6cbfe7c commit f7e720a

File tree

3 files changed

+3
-20
lines changed

3 files changed

+3
-20
lines changed

spring-javaformat-vscode/spring-javaformat-vscode-extension/package-lock.json

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spring-javaformat-vscode/spring-javaformat-vscode-extension/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"eslint": "^8.33.0",
3838
"glob": "8.1.0",
3939
"mocha": "10.2.0",
40-
"prettier": "2.8.4",
4140
"typescript": "^4.9.4"
4241
}
4342
}

spring-javaformat-vscode/spring-javaformat-vscode-extension/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@
5959
<executions>
6060
<execution>
6161
<id>install-node-and-npm</id>
62-
<phase>generate-resources</phase>
62+
<phase>initialize</phase>
6363
<goals>
6464
<goal>install-node-and-npm</goal>
6565
</goals>
6666
</execution>
6767
<execution>
6868
<id>npm-install</id>
69-
<phase>generate-resources</phase>
69+
<phase>initialize</phase>
7070
<goals>
7171
<goal>npm</goal>
7272
</goals>
7373
</execution>
7474
<execution>
7575
<id>prettier-check</id>
76-
<phase>validate</phase>
76+
<phase>compile</phase>
7777
<goals>
7878
<goal>npx</goal>
7979
</goals>

0 commit comments

Comments
 (0)