chore(release): npm link react package for the release script (#19657)

This commit is contained in:
Brandy Carney
2019-10-14 12:54:30 -04:00
committed by GitHub
parent 981cb5674b
commit 1cb97504d9

View File

@ -144,7 +144,7 @@ function preparePackage(tasks, package, version, install) {
title: `${pkg.name}: build`,
task: () => execa('npm', ['run', 'build'], { cwd: projectRoot })
});
if (package === 'core') {
if (package === 'core' || package === 'packages/react') {
projectTasks.push({
title: `${pkg.name}: npm link`,
task: () => execa('npm', ['link'], { cwd: projectRoot })