Skip to content

Commit f3f1da1

Browse files
authored
Merge pull request #156 from secundant/fix-ci
fix(svg): fix nx tasks config for svg e2e
2 parents 4aa1198 + b25f76f commit f3f1da1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

apps/e2e/svg/package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"devDependencies": {
12+
"@neodx/svg": "*",
1213
"@playwright/test": "1.52.0",
1314
"@types/react": "^19",
1415
"@types/react-dom": "^19",
@@ -25,5 +26,31 @@
2526
"clsx": "2.1.1",
2627
"react": "19.1.0",
2728
"react-dom": "19.1.0"
29+
},
30+
"nx": {
31+
"targets": {
32+
"dev": {
33+
"dependsOn": [
34+
"^build"
35+
]
36+
},
37+
"build": {
38+
"outputs": [
39+
"{projectRoot}/public/sprites"
40+
],
41+
"inputs": [
42+
"{projectRoot}/src/assets/**/*.svg",
43+
"shared"
44+
],
45+
"dependsOn": [
46+
"^build"
47+
]
48+
},
49+
"e2e": {
50+
"dependsOn": [
51+
"build"
52+
]
53+
}
54+
}
2855
}
2956
}

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2916,6 +2916,7 @@ __metadata:
29162916
version: 0.0.0-use.local
29172917
resolution: "@neodx/e2e-svg@workspace:apps/e2e/svg"
29182918
dependencies:
2919+
"@neodx/svg": "npm:*"
29192920
"@playwright/test": "npm:1.52.0"
29202921
"@types/react": "npm:^19"
29212922
"@types/react-dom": "npm:^19"

0 commit comments

Comments
 (0)