@mohasinac/appkit 2.7.2 → 2.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/README.md +18 -0
  2. package/dist/configs/next.d.ts +0 -21
  3. package/dist/configs/next.js +63 -0
  4. package/dist/features/account/components/AddressFilters.js +1 -0
  5. package/dist/features/admin/components/AdminAllEventEntriesView.js +1 -1
  6. package/dist/features/admin/components/AdminBidsView.js +1 -1
  7. package/dist/features/admin/components/AdminBlogView.js +1 -1
  8. package/dist/features/admin/components/AdminBrandsView.js +1 -1
  9. package/dist/features/admin/components/AdminCartsView.js +1 -1
  10. package/dist/features/admin/components/AdminCategoriesView.js +1 -1
  11. package/dist/features/admin/components/AdminContactView.js +1 -1
  12. package/dist/features/admin/components/AdminCouponsView.js +1 -1
  13. package/dist/features/admin/components/AdminFaqsView.js +1 -1
  14. package/dist/features/admin/components/AdminHistoryView.js +1 -1
  15. package/dist/features/admin/components/AdminNewsletterView.js +1 -1
  16. package/dist/features/admin/components/AdminNotificationsView.js +1 -1
  17. package/dist/features/admin/components/AdminOrdersView.js +1 -1
  18. package/dist/features/admin/components/AdminPayoutsView.js +1 -1
  19. package/dist/features/admin/components/AdminProductsView.js +1 -1
  20. package/dist/features/admin/components/AdminReturnRequestsView.js +1 -1
  21. package/dist/features/admin/components/AdminReviewsView.js +1 -1
  22. package/dist/features/admin/components/AdminSessionsView.js +1 -1
  23. package/dist/features/admin/components/AdminStoreAddressesView.js +1 -1
  24. package/dist/features/admin/components/AdminStoresView.js +1 -1
  25. package/dist/features/admin/components/AdminUsersView.js +1 -1
  26. package/dist/features/admin/components/AdminWishlistsView.js +1 -1
  27. package/dist/features/auctions/components/AuctionFilters.js +1 -0
  28. package/dist/features/blog/components/BlogFilters.js +1 -0
  29. package/dist/features/blog/components/BlogIndexListing.js +1 -1
  30. package/dist/features/categories/components/CategoriesIndexListing.js +1 -1
  31. package/dist/features/categories/components/CategoryFilters.js +1 -0
  32. package/dist/features/categories/components/CategoryProductsListing.js +1 -1
  33. package/dist/features/categories/hooks/useCategories.js +1 -0
  34. package/dist/features/events/components/AdminEventsView.js +1 -1
  35. package/dist/features/events/components/EventFilters.js +1 -0
  36. package/dist/features/events/components/EventsIndexListing.js +1 -1
  37. package/dist/features/orders/components/OrderFilters.js +1 -0
  38. package/dist/features/pre-orders/components/PreOrderFilters.js +1 -0
  39. package/dist/features/pre-orders/components/PreOrdersIndexListing.js +1 -1
  40. package/dist/features/products/components/AuctionsIndexListing.js +1 -1
  41. package/dist/features/products/components/ProductFilters.js +1 -0
  42. package/dist/features/products/components/ProductsIndexListing.js +1 -1
  43. package/dist/features/promotions/components/CouponsIndexListing.js +2 -2
  44. package/dist/features/reviews/components/ReviewFilters.js +1 -0
  45. package/dist/features/reviews/components/ReviewsIndexListing.js +1 -1
  46. package/dist/features/seller/components/SellerAuctionsView.js +1 -1
  47. package/dist/features/seller/components/SellerBidsView.js +1 -1
  48. package/dist/features/seller/components/SellerCouponsView.js +1 -1
  49. package/dist/features/seller/components/SellerOffersView.js +1 -1
  50. package/dist/features/seller/components/SellerOrdersView.js +1 -1
  51. package/dist/features/seller/components/SellerPayoutsView.js +1 -1
  52. package/dist/features/seller/components/SellerPreOrdersView.js +1 -1
  53. package/dist/features/seller/components/SellerPrizeDrawsView.js +1 -1
  54. package/dist/features/seller/components/SellerProductsView.js +1 -1
  55. package/dist/features/stores/components/StoreAuctionsListing.js +1 -1
  56. package/dist/features/stores/components/StoreFilters.js +1 -0
  57. package/dist/features/stores/components/StorePreOrdersListing.js +1 -1
  58. package/dist/features/stores/components/StoreProductsListing.js +1 -1
  59. package/dist/features/stores/components/StoresIndexListing.js +1 -1
  60. package/dist/index.d.ts +0 -27
  61. package/dist/index.js +1720 -1762
  62. package/dist/server-entry.d.ts +25 -0
  63. package/dist/server-entry.js +28 -0
  64. package/package.json +2 -2
@@ -12,6 +12,31 @@
12
12
  * The conditional exports map routes here for react-server / Node context.
13
13
  */
14
14
  export * from "./index";
15
+ export { PolicyPageView } from "./features/about/index";
16
+ export { BlogIndexPageView } from "./features/blog/components/BlogIndexPageView";
17
+ export { CategoriesIndexPageView } from "./features/categories/components/CategoriesIndexPageView";
18
+ export { CategoryDetailPageView } from "./features/categories/components/CategoryDetailPageView";
19
+ export { BrandDetailPageView } from "./features/categories/components/BrandDetailPageView";
20
+ export { EventsListPageView } from "./features/events/components/EventsListPageView";
21
+ export { MarketplaceHomepageView } from "./features/homepage/index";
22
+ export { PreOrdersListView } from "./features/pre-orders/index";
23
+ export { PreOrderDetailPageView } from "./features/pre-orders/index";
24
+ export { AuctionDetailPageView } from "./features/auctions/index";
25
+ export { AuctionsListView } from "./features/auctions/components/AuctionsListView";
26
+ export { BundlesListView } from "./features/categories/components/BundlesListView";
27
+ export { PrizeDrawsListingView } from "./features/products/components/PrizeDrawsListingView";
28
+ export { PrizeDrawDetailPageView } from "./features/products/components/PrizeDrawDetailPageView";
29
+ export { ProductDetailPageView } from "./features/products/components/ProductDetailPageView";
30
+ export { ProductsIndexPageView } from "./features/products/components/ProductsIndexPageView";
31
+ export { ReviewsIndexPageView } from "./features/reviews/components/ReviewsIndexPageView";
32
+ export { ReviewDetailPageView } from "./features/reviews/components/ReviewDetailPageView";
33
+ export { StoresIndexPageView } from "./features/stores/components/StoresIndexPageView";
34
+ export { StoreDetailLayoutView } from "./features/stores/components/StoreDetailLayoutView";
35
+ export { StoreProductsPageView } from "./features/stores/components/StoreProductsPageView";
36
+ export { StoreAuctionsPageView } from "./features/stores/components/StoreAuctionsPageView";
37
+ export { StorePreOrdersPageView } from "./features/stores/components/StorePreOrdersPageView";
38
+ export { StorePrizeDrawsPageView } from "./features/stores/components/StorePrizeDrawsPageView";
39
+ export { StoreBundlesPageView } from "./features/stores/components/StoreBundlesPageView";
15
40
  export { getProductForDetail, listSitemapProducts, type SitemapProduct, } from "./_internal/server/features/products/index";
16
41
  export { getAuctionForDetail, getProductFeaturesForAuction, } from "./_internal/server/features/auctions/index";
17
42
  export { getPreOrderForDetail, getProductFeaturesForPreOrder, } from "./_internal/server/features/pre-orders/index";
@@ -14,6 +14,34 @@
14
14
  // Full surface — same symbols as client entry for now.
15
15
  // firebase-admin is correctly reachable here since this is the server entry.
16
16
  export * from "./index";
17
+ // Server-only RSC views — removed from index.ts to prevent firebase-admin
18
+ // leaking into the client bundle via client-entry.ts's export * from "./index".
19
+ // These are async React Server Components that fetch data via repositories.
20
+ export { PolicyPageView } from "./features/about/index";
21
+ export { BlogIndexPageView } from "./features/blog/components/BlogIndexPageView";
22
+ export { CategoriesIndexPageView } from "./features/categories/components/CategoriesIndexPageView";
23
+ export { CategoryDetailPageView } from "./features/categories/components/CategoryDetailPageView";
24
+ export { BrandDetailPageView } from "./features/categories/components/BrandDetailPageView";
25
+ export { EventsListPageView } from "./features/events/components/EventsListPageView";
26
+ export { MarketplaceHomepageView } from "./features/homepage/index";
27
+ export { PreOrdersListView } from "./features/pre-orders/index";
28
+ export { PreOrderDetailPageView } from "./features/pre-orders/index";
29
+ export { AuctionDetailPageView } from "./features/auctions/index";
30
+ export { AuctionsListView } from "./features/auctions/components/AuctionsListView";
31
+ export { BundlesListView } from "./features/categories/components/BundlesListView";
32
+ export { PrizeDrawsListingView } from "./features/products/components/PrizeDrawsListingView";
33
+ export { PrizeDrawDetailPageView } from "./features/products/components/PrizeDrawDetailPageView";
34
+ export { ProductDetailPageView } from "./features/products/components/ProductDetailPageView";
35
+ export { ProductsIndexPageView } from "./features/products/components/ProductsIndexPageView";
36
+ export { ReviewsIndexPageView } from "./features/reviews/components/ReviewsIndexPageView";
37
+ export { ReviewDetailPageView } from "./features/reviews/components/ReviewDetailPageView";
38
+ export { StoresIndexPageView } from "./features/stores/components/StoresIndexPageView";
39
+ export { StoreDetailLayoutView } from "./features/stores/components/StoreDetailLayoutView";
40
+ export { StoreProductsPageView } from "./features/stores/components/StoreProductsPageView";
41
+ export { StoreAuctionsPageView } from "./features/stores/components/StoreAuctionsPageView";
42
+ export { StorePreOrdersPageView } from "./features/stores/components/StorePreOrdersPageView";
43
+ export { StorePrizeDrawsPageView } from "./features/stores/components/StorePrizeDrawsPageView";
44
+ export { StoreBundlesPageView } from "./features/stores/components/StoreBundlesPageView";
17
45
  // S2: products data layer — deduped via React.cache()
18
46
  export { getProductForDetail, listSitemapProducts, } from "./_internal/server/features/products/index";
19
47
  // S3: auctions data layer — deduped via React.cache()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mohasinac/appkit",
3
- "version": "2.7.2",
3
+ "version": "2.7.4",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -147,7 +147,7 @@
147
147
  "watch:css": "tailwindcss -i src/tailwind-input.css -o dist/tailwind-utilities.css --watch",
148
148
  "audit": "node scripts/audit-violations.mjs",
149
149
  "check:types": "tsc --noEmit",
150
- "check:audits": "node scripts/audit-violations.mjs && node scripts/verify-entries.mjs && node scripts/verify-css-build.mjs",
150
+ "check:audits": "node scripts/audit-violations.mjs && node scripts/verify-entries.mjs && node scripts/verify-css-build.mjs && node scripts/audit-use-client.mjs && node scripts/audit-double-navigation.mjs",
151
151
  "check": "npm run check:types && npm run check:audits"
152
152
  },
153
153
  "dependencies": {