Skip to content

Commit

Permalink
chore: migrate nx to latest v20, bump TS and typescript-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Oct 29, 2024
1 parent f9f07f1 commit 68d5bdc
Show file tree
Hide file tree
Showing 5 changed files with 376 additions and 251 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@
"no-prototype-builtins": "off",
"@typescript-eslint/no-inferrable-types": "warn",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off"
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ integration/import/**/rx.json
integration/import/**/operators.json


.nx/cache
.nx/cache
.nx/workspace-data
9 changes: 2 additions & 7 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"affected": {
"defaultBase": "master"
},
"defaultBase": "master",
"nxCloudAccessToken": "OWE4MTMzMTEtNDZlZi00MWMwLWJkYmEtN2EwYTQ1ZWNjMzRkfHJlYWQ=",
"targetDefaults": {
"build": {
Expand Down Expand Up @@ -50,10 +48,7 @@
"projectChangelogs": true
},
"version": {
"generatorOptions": {
"currentVersionResolver": "git-tag",
"specifierSource": "conventional-commits"
}
"conventionalCommits": true
}
}
}
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"release": "node scripts/release.js"
},
"devDependencies": {
"@nx/eslint-plugin": "17.3.2",
"@nx/js": "17.3.2",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@nx/eslint-plugin": "20.0.6",
"@nx/js": "20.0.6",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"cz-conventional-changelog": "1.2.0",
"eslint": "^8.56.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"nx": "17.3.2",
"nx": "20.0.6",
"ts-node": "^10.9.2",
"tshy": "^1.11.0",
"typescript": "~5.3.3",
"typescript": "5.4.5",
"validate-commit-msg": "2.14.0",
"vitest": "^1.2.1"
},
Expand All @@ -57,4 +57,3 @@
"*.{js,css,md}": "prettier --write"
}
}

Loading

0 comments on commit 68d5bdc

Please sign in to comment.