-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: replace tsdx with tsup and move storybook to its own workspace, …
…closes #73
- Loading branch information
Showing
28 changed files
with
1,316 additions
and
4,827 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 |
---|---|---|
|
@@ -9,3 +9,4 @@ dist | |
coverage | ||
*.ignore | ||
storybook-static | ||
docs/src |
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,6 +1,7 @@ | ||
{ | ||
"extends": "../.eslintrc", | ||
"rules": { | ||
"no-console": 0 | ||
"no-console": 0, | ||
"@typescript-eslint/explicit-function-return-type": 0 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
docs/stories/00-props.stories.tsx → docs/content/stories/00-props.stories.tsx
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
1 change: 0 additions & 1 deletion
1
docs/stories/02-handles.stories.tsx → docs/content/stories/02-handles.stories.tsx
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,3 @@ | ||
/* eslint no-console: 0 */ | ||
import React from 'react'; | ||
import { | ||
ReactCompareSlider, | ||
|
1 change: 0 additions & 1 deletion
1
.../stories/03-custom-components.stories.tsx → .../stories/03-custom-components.stories.tsx
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
7 changes: 3 additions & 4 deletions
7
docs/stories/99-e2e-tests.stories.tsx → .../content/stories/99-e2e-tests.stories.tsx
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
File renamed without changes.
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,30 @@ | ||
{ | ||
"name": "docs", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "React Compare Slider Documentation", | ||
"keywords": [], | ||
"license": "MIT", | ||
"scripts": { | ||
"storybook": "rm -rf ./node_modules/.cache && storybook dev -p 6006 --ci", | ||
"storybook:build": "storybook build" | ||
}, | ||
"dependencies": { | ||
"@storybook/addon-console": "^1.2.3", | ||
"@storybook/addon-coverage": "^0.0.5", | ||
"@storybook/addon-essentials": "7.0.0-alpha.48", | ||
"@storybook/addon-interactions": "7.0.0-alpha.48", | ||
"@storybook/addon-links": "7.0.0-alpha.48", | ||
"@storybook/addon-storysource": "7.0.0-alpha.48", | ||
"@storybook/builder-vite": "7.0.0-alpha.48", | ||
"@storybook/jest": "^0.0.10", | ||
"@storybook/preset-typescript": "3.0.0-alpha.1", | ||
"@storybook/react": "7.0.0-alpha.48", | ||
"@storybook/react-vite": "7.0.0-alpha.48", | ||
"@storybook/test-runner": "0.10.0-next.1", | ||
"@storybook/testing-library": "0.0.14-next.0", | ||
"@storybook/theming": "7.0.0-alpha.48", | ||
"react-compare-slider": "workspace:*", | ||
"storybook": "7.0.0-alpha.48" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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.