Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/fast-cooks-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@workleap/browserslist-config": patch
"@workleap/stylelint-configs": patch
"@workleap/postcss-configs": patch
"@workleap/rsbuild-configs": patch
"@workleap/webpack-configs": patch
"@workleap/eslint-configs": patch
"@workleap/rslib-configs": patch
"@workleap/tsup-configs": patch
"@workleap/swc-configs": patch
---

Update dependencies
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@eslint/js": "9.39.2",
"@types/node": "25.5.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/typescript-configs": "workspace:*",
"agent-browser": "0.23.4",
Expand All @@ -64,7 +64,7 @@
"prettier": "3.8.1",
"retypeapp": "4.4.0",
"syncpack": "14.3.0",
"turbo": "2.9.1",
"turbo": "2.9.3",
"typescript": "6.0.2",
"typescript-eslint": "8.58.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"devDependencies": {
"@eslint/js": "9.39.2",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"eslint": "9.39.2",
"rimraf": "6.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"outDir": "dist",
"rootDir": "./src",
"rootDir": "src",

"ignoreDeprecations": "6.0",
"moduleResolution": "Node",
Expand Down
3 changes: 1 addition & 2 deletions packages/browserslist-config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",

Copilot AI Apr 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages/browserslist-config/src/index.ts uses export = ..., which is a CommonJS-style export. This tsconfig now inherits module/moduleResolution from @workleap/typescript-configs (NodeNext), which can break typechecking/IDE diagnostics and diverges from tsconfig.build.json (CommonJS). Re-add compilerOptions.module and compilerOptions.moduleResolution here (or update the source to ESM exports if intentional).

Suggested change
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"module": "CommonJS",
"moduleResolution": "Node",

Copilot uses AI. Check for mistakes.
"moduleResolution": "Node",
"module": "CommonJS"
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/eslint-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@types/eslint-plugin-jsx-a11y": "6.10.1",
"@types/estree": "1.0.8",
"@types/node": "25.5.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/typescript-configs": "workspace:*",
"eslint": "9.39.2",
"typescript": "6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-configs/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@workleap/typescript-configs/library.json",
"compilerOptions": {
"rootDir": "./src",
"rootDir": "src",
"types": ["node"]
},
"include": ["src"],
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/postcss-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@rslib/core": "0.20.2",
"@types/node": "25.5.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/rslib-configs": "workspace:*",
"@workleap/typescript-configs": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-configs/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@workleap/typescript-configs/library.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "src"
},
"include": ["src"],
"exclude": ["dist", "node_modules"]
Expand Down
1 change: 1 addition & 0 deletions packages/postcss-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/rsbuild-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@rspack/core": "1.7.11",
"@types/node": "25.5.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/rslib-configs": "workspace:*",
"@workleap/typescript-configs": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/rsbuild-configs/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@workleap/typescript-configs/library.json",
"compilerOptions": {
"rootDir": "./src",
"rootDir": "src",
"types": ["node"]
},
"include": ["src"],
Expand Down
1 change: 1 addition & 0 deletions packages/rsbuild-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/rslib-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@rslib/core": "0.20.2",
"@types/node": "25.5.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/typescript-configs": "workspace:*",
"eslint": "9.39.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/rslib-configs/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@workleap/typescript-configs/library.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "src"
},
"include": ["src"],
"exclude": ["dist", "node_modules"]
Expand Down
1 change: 1 addition & 0 deletions packages/rslib-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/stylelint-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@eslint/js": "9.39.2",
"@types/node": "25.5.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/typescript-configs": "workspace:*",
"eslint": "9.39.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-configs/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"outDir": "dist",
"rootDir": "./src",
"rootDir": "src",

"ignoreDeprecations": "6.0",
"moduleResolution": "Node",
Expand Down
3 changes: 1 addition & 2 deletions packages/stylelint-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",

Copilot AI Apr 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages/stylelint-configs/src/index.ts uses export = ..., which requires a CommonJS module target for correct typechecking/IDE validation. This tsconfig now inherits module/moduleResolution from @workleap/typescript-configs (NodeNext), which is likely to produce diagnostics like “export assignment is not allowed in ECMAScript modules” and diverges from tsconfig.build.json (CommonJS). Consider re-adding compilerOptions.module and compilerOptions.moduleResolution here (or switching the source to ESM exports if the package is moving to ESM).

Suggested change
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"module": "CommonJS",
"moduleResolution": "node",

Copilot uses AI. Check for mistakes.
"moduleResolution": "Node",
"module": "CommonJS"
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/swc-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@rslib/core": "0.20.2",
"@types/node": "25.5.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/rslib-configs": "workspace:*",
"@workleap/typescript-configs": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/swc-configs/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@workleap/typescript-configs/library.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "src"
},
"include": ["src"],
"exclude": ["dist", "node_modules"]
Expand Down
1 change: 1 addition & 0 deletions packages/swc-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/tsup-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@rsbuild/core": "1.7.5",
"@rslib/core": "0.20.2",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/rslib-configs": "workspace:*",
"@workleap/typescript-configs": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/tsup-configs/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@workleap/typescript-configs/library.json",
"compilerOptions": {
"rootDir": "./src"
"rootDir": "src"
},
"include": ["src"],
"exclude": ["dist", "node_modules"]
Expand Down
1 change: 1 addition & 0 deletions packages/tsup-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
2 changes: 1 addition & 1 deletion packages/webpack-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@svgr/core": "8.1.0",
"@types/node": "25.5.0",
"@typescript-eslint/parser": "8.58.0",
"@typescript/native-preview": "7.0.0-dev.20260303.1",
"@typescript/native-preview": "7.0.0-dev.20260331.1",
"@workleap/eslint-configs": "workspace:*",
"@workleap/rslib-configs": "workspace:*",
"@workleap/swc-configs": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/webpack-configs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
"types": ["node"]
},
"exclude": ["dist", "node_modules"]
}
Loading
Loading