From 46efe459751efbd0b33077c021c8577f6e3b507a Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Sat, 15 Jun 2024 18:40:30 +0400 Subject: [PATCH] test(definitions): try to fix Unknown variable dynamic import on Windows https://github.com/asyncapi/spec-json-schemas/issues/539 --- jsconfig.json | 12 ++++++------ tsconfig.json | 12 ++++++------ vite.config.ts => vite.config.mts | 1 - 3 files changed, 12 insertions(+), 13 deletions(-) rename vite.config.ts => vite.config.mts (98%) diff --git a/jsconfig.json b/jsconfig.json index 5e3d3112..a108b7fd 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,12 +1,12 @@ { "compilerOptions": { "paths": { - "@extensions": ["./extensions/*"], - "@examples": ["./examples/*"], - "@definitions": ["./definitions/*"], - "@bindings": ["./bindings/*"], - "@common": ["./common/*"], - "@test": ["./test/*"] + "@extensions/*": ["./extensions/*"], + "@examples/*": ["./examples/*"], + "@definitions/*": ["./definitions/*"], + "@bindings/*": ["./bindings/*"], + "@common/*": ["./common/*"], + "@test/*": ["./test/*"] } } } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 5e3d3112..a108b7fd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,12 @@ { "compilerOptions": { "paths": { - "@extensions": ["./extensions/*"], - "@examples": ["./examples/*"], - "@definitions": ["./definitions/*"], - "@bindings": ["./bindings/*"], - "@common": ["./common/*"], - "@test": ["./test/*"] + "@extensions/*": ["./extensions/*"], + "@examples/*": ["./examples/*"], + "@definitions/*": ["./definitions/*"], + "@bindings/*": ["./bindings/*"], + "@common/*": ["./common/*"], + "@test/*": ["./test/*"] } } } \ No newline at end of file diff --git a/vite.config.ts b/vite.config.mts similarity index 98% rename from vite.config.ts rename to vite.config.mts index 79e5fa05..08292c11 100644 --- a/vite.config.ts +++ b/vite.config.mts @@ -14,7 +14,6 @@ export default defineConfig({ ], reporters: ['verbose'] // https://vitest.dev/guide/reporters#custom-reporters }, - root: "./", resolve: { alias: { // @ts-ignore