diff --git a/.changeset/purple-foxes-sing.md b/.changeset/purple-foxes-sing.md new file mode 100644 index 0000000..af8771b --- /dev/null +++ b/.changeset/purple-foxes-sing.md @@ -0,0 +1,5 @@ +--- +"saleor-app-invoices": minor +--- + +Remove VercelAPL from SaleorApp diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index dafe9fc..55c07d5 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,4 +1,4 @@ -name: Assign PR to creator +name: Run tests on: pull_request: diff --git a/apps/invoices/saleor-app.ts b/apps/invoices/saleor-app.ts index 49bf708..256a3ad 100644 --- a/apps/invoices/saleor-app.ts +++ b/apps/invoices/saleor-app.ts @@ -1,4 +1,4 @@ -import { APL, FileAPL, SaleorCloudAPL, UpstashAPL, VercelAPL } from "@saleor/app-sdk/APL"; +import { APL, FileAPL, SaleorCloudAPL, UpstashAPL } from "@saleor/app-sdk/APL"; import { SaleorApp } from "@saleor/app-sdk/saleor-app"; const aplType = process.env.APL ?? "file"; @@ -6,10 +6,6 @@ const aplType = process.env.APL ?? "file"; let apl: APL; switch (aplType) { - case "vercel": - apl = new VercelAPL(); - - break; case "upstash": apl = new UpstashAPL(); diff --git a/turbo.json b/turbo.json index 5d75d83..571351d 100644 --- a/turbo.json +++ b/turbo.json @@ -7,10 +7,19 @@ "outputs": ["dist/**", ".next/**"] }, "build#saleor-app-data-importer": { - "env": ["NEXT_PUBLIC_NUVO_LICENSE_KEY"] + "env": ["APL", "NEXT_PUBLIC_NUVO_LICENSE_KEY"] }, - "build#saleor-app-invoicesr": { - "env": ["APP_DEBUG", "NODE_ENV", "SECRET_KEY", "TEMP_PDF_STORAGE_DIR", "PORT","VERCEL_URL", "ALLOWED_DOMAIN_PATTERN"] + "build#saleor-app-invoices": { + "env": [ + "APL", + "APP_DEBUG", + "NODE_ENV", + "SECRET_KEY", + "TEMP_PDF_STORAGE_DIR", + "PORT", + "VERCEL_URL", + "ALLOWED_DOMAIN_PATTERN" + ] }, "lint": { "outputs": []