@tricoteuses/tisseuse 0.22.1 → 0.22.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.
Files changed (33) hide show
  1. package/README.md +11 -2
  2. package/dist/{html-BTaoaqX5.js → html-ClFZh0_V.js} +3991 -4556
  3. package/dist/index.js +53 -52
  4. package/dist/lib/extractors/links.d.ts +39 -5
  5. package/dist/lib/index.d.ts +3 -2
  6. package/dist/lib/legi/canutes_resolver.d.ts +24 -3
  7. package/dist/lib/legi/europe_attestation.d.ts +20 -0
  8. package/dist/lib/legi/europe_attestation.fixture.d.ts +8 -0
  9. package/dist/lib/legi/europe_attestation.test.d.ts +1 -0
  10. package/dist/lib/legi/europe_designation.d.ts +76 -0
  11. package/dist/lib/legi/europe_designation.test.d.ts +1 -0
  12. package/dist/lib/legi/europe_designation_cellar.test.d.ts +1 -0
  13. package/dist/lib/legi/europe_observation.d.ts +23 -0
  14. package/dist/lib/legi/europe_observation.test.d.ts +1 -0
  15. package/dist/lib/legi/resolver.d.ts +95 -0
  16. package/dist/lib/linkers/bascule_render_decisions.test.d.ts +1 -0
  17. package/dist/lib/linkers/html_european.test.d.ts +1 -0
  18. package/dist/lib/linkers/link_decision_metadata.d.ts +5 -0
  19. package/dist/lib/links.d.ts +29 -0
  20. package/dist/lib/text_parsers/ast.d.ts +6 -0
  21. package/dist/link-decision-metadata.js +8 -2
  22. package/dist/{resolver-GT7457lQ.js → resolver-C8c79uNU.js} +1341 -406
  23. package/dist/scripts/assemblee_install.integration.test.d.ts +1 -0
  24. package/dist/scripts/fixtures/assemblee-collation.d.ts +1 -0
  25. package/dist/scripts/fixtures/assemblee-empty-snapshot.d.ts +1 -0
  26. package/dist/scripts/installation-sandbox-locks.test.d.ts +1 -0
  27. package/dist/scripts/shared/assemblee_document_content.d.ts +46 -0
  28. package/dist/scripts/shared/assemblee_document_content.test.d.ts +1 -0
  29. package/dist/scripts/shared/assemblee_enqueue.d.ts +6 -0
  30. package/dist/scripts/sync_assemblee_queue.integration.test.d.ts +1 -0
  31. package/dist/server-f-legi.js +83 -83
  32. package/dist/server.js +445 -445
  33. package/package.json +18 -14
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tricoteuses/tisseuse",
3
3
  "description": "Find links in/to French legislative documents",
4
- "version": "0.22.1",
4
+ "version": "0.22.3",
5
5
  "keywords": [
6
6
  "Assemblée nationale",
7
7
  "France",
@@ -64,38 +64,42 @@
64
64
  "associate:jorf:commissions": "tsx src/scripts/associate_jorf_textes_with_assemblee_commissions.ts",
65
65
  "associate:jorf:dossiers": "tsx src/scripts/associate_jorf_textes_with_dossiers_legislatifs_assemblee.ts",
66
66
  "audit:doctrinal-references": "tsx src/scripts/audit_doctrinal_references.ts",
67
- "jurisprudence:pilote": "tsx src/scripts/alimenter_jurisprudence_pilote.ts",
68
67
  "audit:doctrinal-references:check": "tsx src/scripts/audit_doctrinal_references.ts --output /tmp/tisseuse-doctrinal-references-audit.json --baseline audits/doctrinal-references-baseline.json --fail-on-regression",
69
68
  "build": "vite build",
70
69
  "check": "tsc --noEmit",
70
+ "compare:legi-bills": "tsx src/scripts/compare_legi_bills.ts",
71
71
  "configure": "tsx src/scripts/configure.ts",
72
72
  "configure:postgres:assemblee-triggers": "tsx src/scripts/configure_postgres_assemblee_document_triggers.ts",
73
- "configure:postgres:senat-triggers": "tsx src/scripts/configure_postgres_senat_document_triggers.ts",
74
73
  "configure:postgres:legi-resolver": "tsx src/scripts/configure_postgres_legi_resolver.ts",
75
74
  "configure:postgres:legi-root-cid-index": "tsx src/scripts/configure_postgres_root_cid_index.ts",
76
- "test:postgres:legi-root-cid-index": "vitest run src/lib/legi/canutes_root_cid_index.integration.test.ts",
77
- "warm:postgres:legi-titles": "tsx src/scripts/warm_canutes_text_titles_cache.ts",
78
- "test:postgres:legi-cache": "tsx src/scripts/test_canutes_titles_cache.ts",
79
- "profile:canutes-bill": "tsx src/scripts/profile_canutes_bill.ts",
80
- "profile:legi-bill": "tsx src/scripts/profile_canutes_bill.ts",
81
- "compare:legi-bills": "tsx src/scripts/compare_legi_bills.ts",
75
+ "configure:postgres:senat-triggers": "tsx src/scripts/configure_postgres_senat_document_triggers.ts",
82
76
  "format": "prettier --write \"src/**/*.ts\" \"*.md\"",
83
77
  "index:jos": "tsx src/scripts/extract_jos_infos.ts",
84
78
  "index:postgres:assemblee": "tsx src/scripts/index_postgres_assemblee_texts.ts",
85
79
  "index:postgres:assemblee-amendments": "tsx src/scripts/index_postgres_assemblee_amendments.ts",
80
+ "index:postgres:judilibre": "tsx src/scripts/index_postgres_judilibre.ts",
86
81
  "index:postgres:legifrance": "tsx src/scripts/index_postgres_legifrance_articles.ts",
87
82
  "index:postgres:legifrance-jurisprudence": "tsx src/scripts/index_postgres_legifrance_jurisprudence.ts",
88
- "index:postgres:judilibre": "tsx src/scripts/index_postgres_judilibre.ts",
89
83
  "index:postgres:senat": "tsx src/scripts/index_postgres_senat_texts.ts",
90
84
  "index:postgres:senat-amendments": "tsx src/scripts/index_postgres_senat_amendments.ts",
91
- "profile:assemblee-document": "tsx src/scripts/profile_assemblee_document_parsing.ts",
92
- "sync:postgres:assemblee-content": "tsx src/scripts/sync_postgres_assemblee_document_content.ts",
93
- "sync:postgres:senat-content": "tsx src/scripts/sync_postgres_senat_document_content.ts",
94
85
  "index:typesense": "tsx src/scripts/index_typesense.ts",
86
+ "jurisprudence:pilote": "tsx src/scripts/alimenter_jurisprudence_pilote.ts",
95
87
  "lint": "eslint .",
96
88
  "prepack": "npm run build",
89
+ "profile:assemblee-document": "tsx src/scripts/profile_assemblee_document_parsing.ts",
90
+ "profile:canutes-bill": "tsx src/scripts/profile_canutes_bill.ts",
91
+ "profile:legi-bill": "tsx src/scripts/profile_canutes_bill.ts",
92
+ "sandbox:install": "tsx installation-sandbox/launch.ts",
93
+ "sandbox:install:context": "tsx installation-sandbox/prepare-context.ts",
94
+ "sandbox:sync": "tsx installation-sandbox/qualification-queue.variant.ts",
95
+ "sandbox:sync:context": "tsx installation-sandbox/prepare-context-queue.ts",
96
+ "sync:postgres:assemblee-content": "tsx src/scripts/sync_postgres_assemblee_document_content.ts",
97
+ "sync:postgres:senat-content": "tsx src/scripts/sync_postgres_senat_document_content.ts",
97
98
  "test": "npm run test:unit -- --run",
98
- "test:unit": "vitest"
99
+ "test:postgres:legi-cache": "tsx src/scripts/test_canutes_titles_cache.ts",
100
+ "test:postgres:legi-root-cid-index": "vitest run src/lib/legi/canutes_root_cid_index.integration.test.ts",
101
+ "test:unit": "vitest",
102
+ "warm:postgres:legi-titles": "tsx src/scripts/warm_canutes_text_titles_cache.ts"
99
103
  },
100
104
  "devDependencies": {
101
105
  "@eslint/js": "^10.0.1",