@pristy/pristy-libvue 0.2.4 → 0.2.6

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/.gitlab-ci.yml CHANGED
@@ -13,7 +13,6 @@ variables:
13
13
  DOCKER_HOST: tcp://docker:2375
14
14
  DOCKER_TLS_CERTDIR: ""
15
15
  DOCKER_DRIVER: overlay2
16
- NPM_TOKEN: ${NPM_TOKEN}
17
16
 
18
17
  ## NODE BUILD ##
19
18
 
@@ -46,8 +45,7 @@ publish:
46
45
  - npm-install
47
46
  script:
48
47
  - npm config set -- '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
49
- - npm whoami
50
48
  - npm publish --access public
51
49
  resource_group: 'deployment-$CI_COMMIT_REF_SLUG'
52
50
  only:
53
- - tags
51
+ - stable
package/README.md CHANGED
@@ -1,43 +1,41 @@
1
1
  # Pristy Libvue
2
2
 
3
- Packaging de Class JS ultra simple dans un node_module avec NPM.
4
- Package scopé @pristy.
3
+ Code factoring for Pristy
5
4
 
6
- ## Build en production
5
+ ## Developing with Pristy-libvue
7
6
 
8
- Pas de build, il s'agit d'un simple package de class JS.
7
+ Add `@pristy/pristy-libvue` package.
9
8
 
10
- Le package est publié sur la registry interne Nexus quand un tag est ajouté au commit.
11
9
 
12
- Il n'est pas possible de modifier une version existante, il faut faire de nouvelle version dans le `package.json` .
13
- ## Développer avec Pristy-libvue
14
-
15
- Ajouter le package `@pristy/pristy-libvue`.
16
- Puis appeler les classes disponibles où c'est nécessaire. Attention il n'y pas de classe par défaut, il faut utiliser des {} dans l'import. Par exemple :
10
+ Then call the available classes where necessary. Be careful, there is no default class, you must use {} in the import.
17
11
 
18
12
  ```vue
19
13
  import { AlfrescoFileService } from "@pristy/pristy-libvue"
20
14
  ```
21
15
 
22
16
 
23
- ## Modifier en local
17
+ ## Dev locally
24
18
 
25
- 1. Dans prity-libvue
19
+ 1. In prity-libvue
26
20
 
27
21
  ```
28
22
  npm link
29
23
  ```
30
24
 
31
- 2. Dans une application pristy- ...
25
+ 2. In another pristy application
32
26
 
33
27
  ```
34
- npm link <repertoire local de pristy-libvue>
28
+ npm link <local directory off pristy-libvue>
35
29
  ```
36
30
 
37
- Le package pristy-libvue du package.json va être surchargé par la librairie locale.
31
+ The pristy-libvue package of the package.json will be overloaded by the local library.
38
32
 
39
33
  ## Versions
40
34
 
41
35
  | Version | Commits |
42
36
  |---------|:---------------------------------------------------------------------------------------|
43
- | 0.1.4 | Première version stable |
37
+ | 0.1.4 | First stable release |
38
+ | 0.2.0 | Add copy and move nodes functions, Error management corrections |
39
+ | 0.2.3 | Add workspaceService |
40
+ | 0.2.4 | Adding the publication of an act |
41
+ | 0.2.5 | Update Readme and licence in package.json |
package/package.json CHANGED
@@ -1,10 +1,21 @@
1
1
  {
2
2
  "name": "@pristy/pristy-libvue",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "Library for Pristy application",
5
+ "homepage": "https://pristy.fr/en/",
5
6
  "main": "src/index.js",
6
7
  "dependencies": {
7
8
  "@alfresco/js-api": "^4.11.0",
8
9
  "pinia": "^2.0.15"
10
+ },
11
+ "author": "JECI SARL",
12
+ "license": "AGPL-3.0",
13
+ "keywords": [
14
+ "alfresco",
15
+ "vue"
16
+ ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://gitlab.com/pristy-oss/pristy-libvue.git"
9
20
  }
10
21
  }
@@ -86,7 +86,7 @@ export default class ErrorService {
86
86
  message =
87
87
  "Vous ne pouvez pas supprimer ce " +
88
88
  type +
89
- ", ce dernier est vérouillé.";
89
+ ", ce dernier est verrouillé.";
90
90
  break;
91
91
  default:
92
92
  message = error.message;
@@ -104,7 +104,7 @@ export default class ErrorService {
104
104
  message = "Vous n'avez pas la permission pour mettre à jour.";
105
105
  break;
106
106
  case 404:
107
- message = "Impossible d'update un fichier inexistant.";
107
+ message = "Impossible de mettre à jour un fichier inexistant.";
108
108
  break;
109
109
  case 409:
110
110
  message = "Le nom du fichier est déjà existant.";
@@ -179,10 +179,10 @@ export function loginError(data){
179
179
  let error = JSON.parse(data.message).error;
180
180
  switch (error.statusCode) {
181
181
  case 401:
182
- message = "L'authentification à échoué";
182
+ message = "L'authentification a échoué";
183
183
  break;
184
184
  case 403:
185
- message = "Le nom d'utilisateur ou mot de passe incorrect.";
185
+ message = "Nom d'utilisateur ou mot de passe incorrect.";
186
186
  break;
187
187
  default:
188
188
  message = error.message;