Skip to content

Add some overrides to suppress a few NPM peer-dependency warnings - #555

Merged
cigamit merged 1 commit into
mainfrom
peer-override
Jun 29, 2026
Merged

Add some overrides to suppress a few NPM peer-dependency warnings#555
cigamit merged 1 commit into
mainfrom
peer-override

Conversation

@cigamit

@cigamit cigamit commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This suppresses 15 warnings, such as

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @babel/plugin-syntax-top-level-await@7.14.5
npm warn Found: @babel/core@8.0.1
npm warn node_modules/@babel/core
npm warn   dev @babel/core@"^8.0.1" from the root project
npm warn   82 more (@babel/eslint-parser, @babel/eslint-plugin, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer @babel/core@"^7.0.0-0" from @babel/plugin-syntax-top-level-await@7.14.5
npm warn node_modules/babel-preset-current-node-syntax/node_modules/@babel/plugin-syntax-top-level-await
npm warn   @babel/plugin-syntax-top-level-await@"^7.14.5" from babel-preset-current-node-syntax@1.2.0
npm warn   node_modules/babel-preset-current-node-syntax
npm warn
npm warn Conflicting peer dependency: @babel/core@7.29.7
npm warn node_modules/@babel/core
npm warn   peer @babel/core@"^7.0.0-0" from @babel/plugin-syntax-top-level-await@7.14.5
npm warn   node_modules/babel-preset-current-node-syntax/node_modules/@babel/plugin-syntax-top-level-await
npm warn     @babel/plugin-syntax-top-level-await@"^7.14.5" from babel-preset-current-node-syntax@1.2.0
npm warn     node_modules/babel-preset-current-node-syntax

@cigamit
cigamit requested a review from TheWitness June 29, 2026 16:22
@cigamit cigamit self-assigned this Jun 29, 2026
Copilot AI review requested due to automatic review settings June 29, 2026 16:22
@cigamit cigamit added the dependencies Pull requests that update a dependency file label Jun 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the AWX classic UI’s Node dependency configuration to reduce noise during installs by explicitly overriding a set of Babel plugin peer-dependency expectations to use the project’s @babel/core version.

Changes:

  • Add package.json overrides entries for multiple @babel/plugin-syntax-* packages to resolve peer-dependency override warnings against @babel/core.
  • Regenerate/normalize package-lock.json, removing libc fields from certain platform-specific optional packages.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
awx/ui/package.json Adds npm overrides to align various Babel syntax plugins’ peer expectations with the root @babel/core to suppress install warnings.
awx/ui/package-lock.json Lockfile normalization consistent with the updated override configuration/tooling output (notably removing libc entries).
Files not reviewed (1)
  • awx/ui/package-lock.json: Generated file

@cigamit
cigamit merged commit 759196d into main Jun 29, 2026
1 check passed
sy-base pushed a commit to sy-base/ascender that referenced this pull request Jul 4, 2026
@cigamit
cigamit deleted the peer-override branch July 20, 2026 16:19
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

Development

Successfully merging this pull request may close these issues.

3 participants