Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c92aa11
chore(js-client): migrate Nx 19.5.2 to 20.8.4
claude Jul 4, 2026
6a622f1
chore(js-client): bump safe minor/patch devDependencies
claude Jul 4, 2026
b40ba06
chore(js-client): migrate ESLint to flat config and bump to Node 24
claude Jul 4, 2026
d292bef
chore(js-client): bump @leancodepl/utils to 10 (ESM) and fix jest tra…
claude Jul 4, 2026
fcb97b5
chore(js-client): bump lodash to 4.18.1
claude Jul 4, 2026
6b337c4
chore(js-client): bump rxjs to 7.8.2
claude Jul 4, 2026
64d2475
chore(js-client): bump tslib to ^2.8.1
claude Jul 4, 2026
9160a31
chore(js-client): bump @types/node to 24.13.2 (Node 24-aligned)
claude Jul 4, 2026
2625c8c
chore(js-client): bump @microsoft/signalr to 10.0.0
claude Jul 4, 2026
c02e6d2
chore(js-client): migrate Nx 20.8.4 -> 23.0.1 and unblock jest 30
claude Jul 4, 2026
088d01b
chore(js-client): bump lerna to 9.0.7
claude Jul 4, 2026
efe4432
chore(js-client): bump jest to 30.4.2 (jest-environment-jsdom/jest-ut…
claude Jul 4, 2026
ad7afb4
chore(js-client): bump @swc/core to 1.15.43
claude Jul 4, 2026
b5fefae
chore: add TODO explaining the jest ESM transform workaround
claude Jul 6, 2026
f684232
chore: fix ignore-file newlines and document eslint json block
claude Jul 6, 2026
907cd79
chore(js-client): migrate Nx 23.0.1 -> 23.1.0
claude Jul 14, 2026
cedd7a1
chore(js-client): bump safe minor devDependencies
claude Jul 14, 2026
f112195
chore(js-client): bump typescript 5.9.3 -> 6.0.3
claude Jul 14, 2026
e6add78
chore(js-client): revert TypeScript to 5.9.3 and bump .nvmrc to 24.18
claude Jul 14, 2026
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
1 change: 0 additions & 1 deletion js-client/.eslintignore

This file was deleted.

43 changes: 0 additions & 43 deletions js-client/.eslintrc.base.json

This file was deleted.

2 changes: 2 additions & 0 deletions js-client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ testem.log
Thumbs.db

.nx

.claude/worktrees
2 changes: 1 addition & 1 deletion js-client/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
24.18
2 changes: 2 additions & 0 deletions js-client/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
/dist
/coverage
/.nx/cache

.nx/self-healing
4 changes: 1 addition & 3 deletions js-client/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
const config = require("@leancodepl/prettier-config")

module.exports = config
module.exports = require("@leancodepl/prettier-config")
53 changes: 53 additions & 0 deletions js-client/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import nx from "@nx/eslint-plugin"
import { base, imports } from "@leancodepl/eslint-config"
import jsoncParser from "jsonc-eslint-parser"

const config = [
...nx.configs["flat/base"],
...nx.configs["flat/typescript"],
...nx.configs["flat/javascript"],
...base,
...imports,
{
ignores: ["**/dist", "**/*.timestamp*"],
},
{
files: ["*.ts", "*.tsx", "*.js", "*.jsx", "*.mjs", "*.cjs", "*.mts", "*.cts"],
rules: {
"@nx/enforce-module-boundaries": [
"error",
{
enforceBuildableLibDependency: true,
allow: ["./eslint.config.mjs"],
depConstraints: [
{
sourceTag: "*",
onlyDependOnLibsWithTags: ["*"],
},
],
},
],
},
},
{
// This block is what makes `@nx/dependency-checks` run on package.json (it is
// listed in pipe's lintFilePatterns). Without a `**/*.json` block, ESLint flat
// config matches no configuration for package.json and silently skips it
// ("File ignored because no matching configuration was supplied"), so
// dependency-checks would stop enforcing declared vs. used deps.
files: ["**/*.json"],
languageOptions: {
parser: jsoncParser,
},
rules: {
// The shared @leancodepl base config enables type-aware TS rules globally
// (no `files` scope), so they also try to run on JSON files under the JSON
// parser and crash. Turn the offending one off here; dependency-checks is
// the only rule we actually want to lint JSON with.
"@typescript-eslint/naming-convention": "off",
"@nx/dependency-checks": "error",
Comment thread
Komoszek marked this conversation as resolved.
},
},
]

export default config
6 changes: 3 additions & 3 deletions js-client/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJestProjects } from "@nx/jest"
const { getJestProjects } = require("@nx/jest")

export default {
projects: getJestProjects(),
module.exports = {
projects: getJestProjects(),
}
4 changes: 2 additions & 2 deletions js-client/nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"inputs": ["production", "^production"]
},
"lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
"inputs": ["default", "{workspaceRoot}/eslint.config.mjs"]
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
Expand All @@ -25,7 +25,7 @@
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/eslint.config.mjs",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
Expand Down
Loading