Skip to content

Commit

Permalink
build: replace yarn by npm
Browse files Browse the repository at this point in the history
  • Loading branch information
helderberto committed Jan 13, 2024
1 parent 4b5d7aa commit 0948893
Show file tree
Hide file tree
Showing 9 changed files with 26,502 additions and 7,818 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
node-version: 14.x

- name: Install dependencies
run: yarn install
run: npm ci

- name: Validate
run: yarn validate
run: npm run validate

- name: Build
run: yarn build
run: npm run build
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
npx commitlint --edit $1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
npm run lint-staged
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn validate
npm run validate
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ Based on this, we aim to focus on small utilities to facilitate the use of funct

## Install

Using NPM or Yarn:
Using NPM:

```sh
$ npm i --save mxs OR yarn add mxs
$ npm i --save mxs
```

In Node.js:

```javascript
const MXS = require('mxs)
const MXS = require('mxs');
```

Directly in the browser:
Expand Down
Loading

0 comments on commit 0948893

Please sign in to comment.