-
-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add typescript add typescript and change project configs BREAKING CHANGE: add typescript * refactor: rewrite code to typescript * fix: change interface name * feat: remove unused global var * feat: remove old types folder * feat: add eslintignore * feat: add typescript to sandboxes * feat: rewrite stories to typescript * feat: rewrite tests to typescript * feat: fix app exports and props types * feat: add tests for type definitions * fix: fix clean-publish config * fix: fix clean-publish config again * feat: add storybook build check
- Loading branch information
1 parent
34ce7f9
commit 67e73a0
Showing
86 changed files
with
1,100 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{ | ||
"withoutPublish": true, | ||
"tempDir": "package" | ||
"tempDir": "package", | ||
"fields": ["tsd"], | ||
"files": ["docs"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist/* | ||
node_modules/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,44 @@ jobs: | |
uses: andresz1/size-limit-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
typings: | ||
runs-on: ubuntu-latest | ||
name: typings | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 6 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Prebuild | ||
run: pnpm build | ||
- name: Check typings | ||
if: success() | ||
run: pnpm test:typings | ||
storybook: | ||
runs-on: ubuntu-latest | ||
name: storybook | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 6 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Check storybook | ||
run: pnpm build:storybook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.