chore: update deps

This commit is contained in:
vben
2024-06-01 22:17:52 +08:00
parent c531f0c154
commit f7b97e8a83
47 changed files with 569 additions and 322 deletions

28
scripts/update-dependencies Executable file
View File

@@ -0,0 +1,28 @@
// #!/bin/bash
// #/ Usage: script/update-dependencies
// #/ Create a branch to update a dependency.
// # Delete update-dependencies branch if it exists
// if git branch | grep -q "update-dependencies"; then
// echo "Deleting update-dependencies branch 🗑"
// git branch -D update-dependencies
// echo "Branch deleted 🎉"
// fi
// # Create update-dependencies branch
// echo "Creating update-dependencies branch 🌱"
// git checkout -b update-dependencies
// echo "Branch created 🎉"
// # Update dependencies in package.json
// echo "Updating dependencies in package.json 📦"
// pnpm update --interactive --recursive --latest
// # Clean up pnpm-lock.yaml file and install dependencies
// script/clean && pnpm install
// # Git operations
// git add -A
// git commit -am "chore: update dependencies 📦"
// git push origin update-dependencies
// gh pr create --fill
// echo "Dependencies updated 🎉"

View File

@@ -15,7 +15,6 @@ async function runLint({ format }: LintCommandOptions) {
await $`stylelint "**/*.{vue,css,less.scss}" --cache --fix`;
await $`eslint . --cache --fix`;
await $`prettier . --write --cache`;
// await $`vsh publint --check`;
return;
}
@@ -24,7 +23,6 @@ async function runLint({ format }: LintCommandOptions) {
// $`ls-lint`,
$`prettier . --ignore-unknown --check --cache`,
$`stylelint "**/*.{vue,css,less.scss}" --cache`,
// $`vsh publint --check`,
]);
}