File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,6 @@ async function build_from_docs_and_examples() {
93
93
94
94
async function build ( ) {
95
95
const db = await build_from_docs_and_examples ( ) ;
96
- fs . writeFileSync ( `./library/shadcn_dump.json` , JSON . stringify ( db ) ) ;
96
+ fs . writeFileSync ( `./src/ library/shadcn_dump.json` , JSON . stringify ( db ) ) ;
97
97
}
98
98
export { build } ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import fs from "node:fs";
3
3
import { Schema } from "mongoose" ;
4
4
import { OpenAI } from "openai" ;
5
5
6
- import db_shadcn from "../../../ library/shadcn_dump.json" assert { type : "json " } ;
6
+ import db_shadcn from "../../library/shadcn_dump.json" assert { type : "json " } ;
7
7
8
8
const openai = new OpenAI ( {
9
9
apiKey : process . env . OPENAI_API_KEY ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import fs from "node:fs";
3
3
import { Schema } from "mongoose" ;
4
4
import { OpenAI } from "openai" ;
5
5
6
- import db_shadcn from "../../../ library/shadcn_dump.json" assert { type : "json " } ;
6
+ import db_shadcn from "../../library/shadcn_dump.json" assert { type : "json " } ;
7
7
8
8
const openai = new OpenAI ( {
9
9
apiKey : process . env . OPENAI_API_KEY ,
Original file line number Diff line number Diff line change 1
- import shadcn_db from "../../../ library/shadcn_dump.json" assert { type : "json " } ;
1
+ import shadcn_db from "../../library/shadcn_dump.json" assert { type : "json " } ;
2
2
3
3
async function run ( query ) {
4
4
return shadcn_db . filter ( ( e ) =>
You can’t perform that action at this time.
0 commit comments