@edifice.io/cli 1.6.0-develop.10 → 1.6.0-develop.15
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/package.json +1 -1
- package/src/publish/index.js +2 -0
package/package.json
CHANGED
package/src/publish/index.js
CHANGED
|
@@ -232,6 +232,8 @@ export const publish = async (options) => {
|
|
|
232
232
|
const changed = changedFiles.some(
|
|
233
233
|
(file) =>
|
|
234
234
|
file.startsWith(path.join(pkg.packageDir, "src")) ||
|
|
235
|
+
// check if any files in the assets directory were modified
|
|
236
|
+
file.startsWith(path.join(pkg.packageDir, "assets")) ||
|
|
235
237
|
file.startsWith(path.join(pkg.packageDir, "package.json")),
|
|
236
238
|
);
|
|
237
239
|
return changed;
|