mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
refactor: Move vitest-config
and eslint-config
packages to @n8n
(#13530)
This commit is contained in:
parent
27852e35ed
commit
6ba0128b5c
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base', 'plugin:cypress/recommended'],
|
extends: ['@n8n/eslint-config/base', 'plugin:cypress/recommended'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "^1.9.0",
|
"@biomejs/biome": "^1.9.0",
|
||||||
"@n8n_io/eslint-config": "workspace:*",
|
"@n8n/eslint-config": "workspace:*",
|
||||||
"@types/jest": "^29.5.3",
|
"@types/jest": "^29.5.3",
|
||||||
"@types/node": "*",
|
"@types/node": "*",
|
||||||
"@types/supertest": "^6.0.2",
|
"@types/supertest": "^6.0.2",
|
||||||
|
@ -96,7 +96,8 @@
|
||||||
"@types/express-serve-static-core@4.17.43": "patches/@types__express-serve-static-core@4.17.43.patch",
|
"@types/express-serve-static-core@4.17.43": "patches/@types__express-serve-static-core@4.17.43.patch",
|
||||||
"@types/ws@8.5.4": "patches/@types__ws@8.5.4.patch",
|
"@types/ws@8.5.4": "patches/@types__ws@8.5.4.patch",
|
||||||
"@types/uuencode@0.0.3": "patches/@types__uuencode@0.0.3.patch",
|
"@types/uuencode@0.0.3": "patches/@types__uuencode@0.0.3.patch",
|
||||||
"vue-tsc@2.1.10": "patches/vue-tsc@2.1.10.patch"
|
"vue-tsc@2.1.10": "patches/vue-tsc@2.1.10.patch",
|
||||||
|
"eslint-plugin-n8n-local-rules": "patches/eslint-plugin-n8n-local-rules.patch"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/** @type {import('@types/eslint').ESLint.ConfigData} */
|
/** @type {import('@types/eslint').ESLint.ConfigData} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/** @type {import('@types/eslint').ESLint.ConfigData} */
|
/** @type {import('@types/eslint').ESLint.ConfigData} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
{
|
{
|
||||||
"name": "@n8n_io/eslint-config",
|
"name": "@n8n/eslint-config",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
|
"exports": {
|
||||||
|
"./base": "./base.js",
|
||||||
|
"./frontend": "./frontend.js",
|
||||||
|
"./local-rules": "./local-rules.js",
|
||||||
|
"./node": "./node.js",
|
||||||
|
"./shared": "./shared.js"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/eslint": "^8.56.5",
|
"@types/eslint": "^8.56.5",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@n8n/frontend-vitest-config",
|
"name": "@n8n/vitest-config",
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
@ -11,15 +11,13 @@
|
||||||
"vitest": "catalog:frontend"
|
"vitest": "catalog:frontend"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"index.mjs"
|
"frontend.mjs"
|
||||||
],
|
],
|
||||||
"main": "./index.mjs",
|
|
||||||
"module": "./index.mjs",
|
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
"./frontend": {
|
||||||
"import": "./index.mjs",
|
"import": "./frontend.mjs",
|
||||||
"require": "./index.mjs",
|
"require": "./frontend.mjs",
|
||||||
"types": "./index.d.ts"
|
"types": "./frontend.d.ts"
|
||||||
},
|
},
|
||||||
"./*": "./*"
|
"./*": "./*"
|
||||||
},
|
},
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
const { createFrontendEslintConfig } = require('@n8n/frontend-eslint-config');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = createFrontendEslintConfig(__dirname, {
|
module.exports = {
|
||||||
|
extends: ['@n8n/eslint-config/frontend'],
|
||||||
|
|
||||||
|
...sharedOptions(__dirname, 'frontend'),
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
// TODO: Remove these
|
// TODO: Remove these
|
||||||
'import/no-default-export': 'warn',
|
'import/no-default-export': 'warn',
|
||||||
|
@ -40,4 +44,4 @@ module.exports = createFrontendEslintConfig(__dirname, {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
};
|
||||||
|
|
|
@ -19,9 +19,9 @@
|
||||||
"lintfix": "eslint src --ext .js,.ts,.vue --fix"
|
"lintfix": "eslint src --ext .js,.ts,.vue --fix"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@n8n/frontend-eslint-config": "workspace:*",
|
"@n8n/eslint-config": "workspace:*",
|
||||||
"@n8n/frontend-vitest-config": "workspace:*",
|
|
||||||
"@n8n/typescript-config": "workspace:*",
|
"@n8n/typescript-config": "workspace:*",
|
||||||
|
"@n8n/vitest-config": "workspace:*",
|
||||||
"@n8n/storybook": "workspace:*",
|
"@n8n/storybook": "workspace:*",
|
||||||
"@testing-library/jest-dom": "^6.6.3",
|
"@testing-library/jest-dom": "^6.6.3",
|
||||||
"@testing-library/user-event": "^14.6.0",
|
"@testing-library/user-event": "^14.6.0",
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { defineConfig, mergeConfig } from 'vite';
|
||||||
import components from 'unplugin-vue-components/vite';
|
import components from 'unplugin-vue-components/vite';
|
||||||
import icons from 'unplugin-icons/vite';
|
import icons from 'unplugin-icons/vite';
|
||||||
import iconsResolver from 'unplugin-icons/resolver';
|
import iconsResolver from 'unplugin-icons/resolver';
|
||||||
import { vitestConfig } from '@n8n/frontend-vitest-config';
|
import { vitestConfig } from '@n8n/vitest-config/frontend';
|
||||||
|
|
||||||
const frontendDir = resolve(__dirname, '..', 'frontend');
|
const frontendDir = resolve(__dirname, '..', 'frontend');
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
const { createFrontendEslintConfig } = require('@n8n/frontend-eslint-config');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = createFrontendEslintConfig(__dirname, {
|
module.exports = {
|
||||||
|
extends: ['@n8n/eslint-config/frontend'],
|
||||||
|
|
||||||
|
...sharedOptions(__dirname, 'frontend'),
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
'n8n-local-rules/dangerously-use-html-string-missing': 'error',
|
'n8n-local-rules/dangerously-use-html-string-missing': 'error',
|
||||||
|
|
||||||
|
@ -37,4 +41,4 @@ module.exports = createFrontendEslintConfig(__dirname, {
|
||||||
'@typescript-eslint/no-redundant-type-constituents': 'warn',
|
'@typescript-eslint/no-redundant-type-constituents': 'warn',
|
||||||
'@typescript-eslint/no-unsafe-enum-comparison': 'warn',
|
'@typescript-eslint/no-unsafe-enum-comparison': 'warn',
|
||||||
},
|
},
|
||||||
});
|
};
|
||||||
|
|
|
@ -91,9 +91,9 @@
|
||||||
"xss": "catalog:"
|
"xss": "catalog:"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@n8n/frontend-eslint-config": "workspace:*",
|
"@n8n/eslint-config": "workspace:*",
|
||||||
"@n8n/frontend-vitest-config": "workspace:*",
|
|
||||||
"@n8n/typescript-config": "workspace:*",
|
"@n8n/typescript-config": "workspace:*",
|
||||||
|
"@n8n/vitest-config": "workspace:*",
|
||||||
"@faker-js/faker": "^8.0.2",
|
"@faker-js/faker": "^8.0.2",
|
||||||
"@iconify/json": "^2.2.228",
|
"@iconify/json": "^2.2.228",
|
||||||
"@pinia/testing": "^0.1.6",
|
"@pinia/testing": "^0.1.6",
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { defineConfig, mergeConfig } from 'vite';
|
||||||
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
||||||
import svgLoader from 'vite-svg-loader';
|
import svgLoader from 'vite-svg-loader';
|
||||||
|
|
||||||
import { vitestConfig } from '@n8n/frontend-vitest-config';
|
import { vitestConfig } from '@n8n/vitest-config/frontend';
|
||||||
import icons from 'unplugin-icons/vite';
|
import icons from 'unplugin-icons/vite';
|
||||||
import iconsResolver from 'unplugin-icons/resolver';
|
import iconsResolver from 'unplugin-icons/resolver';
|
||||||
import components from 'unplugin-vue-components/vite';
|
import components from 'unplugin-vue-components/vite';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/frontend'],
|
extends: ['@n8n/eslint-config/frontend'],
|
||||||
|
|
||||||
...sharedOptions(__dirname, 'frontend'),
|
...sharedOptions(__dirname, 'frontend'),
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,7 +46,9 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify-json/mdi": "^1.1.54",
|
"@iconify-json/mdi": "^1.1.54",
|
||||||
"@n8n/storybook": "workspace:*",
|
"@n8n/storybook": "workspace:*",
|
||||||
|
"@n8n/eslint-config": "workspace:*",
|
||||||
"@n8n/typescript-config": "workspace:*",
|
"@n8n/typescript-config": "workspace:*",
|
||||||
|
"@n8n/vitest-config": "workspace:*",
|
||||||
"@vitejs/plugin-vue": "catalog:frontend",
|
"@vitejs/plugin-vue": "catalog:frontend",
|
||||||
"@vitest/coverage-v8": "catalog:frontend",
|
"@vitest/coverage-v8": "catalog:frontend",
|
||||||
"unplugin-icons": "^0.19.0",
|
"unplugin-icons": "^0.19.0",
|
||||||
|
|
|
@ -1,53 +1,57 @@
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig, mergeConfig } from 'vite';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import icons from 'unplugin-icons/vite';
|
import icons from 'unplugin-icons/vite';
|
||||||
import dts from 'vite-plugin-dts';
|
import dts from 'vite-plugin-dts';
|
||||||
|
import { vitestConfig } from '@n8n/vitest-config/frontend';
|
||||||
|
|
||||||
const includeVue = process.env.INCLUDE_VUE === 'true';
|
const includeVue = process.env.INCLUDE_VUE === 'true';
|
||||||
const srcPath = resolve(__dirname, 'src');
|
const srcPath = resolve(__dirname, 'src');
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default mergeConfig(
|
||||||
plugins: [
|
defineConfig({
|
||||||
vue(),
|
plugins: [
|
||||||
icons({
|
vue(),
|
||||||
compiler: 'vue3',
|
icons({
|
||||||
autoInstall: true,
|
compiler: 'vue3',
|
||||||
}),
|
autoInstall: true,
|
||||||
dts(),
|
}),
|
||||||
],
|
dts(),
|
||||||
resolve: {
|
],
|
||||||
alias: {
|
resolve: {
|
||||||
'@': srcPath,
|
alias: {
|
||||||
'@n8n/chat': srcPath,
|
'@': srcPath,
|
||||||
lodash: 'lodash-es',
|
'@n8n/chat': srcPath,
|
||||||
},
|
lodash: 'lodash-es',
|
||||||
},
|
|
||||||
define: {
|
|
||||||
'process.env.NODE_ENV': process.env.NODE_ENV ? `"${process.env.NODE_ENV}"` : '"development"',
|
|
||||||
},
|
|
||||||
build: {
|
|
||||||
emptyOutDir: !includeVue,
|
|
||||||
lib: {
|
|
||||||
entry: resolve(__dirname, 'src', 'index.ts'),
|
|
||||||
name: 'N8nChat',
|
|
||||||
fileName: (format) => (includeVue ? `chat.bundle.${format}.js` : `chat.${format}.js`),
|
|
||||||
},
|
|
||||||
rollupOptions: {
|
|
||||||
// make sure to externalize deps that shouldn't be bundled
|
|
||||||
// into your library
|
|
||||||
external: includeVue ? [] : ['vue'],
|
|
||||||
output: {
|
|
||||||
exports: 'named',
|
|
||||||
// Provide global variables to use in the UMD build
|
|
||||||
// for externalized deps
|
|
||||||
globals: includeVue
|
|
||||||
? {}
|
|
||||||
: {
|
|
||||||
vue: 'Vue',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
define: {
|
||||||
});
|
'process.env.NODE_ENV': process.env.NODE_ENV ? `"${process.env.NODE_ENV}"` : '"development"',
|
||||||
|
},
|
||||||
|
build: {
|
||||||
|
emptyOutDir: !includeVue,
|
||||||
|
lib: {
|
||||||
|
entry: resolve(__dirname, 'src', 'index.ts'),
|
||||||
|
name: 'N8nChat',
|
||||||
|
fileName: (format) => (includeVue ? `chat.bundle.${format}.js` : `chat.${format}.js`),
|
||||||
|
},
|
||||||
|
rollupOptions: {
|
||||||
|
// make sure to externalize deps that shouldn't be bundled
|
||||||
|
// into your library
|
||||||
|
external: includeVue ? [] : ['vue'],
|
||||||
|
output: {
|
||||||
|
exports: 'named',
|
||||||
|
// Provide global variables to use in the UMD build
|
||||||
|
// for externalized deps
|
||||||
|
globals: includeVue
|
||||||
|
? {}
|
||||||
|
: {
|
||||||
|
vue: 'Vue',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
vitestConfig,
|
||||||
|
);
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
import { resolve } from 'path';
|
|
||||||
import { mergeConfig } from 'vite';
|
|
||||||
import { type UserConfig } from 'vitest';
|
|
||||||
import { defineConfig } from 'vitest/config';
|
|
||||||
import viteConfig from './vite.config.mts';
|
|
||||||
|
|
||||||
const srcPath = resolve(__dirname, 'src');
|
|
||||||
const vitestConfig = defineConfig({
|
|
||||||
test: {
|
|
||||||
globals: true,
|
|
||||||
environment: 'jsdom',
|
|
||||||
root: srcPath,
|
|
||||||
setupFiles: ['./src/__tests__/setup.ts'],
|
|
||||||
...(process.env.COVERAGE_ENABLED === 'true'
|
|
||||||
? {
|
|
||||||
coverage: {
|
|
||||||
enabled: true,
|
|
||||||
provider: 'v8',
|
|
||||||
reporter: process.env.CI === 'true' ? 'cobertura' : 'text-summary',
|
|
||||||
all: true,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
: {}),
|
|
||||||
},
|
|
||||||
}) as UserConfig;
|
|
||||||
|
|
||||||
export default mergeConfig(
|
|
||||||
viteConfig,
|
|
||||||
vitestConfig,
|
|
||||||
);
|
|
|
@ -1,3 +1,10 @@
|
||||||
const { createFrontendEslintConfig } = require('@n8n/frontend-eslint-config');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
module.exports = createFrontendEslintConfig(__dirname);
|
/**
|
||||||
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
|
*/
|
||||||
|
module.exports = {
|
||||||
|
extends: ['@n8n/eslint-config/frontend'],
|
||||||
|
|
||||||
|
...sharedOptions(__dirname, 'frontend'),
|
||||||
|
};
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
"format:check": "biome ci . && prettier --check . --ignore-path ../../../../.prettierignore"
|
"format:check": "biome ci . && prettier --check . --ignore-path ../../../../.prettierignore"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@n8n/frontend-eslint-config": "workspace:*",
|
"@n8n/eslint-config": "workspace:*",
|
||||||
"@n8n/frontend-vitest-config": "workspace:*",
|
|
||||||
"@n8n/typescript-config": "workspace:*",
|
"@n8n/typescript-config": "workspace:*",
|
||||||
|
"@n8n/vitest-config": "workspace:*",
|
||||||
"@testing-library/jest-dom": "catalog:frontend",
|
"@testing-library/jest-dom": "catalog:frontend",
|
||||||
"@testing-library/user-event": "catalog:frontend",
|
"@testing-library/user-event": "catalog:frontend",
|
||||||
"@testing-library/vue": "catalog:frontend",
|
"@testing-library/vue": "catalog:frontend",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { defineConfig, mergeConfig } from 'vite';
|
import { defineConfig, mergeConfig } from 'vite';
|
||||||
import { vitestConfig } from '@n8n/frontend-vitest-config';
|
import { vitestConfig } from '@n8n/vitest-config/frontend';
|
||||||
|
|
||||||
export default mergeConfig(defineConfig({}), vitestConfig);
|
export default mergeConfig(defineConfig({}), vitestConfig);
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {string} path
|
|
||||||
* @param {import('@types/eslint').ESLint.ConfigData} config
|
|
||||||
* @returns {import('@types/eslint').ESLint.ConfigData}
|
|
||||||
*/
|
|
||||||
module.exports.createFrontendEslintConfig = function (path, config = {}) {
|
|
||||||
return {
|
|
||||||
extends: ['@n8n_io/eslint-config/frontend'],
|
|
||||||
...sharedOptions(path, 'frontend'),
|
|
||||||
...config,
|
|
||||||
};
|
|
||||||
};
|
|
|
@ -1,3 +0,0 @@
|
||||||
import type { ESLint } from '@types/eslint';
|
|
||||||
|
|
||||||
export function createFrontendEslintConfig(path: string): ESLint.ConfigData;
|
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
"name": "@n8n/frontend-eslint-config",
|
|
||||||
"version": "1.1.0",
|
|
||||||
"type": "module",
|
|
||||||
"dependencies": {
|
|
||||||
"@n8n_io/eslint-config": "workspace:*",
|
|
||||||
"eslint-plugin-n8n-local-rules": "^1.0.0"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"index.cjs"
|
|
||||||
],
|
|
||||||
"main": "./index.cjs",
|
|
||||||
"module": "./index.cjs",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"import": "./index.cjs",
|
|
||||||
"require": "./index.cjs",
|
|
||||||
"types": "./index.d.ts"
|
|
||||||
},
|
|
||||||
"./*": "./*"
|
|
||||||
},
|
|
||||||
"license": "See LICENSE.md file in the root of the repository"
|
|
||||||
}
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
ignorePatterns: [
|
ignorePatterns: [
|
||||||
'templates/**', // TODO: remove this
|
'templates/**', // TODO: remove this
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/node'],
|
extends: ['@n8n/eslint-config/node'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const sharedOptions = require('@n8n_io/eslint-config/shared');
|
const sharedOptions = require('@n8n/eslint-config/shared');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import('@types/eslint').ESLint.ConfigData}
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@n8n_io/eslint-config/base'],
|
extends: ['@n8n/eslint-config/base'],
|
||||||
|
|
||||||
...sharedOptions(__dirname),
|
...sharedOptions(__dirname),
|
||||||
|
|
||||||
|
|
13
patches/eslint-plugin-n8n-local-rules.patch
Normal file
13
patches/eslint-plugin-n8n-local-rules.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/index.js b/index.js
|
||||||
|
index b054bc7cbe742e8948e62dc3fdbaba9080e4aee1..7327ad02b48b3746cba93e0317ed190e61886888 100644
|
||||||
|
--- a/index.js
|
||||||
|
+++ b/index.js
|
||||||
|
@@ -7,7 +7,7 @@ const { findUp } = require('./findUp');
|
||||||
|
const found = findUp('.npmrc', __dirname);
|
||||||
|
const rootDir = path.dirname(found);
|
||||||
|
|
||||||
|
-const localRulesPath = path.resolve(rootDir, 'packages', '@n8n_io', 'eslint-config', 'local-rules.js')
|
||||||
|
+const localRulesPath = path.resolve(rootDir, 'packages', '@n8n', 'eslint-config', 'local-rules.js')
|
||||||
|
const rules = require(localRulesPath);
|
||||||
|
|
||||||
|
if (!rules) {
|
200
pnpm-lock.yaml
200
pnpm-lock.yaml
|
@ -154,6 +154,9 @@ patchedDependencies:
|
||||||
bull@4.12.1:
|
bull@4.12.1:
|
||||||
hash: 4b8aae78debc54697a9106a44b1a949089d4facfeee057883e32116ab8c80f68
|
hash: 4b8aae78debc54697a9106a44b1a949089d4facfeee057883e32116ab8c80f68
|
||||||
path: patches/bull@4.12.1.patch
|
path: patches/bull@4.12.1.patch
|
||||||
|
eslint-plugin-n8n-local-rules:
|
||||||
|
hash: e0fd59254ab02473c6940fa25fcc8102ebc7d371c015ec53333a43f48af33cc2
|
||||||
|
path: patches/eslint-plugin-n8n-local-rules.patch
|
||||||
pkce-challenge@3.0.0:
|
pkce-challenge@3.0.0:
|
||||||
hash: 4fa087c659ab74f146b6e9ff6ecee9f497d1d8a57d5a2bbb9c0c7a0356b3c33b
|
hash: 4fa087c659ab74f146b6e9ff6ecee9f497d1d8a57d5a2bbb9c0c7a0356b3c33b
|
||||||
path: patches/pkce-challenge@3.0.0.patch
|
path: patches/pkce-challenge@3.0.0.patch
|
||||||
|
@ -171,9 +174,9 @@ importers:
|
||||||
'@biomejs/biome':
|
'@biomejs/biome':
|
||||||
specifier: ^1.9.0
|
specifier: ^1.9.0
|
||||||
version: 1.9.0
|
version: 1.9.0
|
||||||
'@n8n_io/eslint-config':
|
'@n8n/eslint-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:packages/@n8n_io/eslint-config
|
version: link:packages/@n8n/eslint-config
|
||||||
'@types/jest':
|
'@types/jest':
|
||||||
specifier: ^29.5.3
|
specifier: ^29.5.3
|
||||||
version: 29.5.3
|
version: 29.5.3
|
||||||
|
@ -389,6 +392,54 @@ importers:
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../typescript-config
|
version: link:../typescript-config
|
||||||
|
|
||||||
|
packages/@n8n/eslint-config:
|
||||||
|
devDependencies:
|
||||||
|
'@types/eslint':
|
||||||
|
specifier: ^8.56.5
|
||||||
|
version: 8.56.5
|
||||||
|
'@typescript-eslint/eslint-plugin':
|
||||||
|
specifier: ^7.2.0
|
||||||
|
version: 7.2.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)
|
||||||
|
'@typescript-eslint/parser':
|
||||||
|
specifier: ^7.2.0
|
||||||
|
version: 7.2.0(eslint@8.57.0)(typescript@5.7.2)
|
||||||
|
'@vue/eslint-config-typescript':
|
||||||
|
specifier: ^13.0.0
|
||||||
|
version: 13.0.0(eslint-plugin-vue@9.23.0(eslint@8.57.0))(eslint@8.57.0)(typescript@5.7.2)
|
||||||
|
eslint:
|
||||||
|
specifier: ^8.57.0
|
||||||
|
version: 8.57.0
|
||||||
|
eslint-config-airbnb-typescript:
|
||||||
|
specifier: ^18.0.0
|
||||||
|
version: 18.0.0(@typescript-eslint/eslint-plugin@7.2.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0)
|
||||||
|
eslint-config-prettier:
|
||||||
|
specifier: ^9.1.0
|
||||||
|
version: 9.1.0(eslint@8.57.0)
|
||||||
|
eslint-import-resolver-typescript:
|
||||||
|
specifier: ^3.6.1
|
||||||
|
version: 3.6.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0)
|
||||||
|
eslint-plugin-import:
|
||||||
|
specifier: ^2.29.1
|
||||||
|
version: 2.29.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0)
|
||||||
|
eslint-plugin-lodash:
|
||||||
|
specifier: ^7.4.0
|
||||||
|
version: 7.4.0(eslint@8.57.0)
|
||||||
|
eslint-plugin-n8n-local-rules:
|
||||||
|
specifier: ^1.0.0
|
||||||
|
version: 1.0.0(patch_hash=e0fd59254ab02473c6940fa25fcc8102ebc7d371c015ec53333a43f48af33cc2)
|
||||||
|
eslint-plugin-unicorn:
|
||||||
|
specifier: ^51.0.1
|
||||||
|
version: 51.0.1(eslint@8.57.0)
|
||||||
|
eslint-plugin-unused-imports:
|
||||||
|
specifier: ^3.1.0
|
||||||
|
version: 3.1.0(@typescript-eslint/eslint-plugin@7.2.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)
|
||||||
|
eslint-plugin-vue:
|
||||||
|
specifier: ^9.23.0
|
||||||
|
version: 9.23.0(eslint@8.57.0)
|
||||||
|
vue-eslint-parser:
|
||||||
|
specifier: ^9.4.2
|
||||||
|
version: 9.4.2(eslint@8.57.0)
|
||||||
|
|
||||||
packages/@n8n/imap:
|
packages/@n8n/imap:
|
||||||
dependencies:
|
dependencies:
|
||||||
iconv-lite:
|
iconv-lite:
|
||||||
|
@ -442,7 +493,7 @@ importers:
|
||||||
version: 3.666.0(@aws-sdk/client-sts@3.666.0)
|
version: 3.666.0(@aws-sdk/client-sts@3.666.0)
|
||||||
'@getzep/zep-cloud':
|
'@getzep/zep-cloud':
|
||||||
specifier: 1.0.12
|
specifier: 1.0.12
|
||||||
version: 1.0.12(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)(langchain@0.3.11(77263c3fabb2ad4a7bd89ea0922555eb))
|
version: 1.0.12(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)(langchain@0.3.11(d2c70e6e899e44bb5377ca6198a97c6c))
|
||||||
'@getzep/zep-js':
|
'@getzep/zep-js':
|
||||||
specifier: 0.9.0
|
specifier: 0.9.0
|
||||||
version: 0.9.0
|
version: 0.9.0
|
||||||
|
@ -469,7 +520,7 @@ importers:
|
||||||
version: 0.3.2(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)
|
version: 0.3.2(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)
|
||||||
'@langchain/community':
|
'@langchain/community':
|
||||||
specifier: 0.3.24
|
specifier: 0.3.24
|
||||||
version: 0.3.24(61593ec037542bd45cb8735ad3bb3805)
|
version: 0.3.24(8549324d4d39cb6e91ae9ff5fc6970d3)
|
||||||
'@langchain/core':
|
'@langchain/core':
|
||||||
specifier: 'catalog:'
|
specifier: 'catalog:'
|
||||||
version: 0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
version: 0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
||||||
|
@ -559,7 +610,7 @@ importers:
|
||||||
version: 23.0.1
|
version: 23.0.1
|
||||||
langchain:
|
langchain:
|
||||||
specifier: 0.3.11
|
specifier: 0.3.11
|
||||||
version: 0.3.11(77263c3fabb2ad4a7bd89ea0922555eb)
|
version: 0.3.11(d2c70e6e899e44bb5377ca6198a97c6c)
|
||||||
lodash:
|
lodash:
|
||||||
specifier: 'catalog:'
|
specifier: 'catalog:'
|
||||||
version: 4.17.21
|
version: 4.17.21
|
||||||
|
@ -724,53 +775,14 @@ importers:
|
||||||
|
|
||||||
packages/@n8n/typescript-config: {}
|
packages/@n8n/typescript-config: {}
|
||||||
|
|
||||||
packages/@n8n_io/eslint-config:
|
packages/@n8n/vitest-config:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/eslint':
|
vite:
|
||||||
specifier: ^8.56.5
|
specifier: catalog:frontend
|
||||||
version: 8.56.5
|
version: 6.0.2(@types/node@18.16.16)(jiti@1.21.0)(sass@1.64.1)(terser@5.16.1)
|
||||||
'@typescript-eslint/eslint-plugin':
|
vitest:
|
||||||
specifier: ^7.2.0
|
specifier: catalog:frontend
|
||||||
version: 7.2.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)
|
version: 3.0.5(@types/debug@4.1.12)(@types/node@18.16.16)(jiti@1.21.0)(jsdom@23.0.1)(sass@1.64.1)(terser@5.16.1)
|
||||||
'@typescript-eslint/parser':
|
|
||||||
specifier: ^7.2.0
|
|
||||||
version: 7.2.0(eslint@8.57.0)(typescript@5.7.2)
|
|
||||||
'@vue/eslint-config-typescript':
|
|
||||||
specifier: ^13.0.0
|
|
||||||
version: 13.0.0(eslint-plugin-vue@9.23.0(eslint@8.57.0))(eslint@8.57.0)(typescript@5.7.2)
|
|
||||||
eslint:
|
|
||||||
specifier: ^8.57.0
|
|
||||||
version: 8.57.0
|
|
||||||
eslint-config-airbnb-typescript:
|
|
||||||
specifier: ^18.0.0
|
|
||||||
version: 18.0.0(@typescript-eslint/eslint-plugin@7.2.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0)
|
|
||||||
eslint-config-prettier:
|
|
||||||
specifier: ^9.1.0
|
|
||||||
version: 9.1.0(eslint@8.57.0)
|
|
||||||
eslint-import-resolver-typescript:
|
|
||||||
specifier: ^3.6.1
|
|
||||||
version: 3.6.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0)
|
|
||||||
eslint-plugin-import:
|
|
||||||
specifier: ^2.29.1
|
|
||||||
version: 2.29.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0)
|
|
||||||
eslint-plugin-lodash:
|
|
||||||
specifier: ^7.4.0
|
|
||||||
version: 7.4.0(eslint@8.57.0)
|
|
||||||
eslint-plugin-n8n-local-rules:
|
|
||||||
specifier: ^1.0.0
|
|
||||||
version: 1.0.0
|
|
||||||
eslint-plugin-unicorn:
|
|
||||||
specifier: ^51.0.1
|
|
||||||
version: 51.0.1(eslint@8.57.0)
|
|
||||||
eslint-plugin-unused-imports:
|
|
||||||
specifier: ^3.1.0
|
|
||||||
version: 3.1.0(@typescript-eslint/eslint-plugin@7.2.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)
|
|
||||||
eslint-plugin-vue:
|
|
||||||
specifier: ^9.23.0
|
|
||||||
version: 9.23.0(eslint@8.57.0)
|
|
||||||
vue-eslint-parser:
|
|
||||||
specifier: ^9.4.2
|
|
||||||
version: 9.4.2(eslint@8.57.0)
|
|
||||||
|
|
||||||
packages/cli:
|
packages/cli:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -1308,18 +1320,18 @@ importers:
|
||||||
specifier: 'catalog:'
|
specifier: 'catalog:'
|
||||||
version: 1.0.15
|
version: 1.0.15
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@n8n/frontend-eslint-config':
|
'@n8n/eslint-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../frontend/tooling/eslint-config
|
version: link:../@n8n/eslint-config
|
||||||
'@n8n/frontend-vitest-config':
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../frontend/tooling/vitest-config
|
|
||||||
'@n8n/storybook':
|
'@n8n/storybook':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../@n8n/storybook
|
version: link:../@n8n/storybook
|
||||||
'@n8n/typescript-config':
|
'@n8n/typescript-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../@n8n/typescript-config
|
version: link:../@n8n/typescript-config
|
||||||
|
'@n8n/vitest-config':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../@n8n/vitest-config
|
||||||
'@testing-library/jest-dom':
|
'@testing-library/jest-dom':
|
||||||
specifier: ^6.6.3
|
specifier: ^6.6.3
|
||||||
version: 6.6.3
|
version: 6.6.3
|
||||||
|
@ -1612,15 +1624,15 @@ importers:
|
||||||
'@iconify/json':
|
'@iconify/json':
|
||||||
specifier: ^2.2.228
|
specifier: ^2.2.228
|
||||||
version: 2.2.230
|
version: 2.2.230
|
||||||
'@n8n/frontend-eslint-config':
|
'@n8n/eslint-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../frontend/tooling/eslint-config
|
version: link:../@n8n/eslint-config
|
||||||
'@n8n/frontend-vitest-config':
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../frontend/tooling/vitest-config
|
|
||||||
'@n8n/typescript-config':
|
'@n8n/typescript-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../@n8n/typescript-config
|
version: link:../@n8n/typescript-config
|
||||||
|
'@n8n/vitest-config':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../@n8n/vitest-config
|
||||||
'@pinia/testing':
|
'@pinia/testing':
|
||||||
specifier: ^0.1.6
|
specifier: ^0.1.6
|
||||||
version: 0.1.6(pinia@2.2.4(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2))
|
version: 0.1.6(pinia@2.2.4(typescript@5.7.2)(vue@3.5.13(typescript@5.7.2)))(vue@3.5.13(typescript@5.7.2))
|
||||||
|
@ -1712,12 +1724,18 @@ importers:
|
||||||
'@iconify-json/mdi':
|
'@iconify-json/mdi':
|
||||||
specifier: ^1.1.54
|
specifier: ^1.1.54
|
||||||
version: 1.1.63
|
version: 1.1.63
|
||||||
|
'@n8n/eslint-config':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../../@n8n/eslint-config
|
||||||
'@n8n/storybook':
|
'@n8n/storybook':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../../../@n8n/storybook
|
version: link:../../../@n8n/storybook
|
||||||
'@n8n/typescript-config':
|
'@n8n/typescript-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../../../@n8n/typescript-config
|
version: link:../../../@n8n/typescript-config
|
||||||
|
'@n8n/vitest-config':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../../@n8n/vitest-config
|
||||||
'@vitejs/plugin-vue':
|
'@vitejs/plugin-vue':
|
||||||
specifier: catalog:frontend
|
specifier: catalog:frontend
|
||||||
version: 5.2.1(vite@6.0.2(@types/node@18.16.16)(jiti@1.21.0)(sass@1.64.1)(terser@5.16.1))(vue@3.5.13(typescript@5.7.2))
|
version: 5.2.1(vite@6.0.2(@types/node@18.16.16)(jiti@1.21.0)(sass@1.64.1)(terser@5.16.1))(vue@3.5.13(typescript@5.7.2))
|
||||||
|
@ -1742,15 +1760,15 @@ importers:
|
||||||
|
|
||||||
packages/frontend/@n8n/composables:
|
packages/frontend/@n8n/composables:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@n8n/frontend-eslint-config':
|
'@n8n/eslint-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../../tooling/eslint-config
|
version: link:../../../@n8n/eslint-config
|
||||||
'@n8n/frontend-vitest-config':
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../../tooling/vitest-config
|
|
||||||
'@n8n/typescript-config':
|
'@n8n/typescript-config':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../../../@n8n/typescript-config
|
version: link:../../../@n8n/typescript-config
|
||||||
|
'@n8n/vitest-config':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../../@n8n/vitest-config
|
||||||
'@testing-library/jest-dom':
|
'@testing-library/jest-dom':
|
||||||
specifier: catalog:frontend
|
specifier: catalog:frontend
|
||||||
version: 6.6.3
|
version: 6.6.3
|
||||||
|
@ -1791,24 +1809,6 @@ importers:
|
||||||
specifier: ^2.1.10
|
specifier: ^2.1.10
|
||||||
version: 2.1.10(patch_hash=e2aee939ccac8a57fe449bfd92bedd8117841579526217bc39aca26c6b8c317f)(typescript@5.7.2)
|
version: 2.1.10(patch_hash=e2aee939ccac8a57fe449bfd92bedd8117841579526217bc39aca26c6b8c317f)(typescript@5.7.2)
|
||||||
|
|
||||||
packages/frontend/tooling/eslint-config:
|
|
||||||
dependencies:
|
|
||||||
'@n8n_io/eslint-config':
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../../../@n8n_io/eslint-config
|
|
||||||
eslint-plugin-n8n-local-rules:
|
|
||||||
specifier: ^1.0.0
|
|
||||||
version: 1.0.0
|
|
||||||
|
|
||||||
packages/frontend/tooling/vitest-config:
|
|
||||||
devDependencies:
|
|
||||||
vite:
|
|
||||||
specifier: catalog:frontend
|
|
||||||
version: 6.0.2(@types/node@18.16.16)(jiti@1.21.0)(sass@1.64.1)(terser@5.16.1)
|
|
||||||
vitest:
|
|
||||||
specifier: catalog:frontend
|
|
||||||
version: 3.0.5(@types/debug@4.1.12)(@types/node@18.16.16)(jiti@1.21.0)(jsdom@23.0.1)(sass@1.64.1)(terser@5.16.1)
|
|
||||||
|
|
||||||
packages/node-dev:
|
packages/node-dev:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@n8n/di':
|
'@n8n/di':
|
||||||
|
@ -16086,7 +16086,7 @@ snapshots:
|
||||||
'@gar/promisify@1.1.3':
|
'@gar/promisify@1.1.3':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@getzep/zep-cloud@1.0.12(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)(langchain@0.3.11(77263c3fabb2ad4a7bd89ea0922555eb))':
|
'@getzep/zep-cloud@1.0.12(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)(langchain@0.3.11(d2c70e6e899e44bb5377ca6198a97c6c))':
|
||||||
dependencies:
|
dependencies:
|
||||||
form-data: 4.0.0
|
form-data: 4.0.0
|
||||||
node-fetch: 2.7.0(encoding@0.1.13)
|
node-fetch: 2.7.0(encoding@0.1.13)
|
||||||
|
@ -16095,7 +16095,7 @@ snapshots:
|
||||||
zod: 3.24.1
|
zod: 3.24.1
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@langchain/core': 0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
'@langchain/core': 0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
||||||
langchain: 0.3.11(77263c3fabb2ad4a7bd89ea0922555eb)
|
langchain: 0.3.11(d2c70e6e899e44bb5377ca6198a97c6c)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- encoding
|
- encoding
|
||||||
|
|
||||||
|
@ -16614,7 +16614,7 @@ snapshots:
|
||||||
- aws-crt
|
- aws-crt
|
||||||
- encoding
|
- encoding
|
||||||
|
|
||||||
'@langchain/community@0.3.24(61593ec037542bd45cb8735ad3bb3805)':
|
'@langchain/community@0.3.24(8549324d4d39cb6e91ae9ff5fc6970d3)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@browserbasehq/stagehand': 1.9.0(@playwright/test@1.49.1)(deepmerge@4.3.1)(dotenv@16.4.5)(encoding@0.1.13)(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))(zod@3.24.1)
|
'@browserbasehq/stagehand': 1.9.0(@playwright/test@1.49.1)(deepmerge@4.3.1)(dotenv@16.4.5)(encoding@0.1.13)(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))(zod@3.24.1)
|
||||||
'@ibm-cloud/watsonx-ai': 1.1.2
|
'@ibm-cloud/watsonx-ai': 1.1.2
|
||||||
|
@ -16625,7 +16625,7 @@ snapshots:
|
||||||
flat: 5.0.2
|
flat: 5.0.2
|
||||||
ibm-cloud-sdk-core: 5.1.0
|
ibm-cloud-sdk-core: 5.1.0
|
||||||
js-yaml: 4.1.0
|
js-yaml: 4.1.0
|
||||||
langchain: 0.3.11(77263c3fabb2ad4a7bd89ea0922555eb)
|
langchain: 0.3.11(d2c70e6e899e44bb5377ca6198a97c6c)
|
||||||
langsmith: 0.2.15(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
langsmith: 0.2.15(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
||||||
openai: 4.78.1(encoding@0.1.13)(zod@3.24.1)
|
openai: 4.78.1(encoding@0.1.13)(zod@3.24.1)
|
||||||
uuid: 10.0.0
|
uuid: 10.0.0
|
||||||
|
@ -16640,7 +16640,7 @@ snapshots:
|
||||||
'@aws-sdk/credential-provider-node': 3.666.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)
|
'@aws-sdk/credential-provider-node': 3.666.0(@aws-sdk/client-sso-oidc@3.666.0(@aws-sdk/client-sts@3.666.0))(@aws-sdk/client-sts@3.666.0)
|
||||||
'@azure/storage-blob': 12.18.0(encoding@0.1.13)
|
'@azure/storage-blob': 12.18.0(encoding@0.1.13)
|
||||||
'@browserbasehq/sdk': 2.0.0(encoding@0.1.13)
|
'@browserbasehq/sdk': 2.0.0(encoding@0.1.13)
|
||||||
'@getzep/zep-cloud': 1.0.12(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)(langchain@0.3.11(77263c3fabb2ad4a7bd89ea0922555eb))
|
'@getzep/zep-cloud': 1.0.12(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)(langchain@0.3.11(d2c70e6e899e44bb5377ca6198a97c6c))
|
||||||
'@getzep/zep-js': 0.9.0
|
'@getzep/zep-js': 0.9.0
|
||||||
'@google-ai/generativelanguage': 2.6.0(encoding@0.1.13)
|
'@google-ai/generativelanguage': 2.6.0(encoding@0.1.13)
|
||||||
'@google-cloud/storage': 7.12.1(encoding@0.1.13)
|
'@google-cloud/storage': 7.12.1(encoding@0.1.13)
|
||||||
|
@ -19959,14 +19959,6 @@ snapshots:
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- debug
|
- debug
|
||||||
|
|
||||||
axios@1.7.4(debug@4.4.0):
|
|
||||||
dependencies:
|
|
||||||
follow-redirects: 1.15.6(debug@4.4.0)
|
|
||||||
form-data: 4.0.0
|
|
||||||
proxy-from-env: 1.1.0
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- debug
|
|
||||||
|
|
||||||
axios@1.7.7:
|
axios@1.7.7:
|
||||||
dependencies:
|
dependencies:
|
||||||
follow-redirects: 1.15.6(debug@4.3.6)
|
follow-redirects: 1.15.6(debug@4.3.6)
|
||||||
|
@ -21724,7 +21716,7 @@ snapshots:
|
||||||
eslint: 8.57.0
|
eslint: 8.57.0
|
||||||
lodash: 4.17.21
|
lodash: 4.17.21
|
||||||
|
|
||||||
eslint-plugin-n8n-local-rules@1.0.0: {}
|
eslint-plugin-n8n-local-rules@1.0.0(patch_hash=e0fd59254ab02473c6940fa25fcc8102ebc7d371c015ec53333a43f48af33cc2): {}
|
||||||
|
|
||||||
eslint-plugin-n8n-nodes-base@1.16.3(eslint@8.57.0)(typescript@5.7.2):
|
eslint-plugin-n8n-nodes-base@1.16.3(eslint@8.57.0)(typescript@5.7.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -22187,10 +22179,6 @@ snapshots:
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
debug: 4.3.7
|
debug: 4.3.7
|
||||||
|
|
||||||
follow-redirects@1.15.6(debug@4.4.0):
|
|
||||||
optionalDependencies:
|
|
||||||
debug: 4.4.0
|
|
||||||
|
|
||||||
for-each@0.3.3:
|
for-each@0.3.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
is-callable: 1.2.7
|
is-callable: 1.2.7
|
||||||
|
@ -22782,7 +22770,7 @@ snapshots:
|
||||||
'@types/debug': 4.1.12
|
'@types/debug': 4.1.12
|
||||||
'@types/node': 18.16.16
|
'@types/node': 18.16.16
|
||||||
'@types/tough-cookie': 4.0.2
|
'@types/tough-cookie': 4.0.2
|
||||||
axios: 1.7.4(debug@4.4.0)
|
axios: 1.7.4
|
||||||
camelcase: 6.3.0
|
camelcase: 6.3.0
|
||||||
debug: 4.4.0
|
debug: 4.4.0
|
||||||
dotenv: 16.4.5
|
dotenv: 16.4.5
|
||||||
|
@ -22792,7 +22780,7 @@ snapshots:
|
||||||
isstream: 0.1.2
|
isstream: 0.1.2
|
||||||
jsonwebtoken: 9.0.2
|
jsonwebtoken: 9.0.2
|
||||||
mime-types: 2.1.35
|
mime-types: 2.1.35
|
||||||
retry-axios: 2.6.0(axios@1.7.4)
|
retry-axios: 2.6.0(axios@1.7.4(debug@4.4.0))
|
||||||
tough-cookie: 4.1.3
|
tough-cookie: 4.1.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
@ -23781,7 +23769,7 @@ snapshots:
|
||||||
|
|
||||||
kuler@2.0.0: {}
|
kuler@2.0.0: {}
|
||||||
|
|
||||||
langchain@0.3.11(77263c3fabb2ad4a7bd89ea0922555eb):
|
langchain@0.3.11(d2c70e6e899e44bb5377ca6198a97c6c):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@langchain/core': 0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
'@langchain/core': 0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1))
|
||||||
'@langchain/openai': 0.3.17(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)
|
'@langchain/openai': 0.3.17(@langchain/core@0.3.30(openai@4.78.1(encoding@0.1.13)(zod@3.24.1)))(encoding@0.1.13)
|
||||||
|
@ -26165,7 +26153,7 @@ snapshots:
|
||||||
|
|
||||||
ret@0.1.15: {}
|
ret@0.1.15: {}
|
||||||
|
|
||||||
retry-axios@2.6.0(axios@1.7.4):
|
retry-axios@2.6.0(axios@1.7.4(debug@4.4.0)):
|
||||||
dependencies:
|
dependencies:
|
||||||
axios: 1.7.4
|
axios: 1.7.4
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
packages:
|
packages:
|
||||||
- packages/*
|
- packages/*
|
||||||
- packages/@n8n/*
|
- packages/@n8n/*
|
||||||
- packages/@n8n_io/*
|
|
||||||
- packages/frontend/**
|
- packages/frontend/**
|
||||||
- cypress
|
- cypress
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue