@tricoteuses/senat 2.9.1 → 2.9.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/LICENSE.md +22 -22
- package/README.md +116 -116
- package/lib/loaders.d.ts +5 -1
- package/lib/loaders.js +8 -0
- package/lib/model/agenda.js +2 -0
- package/lib/model/compte_rendu.d.ts +1 -2
- package/lib/model/compte_rendu.js +303 -22
- package/lib/scripts/retrieve_comptes_rendus.js +27 -14
- package/lib/scripts/retrieve_videos.d.ts +1 -0
- package/lib/scripts/retrieve_videos.js +420 -0
- package/lib/types/agenda.d.ts +2 -0
- package/lib/types/compte_rendu.d.ts +72 -7
- package/lib/validators/senat.d.ts +0 -0
- package/lib/validators/senat.js +24 -0
- package/package.json +96 -94
package/package.json
CHANGED
|
@@ -1,94 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tricoteuses/senat",
|
|
3
|
-
"version": "2.9.
|
|
4
|
-
"description": "Handle French Sénat's open data",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"France",
|
|
7
|
-
"open data",
|
|
8
|
-
"Parliament",
|
|
9
|
-
"Sénat"
|
|
10
|
-
],
|
|
11
|
-
"author": "Emmanuel Raviart <emmanuel@raviart.com>",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-senat/issues"
|
|
14
|
-
},
|
|
15
|
-
"homepage": "https://tricoteuses.fr/",
|
|
16
|
-
"license": "AGPL-3.0-or-later",
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-senat.git"
|
|
20
|
-
},
|
|
21
|
-
"type": "module",
|
|
22
|
-
"engines": {
|
|
23
|
-
"node": ">=22"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"lib"
|
|
27
|
-
],
|
|
28
|
-
"exports": {
|
|
29
|
-
".": {
|
|
30
|
-
"import": "./lib/index.js",
|
|
31
|
-
"types": "./lib/index.d.ts"
|
|
32
|
-
},
|
|
33
|
-
"./loaders": {
|
|
34
|
-
"import": "./lib/loaders.js",
|
|
35
|
-
"types": "./lib/loaders.d.ts"
|
|
36
|
-
},
|
|
37
|
-
"./package.json": "./package.json"
|
|
38
|
-
},
|
|
39
|
-
"publishConfig": {
|
|
40
|
-
"access": "public"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"build": "tsc",
|
|
44
|
-
"build:types": "tsc --emitDeclarationOnly",
|
|
45
|
-
"data:convert_data": "tsx src/scripts/convert_data.ts",
|
|
46
|
-
"data:download": "tsx src/scripts/data-download.ts",
|
|
47
|
-
"data:generate_schemas": "tsx src/scripts/retrieve_open_data.ts --schema",
|
|
48
|
-
"data:retrieve_agenda": "cross-env TZ='Etc/UTC' tsx src/scripts/retrieve_agenda.ts",
|
|
49
|
-
"data:retrieve_comptes_rendus": "tsx src/scripts/retrieve_comptes_rendus.ts",
|
|
50
|
-
"data:retrieve_documents": "tsx src/scripts/retrieve_documents.ts",
|
|
51
|
-
"data:retrieve_open_data": "tsx src/scripts/retrieve_open_data.ts --all",
|
|
52
|
-
"data:retrieve_senateurs_photos": "tsx src/scripts/retrieve_senateurs_photos.ts --fetch",
|
|
53
|
-
"data:
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"type-check
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"@
|
|
79
|
-
"@types/
|
|
80
|
-
"@types/
|
|
81
|
-
"@types/
|
|
82
|
-
"@types/
|
|
83
|
-
"@types/
|
|
84
|
-
"@types/
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"
|
|
88
|
-
"eslint": "^8.
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@tricoteuses/senat",
|
|
3
|
+
"version": "2.9.6",
|
|
4
|
+
"description": "Handle French Sénat's open data",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"France",
|
|
7
|
+
"open data",
|
|
8
|
+
"Parliament",
|
|
9
|
+
"Sénat"
|
|
10
|
+
],
|
|
11
|
+
"author": "Emmanuel Raviart <emmanuel@raviart.com>",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-senat/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://tricoteuses.fr/",
|
|
16
|
+
"license": "AGPL-3.0-or-later",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://git.tricoteuses.fr/logiciels/tricoteuses-senat.git"
|
|
20
|
+
},
|
|
21
|
+
"type": "module",
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=22"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"lib"
|
|
27
|
+
],
|
|
28
|
+
"exports": {
|
|
29
|
+
".": {
|
|
30
|
+
"import": "./lib/index.js",
|
|
31
|
+
"types": "./lib/index.d.ts"
|
|
32
|
+
},
|
|
33
|
+
"./loaders": {
|
|
34
|
+
"import": "./lib/loaders.js",
|
|
35
|
+
"types": "./lib/loaders.d.ts"
|
|
36
|
+
},
|
|
37
|
+
"./package.json": "./package.json"
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsc",
|
|
44
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
45
|
+
"data:convert_data": "tsx src/scripts/convert_data.ts",
|
|
46
|
+
"data:download": "tsx src/scripts/data-download.ts",
|
|
47
|
+
"data:generate_schemas": "tsx src/scripts/retrieve_open_data.ts --schema",
|
|
48
|
+
"data:retrieve_agenda": "cross-env TZ='Etc/UTC' tsx src/scripts/retrieve_agenda.ts",
|
|
49
|
+
"data:retrieve_comptes_rendus": "tsx src/scripts/retrieve_comptes_rendus.ts",
|
|
50
|
+
"data:retrieve_documents": "tsx src/scripts/retrieve_documents.ts",
|
|
51
|
+
"data:retrieve_open_data": "tsx src/scripts/retrieve_open_data.ts --all",
|
|
52
|
+
"data:retrieve_senateurs_photos": "tsx src/scripts/retrieve_senateurs_photos.ts --fetch",
|
|
53
|
+
"data:retrieve_videos": "tsx src/scripts/retrieve_videos.ts",
|
|
54
|
+
"data:parse_textes_lois": "tsx src/scripts/parse_textes.ts",
|
|
55
|
+
"prepare": "npm run build",
|
|
56
|
+
"prepublishOnly": "npm run build",
|
|
57
|
+
"prettier": "prettier --write 'src/**/*.ts' 'tests/**/*.test.ts'",
|
|
58
|
+
"type-check": "tsc --noEmit",
|
|
59
|
+
"type-check:watch": "npm run type-check -- --watch"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@biryani/core": "^0.2.1",
|
|
63
|
+
"cheerio": "^1.1.2",
|
|
64
|
+
"command-line-args": "^5.1.1",
|
|
65
|
+
"dotenv": "^8.2.0",
|
|
66
|
+
"fs-extra": "^9.1.0",
|
|
67
|
+
"jsdom": "^26.0.0",
|
|
68
|
+
"kysely": "^0.27.4",
|
|
69
|
+
"luxon": "^3.5.0",
|
|
70
|
+
"node-stream-zip": "^1.8.2",
|
|
71
|
+
"pg": "^8.13.1",
|
|
72
|
+
"pg-cursor": "^2.12.1",
|
|
73
|
+
"slug": "^11.0.0",
|
|
74
|
+
"tsx": "^4.19.4",
|
|
75
|
+
"windows-1252": "^1.0.0"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@typed-code/schemats": "^5.0.1",
|
|
79
|
+
"@types/command-line-args": "^5.0.0",
|
|
80
|
+
"@types/fs-extra": "^9.0.7",
|
|
81
|
+
"@types/jsdom": "^21.1.7",
|
|
82
|
+
"@types/luxon": "^3.4.2",
|
|
83
|
+
"@types/node": "^20.17.6",
|
|
84
|
+
"@types/pg": "^8.11.10",
|
|
85
|
+
"@types/pg-cursor": "^2.7.2",
|
|
86
|
+
"@types/slug": "^5.0.9",
|
|
87
|
+
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
|
88
|
+
"@typescript-eslint/parser": "^8.13.0",
|
|
89
|
+
"cross-env": "^10.0.0",
|
|
90
|
+
"eslint": "^8.57.1",
|
|
91
|
+
"kysely-codegen": "^0.18.0",
|
|
92
|
+
"prettier": "^3.5.3",
|
|
93
|
+
"tslib": "^2.1.0",
|
|
94
|
+
"typescript": "^5.8.3"
|
|
95
|
+
}
|
|
96
|
+
}
|