Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's the nx way to "prepare dependencies" of a package?
I want to keep my existing yarn scripts, e.g.
"start": "next dev"
but want to ensure that all the dependencies of the current package are built. So something like"start": "nx prepare @scope/app:start && next dev"
. Technically I expect it to satisfy the environment according to the definedtargetDependencies
of the current script, without running the script on the current package.This would mostly fit uncachable scripts like starting a server or running ad-hoc lint/test with specific files, or test watchers.
Beta Was this translation helpful? Give feedback.
All reactions