jsrepo 1.2.2 → 1.2.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.
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/src/commands/add.ts +3 -1
package/dist/index.js
CHANGED
|
@@ -1478,7 +1478,8 @@ var getBlocks = async (blockSpecifiers, blocksMap, repoPaths, options) => {
|
|
|
1478
1478
|
color5.red(`Invalid block! ${color5.bold(blockSpecifier)} does not exist!`)
|
|
1479
1479
|
);
|
|
1480
1480
|
}
|
|
1481
|
-
|
|
1481
|
+
const fullSpecifier = `${block.sourceRepo.url}/${block.category}/${block.name}`;
|
|
1482
|
+
blocks.set(fullSpecifier, { name: fullSpecifier, subDependency: false, block });
|
|
1482
1483
|
if (block.localDependencies && block.localDependencies.length > 0) {
|
|
1483
1484
|
const subDeps = await getBlocks(
|
|
1484
1485
|
block.localDependencies.filter((dep) => !blocks.has(dep)),
|
package/package.json
CHANGED
package/src/commands/add.ts
CHANGED
|
@@ -478,7 +478,9 @@ const getBlocks = async (
|
|
|
478
478
|
);
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
|
|
481
|
+
const fullSpecifier = `${block.sourceRepo.url}/${block.category}/${block.name}`;
|
|
482
|
+
|
|
483
|
+
blocks.set(fullSpecifier, { name: fullSpecifier, subDependency: false, block });
|
|
482
484
|
|
|
483
485
|
if (block.localDependencies && block.localDependencies.length > 0) {
|
|
484
486
|
const subDeps = await getBlocks(
|