Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
* Updated eslint rules
Browse files Browse the repository at this point in the history
* Updated descriptions
  • Loading branch information
CodeDead committed Mar 1, 2021
1 parent 9864143 commit 42ecc0b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
.yarn
.yarnrc.yml
build
.eslintcache
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"env": {
"commonjs": true,
"es2020": true,
"es2021": true,
"node": true
},
"extends": [
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": 11
"ecmaVersion": 12
},
"rules": {
}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ yarn-error.log*
!.yarn/sdks
!.yarn/versions
.pnp.*

.eslintcache
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Description

This is a Yarn2 (Berry) plugin that will update all dependencies of a project with one simple command.
This is a Yarn 2 (berry) plugin that will update all dependencies of a project with one simple command.

## Scripts

Expand All @@ -16,7 +16,7 @@ Creates a minified version of the `yarn-up-all` plugin and places it in the `./b

## Installation

Make sure that you have Yarn2 installed before using this plugin. You can install Yarn2 by running the following command in your terminal:
Make sure that you have Yarn 2 installed before using this plugin. You can install Yarn 2 by running the following command in your terminal:

```Bash
yarn set version berry
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yarn-up-all",
"version": "1.0.3",
"description": "Yarn2 plugin that will upgrade all dependencies to their latest version with one simple command",
"description": "Yarn 2 plugin that will upgrade all dependencies to their latest version with one simple command",
"main": "src/index.js",
"repository": "https://github.com/e5mode/yarn-up-all.git",
"author": "CodeDead",
Expand Down
7 changes: 3 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ module.exports = {
};

class UpAllCommand extends Command {

/**
* Execute the command
* @returns {Promise<void>}
Expand Down Expand Up @@ -70,7 +69,7 @@ module.exports = {
});

UpAllCommand.usage = Command.Usage({
description: 'Yarn2 plugin that will upgrade all dependencies to their latest version with one simple command',
description: 'Yarn 2 plugin that will upgrade all dependencies to their latest version with one simple command',
details: 'This command will upgrade all dependencies to their latest version',
examples: [
[
Expand All @@ -79,11 +78,11 @@ module.exports = {
],
[
'Upgrade all dependencies but exclude a single dependency',
'yarn up-all --exclude react-dom',
'yarn up-all --exclude package',
],
[
'Upgrade all dependencies but exclude multiple dependencies',
'yarn up-all --exclude "react-dom react-router"',
'yarn up-all --exclude "package1 package2"',
]],
});

Expand Down

0 comments on commit 42ecc0b

Please sign in to comment.