This commit is contained in:
Aaron Wentzel 2020-10-06 13:59:23 -07:00
Родитель 6bedb4638a
Коммит c1948301fa
3 изменённых файлов: 5 добавлений и 22 удалений

Просмотреть файл

@ -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": {