Skip to content

Commit a0a0883

Browse files
committed
chore: enable pnpm stream log output
1 parent 79e040d commit a0a0883

File tree

21 files changed

+194
-167
lines changed

21 files changed

+194
-167
lines changed

.pkgs/configs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"@eslint/js": "^9.35.0",
2323
"@stylistic/eslint-plugin": "^5.3.1",
2424
"eslint-plugin-de-morgan": "^1.3.1",
25-
"eslint-plugin-function": "^0.0.25",
26-
"eslint-plugin-jsdoc": "^55.4.0",
25+
"eslint-plugin-function": "^0.0.26",
26+
"eslint-plugin-jsdoc": "^56.1.2",
2727
"eslint-plugin-perfectionist": "^4.15.0",
2828
"eslint-plugin-regexp": "^2.10.0",
2929
"eslint-plugin-unicorn": "^61.0.2",

.pkgs/eslint-plugin-local/dist/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
import "@typescript-eslint/utils/eslint-utils";
12
import * as _typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
23

4+
//#region src/rules/prefer-eqeq-nullish-comparison.d.ts
5+
type MessageID = "unexpectedComparison" | "useLooseComparisonSuggestion";
6+
//#endregion
37
//#region src/index.d.ts
48
declare const _default: {
59
readonly meta: {
@@ -9,7 +13,7 @@ declare const _default: {
913
readonly rules: {
1014
readonly "avoid-multiline-template-expression": _typescript_eslint_utils_ts_eslint0.RuleModule<"avoidMultilineTemplateExpression", [], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener>;
1115
readonly "no-shadow-underscore": _typescript_eslint_utils_ts_eslint0.RuleModule<"noShadowUnderscore", [], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener>;
12-
readonly "prefer-eqeq-nullish-comparison": _typescript_eslint_utils_ts_eslint0.RuleModule<"unexpectedComparison" | "useLooseComparisonSuggestion", [], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener>;
16+
readonly "prefer-eqeq-nullish-comparison": _typescript_eslint_utils_ts_eslint0.RuleModule<MessageID, [], unknown, _typescript_eslint_utils_ts_eslint0.RuleListener>;
1317
};
1418
};
1519
//#endregion

.pkgs/eslint-plugin-local/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@typescript-eslint/types": "^8.43.0",
3434
"@typescript-eslint/utils": "^8.43.0",
3535
"eslint-plugin-de-morgan": "^1.3.1",
36-
"eslint-plugin-jsdoc": "^55.4.0",
36+
"eslint-plugin-jsdoc": "^56.1.2",
3737
"eslint-plugin-perfectionist": "^4.15.0",
3838
"eslint-plugin-regexp": "^2.10.0",
3939
"eslint-plugin-unicorn": "^61.0.2",
@@ -44,7 +44,7 @@
4444
"@local/configs": "workspace:*",
4545
"@types/react": "^19.1.12",
4646
"@types/react-dom": "^19.1.9",
47-
"tsdown": "^0.15.0"
47+
"tsdown": "^0.15.1"
4848
},
4949
"peerDependencies": {
5050
"eslint": "^8.57.0 || ^9.0.0",

apps/website/eslint.config.ts

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import react from "@eslint-react/eslint-plugin";
22
import markdown from "@eslint/markdown";
3-
import * as configs from "@local/configs/eslint";
3+
import { disableTypeChecked, strictTypeChecked } from "@local/configs/eslint";
44
import gitignore from "eslint-config-flat-gitignore";
5+
import { recommended as fastImportRecommended } from "eslint-plugin-fast-import";
56
import pluginReactHooks from "eslint-plugin-react-hooks";
67
import pluginReactRefresh from "eslint-plugin-react-refresh";
8+
import { globalIgnores } from "eslint/config";
9+
import { defineConfig } from "eslint/config";
10+
import url from "node:url";
711
import tseslint from "typescript-eslint";
812

913
import TSCONFIG from "./tsconfig.json" with { type: "json" };
@@ -15,8 +19,17 @@ const GLOB_MDX = ["**/*.mdx"];
1519
const GLOB_APP = ["app/**/*.{js,ts,jsx,tsx}"];
1620
const GLOB_COMPONENT = ["components/**/*.{js,ts,jsx,tsx}"];
1721
const GLOB_CONFIG = ["**/*.config.{js,mjs,ts,tsx}"];
22+
const GLOB_IGNORES = [
23+
"test",
24+
"**/*.d.ts",
25+
"eslint.config.ts",
26+
];
1827

19-
export default tseslint.config(
28+
const dirname = url.fileURLToPath(new URL(".", import.meta.url));
29+
30+
export default defineConfig([
31+
gitignore(),
32+
globalIgnores(GLOB_IGNORES),
2033
{
2134
extends: [
2235
markdown.configs.recommended,
@@ -36,11 +49,14 @@ export default tseslint.config(
3649
},
3750
{
3851
extends: [
39-
configs.typescript,
52+
strictTypeChecked, // @ts-expect-error - types issue
53+
fastImportRecommended({ rootDir: dirname }),
4054
],
4155
files: GLOB_TS,
4256
rules: {
4357
"no-restricted-syntax": "off",
58+
"fast-import/no-unused-exports": "off",
59+
"fast-import/no-unresolved-imports": "off",
4460
},
4561
},
4662
{
@@ -64,6 +80,7 @@ export default tseslint.config(
6480
rules: {
6581
...pluginReactHooks.configs.recommended.rules,
6682
"@eslint-react/naming-convention/filename": ["error", { rule: "kebab-case" }],
83+
"@eslint-react/no-unused-props": "warn",
6784
"react-refresh/only-export-components": "warn",
6885
},
6986
},
@@ -82,13 +99,13 @@ export default tseslint.config(
8299
},
83100
{
84101
extends: [
85-
configs.disableTypeChecked,
102+
disableTypeChecked,
103+
react.configs["disable-type-checked"],
86104
],
87105
files: [...GLOB_JS, ...GLOB_CONFIG],
88106
rules: {
89107
"no-console": "off",
90108
"no-undef": "off",
91109
},
92110
},
93-
gitignore(),
94-
);
111+
]);

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"fumadocs-twoslash": "3.1.7",
2121
"fumadocs-typescript": "4.0.8",
2222
"fumadocs-ui": "15.7.11",
23-
"lucide-react": "^0.543.0",
23+
"lucide-react": "^0.544.0",
2424
"next": "^15.5.3",
2525
"next-view-transitions": "^0.3.4",
2626
"react": "^19.1.1",

eslint.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default defineConfig([
5555
extends: [
5656
tseslint.configs.strictTypeChecked,
5757
strictTypeChecked,
58+
// @ts-expect-error - types issue
5859
fastImportRecommended({ rootDir: dirname }),
5960
],
6061
files: GLOB_TS,
@@ -116,4 +117,4 @@ export default defineConfig([
116117
"local/avoid-multiline-template-expression": "off",
117118
},
118119
},
119-
] as never);
120+
]);

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"type": "module",
2828
"scripts": {
2929
"build": "pnpm run update:all && pnpm run build:pkgs && pnpm run build:packages && pnpm run build:docs",
30-
"build:docs": "pnpm -r --filter \"./packages/**\" run build:docs",
31-
"build:packages": "pnpm -r --filter \"./packages/**\" run build",
32-
"build:pkgs": "pnpm -r --filter \"./.pkgs/*\" run build",
30+
"build:docs": "pnpm -r --stream --filter \"./packages/**\" run build:docs",
31+
"build:packages": "pnpm -r --stream --filter \"./packages/**\" run build",
32+
"build:pkgs": "pnpm -r --stream --filter \"./.pkgs/*\" run build",
3333
"build:website": "pnpm run update:website && pnpm -F \"./apps/website\" run build",
3434
"format:check": "dprint check",
3535
"format:write": "dprint fmt",
@@ -53,7 +53,7 @@
5353
"update:website": "tsx ./scripts/update-website.ts"
5454
},
5555
"devDependencies": {
56-
"@effect/language-service": "^0.39.0",
56+
"@effect/language-service": "^0.40.0",
5757
"@effect/platform": "^0.90.9",
5858
"@effect/platform-node": "^0.96.1",
5959
"@eslint/config-inspector": "^1.2.0",
@@ -76,10 +76,10 @@
7676
"effect": "^3.17.13",
7777
"eslint": "^9.35.0",
7878
"eslint-config-flat-gitignore": "^2.1.0",
79-
"eslint-plugin-fast-import": "^1.4.1",
79+
"eslint-plugin-fast-import": "^1.4.3",
8080
"eslint-plugin-vitest": "^0.5.4",
8181
"jiti": "^2.5.1",
82-
"lefthook": "^1.12.4",
82+
"lefthook": "^1.13.0",
8383
"markdownlint": "^0.38.0",
8484
"mdxlint": "^1.0.0",
8585
"publint": "^0.3.12",
@@ -91,7 +91,7 @@
9191
"tinyexec": "^1.0.1",
9292
"tinyglobby": "^0.2.15",
9393
"ts-pattern": "^5.8.0",
94-
"tsdown": "^0.15.0",
94+
"tsdown": "^0.15.1",
9595
"tsx": "^4.20.5",
9696
"type-fest": "^4.41.0",
9797
"typedoc": "^0.28.12",
@@ -101,7 +101,7 @@
101101
"typescript-eslint": "^8.43.0",
102102
"vitest": "^3.2.4"
103103
},
104-
"packageManager": "pnpm@10.15.1",
104+
"packageManager": "pnpm@10.16.0",
105105
"engines": {
106106
"node": ">=18.18.0"
107107
},
@@ -118,7 +118,7 @@
118118
"@types/react-dom": "^19.1.9",
119119
"cross-spawn": "^7.0.6",
120120
"esbuild": "^0.25.9",
121-
"lucide-react": "^0.543.0",
121+
"lucide-react": "^0.544.0",
122122
"next": "^15.5.3",
123123
"react": "^19.1.1",
124124
"react-dom": "^19.1.1",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"devDependencies": {
5858
"@local/configs": "workspace:*",
59-
"tsdown": "^0.15.0"
59+
"tsdown": "^0.15.1"
6060
},
6161
"engines": {
6262
"node": ">=18.18.0"

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@local/configs": "workspace:*",
6767
"@types/react": "^19.1.12",
6868
"@types/react-dom": "^19.1.9",
69-
"tsdown": "^0.15.0"
69+
"tsdown": "^0.15.1"
7070
},
7171
"peerDependencies": {
7272
"eslint": "^8.57.0 || ^9.0.0",

packages/plugins/eslint-plugin-react-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@local/configs": "workspace:*",
6767
"@types/react": "^19.1.12",
6868
"@types/react-dom": "^19.1.9",
69-
"tsdown": "^0.15.0"
69+
"tsdown": "^0.15.1"
7070
},
7171
"peerDependencies": {
7272
"eslint": "^8.57.0 || ^9.0.0",

0 commit comments

Comments
 (0)