Skip to content

Library updates#194

Merged
qqmyers merged 16 commits into
stagefrom
stageupdates
Jun 3, 2026
Merged

Library updates#194
qqmyers merged 16 commits into
stagefrom
stageupdates

Conversation

@qqmyers

@qqmyers qqmyers commented Jun 3, 2026

Copy link
Copy Markdown
Member

Updates based on auto-PRs and general updates to newer react, next, etc.

dependabot Bot and others added 16 commits December 8, 2025 15:13
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) to 2.7.0 and updates ancestor dependency [next](https://github.com/vercel/next.js). These dependencies need to be updated together.


Updates `node-fetch` from 2.6.1 to 2.7.0
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](node-fetch/node-fetch@v2.6.1...v2.7.0)

Updates `next` from 10.2.3 to 14.0.3
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v10.2.3...v14.0.3)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Removes [typeorm](https://github.com/typeorm/typeorm). It's no longer
used after updating ancestor dependency
[next-auth](https://github.com/nextauthjs/next-auth). These dependencies
need to be updated together.

Removes `typeorm`

Updates `next-auth` from 3.29.10 to 4.24.7
- [Release notes](https://github.com/nextauthjs/next-auth/releases)
- [Commits](https://github.com/nextauthjs/next-auth/commits/next-auth@4.24.7)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-type: indirect
- dependency-name: next-auth
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 3.1.0 to
5.0.0.
- [Release notes](https://github.com/tschaub/gh-pages/releases)
- [Changelog](https://github.com/tschaub/gh-pages/blob/main/changelog.md)
- [Commits](tschaub/gh-pages@v3.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: gh-pages
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [formidable](https://github.com/node-formidable/formidable) from 1.2.2 to 3.2.4.
- [Release notes](https://github.com/node-formidable/formidable/releases)
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-formidable/formidable/commits/v3.2.4)

---
updated-dependencies:
- dependency-name: formidable
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [react-pdf](https://github.com/wojtekmaj/react-pdf/tree/HEAD/packages/react-pdf)
from 5.3.0 to 7.7.3.
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](https://github.com/wojtekmaj/react-pdf/commits/v7.7.3/packages/react-pdf)

---
updated-dependencies:
- dependency-name: react-pdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
and jest

Bumps [braces](https://github.com/micromatch/braces) to 3.0.3 and
updates ancestor dependencies
[braces](https://github.com/micromatch/braces),
[@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/essentials),
[@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react),
[babel-jest](https://github.com/jestjs/jest/tree/HEAD/packages/babel-jest)
and [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest).
These dependencies need to be updated together.

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

Updates `@storybook/addon-essentials` from 6.3.9 to 6.5.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.v6.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.16/code/addons/essentials)

Updates `@storybook/react` from 6.3.9 to 6.5.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.v6.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.16/code/renderers/react)

Updates `babel-jest` from 26.6.3 to 29.7.0
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/babel-jest)

Updates `jest` from 26.6.3 to 29.7.0
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
- dependency-name: "@storybook/react"
  dependency-type: direct:development
- dependency-name: babel-jest
  dependency-type: direct:development
- dependency-name: jest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ws](https://github.com/websockets/ws) from 7.5.5 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.5.5...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Summary
   • Integrated and updated all library PRs by upgrading the project to Next.js 14.2.15, React 18.2.0, Axios 1.15.1,
   and Carbon v11.
   • Resolved all dependency conflicts and TypeScript errors arising from major version migrations.
   • Verified the solution with a successful production build and passing unit tests.

   Changes
   • Core Upgrades: Bumped Next.js to 14.2.15 fixing security vulnerabilities, React/React-DOM to 18.2.0, and Axios to
   1.15.1 mitigating supply chain risks.
   • NextAuth v4 Migration: Updated SessionProvider, migrated all client-side imports, adjusted API callbacks in
   [...nextauth].ts, and added module augmentation for custom session properties.
   • Carbon v11 Migration:
     • Replaced legacy Carbon packages with @carbon/react.
     • Migrated Tabs to the new TabList/TabPanels structure.
     • Updated InlineNotification to move ReactNode content from subtitle to children.
     • Removed legacy id props from Modals and added required children to ModalFooter.
     • Updated icon imports and names removed size suffixes.
     • Performed a global CSS prefix migration from bx-- to cds--.
   • Infrastructure: Updated package.json engines, added version overrides for React types, and installed
   jest-environment-jsdom for compatibility with Jest 29.

   Verification
   • Ran npm run type-check: Passed with 0 errors.
   • Ran npm run build: Production build completed successfully.
   • Ran npm run test:all-unit: All 41 unit tests passed.
 Summary
   • Upgraded the project to Storybook 10.4.2 and TypeScript 6.0.3, ensuring compatibility with the recently upgraded
   Next.js 16 environment.

   Changes
   • Upgraded all Storybook core packages and addons to version 10.4.2.
   • Switched Storybook framework to @storybook/nextjs Webpack-based for better compatibility with the Next.js stack.
   • Modernized Storybook configuration in .storybook/main.js, manager.js, and preview.js.
   • Renamed legacy .stories.mdx files to .mdx and updated block imports.
   • Upgraded TypeScript to ^6.0.0 and added @types/qs to resolve build dependencies.
   • Updated tsconfig.json to exclude Storybook files from the main Next.js build and addressed TypeScript 6
   deprecation warnings.
   • Removed legacy .babelrc to allow Next.js 16 to use the SWC compiler and avoid Babel resolution conflicts in
   Storybook.

   Verification
   • Successfully completed a Storybook production build using npm run build-storybook.
   • Successfully completed a Next.js production build using npm run build.
   • Passed all unit tests 9 passed, 41 tests total via npm run test:all-unit.

   FILES:
   Updated package.json
   Updated .storybook\preview.js
   Updated tsconfig.json
    Summary
    • Successfully integrated jest-canvas-mock and resolved peer dependency conflicts, allowing the project to build
    with a standard npm install without requiring the --legacy-peer-deps flag.

    Changes
    • Added jest-canvas-mock to devDependencies and imported it in jest.setup.js to provide a pure JavaScript mock for
    canvas operations in tests.
    • Downgraded jest-environment-jsdom to ^29.7.0 to match the jest version, resolving a major conflict where version
    30+ demanded canvas@^3.0.0 while other dependencies required canvas@^2.x.
    • Upgraded eslint to ^8.57.0 and @typescript-eslint plugins to ^5.62.0 to satisfy requirements of
    eslint-plugin-storybook.
    • Upgraded jest-watch-typeahead to ^2.2.2 for compatibility with Jest 29.
    • Removed unused ChangeEvent imports in features/ati/AtiManuscript/index.tsx and
    features/ati/NewAtiProjectForm/index.tsx to clear lint errors after the upgrade.

    Verification
    • Verified that npm install completes successfully without --legacy-peer-deps.
    • Ran npm run test:all-unit and confirmed all 41 tests pass.
    • Ran npm run lint and confirmed no errors remain.
 Summary
   • Fixed npm run format:check failure by ignoring auto-generated files in Prettier.

   Changes
   • Added next-env.d.ts and tsconfig.tsbuildinfo to .prettierignore. These files are automatically regenerated by
   Next.js and the TypeScript compiler during build/dev, and their formatting often conflicts with project-specific
   Prettier rules.

   Verification
   • Ran npm run build which regenerates next-env.d.ts.
   • Ran npm run format:check and confirmed that it now passes successfully All matched files use Prettier code style!.
   • Verified that next-env.d.ts is no longer being flagged by Prettier.

   FILES:
   Updated .prettierignore
@qqmyers qqmyers merged commit d52af8a into stage Jun 3, 2026
3 checks passed
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.

1 participant