Skip to content
Snippets Groups Projects
Commit c318c404 authored by Giildo's avatar Giildo
Browse files

:pencil: Update readme file

parent 8fab61f8
Branches
Tags
No related merge requests found
Pipeline #267456 passed with stage
in 14 seconds
......@@ -21,13 +21,11 @@ date maximale est le mar. 13 sept. 275760 00:00:00 GMT.
Dans le projet [Octant](https://octant.unistra.fr/), nous devons gérer des dates avant et après les limitations de
l'objet Date.
## Usage
### Installation
## Installation
Le package n'est pas publié ni sur NPM, ni sur gitlab. Pour l'utiliser, il faut le cloner et l'utiliser en local.
#### Lien local
### Lien local
Avec un lien vers le dossier dans le package.json.
......@@ -40,12 +38,12 @@ git clone https://git.unistra.fr/vue-unistra/limitdayjs.git
```json
{
"dependencies": {
"limitdayjs": "file:./libs/limitdayjs"
"@vue-unistra/limitdayjs": "file:./libs/limitdayjs"
}
}
```
#### Workspace PNPM
### Workspace PNPM
Avec un workspace dans le `pnpm-workspace.yaml`. Dans le projet, créer un dossier `libs` et cloner le projet dedans.
......@@ -65,7 +63,7 @@ Dans le `package.json` du projet :
```json
{
"dependencies": {
"limitdayjs": "workspace:*"
"@vue-unistra/limitdayjs": "workspace:*"
}
}
```
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment