@socialgouv/cdtn-elasticsearch 1.14.2 → 1.16.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/CHANGELOG.md +11 -0
- package/package.json +5 -4
- package/src/dataset/stop_words/stop_words.json +0 -2
- package/src/dataset/synonyms/cdtn_synonyms.json +2 -2
- package/src/vectorizer/__snapshots__/index.test.js.snap +437 -954
- package/src/vectorizer/index.js +2 -2
- package/src/vectorizer/index.test.js +5 -3
- package/.gitlab-ci.yml +0 -40
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [1.16.0](https://github.com/SocialGouv/cdtn-admin/compare/v1.15.1...v1.16.0) (2022-05-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* migration from gitlab to github ([#730](https://github.com/SocialGouv/cdtn-admin/issues/730)) ([4c6dd02](https://github.com/SocialGouv/cdtn-admin/commit/4c6dd027364b0eb31a0d7ae8ddc6c080399e6317))
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socialgouv/cdtn-elasticsearch",
|
|
3
3
|
"description": "SocialGouv - Code du travail numerique - Infrastructure - Elasticsearch",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.16.0",
|
|
5
5
|
"babel": {
|
|
6
6
|
"plugins": [
|
|
7
7
|
"@babel/plugin-transform-modules-commonjs"
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@socialgouv/cdtn-logger": "^1.
|
|
11
|
+
"@socialgouv/cdtn-logger": "^1.16.0",
|
|
12
12
|
"got": "^11.8.2"
|
|
13
13
|
},
|
|
14
14
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"lint": "eslint \"./src/**/*.{js,ts}\"",
|
|
38
38
|
"precommit": "lint-staged",
|
|
39
39
|
"prepush": "yarn lint && yarn test --bail --changedSince=master",
|
|
40
|
-
"test": "jest"
|
|
40
|
+
"test": "jest",
|
|
41
|
+
"test:update": "jest -u"
|
|
41
42
|
},
|
|
42
43
|
"lint-staged": {
|
|
43
44
|
"lib/**": [
|
|
@@ -46,5 +47,5 @@
|
|
|
46
47
|
},
|
|
47
48
|
"sideEffects": false,
|
|
48
49
|
"typings": "src/index.d.ts",
|
|
49
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "ade0c550b35460ce0e31a4549b7477d7e183cead"
|
|
50
51
|
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
"aménagement et réduction du temps de travail, artt",
|
|
10
10
|
"application de gestion des dossiers des ressortissants étrangers en france, agdref",
|
|
11
11
|
"assistant maternel, assistant maternel du particuler employeur, ass-mat, ass mat, nounou, assmat",
|
|
12
|
-
"assmat, ass. mat., ass mat, ass.mat., ass-mat, assistant maternel",
|
|
13
12
|
"bureau d'étude technique, syntech, syntec",
|
|
14
13
|
"bâtiment et travaux publics, btp",
|
|
15
14
|
"cancérigène, cancérogène",
|
|
@@ -27,6 +26,7 @@
|
|
|
27
26
|
"communauté economique européenne, cee",
|
|
28
27
|
"compte personnel activité, cpa",
|
|
29
28
|
"compte personnel formation, cpf",
|
|
29
|
+
"compte épargne temps, cet",
|
|
30
30
|
"congé individuel de formation, cif",
|
|
31
31
|
"congé parental d'éducation, congé parental",
|
|
32
32
|
"congédiement, licenciement",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"oralement, verbalement",
|
|
102
102
|
"organisation internationale du travail, oit",
|
|
103
103
|
"organisme professionnel de prévention bâtiment et travaux publics, oppbtp",
|
|
104
|
-
"
|
|
104
|
+
"employeur, patron",
|
|
105
105
|
"pass navigo, frais de transport => pass_navigo",
|
|
106
106
|
"plan de retrait amiante, pra",
|
|
107
107
|
"plan de sauvegarde de l'emploi, pse",
|