Skip to content

Commit

Permalink
Remove "./" from tsconfig's include/exclude as they are not needed. (#…
Browse files Browse the repository at this point in the history
…2849)

* Remove "./" from tsconfig's include/exclude as they are not needed.

The files are resolved related to the location of the config file.

* - regen test baseline for packages/autorest.typescript

* - regen test baselines for packages/typespec-test

* - regen smoke-test packages/autorest.typescript/

* fix formatting

---------

Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com>
  • Loading branch information
jeremymeng and qiaozha authored Oct 10, 2024
1 parent 8033f60 commit 04779cc
Show file tree
Hide file tree
Showing 151 changed files with 155 additions and 160 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const highLevelTsConfig: Record<string, any> = {
outDir: "./dist-esm",
importHelpers: true
},
include: ["./src/**/*.ts"],
include: ["src/**/*.ts"],
exclude: ["node_modules"]
};

Expand All @@ -38,7 +38,7 @@ export function generateTsConfig(project: Project) {

const clientPackageName = packageDetails.name;
if (generateTest) {
highLevelTsConfig.include.push("./test/**/*.ts");
highLevelTsConfig.include.push("test/**/*.ts");
}

if (generateSample) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts", "./test/**/*.ts"],
"include": ["src/**/*.ts", "test/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts", "./test/**/*.ts"],
"include": ["src/**/*.ts", "test/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts"],
"include": ["src/**/*.ts"],
"exclude": ["node_modules"]
}
Loading

0 comments on commit 04779cc

Please # to comment.