Skip to content

Commit

Permalink
fix(outils de contrib): nettoyage de fichiers non utilisés (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda authored Apr 15, 2024
1 parent 124a806 commit 740abdd
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 176,690 deletions.
1 change: 0 additions & 1 deletion targets/ingester/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const config = {
"**/__tests__/**/*.+(ts|tsx|js)",
"**/?(*.)+(spec|test).+(ts|tsx|js)",
],
transformIgnorePatterns: ["<rootDir>/node_modules/(?!(strip-markdown)/)"],
};

module.exports = config;
3 changes: 0 additions & 3 deletions targets/ingester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
"p-map": "4.0.0",
"p-retry": "5.1.1",
"query-string": "7.0.1",
"remark": "13.0.0",
"remark-html": "13.0.2",
"semver": "7.3.5",
"strip-markdown": "^5.0.1",
"tar-fs": "2.1.1",
"unist-util-filter": "^2.0.3",
"unist-util-find": "1.0.2",
Expand Down
5 changes: 1 addition & 4 deletions targets/ingester/src/lib/data-loaders.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { IndexedArticle } from "@socialgouv/kali-data";
import type { Agreement, IndexedAgreement } from "@socialgouv/kali-data-types";
import type { Agreement } from "@socialgouv/kali-data-types";

import { getJson } from "./getJson";

Expand All @@ -11,6 +11,3 @@ export const loadAgreement = async (

export const loadArticles = async (): Promise<IndexedArticle[]> =>
getJson<IndexedArticle[]>(`@socialgouv/kali-data/data/articles/index.json`);

export const loadAgreements = async (): Promise<IndexedAgreement[]> =>
getJson<IndexedAgreement[]>(`@socialgouv/kali-data/data/index.json`);
26 changes: 0 additions & 26 deletions targets/ingester/src/lib/fetchContributions/AgreementRepository.ts

This file was deleted.

127 changes: 0 additions & 127 deletions targets/ingester/src/lib/fetchContributions/AnswerExtractor.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 740abdd

Please sign in to comment.