@tricoteuses/assemblee 2.5.1 → 2.5.3
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/LICENSE.md +28 -28
- package/README.md +152 -152
- package/lib/loaders.js +425 -418
- package/lib/schemas/compte_rendu_commission/CompteRenduCommission.json +63 -63
- package/package.json +126 -126
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "CompteRenduCommission",
|
|
4
|
-
"description": "Compte-rendu d'une réunion en commission d'examen d'un texte de loi",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"reunionRef": {
|
|
8
|
-
"description": "Référence vers la réunion",
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"interventions": {
|
|
12
|
-
"type": "array",
|
|
13
|
-
"items": {
|
|
14
|
-
"type": "object",
|
|
15
|
-
"description": "Prise de parole d'un orateur",
|
|
16
|
-
"properties": {
|
|
17
|
-
"acteurRef": {
|
|
18
|
-
"description": "Référence à l'acteur",
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
"nomActeur": {
|
|
22
|
-
"description": "Nom de l'orateur",
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"groupe": {
|
|
26
|
-
"description": "Groupe parlementaire de l'orateur",
|
|
27
|
-
"type": "string"
|
|
28
|
-
},
|
|
29
|
-
"amendementRef": {
|
|
30
|
-
"description": "Amendement relatif à la prise de parole",
|
|
31
|
-
"type": "string"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"required": [
|
|
35
|
-
"nomActeur"
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"scrutins": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "object",
|
|
43
|
-
"description": "Prise de parole d'un orateur",
|
|
44
|
-
"properties": {
|
|
45
|
-
"amendementRef": {
|
|
46
|
-
"description": "Référence à l'amendement",
|
|
47
|
-
"type": "string"
|
|
48
|
-
},
|
|
49
|
-
"resultat": {
|
|
50
|
-
"description": "Résultat du scrutin",
|
|
51
|
-
"type": "string"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"required": [
|
|
55
|
-
"amendementRef"
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"required": [
|
|
61
|
-
"interventions"
|
|
62
|
-
]
|
|
63
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "CompteRenduCommission",
|
|
4
|
+
"description": "Compte-rendu d'une réunion en commission d'examen d'un texte de loi",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"reunionRef": {
|
|
8
|
+
"description": "Référence vers la réunion",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"interventions": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"description": "Prise de parole d'un orateur",
|
|
16
|
+
"properties": {
|
|
17
|
+
"acteurRef": {
|
|
18
|
+
"description": "Référence à l'acteur",
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"nomActeur": {
|
|
22
|
+
"description": "Nom de l'orateur",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"groupe": {
|
|
26
|
+
"description": "Groupe parlementaire de l'orateur",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"amendementRef": {
|
|
30
|
+
"description": "Amendement relatif à la prise de parole",
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"nomActeur"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"scrutins": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"description": "Prise de parole d'un orateur",
|
|
44
|
+
"properties": {
|
|
45
|
+
"amendementRef": {
|
|
46
|
+
"description": "Référence à l'amendement",
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"resultat": {
|
|
50
|
+
"description": "Résultat du scrutin",
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"amendementRef"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"interventions"
|
|
62
|
+
]
|
|
63
|
+
}
|
package/package.json
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tricoteuses/assemblee",
|
|
3
|
-
"version": "2.5.
|
|
4
|
-
"description": "Retrieve, clean up & handle French Assemblée nationale's open data",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"Assemblée nationale",
|
|
7
|
-
"France",
|
|
8
|
-
"open data",
|
|
9
|
-
"Parliament"
|
|
10
|
-
],
|
|
11
|
-
"author": "Emmanuel Raviart <emmanuel@raviart.com>",
|
|
12
|
-
"contributors": [
|
|
13
|
-
"Henry Boisgibault <h.boisgibault@gmail.com>",
|
|
14
|
-
"Loïc Dachary <loic@dachary.org>"
|
|
15
|
-
],
|
|
16
|
-
"bugs": {
|
|
17
|
-
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-assemblee/issues"
|
|
18
|
-
},
|
|
19
|
-
"homepage": "https://tricoteuses.fr/",
|
|
20
|
-
"license": "AGPL-3.0-or-later",
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-assemblee.git"
|
|
24
|
-
},
|
|
25
|
-
"type": "module",
|
|
26
|
-
"engines": {
|
|
27
|
-
"node": ">=20.0.0"
|
|
28
|
-
},
|
|
29
|
-
"files": [
|
|
30
|
-
"lib"
|
|
31
|
-
],
|
|
32
|
-
"exports": {
|
|
33
|
-
".": {
|
|
34
|
-
"typedoc": "./src/index.ts",
|
|
35
|
-
"import": "./lib/index.js",
|
|
36
|
-
"types": "./lib/index.d.ts"
|
|
37
|
-
},
|
|
38
|
-
"./cleaners": {
|
|
39
|
-
"typedoc": "./src/cleaners/index.ts",
|
|
40
|
-
"import": "./lib/cleaners.js",
|
|
41
|
-
"types": "./lib/cleaners/index.d.ts"
|
|
42
|
-
},
|
|
43
|
-
"./git": {
|
|
44
|
-
"typedoc": "./src/git.ts",
|
|
45
|
-
"import": "./lib/git.js",
|
|
46
|
-
"types": "./lib/git.d.ts"
|
|
47
|
-
},
|
|
48
|
-
"./loaders": {
|
|
49
|
-
"typedoc": "./src/loaders.ts",
|
|
50
|
-
"import": "./lib/loaders.js",
|
|
51
|
-
"types": "./lib/loaders.d.ts"
|
|
52
|
-
},
|
|
53
|
-
"./parsers": {
|
|
54
|
-
"typedoc": "./src/parsers/index.ts",
|
|
55
|
-
"import": "./lib/parsers.js",
|
|
56
|
-
"types": "./lib/parsers/index.d.ts"
|
|
57
|
-
},
|
|
58
|
-
"./package.json": "./package.json"
|
|
59
|
-
},
|
|
60
|
-
"publishConfig": {
|
|
61
|
-
"access": "public"
|
|
62
|
-
},
|
|
63
|
-
"scripts": {
|
|
64
|
-
"build": "vite build && npm run build:doc:api && npm run build:json-schemas && npm run prettier",
|
|
65
|
-
"build:doc:api": "typedoc --plugin typedoc-plugin-markdown --out ./doc/api --readme none",
|
|
66
|
-
"build:json-schemas": "tsx src/scripts/generate-json-schemas.ts && tsx src/scripts/copy-schemas.ts",
|
|
67
|
-
"clean": "rimraf lib",
|
|
68
|
-
"data:clean_data": "tsx src/scripts/clean_reorganized_data.ts --no-validate",
|
|
69
|
-
"data:download": "tsx src/scripts/data-download.ts",
|
|
70
|
-
"data:reorganize_data": "tsx src/scripts/reorganize_data.ts --no-validate-raw",
|
|
71
|
-
"data:retrieve_deputes_photos": "tsx src/scripts/retrieve_deputes_photos.ts --fetch",
|
|
72
|
-
"data:retrieve_documents": "tsx src/scripts/retrieve_documents.ts",
|
|
73
|
-
"data:retrieve_open_data": "tsx src/scripts/retrieve_open_data.ts --fetch",
|
|
74
|
-
"data:retrieve_pending_amendements": "tsx src/scripts/retrieve_pending_amendments.ts --incremental",
|
|
75
|
-
"data:retrieve_senateurs_photos": "tsx src/scripts/retrieve_senateurs_photos.ts --fetch",
|
|
76
|
-
"lint": "eslint .",
|
|
77
|
-
"prepare": "npm run build",
|
|
78
|
-
"prettier": "prettier --write \"src/**/*.ts\"",
|
|
79
|
-
"test:iter_load": "tsx src/scripts/test_iter_load.ts",
|
|
80
|
-
"type-check": "tsc --noEmit",
|
|
81
|
-
"type-check:watch": "npm run type-check -- --watch"
|
|
82
|
-
},
|
|
83
|
-
"dependencies": {
|
|
84
|
-
"cheerio": "^1.1.0",
|
|
85
|
-
"command-line-args": "^6.0.1",
|
|
86
|
-
"command-line-usage": "^7.0.3",
|
|
87
|
-
"date-fns": "^4.1.0",
|
|
88
|
-
"deep-equal": "^2.2.3",
|
|
89
|
-
"deep-object-diff": "^1.1.0",
|
|
90
|
-
"fast-xml-parser": "^5.0.8",
|
|
91
|
-
"front-matter": "^4.0.2",
|
|
92
|
-
"fs-extra": "^11.2.0",
|
|
93
|
-
"glob": "^11.0.0",
|
|
94
|
-
"js-yaml": "^4.0.0",
|
|
95
|
-
"node-html-parser": "^7.0.1",
|
|
96
|
-
"node-stream-zip": "^1.11.6",
|
|
97
|
-
"p-limit": "^7.2.0",
|
|
98
|
-
"sharp": "^0.34.2"
|
|
99
|
-
},
|
|
100
|
-
"devDependencies": {
|
|
101
|
-
"@eslint/js": "^9.27.0",
|
|
102
|
-
"@types/command-line-args": "^5.2.3",
|
|
103
|
-
"@types/command-line-usage": "^5.0.4",
|
|
104
|
-
"@types/deep-equal": "^1.0.4",
|
|
105
|
-
"@types/fs-extra": "^11.0.4",
|
|
106
|
-
"@types/js-yaml": "^4.0.0",
|
|
107
|
-
"@types/node": "^22.7.6",
|
|
108
|
-
"@types/temp": "^0.9.0",
|
|
109
|
-
"@types/unzipper": "^0.10.3",
|
|
110
|
-
"ajv": "^8.0.4",
|
|
111
|
-
"eslint": "^9.27.0",
|
|
112
|
-
"globals": "^16.1.0",
|
|
113
|
-
"prettier": "^3.5.3",
|
|
114
|
-
"rimraf": "^6.0.1",
|
|
115
|
-
"temp": "^0.9.1",
|
|
116
|
-
"ts-json-schema-generator": "^2.4.0",
|
|
117
|
-
"tslib": "^2.0.2",
|
|
118
|
-
"tsx": "^4.0.0",
|
|
119
|
-
"typedoc": "^0.28.5",
|
|
120
|
-
"typedoc-plugin-markdown": "^4.6.4",
|
|
121
|
-
"typescript": "^5.8.3",
|
|
122
|
-
"typescript-eslint": "^8.32.1",
|
|
123
|
-
"vite": "^7.0.4",
|
|
124
|
-
"vite-plugin-dts": "^4.5.4"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@tricoteuses/assemblee",
|
|
3
|
+
"version": "2.5.3",
|
|
4
|
+
"description": "Retrieve, clean up & handle French Assemblée nationale's open data",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Assemblée nationale",
|
|
7
|
+
"France",
|
|
8
|
+
"open data",
|
|
9
|
+
"Parliament"
|
|
10
|
+
],
|
|
11
|
+
"author": "Emmanuel Raviart <emmanuel@raviart.com>",
|
|
12
|
+
"contributors": [
|
|
13
|
+
"Henry Boisgibault <h.boisgibault@gmail.com>",
|
|
14
|
+
"Loïc Dachary <loic@dachary.org>"
|
|
15
|
+
],
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-assemblee/issues"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://tricoteuses.fr/",
|
|
20
|
+
"license": "AGPL-3.0-or-later",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-assemblee.git"
|
|
24
|
+
},
|
|
25
|
+
"type": "module",
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=20.0.0"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"lib"
|
|
31
|
+
],
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"typedoc": "./src/index.ts",
|
|
35
|
+
"import": "./lib/index.js",
|
|
36
|
+
"types": "./lib/index.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./cleaners": {
|
|
39
|
+
"typedoc": "./src/cleaners/index.ts",
|
|
40
|
+
"import": "./lib/cleaners.js",
|
|
41
|
+
"types": "./lib/cleaners/index.d.ts"
|
|
42
|
+
},
|
|
43
|
+
"./git": {
|
|
44
|
+
"typedoc": "./src/git.ts",
|
|
45
|
+
"import": "./lib/git.js",
|
|
46
|
+
"types": "./lib/git.d.ts"
|
|
47
|
+
},
|
|
48
|
+
"./loaders": {
|
|
49
|
+
"typedoc": "./src/loaders.ts",
|
|
50
|
+
"import": "./lib/loaders.js",
|
|
51
|
+
"types": "./lib/loaders.d.ts"
|
|
52
|
+
},
|
|
53
|
+
"./parsers": {
|
|
54
|
+
"typedoc": "./src/parsers/index.ts",
|
|
55
|
+
"import": "./lib/parsers.js",
|
|
56
|
+
"types": "./lib/parsers/index.d.ts"
|
|
57
|
+
},
|
|
58
|
+
"./package.json": "./package.json"
|
|
59
|
+
},
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "vite build && npm run build:doc:api && npm run build:json-schemas && npm run prettier",
|
|
65
|
+
"build:doc:api": "typedoc --plugin typedoc-plugin-markdown --out ./doc/api --readme none",
|
|
66
|
+
"build:json-schemas": "tsx src/scripts/generate-json-schemas.ts && tsx src/scripts/copy-schemas.ts",
|
|
67
|
+
"clean": "rimraf lib",
|
|
68
|
+
"data:clean_data": "tsx src/scripts/clean_reorganized_data.ts --no-validate",
|
|
69
|
+
"data:download": "tsx src/scripts/data-download.ts",
|
|
70
|
+
"data:reorganize_data": "tsx src/scripts/reorganize_data.ts --no-validate-raw",
|
|
71
|
+
"data:retrieve_deputes_photos": "tsx src/scripts/retrieve_deputes_photos.ts --fetch",
|
|
72
|
+
"data:retrieve_documents": "tsx src/scripts/retrieve_documents.ts",
|
|
73
|
+
"data:retrieve_open_data": "tsx src/scripts/retrieve_open_data.ts --fetch",
|
|
74
|
+
"data:retrieve_pending_amendements": "tsx src/scripts/retrieve_pending_amendments.ts --incremental",
|
|
75
|
+
"data:retrieve_senateurs_photos": "tsx src/scripts/retrieve_senateurs_photos.ts --fetch",
|
|
76
|
+
"lint": "eslint .",
|
|
77
|
+
"prepare": "npm run build",
|
|
78
|
+
"prettier": "prettier --write \"src/**/*.ts\"",
|
|
79
|
+
"test:iter_load": "tsx src/scripts/test_iter_load.ts",
|
|
80
|
+
"type-check": "tsc --noEmit",
|
|
81
|
+
"type-check:watch": "npm run type-check -- --watch"
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"cheerio": "^1.1.0",
|
|
85
|
+
"command-line-args": "^6.0.1",
|
|
86
|
+
"command-line-usage": "^7.0.3",
|
|
87
|
+
"date-fns": "^4.1.0",
|
|
88
|
+
"deep-equal": "^2.2.3",
|
|
89
|
+
"deep-object-diff": "^1.1.0",
|
|
90
|
+
"fast-xml-parser": "^5.0.8",
|
|
91
|
+
"front-matter": "^4.0.2",
|
|
92
|
+
"fs-extra": "^11.2.0",
|
|
93
|
+
"glob": "^11.0.0",
|
|
94
|
+
"js-yaml": "^4.0.0",
|
|
95
|
+
"node-html-parser": "^7.0.1",
|
|
96
|
+
"node-stream-zip": "^1.11.6",
|
|
97
|
+
"p-limit": "^7.2.0",
|
|
98
|
+
"sharp": "^0.34.2"
|
|
99
|
+
},
|
|
100
|
+
"devDependencies": {
|
|
101
|
+
"@eslint/js": "^9.27.0",
|
|
102
|
+
"@types/command-line-args": "^5.2.3",
|
|
103
|
+
"@types/command-line-usage": "^5.0.4",
|
|
104
|
+
"@types/deep-equal": "^1.0.4",
|
|
105
|
+
"@types/fs-extra": "^11.0.4",
|
|
106
|
+
"@types/js-yaml": "^4.0.0",
|
|
107
|
+
"@types/node": "^22.7.6",
|
|
108
|
+
"@types/temp": "^0.9.0",
|
|
109
|
+
"@types/unzipper": "^0.10.3",
|
|
110
|
+
"ajv": "^8.0.4",
|
|
111
|
+
"eslint": "^9.27.0",
|
|
112
|
+
"globals": "^16.1.0",
|
|
113
|
+
"prettier": "^3.5.3",
|
|
114
|
+
"rimraf": "^6.0.1",
|
|
115
|
+
"temp": "^0.9.1",
|
|
116
|
+
"ts-json-schema-generator": "^2.4.0",
|
|
117
|
+
"tslib": "^2.0.2",
|
|
118
|
+
"tsx": "^4.0.0",
|
|
119
|
+
"typedoc": "^0.28.5",
|
|
120
|
+
"typedoc-plugin-markdown": "^4.6.4",
|
|
121
|
+
"typescript": "^5.8.3",
|
|
122
|
+
"typescript-eslint": "^8.32.1",
|
|
123
|
+
"vite": "^7.0.4",
|
|
124
|
+
"vite-plugin-dts": "^4.5.4"
|
|
125
|
+
}
|
|
126
|
+
}
|