@@ -58,7 +58,8 @@ | |||||
"vitest": "^0.9.4" | "vitest": "^0.9.4" | ||||
}, | }, | ||||
"dependencies": { | "dependencies": { | ||||
"fastify": "^3.27.0" | |||||
"fastify": "^3.27.0", | |||||
"@modal-sh/oblique-strategies-core": "file:../core" | |||||
}, | }, | ||||
"scripts": { | "scripts": { | ||||
"prepublishOnly": "pridepack clean && pridepack build", | "prepublishOnly": "pridepack clean && pridepack build", | ||||
@@ -6,11 +6,11 @@ import { | |||||
vi, | vi, | ||||
} from 'vitest'; | } from 'vitest'; | ||||
import { FastifyInstance } from 'fastify'; | import { FastifyInstance } from 'fastify'; | ||||
import { generate } from '@theoryofnekomata/oblique-strategies-core'; | |||||
import { generate } from '@modal-sh/oblique-strategies-core'; | |||||
import { createServer } from '../server'; | import { createServer } from '../server'; | ||||
import { addRoutes } from '../routes'; | import { addRoutes } from '../routes'; | ||||
vi.mock('@theoryofnekomata/oblique-strategies-core'); | |||||
vi.mock('@modal-sh/oblique-strategies-core'); | |||||
describe('Example', () => { | describe('Example', () => { | ||||
let server: FastifyInstance; | let server: FastifyInstance; | ||||
@@ -8,7 +8,7 @@ import { | |||||
import { generate } from '@modal-sh/oblique-strategies-core'; | import { generate } from '@modal-sh/oblique-strategies-core'; | ||||
import { CardService, CardServiceImpl } from '../service'; | import { CardService, CardServiceImpl } from '../service'; | ||||
vi.mock('@theoryofnekomata/oblique-strategies-core'); | |||||
vi.mock('@modal-sh/oblique-strategies-core'); | |||||
describe('CardService', () => { | describe('CardService', () => { | ||||
let cardService: CardService; | let cardService: CardService; | ||||
@@ -1,4 +1,4 @@ | |||||
import { generate as coreGenerate } from '@theoryofnekomata/oblique-strategies-core'; | |||||
import { generate as coreGenerate } from '@modal-sh/oblique-strategies-core'; | |||||
export interface CardService { | export interface CardService { | ||||
generate(cards?: string[]): string | generate(cards?: string[]): string | ||||
@@ -327,6 +327,9 @@ | |||||
resolved "https://registry.yarnpkg.com/@mdn/browser-compat-data/-/browser-compat-data-4.1.18.tgz#eb960654aec3ebb6f39a9469845659a8c1d50b3a" | resolved "https://registry.yarnpkg.com/@mdn/browser-compat-data/-/browser-compat-data-4.1.18.tgz#eb960654aec3ebb6f39a9469845659a8c1d50b3a" | ||||
integrity sha512-Ap8MOYbyvEilK1+sNY6yh6LmsHSp7f5zzSGlY4AemhbTcoultcozEXPzx42OO6WjoriOsw88aW8TiqgYdXwsxg== | integrity sha512-Ap8MOYbyvEilK1+sNY6yh6LmsHSp7f5zzSGlY4AemhbTcoultcozEXPzx42OO6WjoriOsw88aW8TiqgYdXwsxg== | ||||
"@modal-sh/oblique-strategies-core@file:../core": | |||||
version "0.0.0" | |||||
"@next/eslint-plugin-next@^12.0.7": | "@next/eslint-plugin-next@^12.0.7": | ||||
version "12.1.5" | version "12.1.5" | ||||
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.1.5.tgz#273885b35e6bbcd40ff1436d2a8d0ec03fb6f6ef" | resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.1.5.tgz#273885b35e6bbcd40ff1436d2a8d0ec03fb6f6ef" | ||||