Remove renderer node-import baseline checks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
jackkav
2026-05-29 08:09:16 +02:00
parent dd5055d594
commit 8586b07dc6
5 changed files with 3 additions and 8 deletions

View File

@@ -47,9 +47,6 @@ jobs:
- name: Lint
run: npm run lint
- name: Check renderer Node import baseline
run: npm run check:renderer-node-imports
- name: Type checks
run: npm run type-check

View File

@@ -26,7 +26,6 @@
"scripts": {
"dev": "npm start -w insomnia",
"dev:autoRestart": "npm run start:autoRestart -w insomnia",
"check:renderer-node-imports": "npm run check:renderer-node-imports -w insomnia",
"lint": "npm run lint --workspaces --if-present",
"type-check": "npm run type-check --workspaces --if-present",
"test": "npm run test --workspaces --if-present",

View File

@@ -20,9 +20,6 @@
"verify-bundle-plugins": "esr --cache ./scripts/verify-bundle-plugins.ts",
"install-x64-native-dependencies": "esr --cache ./scripts/install-x64-native-dependencies.ts",
"build": "react-router build && esr --cache ./scripts/build.ts --noErrorTruncation",
"analyze:renderer-node-imports": "cross-env NODE_OPTIONS=--max-old-space-size=8192 INSOMNIA_NODE_IMPORT_REPORT=1 react-router build",
"check:renderer-node-imports": "npm run analyze:renderer-node-imports && esr --cache ./scripts/check-renderer-node-imports.ts",
"update:renderer-node-import-baseline": "npm run analyze:renderer-node-imports && esr --cache ./scripts/check-renderer-node-imports.ts --write-baseline",
"build:react-router": "react-router build",
"generate:schema": "esr ./src/schema.ts",
"build:electron-entrypoints": "cross-env NODE_ENV=development esr esbuild.entrypoints.ts",

View File

@@ -1,7 +1,8 @@
import Color from 'color';
import type { ThemeSettings } from '~/insomnia-data';
import { getAppDefaultTheme } from '../common/constants';
import { getAppDefaultTheme } from '~/insomnia-data/common';
import type { SerializableTheme } from './bridge-types';
import { plugins } from './renderer-bridge';

View File

@@ -3,6 +3,7 @@ import { Button } from 'react-aria-components';
import { models, services } from '~/insomnia-data';
import { getPreviewModeName, PREVIEW_MODE_SOURCE, PREVIEW_MODES } from '~/insomnia-data/common';
import {
type RequestLoaderData,
useRequestLoaderData,