-
Notifications
You must be signed in to change notification settings - Fork 97
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
feat(cli/templates) add clojurescript #185
feat(cli/templates) add clojurescript #185
Conversation
d9f392a
to
68f3044
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to add a post init note about installing java
and clojure
A similar thing has been done for yew
template in packages/cli/src/templates.rs
in post_init_info
method
Also don't forget to run carg fmt --all
and pnpm format
in the repo root
Thanks.
packages/cli/fragments/fragment-clojurescript/src/main/clojure/app/core.cljs
Outdated
Show resolved
Hide resolved
- add a post init note about installing `java` and `clojure` - add an example using the `greet` command - move some resources to the `clojurescript` template - change ports for `shadow-cljs` and `tauri` - update ci pipeline - fix code formatting
9623778
to
409ac3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should've caught this in my review but the template shouldn't include testing so please remove all test related files/deps/scripts...etc
packages/cli/fragments/fragment-clojurescript/src/test/clojure/app/core_test.cljs
Outdated
Show resolved
Hide resolved
…directory We can't import styles into cljs.
packages/cli/fragments/fragment-clojurescript/.vscode/extensions.json
Outdated
Show resolved
Hide resolved
packages/cli/fragments/fragment-clojurescript/src/main/clojure/app/core.cljs
Outdated
Show resolved
Hide resolved
CI seems to be failing to build the clojure project |
- added the recommended `calva` plugin for `vscode` - updated deps - removed exclusions for the `reagent` dependency
I don't know why |
…dow-cljs` directly
8d394e8
to
341d3a6
Compare
@amrbashir all tests were passed. Only Cause: I can fix it using the following methods:
What do you think about it? |
In my opinion #2 seems the best, because #3 is the worst. I read through similar troubles over at nuxt (maybe there is another solution? |
yeah option no.2 seems to be the best for now |
Unfortunately, option no.2 didn't work. I added a |
That's fine, you can also create this file only if pnpm is the package manager so the file name would be like this |
These settings allow us to use `pnpm` as a package manager. Without these settings, we will receive several errors from the compiler: `object-assign`, `scheduler`, `scheduler/tracing` is not available.
58de670
to
18eabdc
Compare
done |
Thank you |
It appears as if these changes were lost sometime between them being merged and the moment I'm writing this comment as the Any idea what happened here? |
Many templates were removed in #284 |
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information
Related to this nuxt/framework#184