From 1d878bab2fa9a1e4ab7098587e1d72c89ed12a66 Mon Sep 17 00:00:00 2001 From: Tony133 Date: Tue, 1 Sep 2026 23:27:44 +0200 Subject: [PATCH] refactor(types): move index.d.ts and rename test-types --- package.json | 2 +- {test-types => types}/http2-types.tst.ts | 0 {test-types => types}/imports.tst.ts | 0 index.d.ts => types/index.d.ts | 0 {test-types => types}/minimal-openapiV3-document.ts | 0 {test-types => types}/swagger-ui-vendor-extensions.tst.ts | 0 {test-types => types}/types.tst.ts | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename {test-types => types}/http2-types.tst.ts (100%) rename {test-types => types}/imports.tst.ts (100%) rename index.d.ts => types/index.d.ts (100%) rename {test-types => types}/minimal-openapiV3-document.ts (100%) rename {test-types => types}/swagger-ui-vendor-extensions.tst.ts (100%) rename {test-types => types}/types.tst.ts (100%) diff --git a/package.json b/package.json index bcec7f57..437b5067 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation", "main": "index.js", "type": "commonjs", - "types": "index.d.ts", + "types": "types/index.d.ts", "scripts": { "lint": "eslint", "lint:fix": "eslint --fix", diff --git a/test-types/http2-types.tst.ts b/types/http2-types.tst.ts similarity index 100% rename from test-types/http2-types.tst.ts rename to types/http2-types.tst.ts diff --git a/test-types/imports.tst.ts b/types/imports.tst.ts similarity index 100% rename from test-types/imports.tst.ts rename to types/imports.tst.ts diff --git a/index.d.ts b/types/index.d.ts similarity index 100% rename from index.d.ts rename to types/index.d.ts diff --git a/test-types/minimal-openapiV3-document.ts b/types/minimal-openapiV3-document.ts similarity index 100% rename from test-types/minimal-openapiV3-document.ts rename to types/minimal-openapiV3-document.ts diff --git a/test-types/swagger-ui-vendor-extensions.tst.ts b/types/swagger-ui-vendor-extensions.tst.ts similarity index 100% rename from test-types/swagger-ui-vendor-extensions.tst.ts rename to types/swagger-ui-vendor-extensions.tst.ts diff --git a/test-types/types.tst.ts b/types/types.tst.ts similarity index 100% rename from test-types/types.tst.ts rename to types/types.tst.ts