Skip to content

Commit

Permalink
Merge pull request #8533 from qmonmert/vitetoesm2
Browse files Browse the repository at this point in the history
Vite CJS Node API deprecated
  • Loading branch information
pascalgrimaud authored Jan 20, 2024
2 parents 6f9955b + df7651b commit c485dde
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public JHipsterModule buildVueModule(JHipsterModuleProperties properties) {
.add(SOURCE.file(".eslintrc.js"), to(".eslintrc.js"))
.add(SOURCE.file("tsconfig.json"), to("tsconfig.json"))
.add(SOURCE.file("tsconfig.build.json"), to("tsconfig.build.json"))
.add(SOURCE.file("vite.config.ts"), to("vite.config.ts"))
.add(SOURCE.file("vitest.config.ts"), to("vitest.config.ts"))
.add(SOURCE.file("vite.config.mts"), to("vite.config.mts"))
.add(SOURCE.file("vitest.config.mts"), to("vitest.config.mts"))
.add(SOURCE.template("webapp/app/http/AxiosHttp.ts.mustache"), MAIN_DESTINATION.append("http/AxiosHttp.ts"))
.add(COMMON_ESLINT.file(".eslintignore"), to(".eslintignore"))
.batch(SOURCE.file("test/spec/http"), to("src/test/javascript/spec/http"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void shouldCreateVueModule() {
"""
)
.and()
.hasPrefixedFiles("", ".eslintignore", ".eslintrc.js", "tsconfig.json", "tsconfig.build.json", "vite.config.ts", "vitest.config.ts")
.hasPrefixedFiles("", ".eslintignore", ".eslintrc.js", "tsconfig.json", "tsconfig.build.json", "vite.config.mts", "vitest.config.mts")
.hasFiles("src/main/webapp/app/http/AxiosHttp.ts")
.hasPrefixedFiles("src/test/javascript/spec/http", "AxiosHttp.spec.ts", "AxiosHttpStub.ts", "AxiosStub.ts")
.hasFiles("src/main/webapp/index.html")
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c485dde

Please sign in to comment.