Skip to content

fix: added prepare task to turbo to generate db in prisma #173

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

Merged
merged 2 commits into from
Jun 18, 2025

Conversation

tomaszpacior
Copy link
Collaborator

What does this PR do?

  • generate db in prisma as postinstall task,

package.json Outdated
@@ -3,6 +3,7 @@
"private": true,
"scripts": {
"prepare": "husky",
"postinstall": "turbo run prepare --filter=@o2s/integrations.mocked",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not here, this should be in integrations.mocked package so that this script is run when that package is installed

@tomaszpacior tomaszpacior merged commit 7eaacfb into main Jun 18, 2025
6 checks passed
@tomaszpacior tomaszpacior deleted the fix/prepare-prisma branch June 18, 2025 10:06
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