Wiki source code of Technological Choices
Last modified by Manuel Leduc on 2024/02/14 17:49
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
5.1 | 1 | {{toc start="2"/}} |
| |
2.1 | 2 | |
| |
4.2 | 3 | == Typescript == |
| |
2.1 | 4 | |
| 5 | * [[Forum discussion>>https://forum.xwiki.org/t/wiki-3-0-implementation-choices-typescript/13170]] | ||
| 6 | |||
| |
4.2 | 7 | == UI Elements: Vue + Web Components == |
| |
2.1 | 8 | |
| |
3.1 | 9 | * Both Vue 3 and Web Components are allowed to be used as part of the UI of Cristal. |
| 10 | * Reusable UI elements defined using Vue 3 must be exported as [[Web Components>>https://vuejs.org/guide/extras/web-components]]. | ||
| 11 | |||
![]() |
8.1 | 12 | == Build tools == |
| 13 | |||
| 14 | * [[pnpm>>https://pnpm.io/]] | ||
| 15 | * [[nx>>https://nx.dev/]] build ordering + build cache | ||
| 16 | * [[vitejs>>https://vitejs.dev/]]/[[rollup>>https://rollupjs.org/]] | ||
| 17 | |||
| |
4.2 | 18 | == Testing == |
| |
4.1 | 19 | |
| |
4.2 | 20 | === Unit and Vue components tests === |
| |
4.1 | 21 | |
| 22 | [[Vitest>>https://vitest.dev/]] | ||
| 23 | |||
| |
4.2 | 24 | === End to End / Functional tests === |
| |
4.1 | 25 | |
| 26 | [[Playwright>>https://playwright.dev/]] | ||
| 27 | |||
| |
4.2 | 28 | === Accessibility tests === |
| |
4.1 | 29 | |
| |
6.1 | 30 | [[Axe Core>>https://github.com/dequelabs/axe-core]] and careful selection of the design systems to be accessible by default. |
| |
4.1 | 31 | |
| |
6.1 | 32 | === Code Style, Linting and Formatting === |
| 33 | |||
| 34 | * [[eslint>>url:https://eslint.org/]] | ||
| 35 | * [[prettier>>url:https://prettier.io/]] | ||
| 36 | |||
| |
9.1 | 37 | == Components == |
| 38 | |||
| 39 | * [[inversify>>https://github.com/inversify/InversifyJS]] | ||
| 40 | |||
| |
2.1 | 41 | == To be defined == |
| 42 | |||
| 43 | See the [[Technologies design page>>design:Proposal.Cristal.Technologies.WebHome]] for the ongoing choices. |

This project is being financed by the French State as part of the France 2030 program
Ce projet est financé par l’État Français dans le cadre de France 2030
