build: refactor & use handlebars for generate templating (#343)
This commit is contained in:
1 parent
b1f864c1c8
commit
f48eba6354
23 files changed
+681
-408
No files matched your search
+7
-3
@@ -1,11 +1,15 @@
|
||||
import schema from "./userstyles.schema.json" assert { type: "json" };
|
||||
import portsSchema from "catppuccin-repo/resources/ports.schema.json" assert {
|
||||
type: "json",
|
||||
};
|
||||
import userStylesSchema from "@/userstyles.schema.json" assert {
|
||||
type: "json",
|
||||
};
|
||||
|
||||
import { join } from "std/path/mod.ts";
|
||||
const ROOT = new URL(".", import.meta.url).pathname;
|
||||
/** absolute path to the repository */
|
||||
/**
|
||||
* absolute path to the repository
|
||||
*/
|
||||
export const REPO_ROOT = join(ROOT, "..");
|
||||
|
||||
export { portsSchema, schema };
|
||||
export { portsSchema, userStylesSchema };
|
||||
Reference in new issue
Block a user