@comapeo/core 5.1.2 → 5.1.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-categories.d.ts","sourceRoot":"","sources":["../src/import-categories.js"],"names":[],"mappings":"AAqBA,uDAAuD;AACvD,0DAA0D;AAC1D;;;;;;GAMG;AACH,0CANW,YAAY,wBAEpB;IAAwB,QAAQ,EAAxB,MAAM;IACgC,MAAM,EAA5C,OAAO,aAAa,EAAE,MAAM;CACpC,GAAU,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"import-categories.d.ts","sourceRoot":"","sources":["../src/import-categories.js"],"names":[],"mappings":"AAqBA,uDAAuD;AACvD,0DAA0D;AAC1D;;;;;;GAMG;AACH,0CANW,YAAY,wBAEpB;IAAwB,QAAQ,EAAxB,MAAM;IACgC,MAAM,EAA5C,OAAO,aAAa,EAAE,MAAM;CACpC,GAAU,OAAO,CAAC,IAAI,CAAC,CA6RzB;kBAnSa;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;kCADlB,oBAAoB"}
|
package/package.json
CHANGED
package/src/import-categories.js
CHANGED
|
@@ -188,6 +188,9 @@ export async function importCategories(project, { filePath, logger }) {
|
|
|
188
188
|
const { buildDateValue, ...readerMetadata } = await reader.metadata()
|
|
189
189
|
const fileVersion = await reader.fileVersion()
|
|
190
190
|
|
|
191
|
+
// Need to wait for all presets to be created so that we can read the refs for the translations
|
|
192
|
+
await queue.onIdle()
|
|
193
|
+
|
|
191
194
|
for await (const {
|
|
192
195
|
lang,
|
|
193
196
|
translations: translationsByDocType,
|