Skip to content

Commit 5febcdb

Browse files
committed
fix: fix build and update docs
1 parent ffcc193 commit 5febcdb

6 files changed

Lines changed: 430 additions & 850 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
- uses: actions/setup-node@v2
1717
with:
1818
node-version: ${{ matrix.node-version }}
19-
- run: yarn
20-
- run: yarn test
19+
- run: pnpm i
20+
- run: pnpm run test

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ A comprehensive and reliable figma utilities library
1919

2020
## 📚 Documentation
2121

22-
- [Home](https://figx.vercel.app)
23-
- [Guide](https://figx.vercel.app/guide)
24-
- [Utilities](https://figx.vercel.app/utilities)
22+
- [Home](https://figx.headwindz.me)
23+
- [Guide](https://figx.headwindz.me/guide)
24+
- [Utilities](https://figx.headwindz.me/utilities)
2525

2626
## ✨ Features
2727

@@ -32,7 +32,7 @@ A comprehensive and reliable figma utilities library
3232
## 📦 Install
3333

3434
```bash
35-
$ npm install figx --save
35+
$ npm install figx
3636
# or
3737
$ yarn add figx
3838
# or
@@ -52,8 +52,8 @@ toRgb('hsl(0, 100%, 50%)', ColorFormat.OBJECT); // => { r: 255, g: 0, b: 0 }
5252

5353
```bash
5454
$ git clone git@github.com:headwindz/figx.git
55-
$ yarn
56-
$ yarn start
55+
$ pnpm i
56+
$ pnpm run start
5757
```
5858

5959
Open your browser and visit http://127.0.0.1:8000

docs/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
## 📦 Install
1212

1313
```bash
14-
$ npm install figx --save
14+
$ npm install figx
1515
# or
1616
$ yarn add figx
1717
# or

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ footer: Open-source MIT Licensed | Copyright © 2020-present headwindz <br />
2929
## 📦 Install
3030

3131
```bash
32-
$ npm install figx --save
32+
$ npm install figx
3333
# or
3434
$ yarn add figx
3535
# or

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"color": "3.2.1"
5050
},
5151
"devDependencies": {
52+
"@babel/core": "^7.22.20",
5253
"@arco-design/web-react": "^2.28.0",
5354
"@figma/plugin-typings": "^1.40.0",
5455
"@testing-library/jest-dom": "^5.15.1",
@@ -67,5 +68,10 @@
6768
"react": "^17.0.2",
6869
"react-dom": "^17.0.2",
6970
"yorkie": "^2.0.0"
71+
},
72+
"pnpm": {
73+
"overrides": {
74+
"@babel/core": "^7.22.20"
75+
}
7076
}
7177
}

0 commit comments

Comments
 (0)