|
42 | 42 | "targetDefaults": { |
43 | 43 | "test": { |
44 | 44 | "options": { |
45 | | - "passWithNoTests": true |
| 45 | + "passWithNoTests": true, |
| 46 | + "detectOpenHandles": true, |
| 47 | + "forceExit": true |
46 | 48 | }, |
47 | 49 | "configurations": { |
48 | 50 | "ci": { |
|
52 | 54 | } |
53 | 55 | }, |
54 | 56 | "e2e": { |
| 57 | + "inputs": ["e2eInputs", "^production"], |
55 | 58 | "options": { |
56 | 59 | "passWithNoTests": true, |
57 | 60 | "runInBand": true |
|
65 | 68 | } |
66 | 69 | }, |
67 | 70 | "e2e-ci": { |
68 | | - "options": { |
69 | | - "passWithNoTests": true, |
70 | | - "runInBand": true |
71 | | - }, |
72 | | - "dependsOn": ["nxrocks:populate-local-registry"], |
73 | | - "configurations": { |
74 | | - "ci": { |
75 | | - "ci": true, |
76 | | - "coverage": true |
77 | | - } |
78 | | - } |
| 71 | + "inputs": ["e2eInputs", "^production"] |
| 72 | + }, |
| 73 | + "e2e-ci--**/**": { |
| 74 | + "inputs": ["e2eInputs", "^production"], |
| 75 | + "parallelism": false, |
| 76 | + "dependsOn": ["@nx/nx-source:populate-local-registry-storage"] |
79 | 77 | }, |
80 | 78 | "nx-release-publish": { |
81 | 79 | "options": { |
|
147 | 145 | "packages/nx-quarkus/**/*", |
148 | 146 | "packages/nx-spring-boot/**/*" |
149 | 147 | ] |
150 | | - }, |
151 | | - { |
152 | | - "plugin": "@nxrocks/nx-ktor", |
153 | | - "options": { |
154 | | - "buildTargetName": "build", |
155 | | - "installTargetName": "install", |
156 | | - "testTargetName": "test", |
157 | | - "cleanTargetName": "clean", |
158 | | - "formatTargetName": "format", |
159 | | - "applyFormatTargetName": "apply-format", |
160 | | - "checkFormatTargetName": "check-format", |
161 | | - "runTargetName": "run", |
162 | | - "serveTargetName": "serve", |
163 | | - "buildImageTargetName": "build-image", |
164 | | - "publishImageTargetName": "publish-image", |
165 | | - "publishImageLocallyTargetName": "publish-image-locally", |
166 | | - "runDockerTargetName": "run-docker" |
167 | | - } |
168 | | - }, |
169 | | - { |
170 | | - "plugin": "@nxrocks/nx-flutter", |
171 | | - "options": { |
172 | | - "analyzeTargetName": "analyze", |
173 | | - "cleanTargetName": "clean", |
174 | | - "formatTargetName": "format", |
175 | | - "testTargetName": "test", |
176 | | - "assembleTargetName": "assemble", |
177 | | - "attachTargetName": "attach", |
178 | | - "driveTargetName": "drive", |
179 | | - "genL10nTargetName": "gen-l10n", |
180 | | - "installTargetName": "install", |
181 | | - "runTargetName": "run", |
182 | | - "buildAarTargetName": "build-aar", |
183 | | - "buildApkTargetName": "build-apk", |
184 | | - "buildAppbundleTargetName": "build-appbundle", |
185 | | - "buildBundleTargetName": "build-bundle", |
186 | | - "buildIosTargetName": "build-ios", |
187 | | - "buildIosFrameworkTargetName": "build-ios-framework", |
188 | | - "buildIpaTargetName": "build-ipa", |
189 | | - "pubGetTargetName": "pub-get", |
190 | | - "pubUpgradeTargetName": "pub-upgrade", |
191 | | - "pubDowngradeTargetName": "pub-downgrade", |
192 | | - "pubOutdatedTargetName": "pub-outdated", |
193 | | - "pubAddTargetName": "pub-add", |
194 | | - "pubRemoveTargetName": "pub-remove", |
195 | | - "pubRunTargetName": "pub-run", |
196 | | - "pubPublishTargetName": "pub-publish", |
197 | | - "pubDepsTargetName": "pub-deps", |
198 | | - "pubVersionTargetName": "pub-version" |
199 | | - } |
200 | | - }, |
201 | | - { |
202 | | - "plugin": "@nxrocks/nx-spring-boot", |
203 | | - "options": { |
204 | | - "buildTargetName": "build", |
205 | | - "installTargetName": "install", |
206 | | - "testTargetName": "test", |
207 | | - "cleanTargetName": "clean", |
208 | | - "formatTargetName": "format", |
209 | | - "applyFormatTargetName": "apply-format", |
210 | | - "checkFormatTargetName": "check-format", |
211 | | - "runTargetName": "run", |
212 | | - "serveTargetName": "serve", |
213 | | - "buildImageTargetName": "build-image", |
214 | | - "buildInfoTargetName": "build-info" |
215 | | - } |
216 | 148 | } |
217 | 149 | ], |
218 | 150 | "namedInputs": { |
|
227 | 159 | "!{projectRoot}/src/test-setup.[jt]s", |
228 | 160 | "!{projectRoot}/test-setup.[jt]s" |
229 | 161 | ], |
230 | | - "sharedGlobals": ["{workspaceRoot}/.nx/workflows/**/**"] |
| 162 | + "sharedGlobals": [ |
| 163 | + "{workspaceRoot}/.nx/workflows/agents.yaml", |
| 164 | + "{workspaceRoot}/.github/workflows/ci.yml" |
| 165 | + ], |
| 166 | + "e2eInputs": [ |
| 167 | + "default", |
| 168 | + "{workspaceRoot}/jest.preset.js", |
| 169 | + "{workspaceRoot}/.verdaccio/config.yml", |
| 170 | + "{workspaceRoot}/scripts/local-registry/**/*", |
| 171 | + { |
| 172 | + "env": "SELECTED_CLI" |
| 173 | + }, |
| 174 | + { |
| 175 | + "env": "SELECTED_PM" |
| 176 | + }, |
| 177 | + { |
| 178 | + "env": "NX_E2E_CI_CACHE_KEY" |
| 179 | + }, |
| 180 | + { |
| 181 | + "env": "CI" |
| 182 | + }, |
| 183 | + { |
| 184 | + "env": "NX_E2E_RUN_E2E" |
| 185 | + } |
| 186 | + ] |
231 | 187 | }, |
232 | 188 | "defaultBase": "develop", |
233 | 189 | "cli": { |
|
0 commit comments