Skip to content

Commit

Permalink
changeset added
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhooks committed May 8, 2024
1 parent 1df61e4 commit cd702ae
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 40 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-timers-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@coursebuilder/commerce-next": patch
---

removes the barrel files from commerce
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ import { ParsedUrlQuery } from 'querystring'
import * as React from 'react'
import { Suspense } from 'react'
import Link from 'next/link'
import { notFound } from 'next/navigation'
import { ProductPricing } from '@/app/(commerce)/products/[slug]/_components/product-pricing'
import { EventPageProps } from '@/app/(content)/events/[slug]/_components/event-page-props'
import { courseBuilderAdapter, db } from '@/db'
import { products, purchases } from '@/db/schema'
import { getPricingData } from '@/lib/pricing-query'
import { getProduct } from '@/lib/products-query'
import { propsForCommerce } from '@/lib/props-for-commerce'
import { getServerAuthSession } from '@/server/auth'
import { count, eq } from 'drizzle-orm'
import ReactMarkdown from 'react-markdown'

import { Product, Purchase } from '@coursebuilder/core/schemas'
import { Button } from '@coursebuilder/ui'
Expand Down
5 changes: 0 additions & 5 deletions packages/commerce-next/src/coupons/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/commerce-next/src/invoices/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/commerce-next/src/post-purchase/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/commerce-next/src/post-purchase/welcome-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {

import { Icon } from '../components'
import { InvoiceCard } from '../invoices/invoice-card'
import { InviteTeam } from '../team'
import { InviteTeam } from '../team/invite-team'
import { PurchaseTransferStatus } from './purchase-transfer-status'

type PersonalPurchase = {
Expand Down
7 changes: 0 additions & 7 deletions packages/commerce-next/src/pricing/index.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/commerce-next/src/team/index.ts

This file was deleted.

8 changes: 0 additions & 8 deletions packages/commerce-next/src/utils/index.ts

This file was deleted.

0 comments on commit cd702ae

Please sign in to comment.