-
Notifications
You must be signed in to change notification settings - Fork 330
ci(automate): fix automate dependencies error #2428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,8 @@ | |
| "@opentiny/vue-renderless": "workspace:~", | ||
| "@opentiny/vue-common": "workspace:~", | ||
| "@opentiny/vue-time-spinner": "workspace:~", | ||
| "@opentiny/vue-theme": "workspace:~" | ||
| "@opentiny/vue-theme": "workspace:~", | ||
| "@opentiny/vue-button": "workspace:~" | ||
|
Comment on lines
+21
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Version inconsistencies found in workspace dependencies Two packages are using non-workspace versions which should be updated to maintain consistency:
The remaining 1,228 @opentiny dependencies correctly use 🔗 Analysis chainVerify workspace version consistency. The Let me gather more specific information about the outliers to provide a complete verification. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify consistency of workspace:~ version usage across package.json files
# Check if all @opentiny dependencies use workspace:~ version
echo "Checking version consistency across package.json files..."
fd package.json packages/vue/src -x grep -l "workspace:~" {} \; | \
xargs jq -r '.dependencies | select(.) | to_entries[] | select(.key | startswith("@opentiny")) | .value' | \
sort | uniq -c
Length of output: 367 Script: #!/bin/bash
# Find the specific package.json files with non-workspace versions
echo "Files with version 1.0.1:"
fd package.json packages/vue/src -x sh -c 'if jq -e ".dependencies | select(.) | to_entries[] | select(.key | startswith(\"@opentiny\")) | select(.value == \"1.0.1\")" {} > /dev/null; then echo {}; fi'
echo -e "\nFiles with version ~3.20.0:"
fd package.json packages/vue/src -x sh -c 'if jq -e ".dependencies | select(.) | to_entries[] | select(.key | startswith(\"@opentiny\")) | select(.value == \"~3.20.0\")" {} > /dev/null; then echo {}; fi'
echo -e "\nShowing the specific dependencies with non-workspace versions:"
fd package.json packages/vue/src -x sh -c 'if jq -e ".dependencies | select(.) | to_entries[] | select(.key | startswith(\"@opentiny\")) | select(.value != \"workspace:~\")" {} > /dev/null; then echo "=== {}:"; jq ".dependencies | to_entries[] | select(.key | startswith(\"@opentiny\")) | select(.value != \"workspace:~\")" {}; fi'
Length of output: 1340 |
||
| }, | ||
| "license": "MIT" | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Test directory naming convention needs standardization
The codebase shows inconsistent test directory naming patterns in the Vue package:
__tests__(double underscore)__test__(single underscore)This inconsistency should be standardized to
__tests__as it's:Components using
__test__that need updating:🔗 Analysis chain
Verify test directory naming consistency across the codebase.
While ignoring both
__test__and__tests__is more comprehensive, having both patterns might indicate inconsistent test directory naming conventions.Let's check the test directory naming patterns:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 283
Script:
Length of output: 16515