@amsom-habitat/amsom-table 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -0
- package/dist/amsom-table.js +8953 -0
- package/dist/amsom-table.umd.cjs +588 -0
- package/dist/style.css +1 -0
- package/package.json +65 -0
package/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# AMSOM UI
|
|
2
|
+
|
|
3
|
+
Ce package regroupe les composants tableaux d'AMSOM Habitat
|
|
4
|
+
|
|
5
|
+
Il regroupe les packages :
|
|
6
|
+
|
|
7
|
+
- AmsomTableDraggable voir la documentation [ici](AmsomTableDraggable.md)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm i @amsom-habitat/amsom-table
|
|
13
|
+
```
|
|
14
|
+
Importer les css dans le main.js tel que :
|
|
15
|
+
```javascript
|
|
16
|
+
import '@amsom-habitat/amsom-table/dist/style.css'
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Développment
|
|
21
|
+
|
|
22
|
+
Après avoir fait vos dev, veillez à bien tenir à jour le [changelog.md](changelog.md) ainsi que la version du package.json puis faites :
|
|
23
|
+
```bash
|
|
24
|
+
git add .
|
|
25
|
+
git commit -m '<commentaire'
|
|
26
|
+
git push origin <branch>
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Tests
|
|
30
|
+
|
|
31
|
+
Les tests sont réalisé de manière automatique sur les branches main et dev mais peuvent être fait localement, notemment pour voir l'evolution du développement via la commande :
|
|
32
|
+
```bash
|
|
33
|
+
npm run storybook
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Le valideur devra, si des changements sont observés, aller sur la pipeline pour valider les différences à l'aide de chromatic, sans cela aucun merge-request ne sera possible. Si un merge est effectué, une double verification sera necessaire.
|
|
37
|
+
|
|
38
|
+
## Déploiement
|
|
39
|
+
|
|
40
|
+
Après avoir merge les dev sur la branche main, exécutez :
|
|
41
|
+
```bash
|
|
42
|
+
make publish
|
|
43
|
+
```
|
|
44
|
+
Cette commande vérifie la version, le changelog et publie le tout
|