| 1 |
/* IMPORTANT |
| 2 |
* This snapshot file is auto-generated, but designed for humans. |
| 3 |
* It should be checked into source control and tracked carefully. |
| 4 |
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. |
| 5 |
* Make sure to inspect the output below. Do not ignore changes! |
| 6 |
*/ |
| 7 |
'use strict' |
| 8 |
exports[`test/tsconfig.ts > TAP > with custom project tsconfig name > .tshy/build.json 1`] = ` |
| 9 |
Object { |
| 10 |
"compilerOptions": Object { |
| 11 |
"module": "nodenext", |
| 12 |
"moduleResolution": "nodenext", |
| 13 |
"rootDir": "../src", |
| 14 |
"target": "es2022", |
| 15 |
}, |
| 16 |
"extends": "../custom.json", |
| 17 |
} |
| 18 |
` |
| 19 |
|
| 20 |
exports[`test/tsconfig.ts > TAP > with custom project tsconfig name > .tshy/commonjs.json 1`] = ` |
| 21 |
Object { |
| 22 |
"compilerOptions": Object { |
| 23 |
"outDir": "../.tshy-build/commonjs", |
| 24 |
}, |
| 25 |
"exclude": Array [ |
| 26 |
"../src/**/*.mts", |
| 27 |
"../src/package.json", |
| 28 |
"../src/index-deno.mts", |
| 29 |
], |
| 30 |
"extends": "./build.json", |
| 31 |
"include": Array [ |
| 32 |
"../src/**/*.ts", |
| 33 |
"../src/**/*.cts", |
| 34 |
"../src/**/*.tsx", |
| 35 |
"../src/**/*.json", |
| 36 |
], |
| 37 |
} |
| 38 |
` |
| 39 |
|
| 40 |
exports[`test/tsconfig.ts > TAP > with custom project tsconfig name > .tshy/deno.json 1`] = ` |
| 41 |
Object { |
| 42 |
"compilerOptions": Object { |
| 43 |
"outDir": "../.tshy-build/deno", |
| 44 |
}, |
| 45 |
"exclude": Array [ |
| 46 |
"../src/package.json", |
| 47 |
"../src/index-cjs.cts", |
| 48 |
], |
| 49 |
"extends": "./build.json", |
| 50 |
"include": Array [ |
| 51 |
"../src/**/*.ts", |
| 52 |
"../src/**/*.mts", |
| 53 |
"../src/**/*.tsx", |
| 54 |
"../src/**/*.json", |
| 55 |
], |
| 56 |
} |
| 57 |
` |
| 58 |
|
| 59 |
exports[`test/tsconfig.ts > TAP > with custom project tsconfig name > .tshy/esm.json 1`] = ` |
| 60 |
Object { |
| 61 |
"compilerOptions": Object { |
| 62 |
"outDir": "../.tshy-build/esm", |
| 63 |
}, |
| 64 |
"exclude": Array [ |
| 65 |
"../src/package.json", |
| 66 |
"../src/index-cjs.cts", |
| 67 |
"../src/index-deno.mts", |
| 68 |
], |
| 69 |
"extends": "./build.json", |
| 70 |
"include": Array [ |
| 71 |
"../src/**/*.ts", |
| 72 |
"../src/**/*.mts", |
| 73 |
"../src/**/*.tsx", |
| 74 |
"../src/**/*.json", |
| 75 |
], |
| 76 |
} |
| 77 |
` |
| 78 |
|
| 79 |
exports[`test/tsconfig.ts > TAP > with custom project tsconfig name > .tshy/webpack.json 1`] = ` |
| 80 |
Object { |
| 81 |
"compilerOptions": Object { |
| 82 |
"outDir": "../.tshy-build/webpack", |
| 83 |
}, |
| 84 |
"exclude": Array [ |
| 85 |
"../src/**/*.mts", |
| 86 |
"../src/package.json", |
| 87 |
"../src/index-cjs.cts", |
| 88 |
"../src/index-deno.mts", |
| 89 |
], |
| 90 |
"extends": "./build.json", |
| 91 |
"include": Array [ |
| 92 |
"../src/**/*.ts", |
| 93 |
"../src/**/*.cts", |
| 94 |
"../src/**/*.tsx", |
| 95 |
"../src/**/*.json", |
| 96 |
], |
| 97 |
} |
| 98 |
` |
| 99 |
|
| 100 |
exports[`test/tsconfig.ts > TAP > with custom project tsconfig name > custom.json 1`] = ` |
| 101 |
Object { |
| 102 |
"compilerOptions": Object { |
| 103 |
"this_data": "is preserved", |
| 104 |
"yolo": "🍑", |
| 105 |
}, |
| 106 |
} |
| 107 |
` |
| 108 |
|
| 109 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/build.json 1`] = ` |
| 110 |
Object { |
| 111 |
"compilerOptions": Object { |
| 112 |
"module": "nodenext", |
| 113 |
"moduleResolution": "nodenext", |
| 114 |
"rootDir": "../src", |
| 115 |
"target": "es2022", |
| 116 |
}, |
| 117 |
"extends": "../tsconfig.json", |
| 118 |
} |
| 119 |
` |
| 120 |
|
| 121 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/build.json generate everything 1`] = ` |
| 122 |
Object { |
| 123 |
"compilerOptions": Object { |
| 124 |
"module": "nodenext", |
| 125 |
"moduleResolution": "nodenext", |
| 126 |
"rootDir": "../src", |
| 127 |
}, |
| 128 |
"extends": "../tsconfig.json", |
| 129 |
} |
| 130 |
` |
| 131 |
|
| 132 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/commonjs.json 1`] = ` |
| 133 |
Object { |
| 134 |
"compilerOptions": Object { |
| 135 |
"outDir": "../.tshy-build/commonjs", |
| 136 |
}, |
| 137 |
"exclude": Array [ |
| 138 |
"../src/**/*.test.ts", |
| 139 |
"../src/**/*.mts", |
| 140 |
"../src/package.json", |
| 141 |
"../src/index-deno.mts", |
| 142 |
], |
| 143 |
"extends": "./build.json", |
| 144 |
"include": Array [ |
| 145 |
"../src/**/*.ts", |
| 146 |
"../src/**/*.cts", |
| 147 |
"../src/**/*.tsx", |
| 148 |
"../src/**/*.json", |
| 149 |
], |
| 150 |
} |
| 151 |
` |
| 152 |
|
| 153 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/commonjs.json generate everything 1`] = ` |
| 154 |
Object { |
| 155 |
"compilerOptions": Object { |
| 156 |
"outDir": "../.tshy-build/commonjs", |
| 157 |
}, |
| 158 |
"exclude": Array [ |
| 159 |
"../src/**/*.test.ts", |
| 160 |
"../src/**/*.mts", |
| 161 |
"../src/package.json", |
| 162 |
"../src/index-deno.mts", |
| 163 |
], |
| 164 |
"extends": "./build.json", |
| 165 |
"include": Array [ |
| 166 |
"../src/**/*.ts", |
| 167 |
"../src/**/*.cts", |
| 168 |
"../src/**/*.tsx", |
| 169 |
"../src/**/*.json", |
| 170 |
], |
| 171 |
} |
| 172 |
` |
| 173 |
|
| 174 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/deno.json 1`] = ` |
| 175 |
Object { |
| 176 |
"compilerOptions": Object { |
| 177 |
"outDir": "../.tshy-build/deno", |
| 178 |
}, |
| 179 |
"exclude": Array [ |
| 180 |
"../src/**/*.test.ts", |
| 181 |
"../src/package.json", |
| 182 |
"../src/index-cjs.cts", |
| 183 |
], |
| 184 |
"extends": "./build.json", |
| 185 |
"include": Array [ |
| 186 |
"../src/**/*.ts", |
| 187 |
"../src/**/*.mts", |
| 188 |
"../src/**/*.tsx", |
| 189 |
"../src/**/*.json", |
| 190 |
], |
| 191 |
} |
| 192 |
` |
| 193 |
|
| 194 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/esm.json 1`] = ` |
| 195 |
Object { |
| 196 |
"compilerOptions": Object { |
| 197 |
"outDir": "../.tshy-build/esm", |
| 198 |
}, |
| 199 |
"exclude": Array [ |
| 200 |
"../src/**/*.test.ts", |
| 201 |
"../src/package.json", |
| 202 |
"../src/index-cjs.cts", |
| 203 |
"../src/index-deno.mts", |
| 204 |
], |
| 205 |
"extends": "./build.json", |
| 206 |
"include": Array [ |
| 207 |
"../src/**/*.ts", |
| 208 |
"../src/**/*.mts", |
| 209 |
"../src/**/*.tsx", |
| 210 |
"../src/**/*.json", |
| 211 |
], |
| 212 |
} |
| 213 |
` |
| 214 |
|
| 215 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/esm.json generate everything 1`] = ` |
| 216 |
Object { |
| 217 |
"compilerOptions": Object { |
| 218 |
"outDir": "../.tshy-build/esm", |
| 219 |
}, |
| 220 |
"exclude": Array [ |
| 221 |
"../src/**/*.test.ts", |
| 222 |
"../src/package.json", |
| 223 |
"../src/index-cjs.cts", |
| 224 |
"../src/index-deno.mts", |
| 225 |
], |
| 226 |
"extends": "./build.json", |
| 227 |
"include": Array [ |
| 228 |
"../src/**/*.ts", |
| 229 |
"../src/**/*.mts", |
| 230 |
"../src/**/*.tsx", |
| 231 |
"../src/**/*.json", |
| 232 |
], |
| 233 |
} |
| 234 |
` |
| 235 |
|
| 236 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > .tshy/webpack.json 1`] = ` |
| 237 |
Object { |
| 238 |
"compilerOptions": Object { |
| 239 |
"outDir": "../.tshy-build/webpack", |
| 240 |
}, |
| 241 |
"exclude": Array [ |
| 242 |
"../src/**/*.test.ts", |
| 243 |
"../src/**/*.mts", |
| 244 |
"../src/package.json", |
| 245 |
"../src/index-cjs.cts", |
| 246 |
"../src/index-deno.mts", |
| 247 |
], |
| 248 |
"extends": "./build.json", |
| 249 |
"include": Array [ |
| 250 |
"../src/**/*.ts", |
| 251 |
"../src/**/*.cts", |
| 252 |
"../src/**/*.tsx", |
| 253 |
"../src/**/*.json", |
| 254 |
], |
| 255 |
} |
| 256 |
` |
| 257 |
|
| 258 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > tsconfig.json 1`] = ` |
| 259 |
Object { |
| 260 |
"compilerOptions": Object { |
| 261 |
"this_data": "is preserved", |
| 262 |
"yolo": "🍑", |
| 263 |
}, |
| 264 |
} |
| 265 |
` |
| 266 |
|
| 267 |
exports[`test/tsconfig.ts > TAP > with tsconfig.json file > tsconfig.json generate everything 1`] = ` |
| 268 |
Object { |
| 269 |
"compilerOptions": Object { |
| 270 |
"declaration": true, |
| 271 |
"declarationMap": true, |
| 272 |
"esModuleInterop": true, |
| 273 |
"forceConsistentCasingInFileNames": true, |
| 274 |
"inlineSources": true, |
| 275 |
"jsx": "react", |
| 276 |
"module": "nodenext", |
| 277 |
"moduleResolution": "nodenext", |
| 278 |
"noUncheckedIndexedAccess": true, |
| 279 |
"resolveJsonModule": true, |
| 280 |
"skipLibCheck": true, |
| 281 |
"sourceMap": true, |
| 282 |
"strict": true, |
| 283 |
"target": "es2022", |
| 284 |
}, |
| 285 |
} |
| 286 |
` |