2020-06-24 21:48:32 +00:00
|
|
|
{
|
2022-05-06 19:03:50 +00:00
|
|
|
"compilerOptions": {
|
|
|
|
"allowJs": true,
|
|
|
|
"checkJs": true,
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"jsx": "preserve",
|
|
|
|
"target": "es6",
|
|
|
|
"module": "commonjs",
|
|
|
|
"incremental": true,
|
|
|
|
"declaration": true,
|
|
|
|
"declarationMap": true,
|
|
|
|
"composite": true,
|
|
|
|
"emitDeclarationOnly": false,
|
|
|
|
"isolatedModules": true,
|
2021-11-16 07:06:47 +00:00
|
|
|
|
2022-05-06 19:03:50 +00:00
|
|
|
/* Strict Type-Checking Options */
|
|
|
|
"strict": true,
|
2020-09-16 22:14:53 +00:00
|
|
|
|
2022-05-06 19:03:50 +00:00
|
|
|
/* Additional Checks */
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noImplicitReturns": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
2021-11-16 22:11:33 +00:00
|
|
|
|
2022-05-06 19:03:50 +00:00
|
|
|
/* Module Resolution Options */
|
|
|
|
"moduleResolution": "node",
|
2021-11-16 22:11:33 +00:00
|
|
|
|
2022-05-06 19:03:50 +00:00
|
|
|
/* This needs to be false so our types are possible to consume without setting this */
|
|
|
|
"esModuleInterop": false,
|
|
|
|
"resolveJsonModule": true
|
|
|
|
},
|
2022-03-29 07:21:57 +00:00
|
|
|
|
2022-05-06 19:03:50 +00:00
|
|
|
/*
|
|
|
|
We set files: [] here so that running tsc against this config does not pick up anything,
|
|
|
|
but only delegates the tsc command execution to the projects specified in references[]
|
|
|
|
More at: https://www.typescriptlang.org/docs/handbook/project-references.html
|
|
|
|
*/
|
|
|
|
"files": [],
|
2022-03-29 07:21:57 +00:00
|
|
|
|
2022-05-06 19:03:50 +00:00
|
|
|
"references": [
|
2022-03-29 07:21:57 +00:00
|
|
|
{ "path": "./plugins/woocommerce/" },
|
|
|
|
{ "path": "./plugins/woocommerce-admin/" },
|
|
|
|
{ "path": "./packages/js/admin-e2e-tests" },
|
|
|
|
{ "path": "./packages/js/api" },
|
|
|
|
{ "path": "./packages/js/components" },
|
|
|
|
{ "path": "./packages/js/csv-export" },
|
|
|
|
{ "path": "./packages/js/currency" },
|
|
|
|
{ "path": "./packages/js/customer-effort-score" },
|
|
|
|
{ "path": "./packages/js/data" },
|
|
|
|
{ "path": "./packages/js/date" },
|
|
|
|
{ "path": "./packages/js/experimental" },
|
|
|
|
{ "path": "./packages/js/explat" },
|
2022-05-31 22:42:00 +00:00
|
|
|
{ "path": "./packages/js/internal-js-tests" },
|
2022-03-29 07:21:57 +00:00
|
|
|
{ "path": "./packages/js/navigation" },
|
2022-06-03 23:05:26 +00:00
|
|
|
{ "path": "./packages/js/notices" },
|
2022-03-29 07:21:57 +00:00
|
|
|
{ "path": "./packages/js/number" },
|
|
|
|
{ "path": "./packages/js/onboarding" },
|
|
|
|
{ "path": "./packages/js/tracks" }
|
2022-05-06 19:03:50 +00:00
|
|
|
]
|
2020-06-24 21:48:32 +00:00
|
|
|
}
|