Skip to content

Commit

Permalink
Feature / export more functions (#187)
Browse files Browse the repository at this point in the history
* bump version

* exported more function

* update dependency

---------

Co-authored-by: blm <[email protected]>
  • Loading branch information
PhotoNomad0 and blm authored Oct 16, 2024
1 parent 4b4aa89 commit 54bc5a6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 18 deletions.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
engine-strict=true
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tc-source-content-updater",
"version": "1.4.29",
"version": "1.4.30",
"description": "Module that updates source content for the desktop application translationCore.",
"main": "lib/index.js",
"display": "library",
Expand Down Expand Up @@ -48,7 +48,7 @@
},
"homepage": "https://github.com/unfoldingWord/tc-source-content-updater#readme",
"engines": {
"node": ">=16.14 <16.21"
"node": ">=16.14 <18.21"
},
"devDependencies": {
"babel-cli": "^6.26.0",
Expand All @@ -72,7 +72,7 @@
"semver": "5.5.0",
"string-punctuation-tokenizer": "^2.2.0",
"tmp": "0.0.33",
"tsv-groupdata-parser": "1.1.0",
"tsv-groupdata-parser": "1.1.1",
"usfm-js": "3.4.0"
},
"dependencies": {
Expand All @@ -90,7 +90,7 @@
"peerDependencies": {
"bible-reference-range": "^1.0.1",
"string-punctuation-tokenizer": "^2.2.0",
"tsv-groupdata-parser": "^1.1.0",
"tsv-groupdata-parser": "^1.1.1",
"usfm-js": "^3.4.0"
}
}
2 changes: 1 addition & 1 deletion src/helpers/translationHelps/twArticleHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function tsvObjectsToGroupData(tsvItems, originalBiblePath, resourcesPath, bookI
* @param {string} originalBiblePath
* @param {string} outputPath
*/
async function twlTsvToGroupData(tsvPath, project, resourcesPath, originalBiblePath, outputPath) {
export async function twlTsvToGroupData(tsvPath, project, resourcesPath, originalBiblePath, outputPath) {
const bookId = project.identifier;
let groupData;
const {
Expand Down
10 changes: 9 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ import * as resourcesDownloadHelpers from './helpers/resourcesDownloadHelpers';
import * as downloadHelpers from './helpers/downloadHelpers';
import * as resourcesHelpers from './helpers/resourcesHelpers';
export {getOtherTnsOLVersions} from './helpers/translationHelps/tnArticleHelpers';
export {apiHelpers, downloadHelpers, parseHelpers, resourcesHelpers, resourcesDownloadHelpers};
export {
apiHelpers,
downloadHelpers,
parseHelpers,
resourcesHelpers,
resourcesDownloadHelpers,
twArticleHelpers,
tnArticleHelpers,
};

// ============================
// defines useful for searching
Expand Down

0 comments on commit 54bc5a6

Please sign in to comment.