зеркало из https://github.com/microsoft/fast.git
update to use auto-formatting
This commit is contained in:
Родитель
6bedb4638a
Коммит
c1948301fa
|
@ -1,7 +1,7 @@
|
|||
import { spawnSync } from "child_process";
|
||||
import { Octokit } from "@octokit/rest";
|
||||
import { PackageChangelogRenderInfo, ChangelogEntry } from "beachball";
|
||||
import { getPullRequestForCommit, repoDetails } from "../github";
|
||||
import { getPullRequestForCommit, repoDetails } from "./github";
|
||||
|
||||
const githubPAT = process.env.GITHUB_PUBLISH_PAT;
|
||||
if (!githubPAT && (process.argv.includes("bump") || process.argv.includes("publish"))) {
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
const tsNode = require("ts-node");
|
||||
const path = require("path");
|
||||
const { readConfig } = require("./read-config");
|
||||
|
||||
// Until ts-node re-enables caching, we're using version 7 (before caching was disabled).
|
||||
// https://github.com/TypeStrong/ts-node/issues/951
|
||||
tsNode.register({
|
||||
// Run in transpileOnly mode because with type checking it's very slow
|
||||
transpileOnly: true,
|
||||
// TODO: re-enable when upgrading ts-node to version which supports this
|
||||
// // Register ts-node so that it uses the scripts directory's tsconfig
|
||||
// dir: __dirname,
|
||||
// Hack to work around lack of `dir` option: manually pass in tsconfig
|
||||
compilerOptions: {
|
||||
...readConfig(path.join(__dirname, "typescript/tsconfig.common.json"))
|
||||
.compilerOptions,
|
||||
...readConfig(path.join(__dirname, "tsconfig.json")).compilerOptions,
|
||||
},
|
||||
skipProject: true, // don't read tsconfig within ts-node
|
||||
});
|
|
@ -63,7 +63,10 @@
|
|||
"coverageReporters": [
|
||||
"json",
|
||||
[
|
||||
"lcov", {"projectRoot": "."}
|
||||
"lcov",
|
||||
{
|
||||
"projectRoot": "."
|
||||
}
|
||||
]
|
||||
],
|
||||
"coverageThreshold": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче