A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Cardigan | Common | Content | Identity | Prismic Model | Toggles | Default | Desired end file | |||||||||||||||||||||
2 | allowJs | FALSE | FALSE | FALSE | " can be used as a way to incrementally add TypeScript files into JS projects by allowing the .ts and .tsx files to live along-side existing JavaScript files." | False by default I think so can be removed | |||||||||||||||||||||||
3 | allowSyntheticDefaultImports | TRUE | true if esModuleInterop is enabled, module is system, or moduleResolution is bundler; false otherwise. | removed | |||||||||||||||||||||||||
4 | baseUrl | "." | "." | "." | removed? I'm not sure it's needed | ||||||||||||||||||||||||
5 | composite | TRUE | TRUE | Referenced projects must have the new composite setting enabled. https://www.typescriptlang.org/docs/handbook/project-references.html#composite | TRUE | ||||||||||||||||||||||||
6 | declaration | TRUE | true if composite; false otherwise. | removed, covered by composite | |||||||||||||||||||||||||
7 | downlevelIteration | TRUE | TRUE | TRUE | I think this becomes unnecessary for es6 target: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-3.html#new---downleveliteration | removed | |||||||||||||||||||||||
8 | esModuleInterop | TRUE | TRUE | TRUE | TRUE | TRUE | true if module is node16 or nodenext; false otherwise. | TRUE | |||||||||||||||||||||
9 | forceConsistentCasingInFileNames | TRUE | TRUE | TRUE | Default: true | the default is true so can be removed | |||||||||||||||||||||||
10 | incremental | TRUE | TRUE | true if composite; false otherwise. | removed, covered by composite | ||||||||||||||||||||||||
11 | isolatedModules | TRUE | TRUE | TRUE | TRUE | ||||||||||||||||||||||||
12 | jsx | "preserve", | "preserve", | "preserve", | "preserve", | "preserve", | The preserve mode will keep the JSX as part of the output to be further consumed by another transform step (e.g. Babel). | "preserve", | |||||||||||||||||||||
13 | lib | ["dom", "dom.iterable", "esnext"], | ["dom", "dom.iterable", "esnext"], | ["dom", "dom.iterable", "es2020"], | Remove; I don't think we need the dom ones anymore, seems included now that we have newer version of TS, getting no errors by removing them... keeping ["esnext"] | ||||||||||||||||||||||||
14 | module | "commonjs", | "esnext", | "commonjs", | CommonJS if target is ES3 or ES5; ES6/ES2015 otherwise. You very likely want "nodenext" for modern Node.js projects and preserve or esnext for code that will be bundled. | I am unsure, I think they might all want to be separate, so I'll put them as is in their individual files. | |||||||||||||||||||||||
15 | moduleResolution | "node", | "node", | "node", | Classic if module is AMD, UMD, System, or ES6/ES2015. Matches if module is node16 or nodenext; Node otherwise. | ||||||||||||||||||||||||
16 | noEmit | TRUE | TRUE | TRUE | true? what do we want? | ||||||||||||||||||||||||
17 | noFallthroughCasesInSwitch | TRUE | I like it, I say TRUE | ||||||||||||||||||||||||||
18 | noImplicitAny | FALSE | true if strict; false otherwise. | removed, covered by strict being false | |||||||||||||||||||||||||
19 | outDir | "lib", | do we need? | ||||||||||||||||||||||||||
20 | paths | {} | {} | Remove? | |||||||||||||||||||||||||
21 | resolveJsonModule | TRUE | TRUE | TRUE | TRUE | TRUE | |||||||||||||||||||||||
22 | rootDir | "." | The longest common path of all non-declaration input files. If composite is set, the default is instead the directory containing the tsconfig.json file. | removed, covered by composite | |||||||||||||||||||||||||
23 | skipLibCheck | TRUE | TRUE | TRUE | TRUE | ||||||||||||||||||||||||
24 | strict | FALSE | FALSE | FALSE | FALSE | Happy to leave to false but let's discuss. In which case, remove. | |||||||||||||||||||||||
25 | strictNullChecks | TRUE | TRUE | true if strict; false otherwise. | TRUE | ||||||||||||||||||||||||
26 | target | "es5", | "es5", | "es2018", | es6: https://wellcome.slack.com/archives/CUA669WHH/p1719501321973759 | ||||||||||||||||||||||||
27 | |||||||||||||||||||||||||||||
28 | |||||||||||||||||||||||||||||
29 | |||||||||||||||||||||||||||||
30 | |||||||||||||||||||||||||||||
31 | |||||||||||||||||||||||||||||
32 | |||||||||||||||||||||||||||||
33 | |||||||||||||||||||||||||||||
34 | |||||||||||||||||||||||||||||
35 | |||||||||||||||||||||||||||||
36 | |||||||||||||||||||||||||||||
37 | |||||||||||||||||||||||||||||
38 | |||||||||||||||||||||||||||||
39 | |||||||||||||||||||||||||||||
40 | |||||||||||||||||||||||||||||
41 | |||||||||||||||||||||||||||||
42 | |||||||||||||||||||||||||||||
43 | |||||||||||||||||||||||||||||
44 | |||||||||||||||||||||||||||||
45 | |||||||||||||||||||||||||||||
46 | |||||||||||||||||||||||||||||
47 | |||||||||||||||||||||||||||||
48 | |||||||||||||||||||||||||||||
49 | |||||||||||||||||||||||||||||
50 | |||||||||||||||||||||||||||||
51 | |||||||||||||||||||||||||||||
52 | |||||||||||||||||||||||||||||
53 | |||||||||||||||||||||||||||||
54 | |||||||||||||||||||||||||||||
55 | |||||||||||||||||||||||||||||
56 | |||||||||||||||||||||||||||||
57 | |||||||||||||||||||||||||||||
58 | |||||||||||||||||||||||||||||
59 | |||||||||||||||||||||||||||||
60 | |||||||||||||||||||||||||||||
61 | |||||||||||||||||||||||||||||
62 | |||||||||||||||||||||||||||||
63 | |||||||||||||||||||||||||||||
64 | |||||||||||||||||||||||||||||
65 | |||||||||||||||||||||||||||||
66 | |||||||||||||||||||||||||||||
67 | |||||||||||||||||||||||||||||
68 | |||||||||||||||||||||||||||||
69 | |||||||||||||||||||||||||||||
70 | |||||||||||||||||||||||||||||
71 | |||||||||||||||||||||||||||||
72 | |||||||||||||||||||||||||||||
73 | |||||||||||||||||||||||||||||
74 | |||||||||||||||||||||||||||||
75 | |||||||||||||||||||||||||||||
76 | |||||||||||||||||||||||||||||
77 | |||||||||||||||||||||||||||||
78 | |||||||||||||||||||||||||||||
79 | |||||||||||||||||||||||||||||
80 | |||||||||||||||||||||||||||||
81 | |||||||||||||||||||||||||||||
82 | |||||||||||||||||||||||||||||
83 | |||||||||||||||||||||||||||||
84 | |||||||||||||||||||||||||||||
85 | |||||||||||||||||||||||||||||
86 | |||||||||||||||||||||||||||||
87 | |||||||||||||||||||||||||||||
88 | |||||||||||||||||||||||||||||
89 | |||||||||||||||||||||||||||||
90 | |||||||||||||||||||||||||||||
91 | |||||||||||||||||||||||||||||
92 | |||||||||||||||||||||||||||||
93 | |||||||||||||||||||||||||||||
94 | |||||||||||||||||||||||||||||
95 | |||||||||||||||||||||||||||||
96 | |||||||||||||||||||||||||||||
97 | |||||||||||||||||||||||||||||
98 | |||||||||||||||||||||||||||||
99 | |||||||||||||||||||||||||||||
100 |