1 Star 0 Fork 0

anydev/material-react-table

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
upgrade-examples.sh 989 Bytes
一键复制 编辑 原始数据 按行查看 历史
Kevin Vandy 提交于 2023-09-25 22:14 . release v1.15.0 - upgrade tanstack
#!/bin/bash
# Change directory to the example directory
cd apps/material-react-table-docs/examples
# Loop through each file in the example directory
for file in *; do
if [ -d "$file" ]; then
echo "Processing $file..."
# Change directory to the current file
cd "$file"
# Check if the sandbox file exists
if [ -f "sandbox/package.json" ]; then
echo " - Found sandbox/package.json"
echo " - Running npm install in sandbox..."
# Change directory to the sandbox directory
cd sandbox
## Update dependency versions
npx npm-check-updates -u material-react-table
# Run npm install
npm install --package-lock-only --force
echo " - npm install completed"
# Change back to the example directory
cd ..
else
echo " - No sandbox/package.json found"
fi
# Change back to the parent directory of the current file
cd ..
echo "Completed processing $file"
echo
fi
done
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anydev/material-react-table.git
git@gitee.com:anydev/material-react-table.git
anydev
material-react-table
material-react-table
v1

搜索帮助