This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from storybookjs/future
Patch changes from `future` to `next`
- Loading branch information
Showing
10 changed files
with
80 additions
and
71 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: "Bug report \U0001F41E" | ||
about: Something is broken and you have a reliable reproduction? Let us know here. | ||
title: "[Bug]: " | ||
labels: bug, needs triage | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**System** | ||
Please paste the results of `npx storybook@latest info` here. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
"target": "es2020", | ||
"moduleResolution": "nodenext", | ||
"allowSyntheticDefaultImports": true | ||
}, | ||
"include": ["src/*.ts"] | ||
} |
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,24 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
export default defineConfig( | ||
{ | ||
clean: true, | ||
entry: ['./src/index.ts'], | ||
format: ['cjs', 'esm'], | ||
esbuildOptions(options, context) { | ||
Object.assign(options, { | ||
platform: 'browser', | ||
logLevel: 'error', | ||
legalComments: 'none', | ||
minifyWhitespace: false, | ||
minifyIdentifiers: false, | ||
minifySyntax: true, | ||
}) | ||
}, | ||
shims: false, | ||
dts: { | ||
entry: ['./src/index.ts'], | ||
resolve: true, | ||
}, | ||
} | ||
); |