diff --git a/.prettierrc b/.prettierrc index a59be13f..07760175 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,5 @@ { - "printWidth": 120, + "printWidth": 100, "singleQuote": false, "trailingComma": "es5", "bracketSpacing": true, diff --git a/README.md b/README.md index bafb3f1e..f0db539b 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ The tool is built on top of [Vue.js](https://vuejs.org), [Vue Styleguidist](http ## Changelog -- `3.5.5` is the latest release. +- `3.5.6` is the latest release. - See [Releases page](https://github.com/viljamis/vue-design-system/releases) for the full changelog. ## Need more help? diff --git a/build/check-versions.js b/build/check-versions.js index eb9dabca..acc84fad 100644 --- a/build/check-versions.js +++ b/build/check-versions.js @@ -32,7 +32,11 @@ module.exports = function() { const mod = versionRequirements[i] if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) { warnings.push( - mod.name + ": " + chalk.red(mod.currentVersion) + " should be " + chalk.green(mod.versionRequirement) + mod.name + + ": " + + chalk.red(mod.currentVersion) + + " should be " + + chalk.green(mod.versionRequirement) ) } } diff --git a/build/utils.js b/build/utils.js index a26c8371..af1c44f6 100644 --- a/build/utils.js +++ b/build/utils.js @@ -6,7 +6,9 @@ const packageConfig = require("../package.json") exports.assetsPath = function(_path) { const assetsSubDirectory = - process.env.NODE_ENV === "production" ? config.build.assetsSubDirectory : config.dev.assetsSubDirectory + process.env.NODE_ENV === "production" + ? config.build.assetsSubDirectory + : config.dev.assetsSubDirectory return path.posix.join(assetsSubDirectory, _path) } @@ -80,7 +82,9 @@ exports.cssLoaders = function(options) { return { css: generateLoaders(), postcss: generateLoaders(), - sass: generateLoaders("sass", Object.assign({ indentedSyntax: true }, sassOptions)).concat(sassResourcesConfig), + sass: generateLoaders("sass", Object.assign({ indentedSyntax: true }, sassOptions)).concat( + sassResourcesConfig + ), scss: generateLoaders("sass", sassOptions).concat(sassResourcesConfig), } } diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 2fb42c28..90642541 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -18,7 +18,10 @@ module.exports = { output: { path: config.build.assetsRoot, filename: "[name].js", - publicPath: process.env.NODE_ENV === "production" ? config.build.assetsPublicPath : config.dev.assetsPublicPath, + publicPath: + process.env.NODE_ENV === "production" + ? config.build.assetsPublicPath + : config.dev.assetsPublicPath, }, resolve: { extensions: [".js", ".vue", ".json"], @@ -45,7 +48,12 @@ module.exports = { { test: /\.js$/, loader: "babel-loader", - include: [resolve("docs"), resolve("src"), resolve("test"), resolve("node_modules/webpack-dev-server/client")], + include: [ + resolve("docs"), + resolve("src"), + resolve("test"), + resolve("node_modules/webpack-dev-server/client"), + ], }, { test: /\.(png|jpe?g|gif)(\?.*)?$/, diff --git a/config/docs.config.js b/config/docs.config.js index dabec36e..404c95d4 100644 --- a/config/docs.config.js +++ b/config/docs.config.js @@ -39,7 +39,10 @@ module.exports = { /** * We’re defining below JS and SCSS requires for the documentation. */ - require: [path.join(__dirname, "../docs/docs.helper.js"), path.join(__dirname, "../docs/docs.styles.scss")], + require: [ + path.join(__dirname, "../docs/docs.helper.js"), + path.join(__dirname, "../docs/docs.styles.scss"), + ], /** * Enabling the following option splits sections into separate views. */ diff --git a/docs/components/status/Components.vue b/docs/components/status/Components.vue index 14d5c238..bcfa5ab0 100644 --- a/docs/components/status/Components.vue +++ b/docs/components/status/Components.vue @@ -2,19 +2,19 @@