element-plus/scripts/nightly.sh

2 lines
189 B
Bash

sed -i 's/"name": "element-plus",/"name": "@element-plus\/nightly",/' packages/element-plus/package.json
sed -i '2s/element-plus/@element-plus\/nightly/' internal/build-constants/src/pkg.ts