From 32a07f73a847f0c299f221cc92f0be3883add219 Mon Sep 17 00:00:00 2001 From: Alex Rock Date: Thu, 10 Oct 2024 15:10:43 -0400 Subject: [PATCH 1/4] chore: update changeset --- .changeset/hungry-baboons-tap.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .changeset/hungry-baboons-tap.md diff --git a/.changeset/hungry-baboons-tap.md b/.changeset/hungry-baboons-tap.md new file mode 100644 index 000000000..85ad34086 --- /dev/null +++ b/.changeset/hungry-baboons-tap.md @@ -0,0 +1,17 @@ +--- +'@flatfile/plugin-convert-what3words': minor +'@flatfile/plugin-enrich-sentiment': minor +'@flatfile/plugin-enrich-summarize': minor +'@flatfile/plugin-extract-html-table': minor +'@flatfile/plugin-import-rss': minor +'@flatfile/plugin-markdown-extractor': minor +'@flatfile/plugin-validate-boolean': minor +'@flatfile/plugin-validate-date': minor +'@flatfile/plugin-validate-email': minor +'@flatfile/plugin-validate-isbn': minor +'@flatfile/plugin-validate-number': minor +'@flatfile/plugin-validate-phone': minor +'@flatfile/plugin-validate-string': minor +--- + +Initial Launch From 8f2f372f96f7e6d8584ab4e441103ac2e3a7666d Mon Sep 17 00:00:00 2001 From: Carl Brugger Date: Thu, 10 Oct 2024 16:07:13 -0500 Subject: [PATCH 2/4] Update hungry-baboons-tap.md --- .changeset/hungry-baboons-tap.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.changeset/hungry-baboons-tap.md b/.changeset/hungry-baboons-tap.md index 85ad34086..a0650480b 100644 --- a/.changeset/hungry-baboons-tap.md +++ b/.changeset/hungry-baboons-tap.md @@ -1,10 +1,13 @@ --- +'@flatfile/plugin-convert-currency': minor +'@flatfile/plugin-convert-geocode': minor '@flatfile/plugin-convert-what3words': minor '@flatfile/plugin-enrich-sentiment': minor '@flatfile/plugin-enrich-summarize': minor '@flatfile/plugin-extract-html-table': minor +'@flatfile/plugin-extract-markdown': minor +'@flatfile/plugin-import-faker': minor '@flatfile/plugin-import-rss': minor -'@flatfile/plugin-markdown-extractor': minor '@flatfile/plugin-validate-boolean': minor '@flatfile/plugin-validate-date': minor '@flatfile/plugin-validate-email': minor From db519d5b7fb638782c4eb015a7d8ebadd39fd8d8 Mon Sep 17 00:00:00 2001 From: Carl Brugger Date: Thu, 10 Oct 2024 17:08:42 -0400 Subject: [PATCH 3/4] move markdown extractor --- .../markdown-extractor => extract/markdown}/README.md | 0 .../markdown}/jest.config.cjs | 0 .../markdown-extractor => extract/markdown}/package.json | 8 ++++---- .../markdown}/rollup.config.mjs | 0 .../markdown}/samples/complex_table.md | 0 .../markdown}/samples/lenient_tables.md | 0 .../markdown}/samples/multiple_tables.md | 0 .../markdown}/samples/simple_table.md | 0 .../markdown-extractor => extract/markdown}/src/index.ts | 0 .../markdown}/src/parser.spec.ts | 0 .../markdown-extractor => extract/markdown}/src/parser.ts | 0 11 files changed, 4 insertions(+), 4 deletions(-) rename {plugins/markdown-extractor => extract/markdown}/README.md (100%) rename {plugins/markdown-extractor => extract/markdown}/jest.config.cjs (100%) rename {plugins/markdown-extractor => extract/markdown}/package.json (91%) rename {plugins/markdown-extractor => extract/markdown}/rollup.config.mjs (100%) rename {plugins/markdown-extractor => extract/markdown}/samples/complex_table.md (100%) rename {plugins/markdown-extractor => extract/markdown}/samples/lenient_tables.md (100%) rename {plugins/markdown-extractor => extract/markdown}/samples/multiple_tables.md (100%) rename {plugins/markdown-extractor => extract/markdown}/samples/simple_table.md (100%) rename {plugins/markdown-extractor => extract/markdown}/src/index.ts (100%) rename {plugins/markdown-extractor => extract/markdown}/src/parser.spec.ts (100%) rename {plugins/markdown-extractor => extract/markdown}/src/parser.ts (100%) diff --git a/plugins/markdown-extractor/README.md b/extract/markdown/README.md similarity index 100% rename from plugins/markdown-extractor/README.md rename to extract/markdown/README.md diff --git a/plugins/markdown-extractor/jest.config.cjs b/extract/markdown/jest.config.cjs similarity index 100% rename from plugins/markdown-extractor/jest.config.cjs rename to extract/markdown/jest.config.cjs diff --git a/plugins/markdown-extractor/package.json b/extract/markdown/package.json similarity index 91% rename from plugins/markdown-extractor/package.json rename to extract/markdown/package.json index c109d2f1e..3abf2c05c 100644 --- a/plugins/markdown-extractor/package.json +++ b/extract/markdown/package.json @@ -1,7 +1,7 @@ { - "name": "@flatfile/plugin-markdown-extractor", + "name": "@flatfile/plugin-extract-markdown", "version": "0.0.1", - "url": "https://github.com/FlatFilers/flatfile-plugins/tree/main/plugins/markdown-extractor", + "url": "https://github.com/FlatFilers/flatfile-plugins/tree/main/extract/markdown", "description": "A plugin for parsing markdown files in Flatfile.", "registryMetadata": { "category": "extractors" @@ -44,13 +44,13 @@ }, "keywords": [ "flatfile-plugins", - "category-extractors" + "category-extract" ], "author": "FlatFilers", "repository": { "type": "git", "url": "https://github.com/FlatFilers/flatfile-plugins.git", - "directory": "plugins/markdown-extractor" + "directory": "extract/markdown" }, "license": "ISC", "dependencies": { diff --git a/plugins/markdown-extractor/rollup.config.mjs b/extract/markdown/rollup.config.mjs similarity index 100% rename from plugins/markdown-extractor/rollup.config.mjs rename to extract/markdown/rollup.config.mjs diff --git a/plugins/markdown-extractor/samples/complex_table.md b/extract/markdown/samples/complex_table.md similarity index 100% rename from plugins/markdown-extractor/samples/complex_table.md rename to extract/markdown/samples/complex_table.md diff --git a/plugins/markdown-extractor/samples/lenient_tables.md b/extract/markdown/samples/lenient_tables.md similarity index 100% rename from plugins/markdown-extractor/samples/lenient_tables.md rename to extract/markdown/samples/lenient_tables.md diff --git a/plugins/markdown-extractor/samples/multiple_tables.md b/extract/markdown/samples/multiple_tables.md similarity index 100% rename from plugins/markdown-extractor/samples/multiple_tables.md rename to extract/markdown/samples/multiple_tables.md diff --git a/plugins/markdown-extractor/samples/simple_table.md b/extract/markdown/samples/simple_table.md similarity index 100% rename from plugins/markdown-extractor/samples/simple_table.md rename to extract/markdown/samples/simple_table.md diff --git a/plugins/markdown-extractor/src/index.ts b/extract/markdown/src/index.ts similarity index 100% rename from plugins/markdown-extractor/src/index.ts rename to extract/markdown/src/index.ts diff --git a/plugins/markdown-extractor/src/parser.spec.ts b/extract/markdown/src/parser.spec.ts similarity index 100% rename from plugins/markdown-extractor/src/parser.spec.ts rename to extract/markdown/src/parser.spec.ts diff --git a/plugins/markdown-extractor/src/parser.ts b/extract/markdown/src/parser.ts similarity index 100% rename from plugins/markdown-extractor/src/parser.ts rename to extract/markdown/src/parser.ts From 4f1153957ecc966cc74474ee2b604c1146789a1d Mon Sep 17 00:00:00 2001 From: Carl Brugger Date: Thu, 10 Oct 2024 17:12:01 -0400 Subject: [PATCH 4/4] Update package-lock.json --- package-lock.json | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 189087d2b..3987424ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -189,10 +189,22 @@ "@flatfile/rollup-config": "^0.1.1" } }, + "extract/markdown": { + "version": "0.0.1", + "license": "ISC", + "dependencies": { + "@flatfile/util-extractor": "^2.1.2" + }, + "devDependencies": { + "@flatfile/rollup-config": "0.1.1" + }, + "engines": { + "node": ">= 16" + } + }, "flatfilers/playground": { "name": "@private/playground", "version": "0.0.0", - "extraneous": true, "license": "ISC", "dependencies": { "@flatfile/api": "^1.9.19", @@ -3329,6 +3341,10 @@ "resolved": "extract/html-table", "link": true }, + "node_modules/@flatfile/plugin-extract-markdown": { + "resolved": "extract/markdown", + "link": true + }, "node_modules/@flatfile/plugin-foreign-db-extractor": { "resolved": "plugins/foreign-db-extractor", "link": true @@ -3353,10 +3369,6 @@ "resolved": "plugins/json-extractor", "link": true }, - "node_modules/@flatfile/plugin-markdown-extractor": { - "resolved": "plugins/markdown-extractor", - "link": true - }, "node_modules/@flatfile/plugin-pdf-extractor": { "resolved": "plugins/pdf-extractor", "link": true @@ -6351,6 +6363,10 @@ "node": ">=14" } }, + "node_modules/@private/playground": { + "resolved": "flatfilers/playground", + "link": true + }, "node_modules/@private/sandbox": { "resolved": "flatfilers/sandbox", "link": true @@ -20737,6 +20753,7 @@ "plugins/markdown-extractor": { "name": "@flatfile/plugin-markdown-extractor", "version": "0.0.1", + "extraneous": true, "license": "ISC", "dependencies": { "@flatfile/util-extractor": "^2.1.2"