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

chore: remove unnecessary @redwoodjs/api dependencies #7153

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Dec 14, 2022

After reviewing #7122, I noticed that there's other unnecessary dependencies in @redwoodjs/api's package.json. So this PR tries to sort it out.

I had to add @simplewebauthn/server to @redwoodjs/auth-dbauth-api's devDependencies because it uses types from it, and it was piggbacking off it being listed in @redwoodjs/api.

@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Dec 14, 2022
@jtoar jtoar requested a review from Tobbe December 14, 2022 14:50
@jtoar jtoar self-assigned this Dec 14, 2022
@@ -1,5 +1,4 @@
import type { RedisClientType } from '@redis/client'
import type { RedisClientOptions } from 'redis'
import type { RedisClientType, RedisClientOptions } from 'redis'
Copy link
Contributor Author

@jtoar jtoar Dec 14, 2022

Choose a reason for hiding this comment

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

redis installs and exports all of @redis/client, among other things: https://www.npmjs.com/package/redis?activeTab=explore

image

@jtoar jtoar merged commit 0d896e8 into main Dec 14, 2022
@jtoar jtoar deleted the ds-fix-rwjs-api-deps branch December 14, 2022 15:28
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Dec 14, 2022
@redwoodjs-bot
Copy link

redwoodjs-bot bot commented Dec 14, 2022

🔔 @jtoar, @Tobbe—I couldn't cherry pick this one. If you want it in the next release, you'll have to cherry pick it manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants