@tricoteuses/tisseuse 0.1.3 → 0.1.5

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.
@@ -12,6 +12,14 @@ export declare const numeroTexteFrancais: import('./parsers.js').TextParser;
12
12
  export declare const numeroEtOuDateTexteFrancais: import('./parsers.js').TextParser;
13
13
  export declare const decisionConseilConstitutionnel: import('./parsers.js').TextParser;
14
14
  export declare const optionalEspaceDuTerritoire: import('./parsers.js').TextParser;
15
+ /**
16
+ * Déclaration d’un (nom de) texte français
17
+ *
18
+ * Note: Ce parser suppose que l'input finit avec le nom du texte
19
+ * et qu'elle ne contient rien d'autre après..
20
+ * Note: Ce parser n'utilise pas wordsTree car il sert à le générer.
21
+ */
22
+ export declare const definitionTexteFrancais: import('./parsers.js').TextParser;
15
23
  /**
16
24
  * Règle principale pour la reconnaissance d’un texte français
17
25
  *
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export declare function configure(): Promise<void>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tricoteuses/tisseuse",
3
- "description": "Add links to French legislative documents",
4
- "version": "0.1.3",
3
+ "description": "Find links in/to French legislative documents",
4
+ "version": "0.1.5",
5
5
  "keywords": [
6
6
  "Assemblée nationale",
7
7
  "France",
@@ -41,6 +41,7 @@
41
41
  },
42
42
  "scripts": {
43
43
  "build": "vite build",
44
+ "configure": "tsx src/scripts/configure.ts",
44
45
  "format": "prettier --write \"src/**/*.ts\"",
45
46
  "lint": "eslint .",
46
47
  "prepare": "npm run build",
@@ -49,7 +50,7 @@
49
50
  "devDependencies": {
50
51
  "@auditors/core": "^0.7.4",
51
52
  "@tricoteuses/assemblee": "^2.3.1",
52
- "@tricoteuses/legifrance": "^0.14.0",
53
+ "@tricoteuses/legifrance": "^0.15.2",
53
54
  "@types/fs-extra": "^11.0.4",
54
55
  "@types/node": "^24.3.1",
55
56
  "@typescript-eslint/eslint-plugin": "^8.43.0",
@@ -61,6 +62,7 @@
61
62
  "postgres": "^3.4.7",
62
63
  "prettier": "^3.0.0",
63
64
  "sade": "^1.8.1",
65
+ "tsx": "^4.20.5",
64
66
  "typescript": "^5.0.0",
65
67
  "vite": "^7.1.5",
66
68
  "vite-plugin-dts": "^4.5.4",
@@ -1 +0,0 @@
1
- export declare function escapeHtml<StringOrUndefined extends string | undefined>(s: StringOrUndefined, isAttribute?: boolean): StringOrUndefined;