diff --git a/.github/workflows/cleanup-checks.yml b/.github/workflows/cleanup-checks.yml index 310146d150f..40a01c79b25 100644 --- a/.github/workflows/cleanup-checks.yml +++ b/.github/workflows/cleanup-checks.yml @@ -50,6 +50,13 @@ jobs: - name: Update size-limit run: npm run update-size-limits + - name: Commit changes back + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "Clean up Prettier, Size-limit, and Api-Extractor" + push_options: "" + skip_dirty_check: false + # commit & push # if there is a "trigger this action" comment in the PR, remove it diff --git a/.size-limits.json b/.size-limits.json index 1ead9643642..25e6b15abed 100644 --- a/.size-limits.json +++ b/.size-limits.json @@ -1,4 +1,4 @@ { - "dist/apollo-client.min.cjs": 37972, + "dist/apollo-client.min.cjs": 37962, "import { ApolloClient, InMemoryCache, HttpLink } from \"dist/index.js\" (production)": 32017 } diff --git a/src/invariantErrorCodes.ts b/src/invariantErrorCodes.ts index 7ec869ac684..2859229f3c6 100644 --- a/src/invariantErrorCodes.ts +++ b/src/invariantErrorCodes.ts @@ -2,7 +2,7 @@ export interface ErrorCodes { [key: number]: { file: string; condition?: string; message?: string }; } -export const errorCodes: ErrorCodes = {}; +export const errorCodes: ErrorCodes = {}; export const devDebug: ErrorCodes = {}; export const devLog: ErrorCodes = {}; export const devWarn: ErrorCodes = {}; diff --git a/src/testing/core/mocking/mockSubscriptionLink.ts b/src/testing/core/mocking/mockSubscriptionLink.ts index 93e48d5ddb4..71502c0d156 100644 --- a/src/testing/core/mocking/mockSubscriptionLink.ts +++ b/src/testing/core/mocking/mockSubscriptionLink.ts @@ -6,6 +6,9 @@ export interface MockedSubscription { request: Operation; } +/** + * suddenly commented + */ export interface MockedSubscriptionResult { result?: FetchResult; error?: Error;