From 6c4db2bf77f821bc74b5705fb80b527cb7d7c05e Mon Sep 17 00:00:00 2001 From: TakSeBiegam Date: Thu, 4 Jan 2024 11:17:58 +0100 Subject: [PATCH] test: bump tsconfig --- package-lock.json | 4 ++-- package.json | 4 ++-- src/vendure-config.ts | 32 ++++++++++++++++---------------- tsconfig.json | 2 +- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index 04ddcc4..43d164f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "aexol-shop-backend", "version": "0.1.0", "dependencies": { - "@aws-sdk/client-s3": "^3.485.0", - "@aws-sdk/lib-storage": "^3.485.0", + "@aws-sdk/client-s3": "^3.478.0", + "@aws-sdk/lib-storage": "^3.478.0", "@vendure/admin-ui-plugin": "2.1.4", "@vendure/asset-server-plugin": "2.1.4", "@vendure/core": "2.1.4", diff --git a/package.json b/package.json index e85fa8f..f5fe033 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "stripe": "stripe listen --forward-to localhost:3000/payments/stripe" }, "dependencies": { - "@aws-sdk/client-s3": "^3.485.0", - "@aws-sdk/lib-storage": "^3.485.0", + "@aws-sdk/client-s3": "^3.478.0", + "@aws-sdk/lib-storage": "^3.478.0", "@vendure/admin-ui-plugin": "2.1.4", "@vendure/asset-server-plugin": "2.1.4", "@vendure/core": "2.1.4", diff --git a/src/vendure-config.ts b/src/vendure-config.ts index f2c26d9..7598d8e 100644 --- a/src/vendure-config.ts +++ b/src/vendure-config.ts @@ -20,7 +20,7 @@ import { import { AdminUiPlugin } from "@vendure/admin-ui-plugin"; import { StripePlugin } from "@vendure/payments-plugin/package/stripe"; import path from "path"; -import { Przelewy24Plugin } from "./dist"; +// import { Przelewy24Plugin } from "./dist"; const IS_DEV = process.env.APP_ENV === "dev"; @@ -133,15 +133,15 @@ export const config: VendureConfig = { // reasons. ...(IS_DEV ? { - adminApiPlayground: { - settings: { "request.credentials": "include" }, - }, - adminApiDebug: true, - shopApiPlayground: { - settings: { "request.credentials": "include" }, - }, - shopApiDebug: true, - } + adminApiPlayground: { + settings: { "request.credentials": "include" }, + }, + adminApiDebug: true, + shopApiPlayground: { + settings: { "request.credentials": "include" }, + }, + shopApiDebug: true, + } : {}), }, authOptions: { @@ -173,12 +173,12 @@ export const config: VendureConfig = { customFields: {}, plugins: [ // PaymentPrzelewy24Plugin, - Przelewy24Plugin.init({ - envs: { - API_URL: process.env.API_URL || "http://localhost:3000", - STOREFRONT_URL: process.env.STOREFRONT_URL || "http://localhost:8080", - }, - }), + // Przelewy24Plugin.init({ + // envs: { + // API_URL: process.env.API_URL || "http://localhost:3000", + // STOREFRONT_URL: process.env.STOREFRONT_URL || "http://localhost:8080", + // }, + // }), AssetsPlugin, // StripePlugin.init({ // storeCustomersInStripe: true, diff --git a/tsconfig.json b/tsconfig.json index b3113a9..0315987 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ "skipLibCheck": true, "outDir": "./dist", "resolveJsonModule": true, - "baseUrl": "./" + "baseUrl": "./node_modules" }, "exclude": [ "node_modules",