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:
1 parent
20129a1ac7
commit
ac4f232e5e
787 files changed
+82341
-121690
No files matched your search
+16
-35
@@ -3,55 +3,44 @@
|
||||
/* eslint consistent-return: 0 -- no default case */
|
||||
|
||||
const messages = {
|
||||
env: `
|
||||
|
||||
env: `
|
||||
A config object is using the "env" key, which is not supported in flat config system.
|
||||
|
||||
Flat config uses "languageOptions.globals" to define global variables for your files.
|
||||
|
||||
Please see the following page for information on how to convert your config object into the correct format:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options
|
||||
|
||||
If you're not using "env" directly (it may be coming from a plugin), please see the following:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
|
||||
`,
|
||||
|
||||
extends: `
|
||||
extends: `
|
||||
A config object is using the "extends" key, which is not supported in flat config system.
|
||||
|
||||
Instead of "extends", you can include config objects that you'd like to extend from directly in the flat config array.
|
||||
|
||||
If you're using "extends" in your config file, please see the following:
|
||||
Please see the following page for more information:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#predefined-and-shareable-configs
|
||||
|
||||
If you're not using "extends" directly (it may be coming from a plugin), please see the following:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
|
||||
`,
|
||||
|
||||
globals: `
|
||||
globals: `
|
||||
A config object is using the "globals" key, which is not supported in flat config system.
|
||||
|
||||
Flat config uses "languageOptions.globals" to define global variables for your files.
|
||||
|
||||
Please see the following page for information on how to convert your config object into the correct format:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options
|
||||
|
||||
If you're not using "globals" directly (it may be coming from a plugin), please see the following:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
|
||||
`,
|
||||
|
||||
ignorePatterns: `
|
||||
ignorePatterns: `
|
||||
A config object is using the "ignorePatterns" key, which is not supported in flat config system.
|
||||
|
||||
Flat config uses "ignores" to specify files to ignore.
|
||||
|
||||
Please see the following page for information on how to convert your config object into the correct format:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files
|
||||
|
||||
If you're not using "ignorePatterns" directly (it may be coming from a plugin), please see the following:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
|
||||
`,
|
||||
|
||||
noInlineConfig: `
|
||||
noInlineConfig: `
|
||||
A config object is using the "noInlineConfig" key, which is not supported in flat config system.
|
||||
|
||||
Flat config uses "linterOptions.noInlineConfig" to specify files to ignore.
|
||||
@@ -60,43 +49,34 @@ Please see the following page for information on how to convert your config obje
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#linter-options
|
||||
`,
|
||||
|
||||
overrides: `
|
||||
overrides: `
|
||||
A config object is using the "overrides" key, which is not supported in flat config system.
|
||||
|
||||
Flat config is an array that acts like the eslintrc "overrides" array.
|
||||
|
||||
Please see the following page for information on how to convert your config object into the correct format:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#glob-based-configs
|
||||
|
||||
If you're not using "overrides" directly (it may be coming from a plugin), please see the following:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
|
||||
`,
|
||||
|
||||
parser: `
|
||||
parser: `
|
||||
A config object is using the "parser" key, which is not supported in flat config system.
|
||||
|
||||
Flat config uses "languageOptions.parser" to override the default parser.
|
||||
|
||||
Please see the following page for information on how to convert your config object into the correct format:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#custom-parsers
|
||||
|
||||
If you're not using "parser" directly (it may be coming from a plugin), please see the following:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
|
||||
`,
|
||||
|
||||
parserOptions: `
|
||||
parserOptions: `
|
||||
A config object is using the "parserOptions" key, which is not supported in flat config system.
|
||||
|
||||
Flat config uses "languageOptions.parserOptions" to specify parser options.
|
||||
|
||||
Please see the following page for information on how to convert your config object into the correct format:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options
|
||||
|
||||
If you're not using "parserOptions" directly (it may be coming from a plugin), please see the following:
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#using-eslintrc-configs-in-flat-config
|
||||
`,
|
||||
|
||||
reportUnusedDisableDirectives: `
|
||||
reportUnusedDisableDirectives: `
|
||||
A config object is using the "reportUnusedDisableDirectives" key, which is not supported in flat config system.
|
||||
|
||||
Flat config uses "linterOptions.reportUnusedDisableDirectives" to specify files to ignore.
|
||||
@@ -105,13 +85,14 @@ Please see the following page for information on how to convert your config obje
|
||||
https://eslint.org/docs/latest/use/configure/migration-guide#linter-options
|
||||
`,
|
||||
|
||||
root: `
|
||||
root: `
|
||||
A config object is using the "root" key, which is not supported in flat config system.
|
||||
|
||||
Flat configs always act as if they are the root config file, so this key can be safely removed.
|
||||
`,
|
||||
`
|
||||
};
|
||||
|
||||
module.exports = function ({ key }) {
|
||||
return messages[key].trim();
|
||||
module.exports = function({ key }) {
|
||||
|
||||
return messages[key].trim();
|
||||
};
|
||||
Reference in new issue
Block a user