You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/heft-config-file/src/test/__snapshots__/ConfigurationFile.test.ts.snap
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -176,31 +176,31 @@ exports[`ConfigurationFile error cases Throws an error when a requested file doe
176
176
177
177
exports[`ConfigurationFile error cases Throws an error when a requested file doesn't exist 2`] = `
178
178
Array [
179
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/folderThatDoesntExist/config.json\\" not found.",
179
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/folderThatDoesntExist/config.json\\" not found.[n]",
180
180
]
181
181
`;
182
182
183
183
exports[`ConfigurationFile error cases Throws an error when a requested file doesn't exist async 1`] = `"File does not exist: <projectroot>/lib/test/errorCases/folderThatDoesntExist/config.json"`;
184
184
185
185
exports[`ConfigurationFile error cases Throws an error when a requested file doesn't exist async 2`] = `
186
186
Array [
187
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/folderThatDoesntExist/config.json\\" not found.",
187
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/folderThatDoesntExist/config.json\\" not found.[n]",
188
188
]
189
189
`;
190
190
191
191
exports[`ConfigurationFile error cases Throws an error when an "extends" property points to a file that cannot be resolved 1`] = `"In file \\"<projectroot>/lib/test/errorCases/extendsNotExist/config.json\\", file referenced in \\"extends\\" property (\\"./config2.json\\") cannot be resolved."`;
192
192
193
193
exports[`ConfigurationFile error cases Throws an error when an "extends" property points to a file that cannot be resolved 2`] = `
194
194
Array [
195
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/extendsNotExist/config2.json\\" not found.",
195
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/extendsNotExist/config2.json\\" not found.[n]",
196
196
]
197
197
`;
198
198
199
199
exports[`ConfigurationFile error cases Throws an error when an "extends" property points to a file that cannot be resolved async 1`] = `"In file \\"<projectroot>/lib/test/errorCases/extendsNotExist/config.json\\", file referenced in \\"extends\\" property (\\"./config2.json\\") cannot be resolved."`;
200
200
201
201
exports[`ConfigurationFile error cases Throws an error when an "extends" property points to a file that cannot be resolved async 2`] = `
202
202
Array [
203
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/extendsNotExist/config2.json\\" not found.",
203
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/extendsNotExist/config2.json\\" not found.[n]",
204
204
]
205
205
`;
206
206
@@ -218,72 +218,72 @@ exports[`ConfigurationFile error cases Throws an error when there is a circular
218
218
219
219
exports[`ConfigurationFile error cases returns undefined when the file doesn't exist for tryLoadConfigurationFileForProject 1`] = `
220
220
Array [
221
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.",
221
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.[n]",
222
222
]
223
223
`;
224
224
225
225
exports[`ConfigurationFile error cases returns undefined when the file doesn't exist for tryLoadConfigurationFileForProjectAsync 1`] = `
226
226
Array [
227
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.",
227
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.[n]",
228
228
]
229
229
`;
230
230
231
231
exports[`ConfigurationFile error cases throws an error when the file doesn't exist 1`] = `"File does not exist: <projectroot>/lib/test/errorCases/invalidType/notExist.json"`;
232
232
233
233
exports[`ConfigurationFile error cases throws an error when the file doesn't exist 2`] = `
234
234
Array [
235
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.",
235
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.[n]",
236
236
]
237
237
`;
238
238
239
239
exports[`ConfigurationFile error cases throws an error when the file doesn't exist async 1`] = `"File does not exist: <projectroot>/lib/test/errorCases/invalidType/notExist.json"`;
240
240
241
241
exports[`ConfigurationFile error cases throws an error when the file doesn't exist async 2`] = `
242
242
Array [
243
-
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.",
243
+
"[ debug] Configuration file \\"<projectroot>/lib/test/errorCases/invalidType/notExist.json\\" not found.[n]",
244
244
]
245
245
`;
246
246
247
247
exports[`ConfigurationFile loading a rig correctly loads a config file inside a rig 1`] = `
248
248
Array [
249
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").",
249
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").[n]",
250
250
]
251
251
`;
252
252
253
253
exports[`ConfigurationFile loading a rig correctly loads a config file inside a rig async 1`] = `
254
254
Array [
255
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").",
255
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").[n]",
256
256
]
257
257
`;
258
258
259
259
exports[`ConfigurationFile loading a rig correctly loads a config file inside a rig via tryLoadConfigurationFileForProject 1`] = `
260
260
Array [
261
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").",
261
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").[n]",
262
262
]
263
263
`;
264
264
265
265
exports[`ConfigurationFile loading a rig correctly loads a config file inside a rig via tryLoadConfigurationFileForProjectAsync 1`] = `
266
266
Array [
267
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").",
267
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/simplestConfigFile.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").[n]",
268
268
]
269
269
`;
270
270
271
271
exports[`ConfigurationFile loading a rig throws an error when a config file doesn't exist in a project referencing a rig, which also doesn't have the file 1`] = `"File does not exist: <projectroot>/lib/test/project-referencing-rig/config/notExist.json"`;
272
272
273
273
exports[`ConfigurationFile loading a rig throws an error when a config file doesn't exist in a project referencing a rig, which also doesn't have the file 2`] = `
274
274
Array [
275
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").",
276
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default/config/notExist.json\\" not found.",
277
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" not found.",
275
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").[n]",
276
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default/config/notExist.json\\" not found.[n]",
277
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" not found.[n]",
278
278
]
279
279
`;
280
280
281
281
exports[`ConfigurationFile loading a rig throws an error when a config file doesn't exist in a project referencing a rig, which also doesn't have the file async 1`] = `"File does not exist: <projectroot>/lib/test/project-referencing-rig/config/notExist.json"`;
282
282
283
283
exports[`ConfigurationFile loading a rig throws an error when a config file doesn't exist in a project referencing a rig, which also doesn't have the file async 2`] = `
284
284
Array [
285
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").",
286
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default/config/notExist.json\\" not found.",
287
-
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" not found.",
285
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" does not exist. Attempting to load via rig (\\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default\\").[n]",
286
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/node_modules/test-rig/profiles/default/config/notExist.json\\" not found.[n]",
287
+
"[ debug] Configuration file \\"<projectroot>/lib/test/project-referencing-rig/config/notExist.json\\" not found.[n]",
Copy file name to clipboardExpand all lines: libraries/rush-lib/src/api/test/__snapshots__/RushProjectConfiguration.test.ts.snap
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Map {
32
32
33
33
exports[`RushProjectConfiguration operationSettingsByOperationName does not allow one outputFolderName to be under another 1`] =`
34
34
Array [
35
-
"[ error] The project \\"test-project-d\\" has a \\"config/rush-project.json\\" configuration that defines two operations in the same command whose \\"outputFolderNames\\" would overlap. Operations outputs in the same command must be disjoint so that they can be independently cached. The \\"a/b\\" path overlaps between these operations: \\"_phase:b\\", \\"_phase:a\\"",
35
+
"[ error] The project \\"test-project-d\\" has a \\"config/rush-project.json\\" configuration that defines two operations in the same command whose \\"outputFolderNames\\" would overlap. Operations outputs in the same command must be disjoint so that they can be independently cached. The \\"a/b\\" path overlaps between these operations: \\"_phase:b\\", \\"_phase:a\\"[n]",
36
36
]
37
37
`;
38
38
@@ -60,18 +60,18 @@ exports[`RushProjectConfiguration operationSettingsByOperationName throws an err
60
60
61
61
exports[`RushProjectConfiguration operationSettingsByOperationName validates mix of existent and nonexistent parameters 1`] = `
62
62
Array [
63
-
"[ error] The project \\"test-project-g\\" has a \\"config/rush-project.json\\" configuration that specifies invalid parameter(s) in \\"parameterNamesToIgnore\\" for operation \\"_phase:build\\": --nonexistent-param. Valid parameters for this operation are: --production, --verbose.",
63
+
"[ error] The project \\"test-project-g\\" has a \\"config/rush-project.json\\" configuration that specifies invalid parameter(s) in \\"parameterNamesToIgnore\\" for operation \\"_phase:build\\": --nonexistent-param. Valid parameters for this operation are: --production, --verbose.[n]",
64
64
]
65
65
`;
66
66
67
67
exports[`RushProjectConfiguration operationSettingsByOperationName validates nonexistent parameters when operation has valid parameters 1`] = `
68
68
Array [
69
-
"[ error] The project \\"test-project-f\\" has a \\"config/rush-project.json\\" configuration that specifies invalid parameter(s) in \\"parameterNamesToIgnore\\" for operation \\"_phase:build\\": --nonexistent-param, --another-nonexistent. Valid parameters for this operation are: --production, --verbose.",
69
+
"[ error] The project \\"test-project-f\\" has a \\"config/rush-project.json\\" configuration that specifies invalid parameter(s) in \\"parameterNamesToIgnore\\" for operation \\"_phase:build\\": --nonexistent-param, --another-nonexistent. Valid parameters for this operation are: --production, --verbose.[n]",
70
70
]
71
71
`;
72
72
73
73
exports[`RushProjectConfiguration operationSettingsByOperationName validates that parameters in parameterNamesToIgnore exist for the operation 1`] = `
74
74
Array [
75
-
"[ error] The project \\"test-project-e\\" has a \\"config/rush-project.json\\" configuration that specifies invalid parameter(s) in \\"parameterNamesToIgnore\\" for operation \\"_phase:build\\": --invalid-parameter, --another-invalid, -malformed-parameter. Valid parameters for this operation are: (none).",
75
+
"[ error] The project \\"test-project-e\\" has a \\"config/rush-project.json\\" configuration that specifies invalid parameter(s) in \\"parameterNamesToIgnore\\" for operation \\"_phase:build\\": --invalid-parameter, --another-invalid, -malformed-parameter. Valid parameters for this operation are: (none).[n]",
Copy file name to clipboardExpand all lines: libraries/rush-lib/src/logic/pnpm/test/__snapshots__/PnpmShrinkwrapFile.test.ts.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
exports[`PnpmShrinkwrapFile Check is workspace project modified pnpm lockfile major version 9 sha1 integrity can be handled when disallowInsecureSha1 1`] =`
4
4
Array [
5
-
"[ error] Error: An integrity field with \\"sha1\\" was detected in the pnpm-lock.yaml file located in subspace default; this conflicts with the \\"disallowInsecureSha1\\" policy from pnpm-config.json.",
6
-
"[ error] ",
5
+
"[ error] Error: An integrity field with \\"sha1\\" was detected in the pnpm-lock.yaml file located in subspace default; this conflicts with the \\"disallowInsecureSha1\\" policy from pnpm-config.json.[n]",
0 commit comments