diff --git a/.oxfmtrc.json b/.oxfmtrc.json index b61a81f..07a6fbc 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -1,17 +1,6 @@ { "$schema": "./node_modules/oxfmt/configuration_schema.json", - "ignorePatterns": ["CHANGELOG.md"], "sortImports": { - "groups": [ - "builtin", - "external", - ["internal", "subpath"], - "parent", - "sibling", - "index", - "side_effect", - "unknown" - ], - "newlinesBetween": true + "newlinesBetween": false } } diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fb7054..853e093 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,19 +35,15 @@ ## 1.1.1 - [patch] fa74183: - - Link messages out to information on changesets - [patch] a1d1b56: - - Display commit sha instead of commit message in bot comment ## 1.1.0 - [patch] f7a6395: - - Handle case where committer field in webhook event is null - [minor] 9bd107d: - - Added new bot to detect changesets on PRs diff --git a/api/webhook.ts b/api/webhook.ts index a211ec5..495d68e 100644 --- a/api/webhook.ts +++ b/api/webhook.ts @@ -1,5 +1,4 @@ import { createNodeMiddleware, createProbot } from "probot"; - import app from "../index.ts"; // Requires: diff --git a/get-changed-packages.ts b/get-changed-packages.ts index d3c1e81..1acba91 100644 --- a/get-changed-packages.ts +++ b/get-changed-packages.ts @@ -1,5 +1,4 @@ import nodePath from "path"; - import assembleReleasePlan from "@changesets/assemble-release-plan"; import { parse as parseConfig } from "@changesets/config"; import parseChangeset from "@changesets/parse"; diff --git a/index.ts b/index.ts index ebb3780..1651a3a 100644 --- a/index.ts +++ b/index.ts @@ -5,7 +5,6 @@ import { captureException } from "@sentry/node"; import { humanId } from "human-id"; import markdownTable from "markdown-table"; import type { Probot, Context } from "probot"; - import { getChangedPackages } from "./get-changed-packages.ts"; const getReleasePlanMessage = (releasePlan: ReleasePlan | null) => { diff --git a/test/index.test.ts b/test/index.test.ts index 21560ca..6598843 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -1,14 +1,11 @@ import assert from "node:assert/strict"; import { generateKeyPairSync } from "node:crypto"; - import { HttpResponse, http } from "msw"; import { setupServer } from "msw/node"; import { Probot, ProbotOctokit } from "probot"; import { aroundEach, beforeAll, describe, it } from "vitest"; - import type { PRContext } from "../index.ts"; import changesetBot from "../index.ts"; - import pullRequestOpen from "./fixtures/pull_request.opened.json"; import pullRequestSynchronize from "./fixtures/pull_request.synchronize.json"; import releasePullRequestOpen from "./fixtures/release_pull_request.opened.json";