Skip to content

Commit

Permalink
Merge pull request #556 from aws-amplify/dkkiuna/dependency-fix
Browse files Browse the repository at this point in the history
fix: remove faker js from devDep
  • Loading branch information
AnilMaktala authored Feb 22, 2024
2 parents 7e583ef + e5609fd commit 31a0f6b
Show file tree
Hide file tree
Showing 7 changed files with 605 additions and 999 deletions.
1 change: 0 additions & 1 deletion apps/discord-bot-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@aws-amplify/discord-bot-tsconfig": "workspace:*",
"@carbon/charts": "^1.5.2",
"@carbon/charts-svelte": "^1.13.25",
"@faker-js/faker": "^7.3.0",
"@playwright/test": "^1.37.1",
"@sveltejs/adapter-node": "^4.0.1",
"@sveltejs/kit": "^2.5.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/discord-bot-frontend/src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type LayoutServerLoad } from './$types'
import type { LayoutServerLoad } from './$types'

export const load: LayoutServerLoad = async ({ locals }) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion apps/discord-bot-frontend/src/routes/admin/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
} from '$lib/discord/commands'
import { prisma } from '$lib/db'
import { FEATURE_TYPES } from '$lib/constants'
import { type PageServerLoad } from './$types'
import type { PageServerLoad } from './$types'
import { api } from '../api/_discord'
import { tabs } from './tabs'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { prisma } from '$lib/db'
import { FEATURE_TYPES } from '$lib/constants'
import { type PageServerLoad } from './$types'
import type { PageServerLoad } from './$types'
import { createIntegrationHrefFromCode } from '../breadcrumbs'

export const load: PageServerLoad = async ({ locals }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { prisma } from '$lib/db'
import { type PageServerLoad } from './$types'
import type { PageServerLoad } from './$types'

export const load: PageServerLoad = async ({ locals, params }) => {
const { code } = params
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type LayoutServerLoad } from './$types'
import type { LayoutServerLoad } from './$types'

export const load: LayoutServerLoad = async () => {
/**
* @TODO can we use this file to set "middleware" for the endpoints?
*/
return {}
}
}
Loading

0 comments on commit 31a0f6b

Please sign in to comment.