Skip to content

fix(deps): remove unused zod dependency#6996

Open
Haroenv wants to merge 2 commits into
masterfrom
fix/remove-zod-dependency
Open

fix(deps): remove unused zod dependency#6996
Haroenv wants to merge 2 commits into
masterfrom
fix/remove-zod-dependency

Conversation

@Haroenv
Copy link
Copy Markdown
Contributor

@Haroenv Haroenv commented Apr 27, 2026

Summary
When we switched to ai-lite in #6880, zod became redundant, but we didn't remove it from the package.jsons now that it's no longer need.

Result

With this PR I'm removing the mentions of zod that are remaining. This doesn't have an impact on user code

When we switched to ai-lite in #6880, zod became redundant, but we didn't remove it from the `package.json`s now that it's no longer need.

With this PR I'm removing the mentions of zod that are remaining.
@Haroenv Haroenv requested review from a team, afrencalg, aymeric-giraudet and Copilot and removed request for a team April 27, 2026 15:37
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 27, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes now-redundant zod-related dependencies after the switch to ai-lite, and cleans up related Jest configuration.

Changes:

  • Remove zod and zod-to-json-schema from package dependencies in affected workspaces.
  • Remove the root-level zod resolution entry.
  • Update Jest transformIgnorePatterns to stop special-casing zod.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/react-instantsearch-core/package.json Drops zod / zod-to-json-schema from dependencies.
packages/instantsearch.js/package.json Drops zod / zod-to-json-schema from dependencies.
packages/instantsearch-ui-components/package.json Drops zod / zod-to-json-schema from dependencies.
package.json Removes the root zod resolution/pin.
jest.config.js Removes zod from Jest’s transform ignore allowlist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 27, 2026

More templates

algoliasearch-helper

npm i https://pkg.pr.new/algolia/instantsearch/algoliasearch-helper@6996

instantsearch-ui-components

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch-ui-components@6996

instantsearch.css

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch.css@6996

instantsearch.js

npm i https://pkg.pr.new/algolia/instantsearch/instantsearch.js@6996

react-instantsearch

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch@6996

react-instantsearch-core

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-core@6996

react-instantsearch-nextjs

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-nextjs@6996

react-instantsearch-router-nextjs

npm i https://pkg.pr.new/algolia/instantsearch/react-instantsearch-router-nextjs@6996

vue-instantsearch

npm i https://pkg.pr.new/algolia/instantsearch/vue-instantsearch@6996

commit: 0bbe1a7

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