Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrywu001 committed Aug 4, 2022
1 parent a8652cc commit 55ac7c7
Show file tree
Hide file tree
Showing 8 changed files with 1,586 additions and 1,232 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Install
run: npm ci

- name: Remove react types
run: rm -rf node_modules/@types/react
run: npm i

- name: Lint
run: npm run lint
Expand All @@ -42,7 +39,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Install
run: npm ci
run: npm i

- name: Stylelint
run: npm run stylelint
Expand All @@ -58,10 +55,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Install
run: npm ci

- name: Remove react types
run: rm -rf node_modules/@types/react
run: npm i

- name: Typecheck
run: npm run typecheck
Expand All @@ -77,10 +71,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Install
run: npm ci

- name: Remove react types
run: rm -rf node_modules/@types/react
run: npm i

- name: Unit Test
run: npm run test
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ jobs:
with:
node-version: 16

- run: npm ci

- name: Remove react types
run: rm -rf node_modules/@types/react
- run: npm i

- run: npm test
- run: npm run lint
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ jobs:
with:
node-version: 16

- run: npm ci

- name: Remove react types
run: rm -rf node_modules/@types/react
- run: npm i

- run: npm test
- run: npm run lint
Expand All @@ -35,10 +32,7 @@ jobs:
node-version: 16

- name: Install
run: npm ci

- name: Remove react types
run: rm -rf node_modules/@types/react
run: npm i

- name: Set registry
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ node_modules
.idea/
*.log
/coverage
# package-lock.json
package-lock.json
pnpm-lock.yaml
yarn.lock

Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ app.use(SanpackPlugin());
npm i

npm run storybook

# If .tsx file has a type error about JSX (The storybook relies on @types/react), Please delete the @types/react.

# rm -rf node_modules/@types/react
```

## for nuxt3
Expand Down
Loading

0 comments on commit 55ac7c7

Please sign in to comment.