Recommended Code Modification
This code modification is recommended but not required unless necessary for use with third-party tools.
PR #4096 improves Jest config (switches to presets from imports) to support third-party tools like Wallaby.
To automatically update to the new config, simply run this code modification in your Redwood project:
npx @redwoodjs/codemods@latest update-jest-config
This will make the following changes:
web/jest.config.js
updated to match this templateapi/jest.config.js
update to match this template./jest.config.js
added to match this template
Note: The automated code modification will attempt to keep any custom changes to the default configurations. If applicable, do confirm customizations are implemented and working correctly after running the code mod.
Changelog
Unique contributors: 7
PRs merged: 18
Features
- Dedupe generator postfix #4261 by @Tobbe
- Forms: Automatically handle optional relation fields #4302 by @Tobbe
- Add codemods for 3rd-party compatible jest config #4355 by @jtoar
Fixed
- (jest) improves performance and mem use reduction; adds compatibility with 3rd party tools; fwds all args to jest command #4096 by @dac09
- Add explanation and docs link in generated tests #4218 by @refactor-this
- fix
rw deploy render
redundant api processes causing server to exceed mem limit #4278 by @thedavidprice - createCell: Give cell results priority over cell props #4304 by @Tobbe
- Fix telemetry showing Node version for Yarn and npm #4313 by @cannikin
Chore
- Update prisma monorepo to v3.9.0, v3.9.1 #4329 #4345
- Upgrade yarn to 3.1.1 #3919 by @jtoar
- Scaffold: Fix deserialize spelling #4298 by @Tobbe
- Scaffold: Enable all tests again and update snapshots #4299 by @Tobbe
- Update release script #4305 by @jtoar
- Sort package.jsons #4309 by @jtoar
- Add missing deps to @redwoodjs/forms package.json #4310 by @jtoar
- Tweak release script #4312 by @jtoar
- update contributing content #4325 by @thedavidprice
- Update the copy related to Gitpod #4341 by @mikenikles
- revert dotenv ignorestub #4363 by @thedavidprice
Package Dependencies
View all Dependency Version Upgrades
- Update dependency @clerk/clerk-sdk-node to v2.7.5 #4287 by @renovate
- Update storybook monorepo to v6.4.15 #4288 by @renovate
- Update dependency copy-webpack-plugin to v10.2.2 #4289 by @renovate
- Update dependency eslint to v8.8.0 #4291 by @renovate
- Update dependency react-hook-form to v7.25.2 #4292 by @renovate
- Update dependency react-hook-form to v7.25.3 #4293 by @renovate
- Update storybook monorepo to v6.4.16 #4294 by @renovate
- Update dependency pino to v7.6.5 #4295 by @renovate
- Update dependency copy-webpack-plugin to v10.2.3 #4296 by @renovate
- Update dependency msw to v0.36.8 #4301 by @renovate
- Update storybook monorepo to v6.4.17 #4306 by @renovate
- Update dependency copy-webpack-plugin to v10.2.4 #4307 by @renovate
- Update dependency vscode-languageserver-textdocument to v1.0.4 #4308 by @renovate
- Update dependency @graphql-codegen/typescript-operations to v2.2.3 #4311 by @renovate
- Update dependency @typescript-eslint/eslint-plugin to v5.10.2 #4314 by @renovate
- Update dependency webpack to v5.68.0 #4315 by @renovate
- Pin dependencies #4317 by @renovate
- Update dependency @typescript-eslint/parser to v5.10.2 #4318 by @renovate
- Update dependency cypress to v9.4.1 #4319 by @renovate
- Update dependency esbuild to v0.14.15 #4321 by @renovate
- Update dependency esbuild to v0.14.16 #4322 by @renovate
- Update dependency supertokens-node to v8.6.0 #4324 by @renovate
- Update dependency @types/node to v16.11.22 #4326 by @renovate
- Update dependency @clerk/clerk-js to v2.12.1 #4327 by @renovate
- Update dependency @clerk/types to v1.24.1 #4328 by @renovate
- Update dependency core-js to v3.21.0 #4330 by @renovate
- Update dependency node-notifier to v10.0.1 #4331 by @renovate
- Update dependency @types/vscode to v1.63.2 #4332 by @renovate
- Update dependency esbuild to v0.14.17 #4333 by @renovate
- Update dependency @clerk/clerk-sdk-node to v2.8.0 #4336 by @renovate
- Update dependency webpack-dev-server to v4.7.4 #4337 by @renovate
- Update dependency css-loader to v6.6.0 #4338 by @renovate
- Update storybook monorepo to v6.4.18 #4339 by @renovate
- Update dependency @types/netlify-identity-widget to v1.9.3 #4343 by @renovate
- Update dependency @envelop/disable-introspection to v3 #4344 by @renovate
- Update dependency @envelop/filter-operation-type to v3 #4346 by @renovate
- Update dependency esbuild to v0.14.18 #4347 by @renovate
- Update dependency @envelop/parser-cache to v4 #4348 by @renovate
- Update dependency @envelop/testing to v4 #4349 by @renovate
- Update dependency @envelop/validation-cache to v4 #4351 by @renovate
- Update dependency @testing-library/jest-dom to v5.16.2 #4358 by @renovate