create-bdpa-react-scaffold 2.1.1 → 2.1.2

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 (2) hide show
  1. package/create-ui-lib.js +3 -3
  2. package/package.json +1 -1
package/create-ui-lib.js CHANGED
@@ -668,7 +668,7 @@ export { default as Register } from "./pages/auth/Register.jsx";
668
668
  export { default as Container } from "./components/layout/Container.jsx";
669
669
  export { default as Section } from "./components/layout/Section.jsx";
670
670
 
671
- export { default as api, ApiClient } from "./utils/api.js";
671
+ export { default as api, ApiClient } from "./utils/apiClient.js";
672
672
  export { hashPassword, verifyPassword, getPasswordStrength, getPasswordStrengthLabel } from "./utils/password.js";
673
673
  `);
674
674
 
@@ -821,7 +821,7 @@ import { Skeleton } from "@/components/ui/skeleton";
821
821
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
822
822
  import { toast } from "sonner";
823
823
  import { Menu, Info, CheckCircle } from "@/components/ui/icons";
824
- import { ApiClient } from "@/utils/api.js";
824
+ import { ApiClient } from "@/utils/apiClient.js";
825
825
 
826
826
  const enrollmentData = [
827
827
  { name: "Alex", course: "Web Design Fundamentals", status: "Enrolled" },
@@ -1653,7 +1653,7 @@ export default function Section({ children, className = "" }) {
1653
1653
  // API Utility
1654
1654
  // -------------------------------
1655
1655
 
1656
- write("src/utils/api.js", `
1656
+ write("src/utils/apiClient.js", `
1657
1657
  import axios from "axios";
1658
1658
 
1659
1659
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-bdpa-react-scaffold",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Scaffold a React + Tailwind + shadcn/ui component demo via Vite.",
5
5
  "bin": {
6
6
  "create-bdpa-react-scaffold": "create-ui-lib.js"