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: postinstall warning when user has prisma deps #731

Merged
merged 3 commits into from
Jun 30, 2020

Conversation

jasonkuhrt
Copy link
Contributor

@jasonkuhrt jasonkuhrt commented Jun 30, 2020

@jasonkuhrt jasonkuhrt requested a review from Weakky June 30, 2020 02:06
@@ -1,5 +1,4 @@
const chalk = require('chalk')
const jetpack = require('fs-jetpack')
const fs = require('fs-jetpack')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

OT

Started to get a bit worried about this being fragile. If not hoisted, we're going to get a runtime error.

}

console.log(chalk.bold.yellowBright('----------------------------------'))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't think this is very helpful anymore and even if we wanted to keep it, would need rethinking now that the packages are merged.

No?

.filter((name) => !foundPrismaDeps.includes(name))
)

const message = `
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't go with the box design because of variable width content.

@jasonkuhrt jasonkuhrt changed the title feat: warn when user has installed prisma deps feat: postinstall warning when user has prisma deps Jun 30, 2020
@jasonkuhrt jasonkuhrt merged commit e15a3ac into master Jun 30, 2020
@jasonkuhrt jasonkuhrt deleted the feat/1078/warn-when-prisma-deps branch June 30, 2020 02:40
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.

Warn when project depending on prisma deps
1 participant