1
1
exports[`TS Compile > compiles a valid project 1`] = `
2
2
{
3
3
"logs": {
4
- "stdout": "Copied tsconfig.json\\nInstalling typescript@5.6.3 ...\\nDeleting dist...\\nDeleting tsconfig.tsbuildinfo...\\nCompiling...\\n> npx tsc --pretty\\ncompile finished."
4
+ "stdout": "Copied tsconfig.json\\nInstalling typescript@5.7.2 ...\\nDeleting dist...\\nDeleting tsconfig.tsbuildinfo...\\nCompiling...\\n> npx tsc --pretty\\ncompile finished."
5
5
},
6
6
"cwd": "packages/compile/test-files/pass-compile",
7
7
"contentsDiff": {
8
- "package.json": "{\\n \\"devDependencies\\": {\\n \\"typescript\\": \\"^5.6.3 \\"\\n }\\n}\\n",
8
+ "package.json": "{\\n \\"devDependencies\\": {\\n \\"typescript\\": \\"^5.7.2 \\"\\n }\\n}\\n",
9
9
"dist": {
10
10
"a.d.ts": "export type A = {\\n here: string;\\n there: number;\\n};\\nexport declare const value: A;\\n",
11
11
"a.js": "export const value = {\\n here: 'yo',\\n there: 0,\\n};\\n"
@@ -18,12 +18,12 @@ exports[`TS Compile > compiles a valid project 1`] = `
18
18
exports[`TS Compile > rejects an invalid project 1`] = `
19
19
{
20
20
"logs": {
21
- "stdout": "Copied tsconfig.json\\nInstalling typescript@5.6.3 ...\\nDeleting dist...\\nDeleting tsconfig.tsbuildinfo...\\nCompiling...\\n> npx tsc --pretty\\nsrc/a.ts:12:5 - error TS2353: Object literal may only specify known properties, and 'no' does not exist in type 'A'.\\n\\n12 no: 'bad',\\n ~~\\n\\n\\nFound 1 error in src/a.ts:12\\n",
21
+ "stdout": "Copied tsconfig.json\\nInstalling typescript@5.7.2 ...\\nDeleting dist...\\nDeleting tsconfig.tsbuildinfo...\\nCompiling...\\n> npx tsc --pretty\\nsrc/a.ts:12:5 - error TS2353: Object literal may only specify known properties, and 'no' does not exist in type 'A'.\\n\\n12 no: 'bad',\\n ~~\\n\\n\\nFound 1 error in src/a.ts:12\\n",
22
22
"stderr": "compile failed."
23
23
},
24
24
"cwd": "packages/compile/test-files/fail-compile",
25
25
"contentsDiff": {
26
- "package.json": "{\\n \\"devDependencies\\": {\\n \\"typescript\\": \\"^5.6.3 \\"\\n }\\n}\\n",
26
+ "package.json": "{\\n \\"devDependencies\\": {\\n \\"typescript\\": \\"^5.7.2 \\"\\n }\\n}\\n",
27
27
"dist": {
28
28
"a.d.ts": "export type A = {\\n here: string;\\n there: number;\\n};\\nexport declare const value: A;\\nexport declare const value2: A;\\n",
29
29
"a.js": "export const value = {\\n here: 'yo',\\n there: 0,\\n};\\nexport const value2 = {\\n no: 'bad',\\n};\\n"
@@ -39,11 +39,11 @@ exports[`TS Compile > rejects an invalid project 1`] = `
39
39
exports[`TS Compile > works in a mono-repo 1`] = `
40
40
{
41
41
"logs": {
42
- "stdout": "Copied tsconfig.base.json\\nCopied tsconfig.json\\nCopied tsconfig.json\\nInstalling
[email protected] .
4 ...\\n[packages/a] Deleting dist...\\n[packages/a] Deleting tsconfig.tsbuildinfo...\\n[packages/a] Compiling...\\n[packages/a] > npx tsc -b --pretty\\n[packages/b] Deleting dist...\\n[packages/b] Deleting tsconfig.tsbuildinfo...\\n[packages/b] Compiling...\\n[packages/b] > npx tsc -b --pretty\\n[packages/a] npx tsc -b --pretty exited with code 0\\n[packages/b] npx tsc -b --pretty exited with code 0\\ncompile finished."
42
+ "stdout": "Copied tsconfig.base.json\\nCopied tsconfig.json\\nCopied tsconfig.json\\nInstalling
[email protected] .
5 ...\\n[packages/a] Deleting dist...\\n[packages/a] Deleting tsconfig.tsbuildinfo...\\n[packages/a] Compiling...\\n[packages/a] > npx tsc -b --pretty\\n[packages/b] Deleting dist...\\n[packages/b] Deleting tsconfig.tsbuildinfo...\\n[packages/b] Compiling...\\n[packages/b] > npx tsc -b --pretty\\n[packages/a] npx tsc -b --pretty exited with code 0\\n[packages/b] npx tsc -b --pretty exited with code 0\\ncompile finished."
43
43
},
44
44
"cwd": "packages/compile/test-files/mono-repo",
45
45
"contentsDiff": {
46
- "package.json": "{\\n \\"private\\": true,\\n \\"workspaces\\": [\\n \\"packages/*\\"\\n ],\\n \\"devDependencies\\": {\\n \\"mono-vir\\": \\"^2.0.4 \\"\\n }\\n}\\n",
46
+ "package.json": "{\\n \\"private\\": true,\\n \\"workspaces\\": [\\n \\"packages/*\\"\\n ],\\n \\"devDependencies\\": {\\n \\"mono-vir\\": \\"^2.0.5 \\"\\n }\\n}\\n",
47
47
"packages": {
48
48
"a": {
49
49
"dist": {
0 commit comments