Wiki source code of Technological Choices
Last modified by Manuel Leduc on 2024/02/14 17:49
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{toc start="2"/}} | ||
| 2 | |||
| 3 | == Typescript == | ||
| 4 | |||
| 5 | * [[Forum discussion>>https://forum.xwiki.org/t/wiki-3-0-implementation-choices-typescript/13170]] | ||
| 6 | |||
| 7 | == UI Elements: Vue + Web Components == | ||
| 8 | |||
| 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 | |||
| 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 | |||
| 18 | == Testing == | ||
| 19 | |||
| 20 | === Unit and Vue components tests === | ||
| 21 | |||
| 22 | [[Vitest>>https://vitest.dev/]] | ||
| 23 | |||
| 24 | === End to End / Functional tests === | ||
| 25 | |||
| 26 | [[Playwright>>https://playwright.dev/]] | ||
| 27 | |||
| 28 | === Accessibility tests === | ||
| 29 | |||
| 30 | [[Axe Core>>https://github.com/dequelabs/axe-core]] and careful selection of the design systems to be accessible by default. | ||
| 31 | |||
| 32 | === Code Style, Linting and Formatting === | ||
| 33 | |||
| 34 | * [[eslint>>url:https://eslint.org/]] | ||
| 35 | * [[prettier>>url:https://prettier.io/]] | ||
| 36 | |||
| 37 | == Components == | ||
| 38 | |||
| 39 | * [[inversify>>https://github.com/inversify/InversifyJS]] | ||
| 40 | |||
| 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