mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
wip
This commit is contained in:
parent
92d3443d58
commit
3ba9745476
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,11 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"strict": false,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
"strict": false
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,11 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"],
|
||||
"react": ["../../node_modules/react"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
}
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
}
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
}
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
}
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -5,8 +5,7 @@
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "Bundler",
|
||||
"paths": {
|
||||
"@storybook/core/*": ["./src/*"],
|
||||
"@storybook/react": ["../renderers/react"]
|
||||
"@storybook/core/*": ["./src/*"]
|
||||
},
|
||||
"skipDefaultLibCheck": true,
|
||||
"target": "ES2022"
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*", "template/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -2,11 +2,7 @@
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"strict": false,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
"strict": false
|
||||
},
|
||||
"exclude": ["node_modules", "__testfixtures__", "__tests__"],
|
||||
"include": ["src/**/*"]
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
}
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
}
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src/**/*"],
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
}
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*", "template/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*", "template/**/*"]
|
||||
}
|
||||
|
@ -1,10 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
// "allowJs": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"],
|
||||
"@storybook/react": ["./"],
|
||||
"@storybook/blocks": ["../../lib/blocks"]
|
||||
}
|
||||
|
@ -1,10 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
},
|
||||
"compilerOptions": {},
|
||||
"include": ["src/**/*", "template/**/*"]
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
// this file tests Typescript types that's why there are no assertions
|
||||
import { describe, it } from 'vitest';
|
||||
import { satisfies } from 'storybook/internal/common';
|
||||
import type { ComponentAnnotations, StoryAnnotations } from 'storybook/internal/types';
|
||||
import type { Canvas, ComponentAnnotations, StoryAnnotations } from 'storybook/internal/types';
|
||||
import { expectTypeOf } from 'expect-type';
|
||||
import type { ComponentProps, SvelteComponent } from 'svelte';
|
||||
import Button from './__test__/Button.svelte';
|
||||
|
@ -1,12 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "ESNext",
|
||||
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
"module": "ESNext"
|
||||
},
|
||||
"include": ["src/**/*", "src/**/*.svelte", "template/**/*", "template/**/*.svelte"]
|
||||
}
|
||||
|
@ -1,11 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"storybook/internal/*": ["../../lib/cli/core/*"]
|
||||
}
|
||||
"allowJs": true
|
||||
},
|
||||
"include": ["src/**/*", "src/**/*.vue", "template/**/*", "template/**/*.vue"],
|
||||
"vueCompilerOptions": {
|
||||
|
@ -14,6 +14,9 @@
|
||||
"moduleResolution": "Node",
|
||||
"noImplicitAny": true,
|
||||
"noUnusedLocals": true,
|
||||
"paths": {
|
||||
"storybook/internal/*": ["./lib/cli/core/*"]
|
||||
},
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"strictBindCallApply": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user