Remove prettier in favor of @stylistic/eslint-plugin

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-20 12:13:07 +04:00
parent c24726b481
commit 27428377c6
16 changed files with 266 additions and 450 deletions

View File

@@ -9,7 +9,6 @@ MKDIR ?= mkdir -p
NPM ?= npm
NPX ?= npx
OPENSSL ?= openssl
PRETTIER ?= $(NPX) prettier
SED ?= sed
SYFT ?= syft
TAIL ?= tail

View File

@@ -41,7 +41,6 @@
},
"devDependencies": {
"@probo/eslint-config": "1.0.0",
"@probo/prettier": "1.0.0",
"@tailwindcss/vite": "^4.1.7",
"@types/node": "^22.15.21",
"@types/react": "^19.1.2",
@@ -53,11 +52,9 @@
"eslint": "^9.25.0",
"globals": "^16.0.0",
"graphql": "^16.11.0",
"prettier": "^3.5.3",
"relay-compiler": "^19.0.0",
"tailwindcss": "^4.1.7",
"typescript": "~5.8.3",
"vite": "^6.4.1"
},
"prettier": "@probo/prettier"
}
}

View File

@@ -32,7 +32,6 @@
},
"devDependencies": {
"@probo/eslint-config": "1.0.0",
"@probo/prettier": "1.0.0",
"@tailwindcss/vite": "^4.1.7",
"@types/node": "^22.15.21",
"@types/react": "^19.1.2",
@@ -43,13 +42,11 @@
"babel-plugin-relay": "^19.0.0",
"eslint": "^9.25.0",
"graphql": "^16.11.0",
"prettier": "^3.5.3",
"relay-compiler": "^19.0.0",
"tailwindcss": "^4.1.7",
"typescript": "~5.8.3",
"vite": "^6.4.1"
},
"prettier": "@probo/prettier",
"volta": {
"node": "24.4.0"
}

133
package-lock.json generated
View File

@@ -14,7 +14,6 @@
"react-dom": "^19.2.1"
},
"devDependencies": {
"prettier": "^3.5.3",
"turbo": "^2.5.3"
},
"engines": {
@@ -52,7 +51,6 @@
},
"devDependencies": {
"@probo/eslint-config": "1.0.0",
"@probo/prettier": "1.0.0",
"@tailwindcss/vite": "^4.1.7",
"@types/node": "^22.15.21",
"@types/react": "^19.1.2",
@@ -64,7 +62,6 @@
"eslint": "^9.25.0",
"globals": "^16.0.0",
"graphql": "^16.11.0",
"prettier": "^3.5.3",
"relay-compiler": "^19.0.0",
"tailwindcss": "^4.1.7",
"typescript": "~5.8.3",
@@ -95,7 +92,6 @@
},
"devDependencies": {
"@probo/eslint-config": "1.0.0",
"@probo/prettier": "1.0.0",
"@tailwindcss/vite": "^4.1.7",
"@types/node": "^22.15.21",
"@types/react": "^19.1.2",
@@ -106,7 +102,6 @@
"babel-plugin-relay": "^19.0.0",
"eslint": "^9.25.0",
"graphql": "^16.11.0",
"prettier": "^3.5.3",
"relay-compiler": "^19.0.0",
"tailwindcss": "^4.1.7",
"typescript": "~5.8.3",
@@ -738,7 +733,9 @@
}
},
"node_modules/@eslint/js": {
"version": "9.39.1",
"version": "9.39.2",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz",
"integrity": "sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA==",
"license": "MIT",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1317,18 +1314,6 @@
"node": ">=14"
}
},
"node_modules/@pkgr/core": {
"version": "0.2.9",
"resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz",
"integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==",
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
},
"funding": {
"url": "https://opencollective.com/pkgr"
}
},
"node_modules/@polka/url": {
"version": "1.0.0-next.29",
"dev": true,
@@ -1366,10 +1351,6 @@
"resolved": "packages/n8n-node",
"link": true
},
"node_modules/@probo/prettier": {
"resolved": "packages/prettier",
"link": true
},
"node_modules/@probo/react-lazy": {
"resolved": "packages/react-lazy",
"link": true
@@ -5491,7 +5472,9 @@
}
},
"node_modules/eslint": {
"version": "9.39.1",
"version": "9.39.2",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.2.tgz",
"integrity": "sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw==",
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.8.0",
@@ -5500,7 +5483,7 @@
"@eslint/config-helpers": "^0.4.2",
"@eslint/core": "^0.17.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "9.39.1",
"@eslint/js": "9.39.2",
"@eslint/plugin-kit": "^0.4.1",
"@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
@@ -5547,18 +5530,6 @@
}
}
},
"node_modules/eslint-config-prettier": {
"version": "9.1.2",
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.2.tgz",
"integrity": "sha512-iI1f+D2ViGn+uvv5HuHVUamg8ll4tN+JRHGc6IJi4TP9Kl976C57fzPXgseXNs8v0iA8aSJpHsTWjDb9QJamGQ==",
"license": "MIT",
"bin": {
"eslint-config-prettier": "bin/cli.js"
},
"peerDependencies": {
"eslint": ">=7.0.0"
}
},
"node_modules/eslint-config-riot": {
"version": "1.0.0",
"license": "MIT",
@@ -6129,36 +6100,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/eslint-plugin-prettier": {
"version": "5.5.5",
"resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.5.tgz",
"integrity": "sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw==",
"license": "MIT",
"dependencies": {
"prettier-linter-helpers": "^1.0.1",
"synckit": "^0.11.12"
},
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"funding": {
"url": "https://opencollective.com/eslint-plugin-prettier"
},
"peerDependencies": {
"@types/eslint": ">=8.0.0",
"eslint": ">=8.0.0",
"eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0",
"prettier": ">=3.0.0"
},
"peerDependenciesMeta": {
"@types/eslint": {
"optional": true
},
"eslint-config-prettier": {
"optional": true
}
}
},
"node_modules/eslint-plugin-react-hooks": {
"version": "5.2.0",
"license": "MIT",
@@ -6336,12 +6277,6 @@
"version": "3.1.3",
"license": "MIT"
},
"node_modules/fast-diff": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz",
"integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==",
"license": "Apache-2.0"
},
"node_modules/fast-glob": {
"version": "3.2.12",
"dev": true,
@@ -9329,18 +9264,6 @@
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/prettier-linter-helpers": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.1.tgz",
"integrity": "sha512-SxToR7P8Y2lWmv/kTzVLC1t/GDI2WGjMwNhLLE9qtH8Q13C+aEmuRlzDst4Up4s0Wc8sF2M+J57iB3cMLqftfg==",
"license": "MIT",
"dependencies": {
"fast-diff": "^1.1.2"
},
"engines": {
"node": ">=6.0.0"
}
},
"node_modules/pretty-format": {
"version": "27.5.1",
"dev": true,
@@ -10908,21 +10831,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/synckit": {
"version": "0.11.12",
"resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.12.tgz",
"integrity": "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==",
"license": "MIT",
"dependencies": {
"@pkgr/core": "^0.2.9"
},
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
"funding": {
"url": "https://opencollective.com/synckit"
}
},
"node_modules/tailwind-variants": {
"version": "1.0.0",
"license": "MIT",
@@ -12279,8 +12187,6 @@
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
@@ -12309,15 +12215,10 @@
"dependencies": {
"@eslint/js": "^9.25.0",
"@stylistic/eslint-plugin": "^4.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"typescript-eslint": "^8.30.1"
},
"peerDependencies": {
"eslint": "^9.25.0",
"prettier": "^3.5.3"
}
},
"packages/helpers": {
@@ -12328,8 +12229,6 @@
"@probo/coredata": "^1.0.0"
},
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
@@ -12339,8 +12238,6 @@
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
@@ -12500,14 +12397,6 @@
"node": "*"
}
},
"packages/prettier": {
"name": "@probo/prettier",
"version": "1.0.0",
"license": "ISC",
"peerDependencies": {
"prettier": "^3.5.3"
}
},
"packages/react-lazy": {
"name": "@probo/react-lazy",
"version": "1.0.0",
@@ -12523,8 +12412,6 @@
"graphql": "^16.12.0"
},
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},
@@ -12540,8 +12427,6 @@
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},
@@ -12587,7 +12472,6 @@
"devDependencies": {
"@chromatic-com/storybook": "^3.2.6",
"@probo/eslint-config": "1.0.0",
"@probo/prettier": "1.0.0",
"@rollup/pluginutils": "^5.1.4",
"@storybook/addon-essentials": "^8.6.13",
"@storybook/blocks": "^8.6.13",
@@ -12604,7 +12488,6 @@
"@vitest/coverage-v8": "^3.1.3",
"eslint": "^9.25.0",
"playwright": "^1.55.1",
"prettier": "^3.5.3",
"react": "^19.1.0",
"react-docgen": "^7.1.1",
"react-dom": "^19.1.0",

View File

@@ -12,15 +12,12 @@
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"check": "turbo run check",
"relay": "turbo run relay"
},
"devDependencies": {
"prettier": "^3.5.3",
"turbo": "^2.5.3"
},
"prettier": "@probo/prettier",
"graphql": {
"schema": "./pkg/server/api/console/v1/schema.graphql"
},

View File

@@ -5,16 +5,12 @@
"main": "./src/index.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write ./src"
"test:watch": "vitest"
},
"prettier": "@probo/prettier",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}

View File

@@ -3,141 +3,141 @@ import globals from "globals";
import reactHooks from "eslint-plugin-react-hooks";
import tseslint from "typescript-eslint";
import stylistic from "@stylistic/eslint-plugin";
import prettier from "eslint-plugin-prettier";
import prettierConfig from "eslint-config-prettier";
/**
* Base ESLint configuration with strict and stylistic rules
*/
export function createConfig({
files = ["**/*.{ts,tsx}"],
languageOptions = {},
react = false,
project = true,
tsconfigRootDir,
files = ["**/*.{ts,tsx}"],
languageOptions = {},
react = false,
project = true,
tsconfigRootDir,
} = {}) {
const configs = [
{ ignores: ["dist", "node_modules", "**/*.d.ts"] },
js.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
...tseslint.configs.stylisticTypeChecked,
{
files,
languageOptions: (() => {
const mergedGlobals = {
...globals.node,
...globals.es2021,
...(languageOptions.globals || {}),
};
const mergedParserOptions = {
project,
...(tsconfigRootDir && { tsconfigRootDir }),
...(languageOptions.parserOptions || {}),
};
const otherLanguageOptions = Object.fromEntries(
Object.entries(languageOptions).filter(([key]) => key !== "globals" && key !== "parserOptions"),
);
const configs = [
{ ignores: ["dist", "node_modules", "**/*.d.ts"] },
js.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
files,
languageOptions: (() => {
const mergedGlobals = {
...globals.node,
...globals.es2021,
...(languageOptions.globals || {}),
};
const mergedParserOptions = {
project,
...(tsconfigRootDir && { tsconfigRootDir }),
...(languageOptions.parserOptions || {}),
};
const otherLanguageOptions = Object.fromEntries(
Object.entries(languageOptions).filter(
([key]) => key !== "globals" && key !== "parserOptions",
),
);
return {
ecmaVersion: 2020,
sourceType: "module",
globals: mergedGlobals,
parserOptions: mergedParserOptions,
...otherLanguageOptions,
};
})(),
plugins: {
"@stylistic": stylistic,
prettier,
},
rules: {
// Prettier integration
"prettier/prettier": "error",
return {
ecmaVersion: 2020,
sourceType: "module",
globals: mergedGlobals,
parserOptions: mergedParserOptions,
...otherLanguageOptions,
};
})(),
plugins: {
"@stylistic": stylistic,
},
rules: {
// TypeScript strict rules
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
// TypeScript strict rules
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
},
],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-misused-promises": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
// Stylistic rules
"@stylistic/quotes": ["error", "double", { avoidEscape: true }],
"@stylistic/semi": ["error", "always"],
"@stylistic/comma-dangle": ["error", "always-multiline"],
"@stylistic/indent": ["error", 2, { SwitchCase: 1 }],
"@stylistic/object-curly-spacing": ["error", "always"],
"@stylistic/array-bracket-spacing": ["error", "never"],
"@stylistic/comma-spacing": ["error", { before: false, after: true }],
"@stylistic/key-spacing": [
"error",
{ beforeColon: false, afterColon: true },
],
"@stylistic/space-before-blocks": ["error", "always"],
"@stylistic/space-before-function-paren": [
"error",
{ anonymous: "always", named: "never", asyncArrow: "always" },
],
"@stylistic/space-infix-ops": "error",
"@stylistic/arrow-spacing": ["error", { before: true, after: true }],
"@stylistic/no-trailing-spaces": "error",
"@stylistic/eol-last": ["error", "always"],
"@stylistic/max-len": [
"warn",
{ code: 120, ignoreUrls: true, ignoreStrings: true },
],
},
},
];
// Stylistic rules
"@stylistic/quotes": ["error", "double", { avoidEscape: true }],
"@stylistic/semi": ["error", "always"],
"@stylistic/comma-dangle": ["error", "always-multiline"],
"@stylistic/indent": ["error", 4, { SwitchCase: 1 }],
"@stylistic/object-curly-spacing": ["error", "always"],
"@stylistic/array-bracket-spacing": ["error", "never"],
"@stylistic/comma-spacing": ["error", { before: false, after: true }],
"@stylistic/key-spacing": ["error", { beforeColon: false, afterColon: true }],
"@stylistic/space-before-blocks": ["error", "always"],
"@stylistic/space-before-function-paren": [
"error",
{ anonymous: "always", named: "never", asyncArrow: "always" },
],
"@stylistic/space-infix-ops": "error",
"@stylistic/arrow-spacing": ["error", { before: true, after: true }],
"@stylistic/no-trailing-spaces": "error",
"@stylistic/eol-last": ["error", "always"],
"@stylistic/max-len": ["warn", { code: 120, ignoreUrls: true, ignoreStrings: true }],
},
},
prettierConfig,
];
if (react) {
configs.push({
files,
plugins: {
"react-hooks": reactHooks,
},
rules: {
...reactHooks.configs.recommended.rules,
},
});
}
if (react) {
configs.push({
files,
plugins: {
"react-hooks": reactHooks,
},
rules: {
...reactHooks.configs.recommended.rules,
},
});
}
return configs;
return configs;
}
/**
* Browser/React configuration
*/
export function browser(project = true, tsconfigRootDir) {
return createConfig({
files: ["**/*.{ts,tsx}"],
languageOptions: {
globals: {
...globals.browser,
},
},
react: true,
project,
tsconfigRootDir,
});
return createConfig({
files: ["**/*.{ts,tsx}"],
languageOptions: {
globals: {
...globals.browser,
},
},
react: true,
project,
tsconfigRootDir,
});
}
/**
* Node.js configuration
*/
export function node(project = true, tsconfigRootDir) {
return createConfig({
files: ["**/*.{ts,tsx}"],
languageOptions: {
globals: {
...globals.node,
},
},
react: false,
project,
tsconfigRootDir,
});
return createConfig({
files: ["**/*.{ts,tsx}"],
languageOptions: {
globals: {
...globals.node,
},
},
react: false,
project,
tsconfigRootDir,
});
}

View File

@@ -1,25 +1,20 @@
{
"name": "@probo/eslint-config",
"version": "1.0.0",
"private": true,
"description": "Shared ESLint configuration for Probo monorepo",
"main": "eslint.config.mjs",
"type": "module",
"scripts": {},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@eslint/js": "^9.25.0",
"@stylistic/eslint-plugin": "^4.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"typescript-eslint": "^8.30.1"
},
"peerDependencies": {
"eslint": "^9.25.0",
"prettier": "^3.5.3"
}
"name": "@probo/eslint-config",
"version": "1.0.0",
"private": true,
"description": "Shared ESLint configuration for Probo monorepo",
"main": "eslint.config.mjs",
"type": "module",
"scripts": {},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@eslint/js": "^9.25.0",
"@stylistic/eslint-plugin": "^4.2.0",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^16.0.0",
"typescript-eslint": "^8.30.1"
}
}

View File

@@ -5,16 +5,12 @@
"main": "./src/index.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write ./src"
"test:watch": "vitest"
},
"prettier": "@probo/prettier",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},

View File

@@ -1,21 +1,17 @@
{
"name": "@probo/hooks",
"version": "1.0.0",
"description": "",
"main": "./src/index.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write ./src"
},
"prettier": "@probo/prettier",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
"name": "@probo/hooks",
"version": "1.0.0",
"description": "",
"main": "./src/index.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"typescript": "^5.8.3",
"vitest": "^3.1.3"
}
}

View File

@@ -1,14 +0,0 @@
{
"name": "@probo/prettier",
"private": true,
"version": "1.0.0",
"description": "Shared Prettier configuration for Probo monorepo",
"main": "prettier.config.js",
"scripts": {},
"keywords": [],
"author": "",
"license": "ISC",
"peerDependencies": {
"prettier": "^3.5.3"
}
}

View File

@@ -1,14 +0,0 @@
module.exports = {
tabWidth: 2,
useTabs: false,
semi: true, // Add semicolons
singleQuote: false, // Use double quotes (matches @stylistic/quotes)
quoteProps: "as-needed",
trailingComma: "all", // Trailing commas (matches @stylistic/comma-dangle)
bracketSpacing: true, // { foo: bar } not {foo: bar}
arrowParens: "always", // (x) => x not x => x
endOfLine: "lf", // Unix line endings
printWidth: 120, // Max line length (matches @stylistic/max-len)
proseWrap: "preserve",
bracketSameLine: false,
};

View File

@@ -1,13 +1,12 @@
{
"name": "@probo/react-lazy",
"version": "1.0.0",
"description": "Enhanced React lazy loading with retries and error handling",
"private": true,
"type": "module",
"main": "src/index.ts",
"scripts": {},
"prettier": "@probo/prettier",
"peerDependencies": {
"react": ">18.0.0"
}
"name": "@probo/react-lazy",
"version": "1.0.0",
"description": "Enhanced React lazy loading with retries and error handling",
"private": true,
"type": "module",
"main": "src/index.ts",
"scripts": {},
"peerDependencies": {
"react": ">18.0.0"
}
}

View File

@@ -1,31 +1,27 @@
{
"name": "@probo/relay",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "./src/index.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write ./src"
},
"prettier": "@probo/prettier",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},
"peerDependencies": {
"react": "^19.2.1",
"react-relay": "^19.0.0",
"react-router": "^7.10.0",
"relay-runtime": "^19.0.0"
},
"dependencies": {
"graphql": "^16.12.0"
}
"name": "@probo/relay",
"version": "1.0.0",
"description": "",
"type": "module",
"main": "./src/index.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},
"peerDependencies": {
"react": "^19.2.1",
"react-relay": "^19.0.0",
"react-router": "^7.10.0",
"relay-runtime": "^19.0.0"
},
"dependencies": {
"graphql": "^16.12.0"
}
}

View File

@@ -5,16 +5,12 @@
"main": "./src/index.ts",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write ./src"
"test:watch": "vitest"
},
"prettier": "@probo/prettier",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@probo/prettier": "1.0.0",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"vitest": "^3.1.3"
},

View File

@@ -1,76 +1,73 @@
{
"name": "@probo/ui",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "src/index.ts",
"scripts": {
"lint": "eslint .",
"dev": "storybook dev -p 6006 --no-open",
"check": "tsc --noEmit -p tsconfig.app.json",
"icons": "bun run src/Atoms/Icons/generator.ts"
},
"prettier": "@probo/prettier",
"dependencies": {
"@ariakit/react": "^0.4.17",
"@probo/helpers": "1.0.0",
"@probo/i18n": "1.0.0",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-portal": "^1.1.10",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"react-dropzone": "^14.3.8",
"react-intersection-observer": "^9.16.0",
"react-markdown": "^10.1.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"tailwind-variants": "^1.0.0",
"tailwindcss": "^4.1.7",
"tw-animate-css": "^1.3.0",
"zustand": "^5.0.4"
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.6",
"@probo/eslint-config": "1.0.0",
"@probo/prettier": "1.0.0",
"@rollup/pluginutils": "^5.1.4",
"@storybook/addon-essentials": "^8.6.13",
"@storybook/blocks": "^8.6.13",
"@storybook/experimental-addon-test": "^8.6.13",
"@storybook/react": "^8.6.13",
"@storybook/react-vite": "^8.6.13",
"@storybook/test": "^8.6.13",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.1.17",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"@vitest/browser": "^3.1.3",
"@vitest/coverage-v8": "^3.1.3",
"eslint": "^9.25.0",
"playwright": "^1.55.1",
"prettier": "^3.5.3",
"react": "^19.1.0",
"react-docgen": "^7.1.1",
"react-dom": "^19.1.0",
"react-router": "^7.12.0",
"storybook": "^8.6.15",
"typescript": "~5.8.3",
"vite": "^6.4.1",
"vitest": "^3.1.3"
},
"peerDependencies": {
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router": "^7.12.0"
},
"volta": {
"node": "24.4.0"
}
"name": "@probo/ui",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "src/index.ts",
"scripts": {
"lint": "eslint .",
"dev": "storybook dev -p 6006 --no-open",
"check": "tsc --noEmit -p tsconfig.app.json",
"icons": "bun run src/Atoms/Icons/generator.ts"
},
"dependencies": {
"@ariakit/react": "^0.4.17",
"@probo/helpers": "1.0.0",
"@probo/i18n": "1.0.0",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-portal": "^1.1.10",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"react-dropzone": "^14.3.8",
"react-intersection-observer": "^9.16.0",
"react-markdown": "^10.1.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
"tailwind-variants": "^1.0.0",
"tailwindcss": "^4.1.7",
"tw-animate-css": "^1.3.0",
"zustand": "^5.0.4"
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.6",
"@probo/eslint-config": "1.0.0",
"@rollup/pluginutils": "^5.1.4",
"@storybook/addon-essentials": "^8.6.13",
"@storybook/blocks": "^8.6.13",
"@storybook/experimental-addon-test": "^8.6.13",
"@storybook/react": "^8.6.13",
"@storybook/react-vite": "^8.6.13",
"@storybook/test": "^8.6.13",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.1.17",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"@vitest/browser": "^3.1.3",
"@vitest/coverage-v8": "^3.1.3",
"eslint": "^9.25.0",
"playwright": "^1.55.1",
"react": "^19.1.0",
"react-docgen": "^7.1.1",
"react-dom": "^19.1.0",
"react-router": "^7.12.0",
"storybook": "^8.6.15",
"typescript": "~5.8.3",
"vite": "^6.4.1",
"vitest": "^3.1.3"
},
"peerDependencies": {
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router": "^7.12.0"
},
"volta": {
"node": "24.4.0"
}
}