File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 node-version : 12
1616 registry-url : https://registry.npmjs.org/
1717 - name : gitopia mirror action
18- uses : thetechtrap /gitopia-mirror-action@master
18+ uses : gitopia /gitopia-mirror-action@master
1919 # The action should not publish any real changes, but should succeed.
2020 with :
2121 gitopiaWallet : " ${{ secrets.GITOPIA_WALLET }}"
Original file line number Diff line number Diff line change @@ -7,17 +7,20 @@ const main = async () => {
77
88 if ( args . length < 2 ) {
99 // tslint:disable-next-line:no-console
10- console . error ( "Usage: git-remote-dgit <name> <url>" ) ;
10+ console . error ( "Usage: git-remote-gitopia <name> <url>" ) ;
1111 process . exit ( 1 ) ;
1212 }
1313
1414 // Show warning when newer version is available
1515 try {
16- const npmRegistryApi = "https://registry.npmjs.org/-/package/@thetechtrap/git-remote-dgit/dist-tags"
17- const { data } = await axios . get ( npmRegistryApi )
18- if ( VERSION !== data . latest ) {
19- console . error ( `Warning: New version ${ data . latest } of git-remote-gitopia is available. Please upgrade.` )
20- }
16+ const npmRegistryApi =
17+ "https://registry.npmjs.org/-/package/@gitopia/git-remote-gitopia/dist-tags" ;
18+ const { data } = await axios . get ( npmRegistryApi ) ;
19+ if ( VERSION !== data . latest ) {
20+ console . error (
21+ `Warning: New version ${ data . latest } of git-remote-gitopia is available. Please upgrade.`
22+ ) ;
23+ }
2124 } catch ( error ) { }
2225
2326 const name = args [ 0 ] === args [ 1 ] ? "_" : args [ 0 ] ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default class GitHelper {
1818 // OK
1919 constructor ( helper ) {
2020 this . helper = helper ;
21- this . debug = debug ( "dgit " ) ;
21+ this . debug = debug ( "gitopia " ) ;
2222 }
2323
2424 /***** core methods *****/
Original file line number Diff line number Diff line change 11{
2- "name" : " @thetechtrap /git-remote-dgit " ,
2+ "name" : " @gitopia /git-remote-gitopia " ,
33 "version" : " 0.1.4" ,
4- "description" : " git-remote-helper for Dgit " ,
4+ "description" : " git-remote-helper for Gitopia " ,
55 "main" : " bin/index.mjs" ,
66 "bin" : {
77 "git-remote-gitopia" : " bin/index.mjs"
3232 },
3333 "repository" : {
3434 "type" : " git" ,
35- "url" : " git+https://github.com/TheTechTrap /git-remote-dgit .git"
35+ "url" : " git+https://github.com/gitopia /git-remote-gitopia .git"
3636 },
3737 "keywords" : [
3838 " git-remote-helper" ,
39- " dgit " ,
39+ " gitopia " ,
4040 " git" ,
4141 " arweave"
4242 ],
43- "author" : " dgit @thetechtrap.com" ,
43+ "author" : " gitopia @thetechtrap.com" ,
4444 "license" : " MIT" ,
4545 "bugs" : {
46- "url" : " https://github.com/TheTechTrap /git-remote-dgit /issues"
46+ "url" : " https://github.com/gitopia /git-remote-gitopia /issues"
4747 },
48- "homepage" : " https://github.com/TheTechTrap /git-remote-dgit #readme"
48+ "homepage" : " https://github.com/gitopia /git-remote-gitopia #readme"
4949}
You can’t perform that action at this time.
0 commit comments