fix commands

This commit is contained in:
Elio Bischof
2025-07-22 17:46:26 +02:00
parent 14ef5af29e
commit 17dca3105b
8 changed files with 9 additions and 11 deletions

View File

@@ -14,5 +14,3 @@ RUN apt-get update && \
libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb && \
apt-get clean && \
corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@9.1.2 --activate
USER node

View File

@@ -7,7 +7,7 @@ services:
volumes:
- ../../:/workspaces:cached
- /tmp/.X11-unix:/tmp/.X11-unix:cached
- home-dot-cache:/home/node/.cache:delegated
- home-dir:/home/node:delegated
command: sleep infinity
working_dir: /workspaces
environment:
@@ -219,4 +219,4 @@ services:
volumes:
postgres-data:
home-dot-cache:
home-dir:

View File

@@ -9,7 +9,7 @@
"runServices": ["login-integration-debug"],
"workspaceFolder": "/workspaces",
"forwardPorts": [3001],
"onCreateCommand": "pnpm install --frozen-lockfile --recursive",
"onCreateCommand": "pnpm install --recursive",
"postAttachCommand": "pnpm turbo daemon clean; pnpm turbo @zitadel/login#dev test:integration:login:debug",
"customizations": {
"jetbrains": {

View File

@@ -8,7 +8,7 @@
"runServices": ["login-integration"],
"workspaceFolder": "/workspaces",
"forwardPorts": [3001],
"onCreateCommand": "pnpm install --frozen-lockfile --recursive && pnpm turbo test:integration:login",
"onCreateCommand": "pnpm install --frozen-lockfile --recursive && cd apps/login/packages/integration && pnpm cypress install && pnpm test:integration:login",
"customizations": {
"jetbrains": {
"settings": {

View File

@@ -9,7 +9,7 @@
"runServices": ["turbo-lint-unit-debug"],
"workspaceFolder": "/workspaces",
"forwardPorts": [3001],
"onCreateCommand": "pnpm install --frozen-lockfile --recursive",
"onCreateCommand": "pnpm install --recursive",
"postAttachCommand": "pnpm turbo daemon clean; pnpm turbo watch lint test:unit",
"customizations": {
"jetbrains": {

View File

@@ -7,7 +7,7 @@
"service": "devcontainer",
"runServices": ["devcontainer"],
"workspaceFolder": "/workspaces",
"onCreateCommand": "pnpm install --frozen-lockfile --recursive && pnpm turbo lint test:unit",
"postStartCommand": "pnpm install --frozen-lockfile --recursive && pnpm turbo lint test:unit",
"customizations": {
"jetbrains": {
"settings": {

View File

@@ -4,7 +4,9 @@
"name": "zitadel-monorepo",
"scripts": {
"changeset": "changeset",
"devcontainer": "devcontainer"
"devcontainer": "devcontainer",
"devcontainer:lint-unit": "pnpm devcontainer up --config .devcontainer/turbo-lint-unit/devcontainer.json --workspace-folder . --remove-existing-container",
"devcontainer:integration:login": "pnpm devcontainer up --config .devcontainer/login-integration/devcontainer.json --workspace-folder . --remove-existing-container"
},
"pnpm": {
"overrides": {

View File

@@ -35,8 +35,6 @@
},
"start": {},
"test:unit": {},
"test:integration:login": {},
"test:integration:login:debug": {},
"test:acceptance": {},
"test:e2e": {},
"lint": {},