build: update npm install command to use --legacy-peer-deps
This change modifies the build scripts to use --legacy-peer-deps flag when installing npm dependencies to resolve potential peer dependency conflicts during the build process. The change is applied to both bash (build.sh) and batch (build.bat) build scripts.
This commit is contained in:
+4
-4
@@ -1,12 +1,12 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (it) {
|
||||
const { directoryPath } = it;
|
||||
module.exports = function(it) {
|
||||
const { directoryPath } = it;
|
||||
|
||||
return `
|
||||
return `
|
||||
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
|
||||
|
||||
npm init @eslint/config@latest
|
||||
npm init @eslint/config
|
||||
|
||||
ESLint looked for configuration files in ${directoryPath} and its ancestors. If it found none, it then looked in your home directory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user