ci: Clear boundaries deps and type-only imports (no-changelog)

Burns down more of the turbo boundaries baseline:

- Declare three real-but-undeclared deps where they are used: `vite`
  (@n8n/scheduler vite.config), `@lezer/javascript` (codemirror-lang-html
  grammar test), `type-fest` (editor-ui global shim).
- Convert five type-only imports from type-declaration packages to
  `import type` (`express` Response in the Form node utils/tests, `json-schema`
  JSONSchema7 in useToolParameters).

Baseline lowered 795 -> 787.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Charlie Kolb 2026-07-15 10:23:10 +02:00
parent 307773dd1b
commit 305517f2eb
No known key found for this signature in database
10 changed files with 21 additions and 6 deletions

View File

@ -1,3 +1,3 @@
{
"issues": 558
"issues": 555
}

View File

@ -45,6 +45,7 @@
"devDependencies": {
"@codemirror/buildhelper": "^0.1.5",
"@lezer/generator": "catalog:",
"@lezer/javascript": "catalog:",
"@n8n/typescript-config": "workspace:*",
"typescript": "catalog:typescript",
"@rollup/plugin-node-resolve": "^9.0.0",

View File

@ -45,6 +45,7 @@
"@vitest/coverage-v8": "catalog:",
"fast-check": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:",
"vitest-mock-extended": "catalog:"
},

View File

@ -105,6 +105,7 @@
"stream-browserify": "^3.0.0",
"stylelint": "catalog:",
"timeago.js": "^4.0.2",
"type-fest": "^4.41.0",
"typescript": "catalog:",
"uuid": "catalog:",
"v-code-diff": "^1.13.1",

View File

@ -13,7 +13,7 @@ import { useProjectsStore } from '@/features/collaboration/projects/projects.sto
import { useNodeTypesStore } from '../stores/nodeTypes.store';
import { useAgentRequestStore } from '@n8n/stores/useAgentRequestStore';
import { type IFormInput } from '@n8n/design-system';
import { type JSONSchema7 } from 'json-schema';
import type { JSONSchema7 } from 'json-schema';
import { AI_MCP_TOOL_NODE_TYPE } from '../constants';
import { TOOL_NODE_TYPES_NEED_INPUT } from '../utils/nodes/nodeTransforms';

View File

@ -10,7 +10,7 @@ vi.mock('n8n-core', () => ({
}));
import { Container } from '@n8n/di';
import { type Response } from 'express';
import type { Response } from 'express';
import { type MockProxy, mock } from 'vitest-mock-extended';
import { getHtmlSandboxCSP, InstanceSettings, isFormHtmlSandboxingDisabled } from 'n8n-core';
import { type INode, type IUser, type IWebhookFunctions } from 'n8n-workflow';

View File

@ -1,4 +1,4 @@
import { type Response } from 'express';
import type { Response } from 'express';
import type { MockProxy } from 'vitest-mock-extended';
import { mock } from 'vitest-mock-extended';
import {

View File

@ -1,4 +1,4 @@
import { type Response } from 'express';
import type { Response } from 'express';
import { getHtmlSandboxCSP, isFormHtmlSandboxingDisabled } from 'n8n-core';
import {
type NodeTypeAndVersion,

View File

@ -1,4 +1,4 @@
import { type Response } from 'express';
import type { Response } from 'express';
import {
type NodeTypeAndVersion,
type IUser,

View File

@ -132,6 +132,9 @@ catalogs:
'@lezer/highlight':
specifier: 1.2.3
version: 1.2.3
'@lezer/javascript':
specifier: 1.5.4
version: 1.5.4
'@lezer/lr':
specifier: 1.4.5
version: 1.4.5
@ -1724,6 +1727,9 @@ importers:
'@lezer/generator':
specifier: 'catalog:'
version: 1.8.0
'@lezer/javascript':
specifier: 'catalog:'
version: 1.5.4
'@n8n/typescript-config':
specifier: workspace:*
version: link:../typescript-config
@ -3378,6 +3384,9 @@ importers:
typescript:
specifier: 'catalog:'
version: 6.0.2
vite:
specifier: 'catalog:'
version: 8.0.2(@types/node@20.19.41)(esbuild@0.28.1)(jiti@2.6.1)(sass-embedded@1.98.0)(sass@1.98.0)(terser@5.16.1)(tsx@4.19.3)(yaml@2.8.3)
vitest:
specifier: 'catalog:'
version: 4.1.9(@opentelemetry/api@1.9.0)(@types/node@20.19.41)(@vitest/browser-playwright@4.1.9)(@vitest/coverage-v8@4.1.9)(jsdom@23.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10))(vite@8.0.2(@types/node@20.19.41)(esbuild@0.28.1)(jiti@2.6.1)(sass-embedded@1.98.0)(sass@1.98.0)(terser@5.16.1)(tsx@4.19.3)(yaml@2.8.3))
@ -5633,6 +5642,9 @@ importers:
timeago.js:
specifier: ^4.0.2
version: 4.0.2
type-fest:
specifier: ^4.41.0
version: 4.41.0
typescript:
specifier: 'catalog:'
version: 6.0.2