Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps react-native-builder-bob from 0.38.4 to 0.40.0.

Release notes

Sourced from react-native-builder-bob's releases.

react-native-builder-bob@0.40.0

0.40.0 (2025-04-04)

Important

There's a possibility of dual package hazard with the default setup. Metro enables exports support from 0.82.0, so this can become a problem for some packages.

This release drops the dual package setup from the default template in favor of an ESM-only setup. To make a similar change in your package, apply the following change to your entrypoints:

- "main": "./lib/commonjs/index.js",
+ "main": "./lib/module/index.js",
- "types": "./lib/typescript/commonjs/src/index.d.ts",
  "exports": {
    ".": {
-     "import": {
-       "types": "./lib/typescript/module/src/index.d.ts",
-       "default": "./lib/module/index.js"
-     },
-     "require": {
-       "types": "./lib/typescript/commonjs/src/index.d.ts",
-       "default": "./lib/commonjs/index.js"
-     }
+     "types": "./lib/typescript/src/index.d.ts",
+     "default": "./lib/module/index.js"
    },
    "./package.json": "./package.json"
  },

If you need to support legacy setups that use moduleResolution: node10 or moduleResolution: node, you can also keep the types field:

  "main": "./lib/module/index.js",
+ "types": "./lib/typescript/src/index.d.ts",

In addition, remove the commonjs target from the react-native-builder-bob field in your package.json or bob.config.js or bob.config.mjs:

"react-native-builder-bob": {
  "source": "src",
  "output": "lib",
  "targets": [
    ["module", { "esm": true }],
-   ["commonjs", { "esm": true }]
    "typescript",
  ]
}

... (truncated)

Changelog

Sourced from react-native-builder-bob's changelog.

0.40.0 (2025-04-04)

Features

0.39.1 (2025-04-02)

Bug Fixes

0.39.0 (2025-03-29)

Bug Fixes

Features

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-native-builder-bob](https://github.com/callstack/react-native-builder-bob/tree/HEAD/packages/react-native-builder-bob) from 0.38.4 to 0.40.0.
- [Release notes](https://github.com/callstack/react-native-builder-bob/releases)
- [Changelog](https://github.com/callstack/react-native-builder-bob/blob/main/packages/react-native-builder-bob/CHANGELOG.md)
- [Commits](https://github.com/callstack/react-native-builder-bob/commits/react-native-builder-bob@0.40.0/packages/react-native-builder-bob)

---
updated-dependencies:
- dependency-name: react-native-builder-bob
  dependency-version: 0.40.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 7, 2025
@dependabot dependabot bot requested a review from Naturalclar as a code owner April 7, 2025 05:42
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 8, 2025

Superseded by #1074.

@dependabot dependabot bot closed this Apr 8, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-native-builder-bob-0.40.0 branch April 8, 2025 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant