File tree 5 files changed +332
-5
lines changed
5 files changed +332
-5
lines changed Original file line number Diff line number Diff line change 24
24
node-version : 22
25
25
registry-url : https://registry.npmjs.org/
26
26
- run : npm install
27
+ - run : npm run build
27
28
- run : npm publish
28
29
env :
29
30
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " git-repo-to-json" ,
3
- "version" : " 2.0.3 " ,
3
+ "version" : " 2.0.0 " ,
4
4
"description" : " A tool to scrape all files from a GitHub repository and turn it into a JSON file" ,
5
5
"bin" : {
6
- "git-repo-to-json" : " dist/index .js"
6
+ "git-repo-to-json" : " dist/cli .js"
7
7
},
8
8
"files" : [
9
9
" dist"
27
27
"@types/node" : " ^18.11.19" ,
28
28
"typescript" : " ^4.9.4"
29
29
}
30
- }
30
+ }
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ async function main() {
20
20
console . log ( 'File list has been saved to files.json' ) ;
21
21
}
22
22
23
- main ( ) . catch ( err => console . error ( err ) ) ;
23
+ main ( ) . catch ( err => console . error ( err ) ) ;
Original file line number Diff line number Diff line change @@ -67,4 +67,4 @@ export async function scrapeRepository(repoUrl: string): Promise<FileData[]> {
67
67
console . log ( 'Cloned repository directory removed' ) ;
68
68
69
69
return result ;
70
- }
70
+ }
You can’t perform that action at this time.
0 commit comments