chore: upgrade runner poetry and change npm nx commands to point to uv (#4218)
upgrade runner poetry and change npm nx commands to point to uv
This commit is contained in:
17
project.json
17
project.json
@@ -7,7 +7,7 @@
|
|||||||
"lock": {
|
"lock": {
|
||||||
"executor": "@nxlv/python:run-commands",
|
"executor": "@nxlv/python:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"command": "poetry lock --no-update",
|
"command": "uv lock --no-update",
|
||||||
"cwd": "apps/core"
|
"cwd": "apps/core"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -26,10 +26,7 @@
|
|||||||
"dev": {
|
"dev": {
|
||||||
"executor": "@nxlv/python:run-commands",
|
"executor": "@nxlv/python:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": ["./otel/start-otel-collector.sh", "uv run letta server"],
|
||||||
"./otel/start-otel-collector.sh",
|
|
||||||
"poetry run letta server"
|
|
||||||
],
|
|
||||||
"parallel": true,
|
"parallel": true,
|
||||||
"cwd": "apps/core"
|
"cwd": "apps/core"
|
||||||
}
|
}
|
||||||
@@ -39,7 +36,7 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"commands": [
|
"commands": [
|
||||||
"./otel/start-otel-collector.sh",
|
"./otel/start-otel-collector.sh",
|
||||||
"poetry run letta server --debug --reload"
|
"uv run letta server --debug --reload"
|
||||||
],
|
],
|
||||||
"parallel": true,
|
"parallel": true,
|
||||||
"cwd": "apps/core"
|
"cwd": "apps/core"
|
||||||
@@ -58,21 +55,21 @@
|
|||||||
"install": {
|
"install": {
|
||||||
"executor": "@nxlv/python:run-commands",
|
"executor": "@nxlv/python:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"command": "poetry install --all-extras",
|
"command": "uv sync --all-extras",
|
||||||
"cwd": "apps/core"
|
"cwd": "apps/core"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": {
|
||||||
"executor": "@nxlv/python:run-commands",
|
"executor": "@nxlv/python:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"command": "poetry run isort --profile black . && poetry run black . && poetry run autoflake --remove-all-unused-imports --remove-unused-variables --in-place --recursive --ignore-init-module-imports .",
|
"command": "uv run isort --profile black . && uv run black . && uv run autoflake --remove-all-unused-imports --remove-unused-variables --in-place --recursive --ignore-init-module-imports .",
|
||||||
"cwd": "apps/core"
|
"cwd": "apps/core"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"database:migrate": {
|
"database:migrate": {
|
||||||
"executor": "@nxlv/python:run-commands",
|
"executor": "@nxlv/python:run-commands",
|
||||||
"options": {
|
"options": {
|
||||||
"command": "poetry run alembic upgrade head",
|
"command": "uv run alembic upgrade head",
|
||||||
"cwd": "apps/core"
|
"cwd": "apps/core"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -83,7 +80,7 @@
|
|||||||
"{workspaceRoot}/coverage/apps/core"
|
"{workspaceRoot}/coverage/apps/core"
|
||||||
],
|
],
|
||||||
"options": {
|
"options": {
|
||||||
"command": "poetry run pytest tests/",
|
"command": "uv run pytest tests/",
|
||||||
"cwd": "apps/core"
|
"cwd": "apps/core"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user