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

Commit

Permalink
Merge pull request #9 from CodeDead/feature/minify
Browse files Browse the repository at this point in the history
feature/minify
  • Loading branch information
CodeDead committed Aug 16, 2020
2 parents 878b2f4 + 9baf321 commit b673100
Show file tree
Hide file tree
Showing 4 changed files with 648 additions and 57 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.yarn
.yarnrc.yml
build
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,21 @@

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

### Installation
## Scripts

### `yarn build`

Creates a minified version of the `yarn-up-all` plugin and places it in the `./build` folder.

## Installation

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

```Bash
yarn set version berry
```

In order to install the plugin, you can run the following command in your terminal:

```Bash
yarn plugin import https://github.com/e5mode/yarn-up-all/releases/download/1.0.1/index.js
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
"author": "CodeDead",
"license": "MIT",
"private": true,
"scripts": {
"build": "minify src -d build"
},
"dependencies": {
"@yarnpkg/cli": "^2.1.1",
"@yarnpkg/core": "^2.1.1",
"@yarnpkg/plugin-essentials": "^2.1.0"
},
"devDependencies": {
"babel-minify": "^0.5.1",
"clipanion": "^2.4.4",
"eslint": "^7.7.0",
"eslint-config-airbnb-base": "^14.2.0",
Expand Down
Loading

0 comments on commit b673100

Please sign in to comment.