consolidate resolveJsonModule rule into main tsconfig.json

This commit is contained in:
jade 2024-10-19 18:20:55 -04:00
parent db7bcf82f6
commit b420804203
3 changed files with 3 additions and 5 deletions

View File

@ -6,7 +6,5 @@
// map jspsych-contrib package imports directly to their source files
"@jspsych-contrib/*": ["../*/src"]
},
// allow json resolving to automatically pull package.json info
"resolveJsonModule": true
}
}

View File

@ -7,7 +7,5 @@
"jspsych": ["../jspsych/src"],
"@jspsych/*": ["../*/src"]
},
// allow resolving json modules in tests (needed for transitive imports of jspsych)
"resolveJsonModule": true
}
}

View File

@ -16,6 +16,8 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"isolatedModules": true // required by Sucrase
"isolatedModules": true, // required by Sucrase
// required for automatic package versioning and needed for transitive imports of jspsych)
"resolveJsonModule": true,
}
}