-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New architecture - Automate section list creation (#65)
* ✨ add component & variants to new section list generation * ✨ Add component.ts & rename preview with .variant extension * ✨ Add component.ts & .variant to preview files * ✨ Refactor section handling and improve type definitions for better clarity and consistency * ✨ Update new architecture on website * 🔥 remove old logic * ✨ Refactor generateStaticParams for improved type safety and remove unused code * ✨ Rename components to follow variant naming convention and update imports for consistency * ✨ add back the hooks * ✨ Remove latest old files * ✅ Add a passing test case using Vitest * ✨ Simplify passing test structure by removing unnecessary function wrapper
- Loading branch information
1 parent
1237a34
commit 62b793a
Showing
515 changed files
with
5,617 additions
and
4,543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { describe, expect, it } from "vitest"; | ||
|
||
describe("passing test", () => { | ||
it("should pass", () => { | ||
expect(true).toBe(true); | ||
}); | ||
}); |
101 changes: 0 additions & 101 deletions
101
apps/website/__tests__/components/component-categories.test.tsx
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
apps/website/__tests__/components/get-file-content-as-string.test.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.