Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add nx 20.x support #254

Merged
merged 2 commits into from
Nov 20, 2024
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ reports/

.nx/cache
.nx/workspace-data

vite.config.*.timestamp*
3 changes: 2 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@
"!{projectRoot}/src/test-setup.[jt]s",
"!{projectRoot}/test-setup.[jt]s"
]
}
},
"useLegacyCache": true
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cz-commitlint": "^19.4.0",
"@commitlint/types": "^19.0.3",
"@nx/devkit": "19.7.3",
"@nx/eslint": "19.7.3",
"@nx/eslint-plugin": "19.7.3",
"@nx/js": "19.7.3",
"@nx/plugin": "19.7.3",
"@nx/vite": "19.7.3",
"@nx/web": "19.7.3",
"@nx/workspace": "19.7.3",
"@nx/devkit": "20.1.2",
"@nx/eslint": "20.1.2",
"@nx/eslint-plugin": "20.1.2",
"@nx/js": "20.1.2",
"@nx/plugin": "20.1.2",
"@nx/vite": "20.1.2",
"@nx/web": "20.1.2",
"@nx/workspace": "20.1.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
Expand All @@ -46,7 +46,7 @@
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.2",
"memfs": "^4.11.1",
"nx": "19.7.3",
"nx": "20.1.2",
"nx-cloud": "19.1.0",
"prettier": "^3.2.5",
"semantic-release-npm": "^0.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/data-migration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"tslib": "^2.3.0",
"@nx/devkit": "^19.0.0",
"@nx/devkit": "^20.0.0",
"glob": "^10.2.6",
"@aws-sdk/client-dynamodb": "^3.525.0",
"@aws-sdk/client-dynamodb-streams": "^3.525.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('migration generator', () => {
await libraryGenerator(appTree, {
name: 'test',
tags: 'scope:test,type:lib',
directory: 'libs/test',
});

vi.useFakeTimers().setSystemTime(new Date('2023-01-01 12:00:00').getTime());
Expand Down
14 changes: 14 additions & 0 deletions packages/nx-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ Example:
}
```

for Nx 20.x or higher, use the following pattern:

```json
{
...
"plugins": [
{
"plugin": "@nxlv/python"
}
]
...
}
```

#### Add a new Python Project

```shell
Expand Down
4 changes: 2 additions & 2 deletions packages/nx-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"cross-spawn": "^7.0.3",
"command-exists": "^1.2.9",
"lodash": "^4.17.21",
"@nx/devkit": "^19.0.0",
"nx": "^19.0.0",
"@nx/devkit": "^20.0.0",
"nx": "20.1.2",
"ora": "5.3.0",
"semver": "^7.5.3"
},
Expand Down
Loading
Loading