Skip to content

Commit

Permalink
Remove test dependencies from tsconfig reference
Browse files Browse the repository at this point in the history
  • Loading branch information
augustobmoura committed Jan 16, 2024
1 parent 61aa377 commit 8d91d6d
Show file tree
Hide file tree
Showing 59 changed files with 13 additions and 97 deletions.
1 change: 0 additions & 1 deletion bin/refresh-tsconfig-references.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const buildWorkspace = async rootPath => {
const referencesFor = ({ dir, pkg }, workspace) => {
const dependencies = new Set([
...Object.keys(pkg.dependencies || {}),
...Object.keys(pkg.devDependencies || {}),
...Object.keys(pkg.peerDependencies || {}),
])

Expand Down
1 change: 0 additions & 1 deletion packages/base/Accordion/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../../picasso-provider" },
{ "path": "../Button" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/AccountSelect/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../Icons" },
{ "path": "../Link" },
{ "path": "../Menu" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../UserBadge" },
{ "path": "../Utils" }
Expand Down
1 change: 0 additions & 1 deletion packages/base/Alert/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
6 changes: 1 addition & 5 deletions packages/base/Amount/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
"references": [{ "path": "../Typography" }, { "path": "../Utils" }]
}
1 change: 0 additions & 1 deletion packages/base/ApplicationUpdateNotification/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Autocomplete/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
{ "path": "../OutlinedInput" },
{ "path": "../Popper" },
{ "path": "../Select" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Avatar/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Logo" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/AvatarUpload/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
{ "path": "../Icons" },
{ "path": "../Loader" },
{ "path": "../OutlinedInput" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
6 changes: 1 addition & 5 deletions packages/base/Badge/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../../shared" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
"references": [{ "path": "../../shared" }, { "path": "../Utils" }]
}
1 change: 0 additions & 1 deletion packages/base/Breadcrumbs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../../picasso-provider" },
{ "path": "../../shared" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Button/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
{ "path": "../Icons" },
{ "path": "../Loader" },
{ "path": "../Radio" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/Calendar/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Checkbox/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
{ "path": "../Container" },
{ "path": "../Form" },
{ "path": "../Grid" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
6 changes: 1 addition & 5 deletions packages/base/Container/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../../picasso-provider" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
"references": [{ "path": "../../picasso-provider" }, { "path": "../Utils" }]
}
6 changes: 1 addition & 5 deletions packages/base/DateSelect/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../Select" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
"references": [{ "path": "../Select" }, { "path": "../Utils" }]
}
1 change: 0 additions & 1 deletion packages/base/Dropdown/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../../picasso-provider" },
{ "path": "../Paper" },
{ "path": "../Popper" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/Dropzone/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../FileInput" },
{ "path": "../Form" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/FileInput/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
{ "path": "../Form" },
{ "path": "../Icons" },
{ "path": "../Loader" },
{ "path": "../Test-Utils" },
{ "path": "../Tooltip" },
{ "path": "../Typography" },
{ "path": "../TypographyOverflow" },
Expand Down
1 change: 0 additions & 1 deletion packages/base/Form/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
{ "path": "../Container" },
{ "path": "../Grid" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Grid/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"references": [
{ "path": "../../picasso-provider" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Helpbox/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Input/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
{ "path": "../Icons" },
{ "path": "../InputAdornment" },
{ "path": "../OutlinedInput" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/InputAdornment/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../../shared" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
6 changes: 1 addition & 5 deletions packages/base/Link/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../../picasso-provider" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
"references": [{ "path": "../../picasso-provider" }, { "path": "../Utils" }]
}
1 change: 0 additions & 1 deletion packages/base/List/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../../shared" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Menu/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
{ "path": "../Link" },
{ "path": "../Paper" },
{ "path": "../Popper" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Modal/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../Button" },
{ "path": "../Icons" },
{ "path": "../ModalContext" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
2 changes: 1 addition & 1 deletion packages/base/ModalContext/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [{ "path": "../Test-Utils" }]
"references": []
}
6 changes: 1 addition & 5 deletions packages/base/Note/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../Container" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" }
]
"references": [{ "path": "../Container" }, { "path": "../Typography" }]
}
1 change: 0 additions & 1 deletion packages/base/Notification/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/NumberInput/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
{ "path": "../Input" },
{ "path": "../InputAdornment" },
{ "path": "../OutlinedInput" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/OverviewBlock/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"references": [
{ "path": "../../shared" },
{ "path": "../Container" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Page/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
{ "path": "../Menu" },
{ "path": "../Notification" },
{ "path": "../Tag" },
{ "path": "../Test-Utils" },
{ "path": "../Tooltip" },
{ "path": "../Typography" },
{ "path": "../UserBadge" },
Expand Down
1 change: 0 additions & 1 deletion packages/base/Pagination/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"references": [
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
6 changes: 1 addition & 5 deletions packages/base/Paper/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../../picasso-provider" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
"references": [{ "path": "../../picasso-provider" }, { "path": "../Utils" }]
}
1 change: 0 additions & 1 deletion packages/base/PasswordInput/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
{ "path": "../Input" },
{ "path": "../InputAdornment" },
{ "path": "../OutlinedInput" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/PromptModal/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Modal" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
6 changes: 1 addition & 5 deletions packages/base/Quote/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist" },
"include": ["src"],
"references": [
{ "path": "../Container" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" }
]
"references": [{ "path": "../Container" }, { "path": "../Typography" }]
}
1 change: 0 additions & 1 deletion packages/base/Radio/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{ "path": "../../shared" },
{ "path": "../Form" },
{ "path": "../Grid" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/Rating/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"references": [
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/Section/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../Button" },
{ "path": "../Container" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/Select/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
{ "path": "../Menu" },
{ "path": "../OutlinedInput" },
{ "path": "../Popper" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" },
{ "path": "../Utils" }
]
Expand Down
1 change: 0 additions & 1 deletion packages/base/ShowMore/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"references": [
{ "path": "../Button" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../Typography" }
]
}
1 change: 0 additions & 1 deletion packages/base/SkeletonLoader/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"references": [
{ "path": "../../shared" },
{ "path": "../Button" },
{ "path": "../Test-Utils" },
{ "path": "../Utils" }
]
}
1 change: 0 additions & 1 deletion packages/base/Step/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{ "path": "../../picasso-provider" },
{ "path": "../../shared" },
{ "path": "../Icons" },
{ "path": "../Test-Utils" },
{ "path": "../TypographyOverflow" },
{ "path": "../Utils" }
]
Expand Down
3 changes: 1 addition & 2 deletions packages/base/Switch/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"references": [
{ "path": "../../picasso-provider" },
{ "path": "../../shared" },
{ "path": "../Form" },
{ "path": "../Test-Utils" }
{ "path": "../Form" }
]
}
Loading

0 comments on commit 8d91d6d

Please sign in to comment.