diff --git a/packages/plugins/ui-theme/src/i18n/crowdin/ui.json b/packages/plugins/ui-theme/src/i18n/crowdin/ui.json index 088361912..739359de5 100644 --- a/packages/plugins/ui-theme/src/i18n/crowdin/ui.json +++ b/packages/plugins/ui-theme/src/i18n/crowdin/ui.json @@ -183,7 +183,7 @@ "title": "Package Managers", "description": "This is the configuration details for the registry. Each package manager could have different configuration, expand each section for more details. If the section is disable review your configuration.", "yarnclassicDetails": "Yarn classic configuration differs from Yarn 2+ configuration. For more details, please visit [Yarn Classic](https://verdaccio.org/docs/cli-registry#yarn-1x).", - "yarnBerryDetails": "Yarn Berry does not support the `--registry` flag, instead all configurarion should be defined on the `yarnrc.yalm` file in the root of your project. For more details, please visit [Yarn Berry](https://verdaccio.org/docs/cli-registry#yarn-berry-2x)." + "yarnBerryDetails": "Yarn Berry does not support the `--registry` flag, instead all configurarion should be defined on the `yarnrc.yaml` file in the root of your project. For more details, please visit [Yarn Berry](https://verdaccio.org/docs/cli-registry#yarn-berry-2x)." }, "language": { "title": "Translations", diff --git a/packages/plugins/ui-theme/tools/verdaccio.js b/packages/plugins/ui-theme/tools/verdaccio.js index a1b3b01d2..19090f339 100644 --- a/packages/plugins/ui-theme/tools/verdaccio.js +++ b/packages/plugins/ui-theme/tools/verdaccio.js @@ -1,14 +1,14 @@ const fs = require('fs'); const path = require('path'); -const yalm = require('js-yaml'); +const yaml = require('js-yaml'); const startServer = require('verdaccio').default; const storageLocation = path.join(__dirname, '../partials/storage'); const pluginsLocation = path.join(__dirname, '../partials/plugins'); const configJsonFormat = Object.assign( {}, - yalm.safeLoad(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8')), + yaml.safeLoad(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8')), { storage: storageLocation, plugins: pluginsLocation, diff --git a/packages/plugins/ui-theme/tools/webpack.dev.config.babel.js b/packages/plugins/ui-theme/tools/webpack.dev.config.babel.js index e2f093a06..fab47a8b0 100644 --- a/packages/plugins/ui-theme/tools/webpack.dev.config.babel.js +++ b/packages/plugins/ui-theme/tools/webpack.dev.config.babel.js @@ -1,7 +1,7 @@ import FriendlyErrorsPlugin from 'friendly-errors-webpack-plugin'; import fs from 'fs'; import HTMLWebpackPlugin from 'html-webpack-plugin'; -import yalm from 'js-yaml'; +import yaml from 'js-yaml'; import StyleLintPlugin from 'stylelint-webpack-plugin'; import webpack from 'webpack'; @@ -9,7 +9,7 @@ import env from '../config/env'; import getPackageJson from './getPackageJson'; import baseConfig from './webpack.config'; -const configJsonFormat = yalm.safeLoad(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8')); +const configJsonFormat = yaml.safeLoad(fs.readFileSync('./tools/_verdaccio.config.yaml', 'utf8')); export default { ...baseConfig, mode: 'development',