Skip to content

Commit ebbf05f

Browse files
committed
chore: update dependencies
1 parent bf50de4 commit ebbf05f

File tree

8 files changed

+413
-710
lines changed

8 files changed

+413
-710
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
"@biomejs/biome": "^1.9.4",
1616
"@types/node": "^22.10.1",
1717
"@vitest/browser": "^2.1.8",
18-
"prettier": "^3.4.1",
18+
"@vitest/ui": "2.1.8",
1919
"playwright": "^1.49.0",
20+
"prettier": "^3.4.1",
2021
"typescript": "catalog:",
21-
"vitest": "^2.1.8",
22-
"vite": "catalog:"
22+
"vite": "catalog:",
23+
"vitest": "^2.1.8"
2324
}
2425
}

packages/cem-plugin-lwc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"homepage": "https://github.com/cardoso/vite-plugin-lwc/tree/main/packages/cem-plugin-lwc#readme",
3030
"devDependencies": {
31-
"unbuild": "^2.0.0",
31+
"unbuild": "catalog:",
3232
"@custom-elements-manifest/analyzer": "^0.10.3",
3333
"custom-elements-manifest": "^2.1.0"
3434
}

packages/cem-plugin-lwc/src/module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import path from "node:path";
22

33
export function getTagName(module: string) {
4-
const [namespace, name] = path.dirname(module).split(path.sep).slice(-2);
4+
const [namespace, name] = path.dirname(module).split('/').slice(-2);
55
return `${namespace}-${name}`;
66
}

packages/vite-plugin-lwc/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.0.0
2+
- update lwc to 8.12.1
3+
- chore: fix tests
4+
- chore: update dependencies
5+
16
# 1.0.0
27
- feat: support vite 6
38

packages/vite-plugin-lwc/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-lwc",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"license": "MIT",
55
"author": "Matheus Cardoso <[email protected]>",
66
"type": "module",
@@ -34,7 +34,7 @@
3434
"vite": "^5.4.11"
3535
},
3636
"devDependencies": {
37-
"unbuild": "^2.0.0",
37+
"unbuild": "catalog:",
3838
"rollup": "^4.28.1"
3939
}
4040
}

playground/lwc/vite.config.mts

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ const deps = ["lwc", "@lwc/engine-dom", "@lwc/synthetic-shadow", "@lwc/shared"];
55

66
export default defineConfig({
77
plugins: [
8-
lwc({
9-
rootDir: import.meta.dirname
10-
})
8+
lwc(),
119
],
10+
root: import.meta.dirname,
1211
optimizeDeps: {
1312
exclude: deps,
1413
},
@@ -18,7 +17,6 @@ export default defineConfig({
1817
target: "esnext",
1918
},
2019
test: {
21-
root: import.meta.dirname,
2220
browser: {
2321
provider: "playwright", // or 'webdriverio'
2422
enabled: true,

0 commit comments

Comments
 (0)