chore(nxdev): change nx core dependency lookup (#10452)

This commit is contained in:
Benjamin Cabanes 2022-05-24 10:39:23 -04:00 committed by GitHub
parent 0dd8d9652d
commit c56e698ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,10 +4,9 @@
# Exits with 0 if the build should be skipped, and exits with 1 to continue.
APP=$1
NX_VERSION=$(node -e "console.log(require('./package.json').version)")
# Need the workspace in order to run affected
yarn add -D @nrwl/workspace@$NX_VERSION --prefer-offline
yarn add -D nx@latest --prefer-offline
# We don't have a good way to check from base due to Vercel's shallow clone
# TODO: Fix this once we figure out a better solution