biotz / hydrogen.cljs.duct-template Goto Github PK
View Code? Open in Web Editor NEWLicense: Mozilla Public License 2.0
License: Mozilla Public License 2.0
We are using a few namespaces in the new projects and expect them to be used in all new projects as well. So it makes sense to make them part of the initial template.
In almost all our projects we use lint/eastwood
and lein-cljfmt
plugins. They are part of [:profiles :project/dev]
configuration in project.clj
.
Hydrogen should include them in result projects as well. However, as for today, Duct doesn't know how to do it. Thus this issue has three steps:\
[1] - Our recent contributions to Duct made it understand :dev-dependencies
key. It makes it include a dependencies vector into result project.clj
's [:profiles :project/dev :dependencies]
path. For this reasons it seems only logical to develop an analogical feature - :dev-plugins
.
In all our projects we use loading spinner. We need to extract common components into Hydrogen.
When this template was created it was supposed to inject our bread and butter cljs code into new applications. However now it seems to be doing a bit more:
:repl-config
in project.clj.We need to decide which way we want to go with this. We have some options:
core-profile
that's supposed to be used always and also session-profile
that can be used to enrich core by landing page, authentication-related dependencies etc. However, we found out that using many profiles is not that easy; :vars
of profiles are mutually exclusive. Thus we need extra calculations to manage some of them (I'm looking at you :cascading-routes
).hydrogen.duct-template
) and document functionalities carefully.If pushed commit is not -SNAPSHOT
version, then deploy, and change the version to an incremented number with -SNAPSHOT
edition.
Resulting projects save session tokens in their appdbs only after successful login. If user is already logged in and goes straight to an access-restricted route, :token
will not get saved unless he/she signs out and in again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.