Skip to content

chore: include tsx in dependencies and scripts #199

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Jobians
Copy link

@Jobians Jobians commented Jun 7, 2025

No description provided.

Jobians added 4 commits June 6, 2025 10:59
Using pnpm dlx runs commands in a temporary environment that can’t access local packages like drizzle-orm. This causes errors such as:

`Error please install required packages: 'drizzle-orm'`

This change runs pnpm directly to fix dependency resolution and prevent this error.
Replaced `yarn dlx` with `yarn` and `pnpm dlx` with `pnpm exec` in `pmExecuteMap`.

These changes ensure that CLI tools already installed in the project are executed correctly:
- `yarn` handles local binaries directly
- `pnpm exec` is the recommended way to run installed CLIs with pnpm

This improves compatibility and avoids issues with missing dependencies during execution.
@kravetsone
Copy link
Contributor

kravetsone commented Jun 7, 2025

Fine! Thanks

btw lets move tsx to runtime deps (not dev) because it is used as a typescript runner at docker entrypoint/start command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants