-
Notifications
You must be signed in to change notification settings - Fork 367
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
chore: [M3-8524] - Attempt to get dependencies in a more healthy state #11005
Merged
bnussman-akamai
merged 18 commits into
linode:develop
from
bnussman-akamai:fix/attempt-to-get-dependencies-in-sane-state
Sep 27, 2024
Merged
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
eb1ce36
initial fixes
bnussman 0c2a3dd
fix all new type errors
bnussman dba5125
begin removing resolutions
bnussman 97084b8
more resolutions
bnussman 47d01c9
more resolutions
bnussman bf4fc73
Merge branch 'develop' into fix/attempt-to-get-dependencies-in-sane-s…
bnussman 3063aa1
fix tests
bnussman c973748
remove `jackspeak` resolution
bnussman 554dd86
bump
bnussman 483857f
switch out `ts-node` for `tsx` to fix Cypress pipeline notification n…
bnussman 30ae5b1
switch out `ts-node` for `tsx` to fix Cypress pipeline notification n…
bnussman d2f70cb
Added changeset: Get dependencies in a more healthy state
bnussman 5d0cd00
fix autocomplete ui bug
bnussman c7be943
remove `react-test-renderer` because I think it unused
bnussman 33779d4
remove `reselect-tools` because it is unused
bnussman 986c94e
remove more unused dependencies
bnussman 8a37058
fix console error caused by the Primary Nav
bnussman 196b607
fix stroybook dark mode bug @dwiley-akamai
bnussman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,27 +37,15 @@ | |
"generate-changelogs": "node scripts/changelog/generate-changelogs.mjs", | ||
"coverage": "yarn workspace linode-manager coverage", | ||
"coverage:summary": "yarn workspace linode-manager coverage:summary", | ||
"junit:summary": "ts-node scripts/junit-summary/index.ts", | ||
"generate-tod": "ts-node scripts/tod-payload/index.ts", | ||
"junit:summary": "tsx scripts/junit-summary/index.ts", | ||
"generate-tod": "tsx scripts/tod-payload/index.ts", | ||
"docs": "bunx [email protected] dev docs", | ||
"prepare": "husky" | ||
}, | ||
"resolutions": { | ||
"braces": "^3.0.3", | ||
"@babel/traverse": "^7.23.3", | ||
"minimist": "^1.2.3", | ||
"yargs-parser": "^21.1.1", | ||
"kind-of": "^6.0.3", | ||
"node-fetch": "^2.6.7", | ||
"ua-parser-js": "^0.7.33", | ||
"immer": "^9.0.6", | ||
"glob-parent": "^5.1.2", | ||
"hosted-git-info": "^5.0.0", | ||
"yaml": "^2.3.0", | ||
"word-wrap": "^1.2.4", | ||
"semver": "^7.5.2", | ||
"tough-cookie": "^4.1.3", | ||
"jackspeak": "2.1.1" | ||
"semver": "^7.5.2" | ||
}, | ||
"workspaces": { | ||
"packages": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-11005-tech-stories-1727294313614.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@linode/manager": Tech Stories | ||
--- | ||
|
||
Get dependencies in a more healthy state ([#11005](https://github.com/linode/manager/pull/11005)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ export const UnifiedMigrationPanel = (props: Props) => { | |
} | ||
status="help" | ||
tooltipPosition="right" | ||
width={[theme.breakpoints.up('sm')] ? 375 : 300} | ||
width={375} | ||
/> | ||
</Box> | ||
<Box width="100%"> | ||
|
@@ -112,7 +112,7 @@ export const UnifiedMigrationPanel = (props: Props) => { | |
} | ||
status="help" | ||
tooltipPosition="right" | ||
width={[theme.breakpoints.up('sm')] ? 450 : 300} | ||
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. We had a handful of things like this. We would get a type error saying |
||
width={450} | ||
/> | ||
</Box> | ||
</RadioGroup> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
ts-node
was causing our cypress helper scripts issues. I foundtsx
. It fixes the issue and appears to be a better / more lightweight alternative tots-node
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.
I know we've also talked about using Bun for these scripts too -- iirc it's only a couple of the scripts in the
scripts
dir that we use for the Jenkins pipeline that even rely onts-node
, but lately I've been opting to keep that type of stuff in internal repos. I'd be up to move these out of Cloud altogether if it means we can drop thets-node
/tsx
dependencyThere 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.
I like the idea of moving scripts like this in internal repos. In the mean time (and because we don't have Bun readily available in CI) I'm totally cool with keeping
tsx
around. It seems very minimal and useful for us even for things likescripts/package-versions/index.js
(if we were to make it .ts)Eventually, I'd love Bun to be our go-to tool for running this stuff, but we should probably get that setup in CI and formalized before we commit to that