Skip to content

Commit

Permalink
[fix] some detail bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Apr 24, 2022
1 parent 7ae5cde commit bbfe3ee
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
force_orphan: true
- name: Deploy preview
uses: amondnet/vercel-action@v20
if: ${{ env.VERCEL_TOKEN && env.VERCEL_ORG_ID && env.VERCEL_PROJECT_ID }}
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: PR
on: [push]
on:
push:
branches-ignore:
- master
jobs:
Build-and-Deploy:
env:
Expand Down
30 changes: 16 additions & 14 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A **[React][1] advanced components library** based on [TypeScript][2] & [Bootstr
[![NPM](https://nodei.co/npm/idea-react.png?downloads=true&downloadRank=true&stars=true)][7]

- API document: https://ideapp.dev/Idea-React/
- Preview site: https://idea-react.vercel.app/
- Preview site: https://idea-react-stevending1st.vercel.app/

## CSS on CDN

Expand All @@ -27,7 +27,7 @@ A **[React][1] advanced components library** based on [TypeScript][2] & [Bootstr
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/prismjs@1.27.0/themes/prism.min.css"
href="https://cdn.jsdelivr.net/npm/prismjs@1.28.0/themes/prism.min.css"
/>
```

Expand Down Expand Up @@ -61,33 +61,35 @@ A **[React][1] advanced components library** based on [TypeScript][2] & [Bootstr
1. [`text2color`](source/color.ts)
2. [`animate()`](source/animate.ts)

## publish tag version code
## Scaffolds

1. MobX: [demo][8] & [usage][9]
2. Next.js: [demo][10] & [usage][11]

## Development

### Publish

1. update version in package.json file
1. update `version` in `package.json` file

2. add git tag
2. add Git tag

```shell
git tag vx.xx.x #0.22.4
git tag vx.xx.x # 0.22.4
```

3. view tag
3. review tag

```shell
git tag
```

4. publish tag version code
4. publish code with tag version

```shell
git push origin master --tags #push all branch and tags on master
git push origin master --tags # push all branches and tags on master
```

## Scaffolds

1. MobX: [demo][8] & [usage][9]
2. Next.js: [demo][10] & [usage][11]

[1]: https://reactjs.org/
[2]: https://www.typescriptlang.org/
[3]: https://getbootstrap.com/
Expand Down

0 comments on commit bbfe3ee

Please sign in to comment.