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 dependencies #3

Merged
merged 2 commits into from
May 25, 2023
Merged

Update dependencies #3

merged 2 commits into from
May 25, 2023

Conversation

lcsmuller
Copy link
Member

@lcsmuller lcsmuller commented May 5, 2023

Description

  • Update dependencies to latest
  • Fix typing issues

Related Issues

Part of #2

How to test it

  • Run yarn lint
  • Run yarn test

Copy link
Member

@victor-accarini victor-accarini left a comment

Choose a reason for hiding this comment

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

Can you update the lint-staged rules to auto-fix the code using the correct formatting tool? (prettier + eslint)

From the fixes in this PR, this is not happening.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@lcsmuller lcsmuller force-pushed the chore/update-deps branch 2 times, most recently from cb0bb34 to 902b01c Compare May 8, 2023 18:53
@lcsmuller
Copy link
Member Author

Can you update the lint-staged rules to auto-fix the code using the correct formatting tool? (prettier + eslint)

From the fixes in this PR, this is not happening.

@victor-accarini Done!

@lcsmuller lcsmuller requested a review from victor-accarini May 8, 2023 18:55
.nvmrc Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
.vscode/settings.json Outdated Show resolved Hide resolved
Copy link
Member

@victor-accarini victor-accarini left a comment

Choose a reason for hiding this comment

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

Just fix @oliveirarleo comments and LGTM

@lcsmuller lcsmuller requested a review from DDDKnightmare May 12, 2023 19:22
lib/index.test.ts Outdated Show resolved Hide resolved
lib/index.ts Outdated Show resolved Hide resolved
lib/validate.ts Outdated Show resolved Hide resolved
lib/validate.ts Outdated Show resolved Hide resolved
@lcsmuller lcsmuller force-pushed the chore/update-deps branch from 9d4eebc to 2829f8f Compare May 18, 2023 17:52
@lcsmuller lcsmuller requested a review from oliveirarleo May 18, 2023 17:54
lib/validate.ts Outdated Show resolved Hide resolved
@lcsmuller lcsmuller force-pushed the chore/update-deps branch from 2829f8f to e25930f Compare May 18, 2023 19:14
@lcsmuller lcsmuller requested a review from oliveirarleo May 18, 2023 19:14
@lcsmuller lcsmuller force-pushed the chore/update-deps branch from e25930f to 199ce0d Compare May 18, 2023 19:29
lib/parse.ts Outdated
Comment on lines 55 to 56
// we already checked for not undefined, but TS doesn't get it :-(
((customize && customize[key]) as EnvSchemaParserFn<S, K>) ||
Copy link

@DDDKnightmare DDDKnightmare May 19, 2023

Choose a reason for hiding this comment

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

I think we can remove this comment and assertion. After updating typescript, this shouldn't occur anymore.

Suggested change
// we already checked for not undefined, but TS doesn't get it :-(
((customize && customize[key]) as EnvSchemaParserFn<S, K>) ||
(customize && customize[key]) ||

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice!

@lcsmuller lcsmuller force-pushed the chore/update-deps branch from 199ce0d to a9f3ffa Compare May 22, 2023 19:27
@lcsmuller lcsmuller requested a review from DDDKnightmare May 22, 2023 19:27
@lcsmuller lcsmuller force-pushed the chore/update-deps branch from a9f3ffa to f8aa8ae Compare May 23, 2023 11:04
lib/serialize.ts Outdated Show resolved Hide resolved
DDDKnightmare
DDDKnightmare previously approved these changes May 24, 2023
lcsmuller added 2 commits May 24, 2023 14:30
Update dependencies to latest, fix typing
- Update linter-staged rules to auto-fix the code
@lcsmuller lcsmuller merged commit f1c68ff into master May 25, 2023
@lcsmuller lcsmuller deleted the chore/update-deps branch May 25, 2023 11:21
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.

4 participants