Cap-go / CLI

CLI to help you to manage your version in capgo cloud
https://capgo.app
GNU Affero General Public License v3.0
11 stars 30 forks source link

Make the CLI init command handle auto-install in project #275

Open riderx opened 1 month ago

riderx commented 1 month ago

Currently, the CLI search for main file to import and call the function and install Capgo.

It could be better to have it check for the most common usecase for :

And be able to auto find the main file and add the required line in the project.

riderx commented 1 month ago

/bounty 30

algora-pbc[bot] commented 1 month ago

๐Ÿ’Ž $30 bounty โ€ข Capgo

Steps to solve:

  1. Start working: Comment /attempt #275 with your implementation plan
  2. Submit work: Create a pull request including /claim #275 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Additional notes:

โ„น๏ธ If something is not clear ask before working on it, otherwise your chance to rework it is high ๐ŸŽฅ To claim you need to provide in your PR a demo video of the change ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Join the Discord to get help ๐Ÿ“ Check all Bounty rules

Thank you for contributing to Cap-go/CLI!

Add a bounty โ€ข Share on socials

Attempt Started (GMT+0) Solution
๐Ÿ”ด @Ramanakunam16 May 17, 2024, 11:53:09 AM WIP
๐Ÿ”ด @animeshd9 Jun 4, 2024, 8:14:58 PM WIP
๐ŸŸข @Mubashirshariq Jul 5, 2024, 6:56:20 AM #311
Ramanakunam16 commented 1 month ago

/attempt

webbdays commented 1 month ago

@riderx can you explain bit more with one of the example, may be nextjs or react.

riderx commented 1 month ago

You have the documentation here: https://capgo.app/blog/update-your-capacitor-apps-seamlessly-using-capacitor-updater/#manual-capgo-configuration basically it needs to add :

import { CapacitorUpdater } from '@capgo/capacitor-updater'

CapacitorUpdater.notifyAppReady()

To the main file, and be sure the framework build in static. We already have a basic process in the app. But it don't work for setup where there is not main file yet etc etc So the goal here is to make it support most of setup style of each framework

algora-pbc[bot] commented 1 month ago

@Ramanakunam16: Reminder that in 5 days the bounty will become up for grabs, so please submit a pull request before then ๐Ÿ™

algora-pbc[bot] commented 1 month ago

The bounty is up for grabs! Everyone is welcome to /attempt #275 ๐Ÿ™Œ

animeshd9 commented 1 month ago

/attempt #275 Can I take the issue

algora-pbc[bot] commented 3 weeks ago

@animeshd9: Reminder that in 5 days the bounty will become up for grabs, so please submit a pull request before then ๐Ÿ™

algora-pbc[bot] commented 2 weeks ago

The bounty is up for grabs! Everyone is welcome to /attempt #275 ๐Ÿ™Œ

Mubashirshariq commented 6 hours ago

/attempt #275

algora-pbc[bot] commented 5 hours ago

๐Ÿ’ก @Mubashirshariq submitted a pull request that claims the bounty. You can visit your bounty board to reward.