From 83fe9a1d6abd0f5a39adf24c7c21c61933aa3908 Mon Sep 17 00:00:00 2001 From: Niklas May Date: Sun, 24 Sep 2023 16:11:11 +0200 Subject: [PATCH] fix: build --- package.json | 2 +- tsconfig.json | 3 ++- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4b77853..27073a0 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "picosanity": "^4.1.1", "sanity": "^3.16.7", "tslib": "^2.6.2", - "typescript": "^5.2.2", + "typescript": "4", "vitest": "^0.34.4" }, "dependencies": { diff --git a/tsconfig.json b/tsconfig.json index 8ddf1dd..33e4be2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,10 +16,11 @@ "noImplicitAny": false, "skipLibCheck": true, + "baseUrl": ".", "paths": { "sanity-generator/*": ["src/*"] } }, "exclude": ["playground", "build", "src/static"], - "include": ["src", "test/generator-output"] + "include": ["src"] } diff --git a/yarn.lock b/yarn.lock index 8eb9cbb..c0e7ab9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4190,10 +4190,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" - integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== +typescript@4: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== ufo@^1.3.0: version "1.3.0"