@c-time/frelio-data-json-generator 2.4.0 → 2.5.0
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/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/cli.js
CHANGED
|
@@ -186,7 +186,8 @@ function calculateRegenerationScope(changes, dependencyMap, recipe) {
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
for (const ctPath of [...changes.contentTypes.added, ...changes.contentTypes.modified]) {
|
|
189
|
-
const
|
|
189
|
+
const depPath = ctPath.replace(/\.json$/, "");
|
|
190
|
+
const affected = findAffectedOutputs(dependencyMap, depPath);
|
|
190
191
|
for (const outputPath of affected) {
|
|
191
192
|
addTarget({
|
|
192
193
|
outputPath,
|