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.
31 lines
981 B
JavaScript
31 lines
981 B
JavaScript
/**
|
|
* @fileoverview APIs that are not officially supported by ESLint.
|
|
* These APIs may change or be removed at any time. Use at your
|
|
* own risk.
|
|
* @author Nicholas C. Zakas
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Requirements
|
|
//-----------------------------------------------------------------------------
|
|
|
|
const { FileEnumerator } = require("./cli-engine/file-enumerator");
|
|
const { FlatESLint, shouldUseFlatConfig } = require("./eslint/flat-eslint");
|
|
const FlatRuleTester = require("./rule-tester/flat-rule-tester");
|
|
const { ESLint } = require("./eslint/eslint");
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Exports
|
|
//-----------------------------------------------------------------------------
|
|
|
|
module.exports = {
|
|
builtinRules: require("./rules"),
|
|
FlatESLint,
|
|
shouldUseFlatConfig,
|
|
FlatRuleTester,
|
|
FileEnumerator,
|
|
LegacyESLint: ESLint
|
|
};
|