zen-flow 1.8.0 → 1.8.1
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/dist/zenflow.cjs +5 -0
- package/dist/zenflow.d.ts +2 -1
- package/dist/zenflow.mjs +5 -1
- package/package.json +1 -1
package/dist/zenflow.cjs
CHANGED
|
@@ -277,6 +277,10 @@ const replace = (item, recipe) => {
|
|
|
277
277
|
add(item, recipe)
|
|
278
278
|
].join("\n");
|
|
279
279
|
};
|
|
280
|
+
const replaceAll = (item, recipe) => [
|
|
281
|
+
remove(Array.isArray(item) ? item[0] : item),
|
|
282
|
+
add(item, recipe)
|
|
283
|
+
].join("\n");
|
|
280
284
|
const replaceMany = (item, recipes) => [
|
|
281
285
|
remove(Array.isArray(item) ? item[0] : item),
|
|
282
286
|
...recipes.map((recipe) => add(item, recipe))
|
|
@@ -327,6 +331,7 @@ exports.removeSmelter = removeSmelter;
|
|
|
327
331
|
exports.removeTransposerExtract = removeTransposerExtract;
|
|
328
332
|
exports.removeTransposerFill = removeTransposerFill;
|
|
329
333
|
exports.replace = replace;
|
|
334
|
+
exports.replaceAll = replaceAll;
|
|
330
335
|
exports.replaceMany = replaceMany;
|
|
331
336
|
exports.withEnchantment = withEnchantment;
|
|
332
337
|
exports.withEnchantments = withEnchantments;
|
package/dist/zenflow.d.ts
CHANGED
|
@@ -267,6 +267,7 @@ declare const removeShapeless: (ingredient: string) => string;
|
|
|
267
267
|
declare const addFurnace: (recipe: RecipeFurnace) => string;
|
|
268
268
|
declare const removeFurnace: (ingredient: string) => string;
|
|
269
269
|
declare const replace: (item: Item, recipe: Recipe) => string;
|
|
270
|
+
declare const replaceAll: (item: Item, recipe: Recipe) => string;
|
|
270
271
|
declare const replaceMany: (item: Item, recipes: Recipe[]) => string;
|
|
271
272
|
|
|
272
|
-
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|
|
273
|
+
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|
package/dist/zenflow.mjs
CHANGED
|
@@ -273,9 +273,13 @@ const replace = (item, recipe) => {
|
|
|
273
273
|
add(item, recipe)
|
|
274
274
|
].join("\n");
|
|
275
275
|
};
|
|
276
|
+
const replaceAll = (item, recipe) => [
|
|
277
|
+
remove(Array.isArray(item) ? item[0] : item),
|
|
278
|
+
add(item, recipe)
|
|
279
|
+
].join("\n");
|
|
276
280
|
const replaceMany = (item, recipes) => [
|
|
277
281
|
remove(Array.isArray(item) ? item[0] : item),
|
|
278
282
|
...recipes.map((recipe) => add(item, recipe))
|
|
279
283
|
].join("\n");
|
|
280
284
|
|
|
281
|
-
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|
|
285
|
+
export { add, addComposter, addCompressor, addCrucible$1 as addCrucibleNihilo, addCrucibleSource, addCrucible as addCrucibleThermal, addExtreme, addFurnace, addFurnace$1 as addFurnaceThermal, addHammer, addInsolator, addLaser, addLaserPreferred, addNEI, addPulverizer, addQED, addSawmill, addSieve, addSmelter, addTransposerExtract, addTransposerFill, hide, remove, removeComposter, removeCompressor, removeCrucible$1 as removeCrucibleNihilo, removeCrucibleSource, removeCrucible as removeCrucibleThermal, removeExtreme, removeFurnace, removeFurnace$1 as removeFurnaceThermal, removeHammer, removeInsolator, removeLaser, removeLaserPreferred, removePulverizer, removeQED, removeSawmill, removeShaped, removeShapeless, removeSieve, removeSmelter, removeTransposerExtract, removeTransposerFill, replace, replaceAll, replaceMany, withEnchantment, withEnchantments, withName, withTag, withTooltip, withTooltipShift };
|