proskomma-core 0.9.15 → 0.9.17

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.
package/esm/package.json CHANGED
@@ -1,3 +1,3 @@
1
- {
2
- "type": "module"
1
+ {
2
+ "type": "module"
3
3
  }
package/esm/wrapper.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
- Proskomma, lexingRegexes, blocksSpecUtils,
2
+ Proskomma, lexingRegexes, blocksSpecUtils, resolvers, typeDefs,
3
3
  } from '../index.cjs';
4
4
 
5
5
  export {
6
- Proskomma, lexingRegexes, blocksSpecUtils,
6
+ Proskomma, lexingRegexes, blocksSpecUtils, resolvers, typeDefs,
7
7
  };
package/index.cjs CHANGED
@@ -1,6 +1,11 @@
1
- const { Proskomma, lexingRegexes } = require('./src/index.cjs');
1
+ const {
2
+ Proskomma,
3
+ lexingRegexes,
4
+ resolvers,
5
+ typeDefs,
6
+ } = require('./src/index.cjs');
2
7
  const blocksSpecUtils = require('./src/util/scriptlike/blocksSpec.cjs');
3
8
 
4
9
  module.exports = {
5
- Proskomma, lexingRegexes, blocksSpecUtils,
10
+ Proskomma, lexingRegexes, blocksSpecUtils, resolvers, typeDefs,
6
11
  };
@@ -0,0 +1,38 @@
1
+ #
2
+
3
+ ## Participants
4
+
5
+ - Birch
6
+ - Incy
7
+ - Mark Howe
8
+ - Nicolas Condomitti
9
+
10
+ ## Discussions
11
+
12
+ Birch's suggestions :
13
+ * handle usfm 3 format from unfoldingWord
14
+ * accept that there **will** be multiple format : so the API must handle that
15
+ * uW format IN and uW format OUT
16
+ * let's go quickly to the **first** solution
17
+ * contact Chris and Bruce. They produced a UI.
18
+
19
+ Mark's suggestions :
20
+
21
+
22
+ Bincy's suggestions :
23
+ * an english team are working on aligning the old testament. It would be IMMENSLY helpful to have a working tool to correct broken alignment
24
+
25
+
26
+ ## My conclusion
27
+
28
+ Let's go to the first "simple" solution :
29
+ * make a card in https://gateway-translate.netlify.app/
30
+ * to correct the broken alignment on the go when you correct a text
31
+ * **it HAS TO LIKE EXACTLY LIKE TRANSLATION-CORE**
32
+
33
+
34
+ ## TODO
35
+
36
+ - [ ] mini editeur : TCore-like
37
+ - [ ] travailler sur côté Epitelete pour communiquer les modifications à Proskomma
38
+ - [ ] essayer de mettre ça en "Card" pour gateway-translate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proskomma-core",
3
- "version": "0.9.15",
3
+ "version": "0.9.17",
4
4
  "description": "A Scripture Runtime Engine",
5
5
  "exports": {
6
6
  ".": "./index.cjs",
@@ -281,9 +281,7 @@ const Parser = class {
281
281
 
282
282
  for (const si of childSequences) {
283
283
  if (seqById[si].type === 'main') {
284
- console.log('MAIN is child!');
285
- console.log(JSON.stringify(seqById[seqId], null, 2));
286
- process.exit(1);
284
+ throw new Error('MAIN is child!', JSON.stringify(seqById[seqId], null, 2));
287
285
  }
288
286
  this.filterGrafts(si, seqById, used, options);
289
287
  }