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

Bump bob-the-bundler to latest version #2481

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

raulfdm
Copy link

@raulfdm raulfdm commented Dec 11, 2023

Description

This PR updates bob-the-bundler to the latest version, including a few fixes for modern TS settings.

Fixes #2480

The only changes I've made were:

  1. update the dependency to the latest version;
  2. run bob bootstrap so it can fix the package.json and the imports

I've considered it a breaking change because how it declares the package.json changed a lot.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Screenshots/Sandbox (if appropriate/relevant):

CleanShot 2023-12-11 at 06 58 31@2x

CleanShot 2023-12-11 at 06 59 26@2x

How Has This Been Tested?

To test if that would work as expected, I've published it to a local npm registry, installed the new versions, and everything seems to be working fine.

Test Environment:

  • OS: macOS
  • graphql-modules:
  • NodeJS: 20

Checklist:

  • I have followed the CONTRIBUTING doc and the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests and linter rules pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Copy link

changeset-bot bot commented Dec 11, 2023

🦋 Changeset detected

Latest commit: 001019f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
graphql-modules Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

import { InternalAppContext } from './application';
import { ExecutionContextBuilder } from './context';
import { Application } from './types';
import { uniqueId } from '../shared/utils.js';
Copy link
Author

Choose a reason for hiding this comment

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

all those extension changes was done via bob bootstrap

},
"buildOptions": {
"copy": [
"LICENSE.md",
"README.md"
]
}
},
"type": "module"
Copy link
Author

Choose a reason for hiding this comment

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

This is the main reason I've considered a major bump.

It might impact in some projects

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.

Package types is not being resolved in a TS setup when moduleResolution is bundler
1 participant