Skip to content

Commit 05612be

Browse files
committed
Run format
1 parent 54e3d89 commit 05612be

File tree

13 files changed

+32
-32
lines changed

13 files changed

+32
-32
lines changed

.storybook/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ const config: StorybookConfig = {
1111
addons: [
1212
'@storybook/addon-links',
1313
'@storybook/addon-essentials',
14-
'@storybook/addon-interactions'
14+
'@storybook/addon-interactions',
1515
],
1616
framework: {
1717
name: '@storybook/react-webpack5',
18-
options: {}
18+
options: {},
1919
},
2020
docs: {
21-
autodocs: 'tag'
21+
autodocs: 'tag',
2222
},
2323
// UPSTREAM: https://github.com/storybookjs/storybook/issues/14274
2424
// Workaround from https://github.com/vercel/next.js/issues/41961#issuecomment-1311091390
@@ -66,7 +66,7 @@ const config: StorybookConfig = {
6666
config.resolve.plugins.push(new TsconfigPathsPlugin({ baseUrl: '.' }))
6767

6868
return config
69-
}
69+
},
7070
}
7171

7272
export default config

.storybook/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { addons } from '@storybook/manager-api'
22
import theme from './theme.js'
33

44
addons.setConfig({
5-
theme
5+
theme,
66
})

.storybook/middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default (app) => {
99
createProxyMiddleware({
1010
target: 'https://connect.getseam.com',
1111
pathRewrite: { '^/api': '' },
12-
changeOrigin: true
12+
changeOrigin: true,
1313
})
1414
)
1515
}

.storybook/preview.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const preview: Preview = {
1212
controls: {
1313
matchers: {
1414
color: /(background|color)$/i,
15-
date: /Date$/
16-
}
17-
}
15+
date: /Date$/,
16+
},
17+
},
1818
},
1919
decorators: [
2020
(Story) => {
@@ -23,8 +23,8 @@ const preview: Preview = {
2323
<Story />
2424
</SeamProvider>
2525
)
26-
}
27-
]
26+
},
27+
],
2828
}
2929

3030
export default preview

.storybook/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export default create({
55
brandTitle: 'Seam',
66
brandUrl: 'https://github.com/seamapi/react',
77
brandImage: '/seam-wordmark-s.webp',
8-
brandTarget: '_self'
8+
brandTarget: '_self',
99
})

examples/basic/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<script>
1111
globalThis.seam = {
1212
endpoint: '/api',
13-
publishableKey: '%SEAM_PUBLISHABLE_KEY%'
13+
publishableKey: '%SEAM_PUBLISHABLE_KEY%',
1414
}
1515
</script>
1616
<script type="module" src="/src/main.tsx"></script>

examples/create-vite-config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default async (url) =>
1717
'/api': {
1818
target: 'https://connect.getseam.com',
1919
rewrite: (path) => path.replace(/^\/api/, ''),
20-
changeOrigin: true
21-
}
22-
}
23-
}
20+
changeOrigin: true,
21+
},
22+
},
23+
},
2424
})

jest.config.cjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ module.exports = {
1010
'^(\\.{1,2}/.*)\\.js$': '$1',
1111
'^fixtures/(.*).js$': '<rootDir>/test/fixtures/$1',
1212
'^lib/(.*).js$': '<rootDir>/src/lib/$1',
13-
'^index.js$': '<rootDir>/src/lib'
13+
'^index.js$': '<rootDir>/src/lib',
1414
},
1515
transform: {
1616
'^.+\\.tsx?$': [
1717
'ts-jest',
1818
{
1919
useESM: true,
20-
tsconfig: 'tsconfig.test.json'
21-
}
22-
]
23-
}
20+
tsconfig: 'tsconfig.test.json',
21+
},
22+
],
23+
},
2424
}

src/lib/components/DeviceManager/DeviceManager.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { DeviceManager } from './DeviceManager.js'
99
const meta: Meta<typeof DeviceManager> = {
1010
title: 'Example/DeviceManager',
1111
component: DeviceManager,
12-
tags: ['autodocs']
12+
tags: ['autodocs'],
1313
}
1414

1515
export default meta

src/lib/components/DeviceManager/DeviceManager.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ const DeviceManagerItem = (
4141
const t = {
4242
loading: 'Loading devices',
4343
device_id: 'Device ID',
44-
name: 'Device name'
44+
name: 'Device name',
4545
}

0 commit comments

Comments
 (0)