From cec4f40d3ab9769c8465b1649a8acca49a8f8b36 Mon Sep 17 00:00:00 2001 From: KaKa Date: Thu, 9 Jun 2022 15:20:41 +0800 Subject: [PATCH] test: use scoped package --- package.json | 2 +- test/createFastify.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2b7f6d4..285bee7 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "formidable": "^1.2.2" }, "devDependencies": { + "@fastify/swagger": "^6.0.0", "@types/node": "^17.0.40", "@types/tap": "^15.0.7", "@typescript-eslint/eslint-plugin": "^4.0.1", @@ -53,7 +54,6 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.0.0", "fastify": "^3.19.0", - "fastify-swagger": "^5.0.0", "form-data": "^4.0.0", "prettier": "^2.3.2", "tap": "^16.0.0", diff --git a/test/createFastify.ts b/test/createFastify.ts index b0b2747..f569173 100644 --- a/test/createFastify.ts +++ b/test/createFastify.ts @@ -1,5 +1,5 @@ +import fastifySwagger from '@fastify/swagger' import Fastify, { FastifyInstance } from 'fastify' -import fastifySwagger from 'fastify-swagger' import { Options } from 'formidable' import FastifyFormidable, { ajvBinaryFormat, FastifyFormidableOptions } from '../lib'