Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": [
[
"babel-plugin-styled-components",
Expand Down
20 changes: 20 additions & 0 deletions babel.config.testing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": [
[
"babel-plugin-styled-components",
{
"displayName": true
}
]
]
}
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const config = {
"\\.jsx?$": [
"babel-jest",
{
configFile: "./babel.config.json",
configFile: "./babel.config.testing.json",
},
],
},
Expand Down
10 changes: 5 additions & 5 deletions ui/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AlertListErrors } from "./components/AlertListErrors";
import { ReconciledObjectsAutomation } from "./components/AutomationDetail";
import type { ReconciledObjectsAutomation } from "./components/AutomationDetail";
import AutomationsTable from "./components/AutomationsTable";
import BucketDetail from "./components/BucketDetail";
import Button from "./components/Button";
Expand Down Expand Up @@ -33,8 +33,8 @@ import ImageAutomationRepoDetails from "./components/ImageAutomation/repositorie
import ImageRepositoriesTable from "./components/ImageAutomation/repositories/ImageRepositoriesTable";
import ImageAutomationUpdatesDetails from "./components/ImageAutomation/updates/ImageAutomationUpdatesDetails";
import ImageAutomationUpdatesTable from "./components/ImageAutomation/updates/ImageAutomationUpdatesTable";
import InfoList, { InfoField } from "./components/InfoList";
import Input, { InputProps } from "./components/Input";
import InfoList, { type InfoField } from "./components/InfoList";
import Input, { type InputProps } from "./components/Input";
import Interval from "./components/Interval";
import KubeStatusIndicator, {
computeReady,
Expand All @@ -48,7 +48,7 @@ import Logo from "./components/Logo";
import MessageBox from "./components/MessageBox";
import Metadata from "./components/Metadata";
import Modal from "./components/Modal";
import Nav, { NavItem } from "./components/Nav";
import Nav, { type NavItem } from "./components/Nav";
import ImageAutomationIcon from "./components/NavIcons/ImageAutomationIcon";
import SourcesIcon from "./components/NavIcons/SourcesIcon";
import NotificationsTable from "./components/NotificationsTable";
Expand Down Expand Up @@ -112,7 +112,7 @@ import { PARENT_CHILD_LOOKUP } from "./lib/graph";
import { formatURL, getParentNavRouteValue } from "./lib/nav";
import {
Alert,
Automation,
type Automation,
Bucket,
FluxObject,
GitRepository,
Expand Down