-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try to download the latest version of htmx during startproject #22
Comments
@Tobi-De can you please explain this because when I see the code I think you are already doing this? |
Would you like to allow developers to update the HTMX version in their project simply by using the command |
Hi @786raees , nope the current code does not do this
|
Hum..., interesting that would be basically equivalent to |
/attempt Issue #22 |
@Tobi-De really sorry to bother you but can you please guide me on how can I test my code on local? |
No worries :), what have you used to setup the project ? hatch ? |
yes |
If you want want to run the test suite, then simply run If you want to see if your changes are working, the simplest way (and that's what I've being doing) is just to run Have I answered your question ? |
* Add htmx latest version support to start-project command #22 * Added functionality to try to download htmx latest version after setting up project and added the ability to setup project with "--skip-new-version-check" if internet is not working. * docs: add 786raees as a contributor for code (#33) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * refactor: move everything needed for htmx update into it own method * fix: start-project now complete when there is no internet access * test: check if start-project can run with no internet --------- Co-authored-by: Waqar Khan <waqarkhan1252617@gmail.com> Co-authored-by: Waqar Khan <96701299+786raees@users.noreply.github.com> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
* Add htmx latest version support to start-project command #22 * Added functionality to try to download htmx latest version after setting up project and added the ability to setup project with "--skip-new-version-check" if internet is not working. * docs: add 786raees as a contributor for code (#33) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> * refactor: move everything needed for htmx update into it own method * fix: start-project now complete when there is no internet access * test: check if start-project can run with no internet --------- Co-authored-by: Waqar Khan <waqarkhan1252617@gmail.com> Co-authored-by: Waqar Khan <96701299+786raees@users.noreply.github.com> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
The starter project comes with an htmx js file already. The idea is, after initializing the project, try to download and install the latest version using
falco htmx
. This way, in case there is a new version, the user always starts with the latest htmx version. This step is optional, so it should fails silently in case of a network error, for example.The text was updated successfully, but these errors were encountered: