Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
resforxofficial committed Jul 9, 2024
1 parent 00b74b2 commit 450621d
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
Empty file added CONTRIBUTING.md
Empty file.
20 changes: 20 additions & 0 deletions builder/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
"!dist/**/*.spec.*"
],
"peerDependencies": {
"svelte": "^5.0.0-next.1",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/package": "^2.0.0"
"@sveltejs/package": "^2.0.0",
"svelte": "^5.0.0-next.1",
"@types/node": "^20.14.10"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
Expand All @@ -36,7 +37,8 @@
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^5.0.11"
"vite": "^5.0.11",
"@types/node": "^20.14.10"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
14 changes: 14 additions & 0 deletions builder/src/lib/utils/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as fs from 'fs';

type TS_OR_JS = "ts" | "js";

export function svelteorm({option = "js"}: {option: TS_OR_JS}) {
const PATH = process.cwd();
const R_PATH = {
r1_path: PATH + "/dist/values.json",
r2_path: PATH + "/dist/types.json"
}

if (option == "js") {}
else if (option == "ts") {}
}
Empty file added code_of_conduct.md
Empty file.

0 comments on commit 450621d

Please sign in to comment.