-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start playing with nuxt-bridge * Follow migration docs * Replace nuxt composition api by @vue/composition-api * Temporarily disable lint * Regenerate lock file * Remove usage of nuxt/composition-api * Use latest nuxt + nuxt-bridge * Add output to gitignore * Fix apollo plugin * Add how to add vite support * Disable broken SSR for now * Disable tailwind config view for now * Remove nitro config again (not needed) * Fix types of `#app` import * Use nuxi everywhere * Fix esm problems for prisma * Update nuxt * Fix imports of commonjs style, and fix backend * Update deps * Fix tsyringe * Update deps * Fix prisma imports * Fix decorator error * Update deps * Update deps * Don't update all packaes, only nuxt * Fix pinia/nuxt * Upate nuxt bridge * Use new shiny config feature * Fix merge issue * Fix lint errors * Link issue for config improvements * Remove old workaround that is no longer necessary * Only import type to be on safe side * Improve apollo plugin * Update nuxt * Convert to es module * Fix user password * Disable missing middleware * Try to fix eslint * Increase memory for eslint * Fix directory imports * Rename tailwind to cjs * Update patches for new apollo version * Fix build error due to missing babel plugin * Fix import for config * Fix logo * Upgrade nuxt * Upgrade nuxt * Upgrade nuxt * Run prepare as postinstall * Fix eslint * Fix uuid esm error * Fix tests * Remove lint workaround on ci again * Update nuxt.config.ts * Upgrade graphql mock for esm compat * Better error message * Upgrade nuxt bridge * Fix storybook * Opt-in for node 17 compat * Try without reload in extend Routes * Fix storybook * Update pinia patch * Add patch for missing vueApp properties * Improve plugins * Fix plugins for storybook * Fix tailwindcss * Fix tailwind * Upgrade nuxt * Upgrade bridge * Update patches * Fix tyess for config * Use old-style way to register vue plugins * Remove noExternal for vue-demi * Switch to different rollup plugin to fix import errors * Upgrade bridge * Disable legacy composition API support * Upgrade bridge * Path vue-tailwind for esm compat * Don't use redis for sessions for now * Use workaround for top-level await * Another workaround for the dynamic vue import * Use nuxi preview * Deactivate login check for now * Exclude build files from search * Specify ts for scripts to fix storybook
- Loading branch information
1 parent
8b8d006
commit d00e1ab
Showing
57 changed files
with
4,058 additions
and
1,269 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ async function seedInternal(prisma: PrismaClientT): Promise<void> { | |
id: 'ckn4oul7100004cv7y3t94n8j', | ||
email: '[email protected]', | ||
password: | ||
'saltsaltsaltsaltsaltsaltsaltsalt63f7e072b6a9faf6e77616c098c4bb3ac69c58d249e620e1dd51257018ac7fcb40b576e9f69e9c556c70a980327dac12b1ee76a76f22b249d585fe2de10b365a', // EBNPXY35TYkYXHs | ||
'19184d8c1c1e9b483d8347f8da0d53ad92170233100d32c3a0d748725948c28d09a060d7f02962b7b93320c72a2cdd94f21b16b08bf8bd1cba0c5f77afeffddbb24df527c4f16f1fca6eb5480159b56df3d818b4b3c74ead04227a78b3d810b8', // EBNPXY35TYkYXHs | ||
name: 'Alice', | ||
}, | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import 'reflect-metadata' | ||
import { PrismaClient } from '@prisma/client' | ||
|
||
import prisma from '@prisma/client' | ||
import { container, instanceCachingFactory } from 'tsyringe' | ||
import { createRedisClient } from './utils/services.factory' | ||
|
||
container.register<PrismaClient>('PrismaClient', { | ||
useFactory: instanceCachingFactory<PrismaClient>(() => new PrismaClient()), | ||
}) | ||
const { PrismaClient } = prisma | ||
|
||
export async function configure(): Promise<void> { | ||
container.register('PrismaClient', { | ||
useFactory: instanceCachingFactory(() => new PrismaClient()), | ||
}) | ||
|
||
container.register('RedisClient', { | ||
useValue: await createRedisClient(), | ||
}) | ||
container.register('RedisClient', { | ||
useValue: await createRedisClient(), | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Environment } from './config' | ||
|
||
// Provide custom type information for config, overriding the default empty types. | ||
// TODO: Remove this as soon as https://github.com/nuxt/framework/issues/1785 is resolved. | ||
declare module '@nuxt/schema' { | ||
interface PrivateRuntimeConfig { | ||
environment: Environment | ||
redis: { | ||
port: number | ||
host: string | ||
password: string | ||
} | ||
session: { | ||
primarySecret: string | ||
secondarySecret: string | ||
} | ||
} | ||
} | ||
export {} |
Oops, something went wrong.