mirror of
https://github.com/Kong/insomnia.git
synced 2026-08-04 11:52:33 -04:00
Remove renderer node-import baseline checks
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user