Skip to content

Commit

Permalink
chore: add import extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
minenwerfer committed Mar 1, 2024
1 parent 2392146 commit 87af051
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api/src/collections/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './pizza'
export * from './pizza/index.js'

export {
user,
Expand Down
4 changes: 2 additions & 2 deletions api/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { init, createRouter } from 'sonata-api'
import { pizzaRoutes } from './routes'
export * as collections from './collections'
import { pizzaRoutes } from './routes/index.js'
export * as collections from './collections/index.js'

export const router = createRouter()
router.group('/pizza', pizzaRoutes)
Expand Down
2 changes: 1 addition & 1 deletion api/src/routes/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './pizzaRoutes'
export * from './pizzaRoutes.js'
2 changes: 1 addition & 1 deletion web/src/i18n/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './pt_BR'
export * from './pt_BR.js'
4 changes: 2 additions & 2 deletions web/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useApp, defineOptions, AeriaMain } from 'waltz-ui'
import waltzPtbr from '@waltz-ui/i18n-ptbr'
import { ptbr } from './i18n'
import { routes } from './routes'
import { ptbr } from './i18n/index.js'
import { routes } from './routes.js'

import '@waltz-ui/ui/style.css'
import 'aeria-app-layout/style.css'
Expand Down

0 comments on commit 87af051

Please sign in to comment.