The @leanup
ecosystem stands for a lightweight and pure way for application development in JavaScript/TypeScript.
- Motivation
- Our home stories
- What makes the difference
- Principles
- Arguments
- Demo's
- Tools
- Ecosystem structure
- Alternatives
- Learnability
- Controllability
- Universality
- Flexibility
- Scalability
- Durability
- Transparency
We switched from Babel to esbuild and from esbuild to swc (without Angular and Vue with proprietary template notation). And we can switch again if we want.
The performance of esbuild and swc are almost twice as fast as with the classic configuration. But there is currently no noticeable difference in performance between esbuild and swc.
We added two more frameworks (Lit and Solid) without any problems, without having to change the basic stack.
We have switched our Demo-Template from Bootstrap to Tailwindcss and from Tailwindcss to WindiCSS and now use the automatic application-specific CSS generation.
We tried two new bundlers (Vite and Snowpack) and integrated them for most frameworks. Alternatively, they can be installed alongside or instead of webpack.
Stop the transitive knowledge.
We use the minimal configuration and build no overhead stuff on top of the popular tools and make every native command transparent.
- convention over configuration
- pure commands under the hood
- don't repeat yourself
- following the generic instead of the influenced way
- keep the dependencies always up to date
The arguments for and against this concept are documented here:
- select only one pure and popular tool for each use case (e.g. bundling, unit-test)
- there are extensible configuration files for each tool
- due to the flat dependencies we can always stay up to date
- the CLI bundles all the necessary tools in a portable/scalable way
- the risk to get vulnerabilites in dependencies is lower
- leanup's own code is kept to a minimum
- please give feedback
- please show us your perspective
There are some working examples:
Tool/Technology | Description | Status | Note | Rating |
---|---|---|---|---|
TypeScript | Language | βοΈ | ready | |
Webpack | Bundler | βοΈ | ready | |
Snowpack | Bundler | β | in progress | |
Vite | Bundler | β | in progress | |
esbuild | Transpiler | βοΈ | ready | |
swc | Transpiler | βοΈ | ready | |
Babel | Transpiler | βοΈ | ready | |
Mocha | Unit-Test-Runner | βοΈ | ready | |
Chai | Assertion | βοΈ | ready | |
Sinon | Mocking | βοΈ | ready | |
NYC | Code-Coverage | βοΈ | ready | |
ESLint | Code-Checker | βοΈ | ready | |
Nightwatch.js | E2E-Test-Runner | βοΈ | ready | |
Allsure | Report | βοΈ | ready | |
Cucumber | BDD | βοΈ | ready | |
robotframework | BDD | β | will be evaluated | |
Storybook | Documentation | β | in progress | |
OpenAPI | API | βοΈ | ready | |
GraphQL | API | βοΈ | ready | |
Workbox | PWA | βοΈ | ready | |
Lerna | Mono-Repo | βοΈ | ready | |
Ant-Design | Design-System | βοΈ | proved | |
Bootstrap | Design-System | βοΈ | proved | |
Material | Design-System | βοΈ | proved | |
Tailwindcss | Design-System | βοΈ | proved | |
WindiCSS | Design-System | βοΈ | proved | |
Nexus IQ | Vulnerabiliy-Gate | βοΈ | ready | |
Less | CSS | βοΈ | ready | |
Sass | CSS | βοΈ | ready | |
PostCSS | CSS | βοΈ | ready | |
TSArch | Architecture | β | in progress | |
Webhint | Webhint | βοΈ | moved *** | |
TestCafe | E2E-Test-Runner | β | will be evaluated **** | |
TSLint | Code-Checker | β | removed ** | |
Cypress | E2E-Test-Runner | β | excluded * |
* Arguments agains Cypress:
- reinvent wheel
- detect css selectors
- BDD test syntax
- principals
- large tooling
- a lot of binaries
- many dependencies
- ci integration vs selenium hub
It is difficult to keep focus with Cypress as it is more a nice tool than an effective tool. It is expected that a lot of time will be invested to justify the requirements of a project.
** TSLint is deprecated.
*** Webhint is not practical for the development of components, since component tags often have no relation to standard HTML. In addition, the webhint package alone is over 100 MB in size. I have good by using a IDE webhint plugin, like VSCode webhint.
**** TestCafe The idea that defined TestCafe architecture was that you don't really need an external driver to run end-to-end tests in the browser. That's interesting.
Vanilla Java-/TypeScript are supported by default. That means for example custom elements and any plain Java-/TypeScript code.
-
@leanup/cli
βοΈ -
@leanup/cli-vanilla
(optional) βοΈ
Vanilla Java-/TypeScript are supported by default. That means for example custom elements and any plain Java-/TypeScript code.
The selection of the following frameworks depends in parts on the following references:
Currently the following framework extensions are available:
-
@leanup/cli-angular
βοΈ -
@leanup/cli-angularjs
βοΈ -
@leanup/cli-aurelia
βοΈ -
@leanup/cli-inferno
βοΈ -
@leanup/cli-lit-element
βοΈ -
@leanup/cli-preact
βοΈ -
@leanup/cli-react
βοΈ -
@leanup/cli-solid
βοΈ -
@leanup/cli-svelte
βοΈ -
@leanup/cli-vue
βοΈ -
@leanup/cli-vue3
βοΈ
A separate package contains some nice but not required addons for webpack.
-
@leanup/cli-addons
βοΈ -
@leanup/cli-cucumber
βοΈ -
@leanup/cli-graphql
βοΈ -
@leanup/cli-pwa
βοΈ -
@leanup/cli-webhint
βοΈ
There a separate packages for important application features.
-
@leanup/git-hooks
βοΈ -
@leanup/form
βοΈ -
@leanup/lib
βοΈ -
@leanup/ui
β (in progress)