After creating a new playground, you can now run `yarn update-playground` to update with the latest changes to NX without deleting and recreating the whole playground
14 lines
327 B
Bash
Executable File
14 lines
327 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
./scripts/build.sh
|
|
|
|
echo 'Updating all playground projects...'
|
|
|
|
# Update NX playground
|
|
rm -rf tmp/nx/proj/node_modules/@nrwl
|
|
cp -r build/packages tmp/nx/proj/node_modules/@nrwl
|
|
|
|
# Update Angular playground
|
|
rm -rf tmp/angular/proj/node_modules/@nrwl
|
|
cp -r build/packages tmp/angular/proj/node_modules/@nrwl
|