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:
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
const { stringifyValueForError } = require("./shared");
|
||||
|
||||
module.exports = function ({ ruleId, value }) {
|
||||
return `
|
||||
module.exports = function({ ruleId, value }) {
|
||||
return `
|
||||
Configuration for rule "${ruleId}" is invalid. Each rule must have a severity ("off", 0, "warn", 1, "error", or 2) and may be followed by additional options for the rule.
|
||||
|
||||
You passed '${stringifyValueForError(value, 4)}', which doesn't contain a valid severity.
|
||||
|
||||
Reference in New Issue
Block a user