Skip to content

Commit

Permalink
feat: remove lock file & update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrywu001 committed Aug 4, 2022
1 parent 3c738f7 commit 5b4f262
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 64,873 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
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,6 @@

replace ```my-custom-vue3-package``` with your package name

**TIPS**:
*after npm install, run command*

> storybook install react types, but we do not need it
```bash
rm -rf node_modules/@types/react
```


## Directory structure

```js
Expand Down
Loading

0 comments on commit 5b4f262

Please sign in to comment.