iam-medvedev / esbuild-plugin-less

esbuild plugin for less files
https://npmjs.com/package/esbuild-plugin-less
Do What The F*ck You Want To Public License
43 stars 12 forks source link

Support for esbuild 0.13.x #21

Closed johnjiang closed 3 years ago

johnjiang commented 3 years ago

Esbuild 0.13.1 was released so we'll need to bump the peer dependency of esbuild-plugin-less to support it in npm 7, otherwise we get the below error.

Expected Behavior

It should install correctly.

Actual Behavior

$ npm install --save-dev esbuild@0.13.1 --color=always
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: esbuild-plugin-less@1.1.0
npm ERR! Found: esbuild@0.13.1
npm ERR! node_modules/esbuild
npm ERR!   dev esbuild@"0.13.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer esbuild@"^0.12.x" from esbuild-plugin-less@1.1.0
npm ERR! node_modules/esbuild-plugin-less
npm ERR!   dev esbuild-plugin-less@"^1.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: esbuild@0.12.29
npm ERR! node_modules/esbuild
npm ERR!   peer esbuild@"^0.12.x" from esbuild-plugin-less@1.1.0
npm ERR!   node_modules/esbuild-plugin-less
npm ERR!     dev esbuild-plugin-less@"^1.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Steps to Reproduce the Problem

  1. npm install --save-dev esbuild@0.13.1 --color=always

Versions

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 1.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

iam-medvedev commented 3 years ago

I have updated esbuild and configured dependabot to avoid such situations in the future. Thanks!