Skip to content
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

Update all non-crate deps #841

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Update all non-crate deps #841

merged 1 commit into from
Mar 27, 2024

Conversation

grod220
Copy link
Collaborator

@grod220 grod220 commented Mar 27, 2024

A follow up to #839 in preparation for release

@grod220 grod220 requested review from jessepinho and TalDerei March 27, 2024 11:22
@@ -87,7 +87,7 @@ const postRequest = () => {
window.origin,
);
request.promise
.catch(e => connection.reject(e))
.catch((e: unknown) => connection.reject(e))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New eslint rule: https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable/

Catch needs to specify that it's an unknown

"humanize-duration": "^3.31.0",
"lucide-react": "^0.354.0",
"lucide-react": "^0.363.0",
"react-dom": "^18.2.0",
"react-json-view-lite": "^1.3.0",
"react-loader-spinner": "^6.1.6",
"react-router-dom": "^6.22.3",
"sonner": "1.4.3",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sonner has an update, but the latest version has a bug: emilkowalski/sonner#378. We need to wait a bit one this one.

@@ -11,7 +11,7 @@ import { createChannelTransport } from '@penumbra-zone/transport-dom/src/create'
import { PenumbraSymbol } from './global';
import { jsonOptions } from '@penumbra-zone/types/src/registry';

const prax_id = 'lkpmkhpnhknhmibgnmmhdhgdilepfghe' as const;
const prax_id = 'lkpmkhpnhknhmibgnmmhdhgdilepfghe';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eslint rule that is was an unnecessary const

@@ -59,6 +59,7 @@ module.exports = {
],
},
],
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New eslint rule: https://typescript-eslint.io/rules/restrict-template-expressions/

I think this makes sense for everything except for numbers. I think we all know that putting a number into a string template stringifies it and there isn't any crazy things like [object Object] to worry about.

@@ -1,7 +1,7 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"globalEnv": ["NODE_ENV"],
"globalEnv": ["NODE_ENV", "MODE"],
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New turbo eslint rule that requires us to put env variables here

@grod220 grod220 mentioned this pull request Mar 27, 2024
19 tasks
@TalDerei
Copy link
Contributor

LGTM

@grod220 grod220 merged commit 5dbca7b into main Mar 27, 2024
6 checks passed
@grod220 grod220 deleted the mar-27-deps branch March 27, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants