Skip to content

Commit

Permalink
fix: tsconfig should extend base
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Feb 24, 2023
1 parent 30cccbb commit 383e8e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build/
local/
dist/
dist-ssr/
storybook-static/

# next-sitemap
public/robots.txt
Expand Down
4 changes: 2 additions & 2 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "storybook",
"name": "@wayofdev/storybook",
"version": "1.1.0",
"private": true,
"type": "module",
Expand Down Expand Up @@ -27,7 +27,7 @@
"@wayofdev/eslint-config-bases": "^2.0.4",
"eslint": "^8.34.0",
"prop-types": "^15.8.1",
"storybook": "^1.1.0",
"storybook": "^7.0.0-beta.53",
"typescript": "^4.9.5",
"vite": "^4.1.4"
}
Expand Down
17 changes: 6 additions & 11 deletions apps/storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ESNext",
"target": "esnext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"module": "esnext",
"jsx": "react-jsx"
},
"include": ["src"],
"exclude": ["node_modules", "dist", "coverage", "storybook-static"],
"references": [
{
"path": "./tsconfig.node.json"
Expand Down

3 comments on commit 383e8e2

@vercel
Copy link

@vercel vercel bot commented on 383e8e2 Feb 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 383e8e2 Feb 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 383e8e2 Feb 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-starter-tpl-storybook – ./apps/storybook

next-starter-tpl-storybook-git-master-wayofdev.vercel.app
next-starter-tpl-storybook-wayofdev.vercel.app
next-starter-tpl-storybook.vercel.app

Please sign in to comment.