File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
packages/integration-tests-next/fixtures Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "$schema" : " ./node_modules/nx/schemas/nx-schema.json" ,
33 "namedInputs" : {
4+ "default" : [" {projectRoot}/**/*" , " sharedGlobals" ],
45 "sharedGlobals" : [" {workspaceRoot}/*.js" , " {workspaceRoot}/*.json" , " {workspaceRoot}/yarn.lock" ]
56 },
67 "targetDefaults" : {
1314 "lint" : {
1415 "inputs" : [" sharedGlobals" ],
1516 "dependsOn" : [" ^build" , " build" ],
16- "outputs" : [],
1717 "cache" : true
1818 },
1919 "test" : {
20- "inputs" : [" sharedGlobals" ],
21- "outputs" : [],
20+ "inputs" : [" default" ],
2221 "cache" : true
2322 },
2423 "check:types" : {
2524 "inputs" : [" sharedGlobals" ],
26- "dependsOn" : [" ^build" ],
27- "outputs" : []
25+ "dependsOn" : [" ^build" ]
2826 },
2927 "build:npm" : {
3028 "dependsOn" : [" build" , " ^build" ]
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export function readAllFiles(directory: string): Record<string, string> {
3030 let contents = readFileSync ( fullPath , "utf-8" ) ;
3131 // We replace the current SHA with a placeholder to make snapshots deterministic
3232 contents = contents . replace ( CURRENT_SHA , "CURRENT_SHA" ) ;
33-
33+ // Normalize Windows stuff in .map paths
3434 if ( entry . endsWith ( ".map" ) ) {
3535 const map = JSON . parse ( contents ) as SourceMap ;
3636 map . sources = map . sources . map ( ( c ) => c . replace ( / \\ / g, "/" ) ) ;
You can’t perform that action at this time.
0 commit comments