lincd-cli 0.2.65 → 0.2.67
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/lib/cli-methods.js +4 -1
- package/lib/utils.js +1 -1
- package/package.json +1 -1
package/lib/cli-methods.js
CHANGED
|
@@ -1215,7 +1215,10 @@ var buildUpdated = function (back, target, target2, useGitForLastModified = fals
|
|
|
1215
1215
|
//if either cli or jsonldPkg needs to be rebuilt
|
|
1216
1216
|
// if (jsonldPkgUpdated || cliPkgUpdated) {
|
|
1217
1217
|
if (jsonldPkgUpdated) {
|
|
1218
|
-
yield (0, utils_1.execPromise)('yarn
|
|
1218
|
+
yield (0, utils_1.execPromise)('yarn exec tsc && echo "compiled lincd-jsonld"', false, false, {
|
|
1219
|
+
cwd: packages.get('lincd-jsonld').path,
|
|
1220
|
+
}, true);
|
|
1221
|
+
// await execPromise('yarn build-core', false, false, {}, true);
|
|
1219
1222
|
}
|
|
1220
1223
|
let rebuildAllModules = false;
|
|
1221
1224
|
// if (cliPkgUpdated) {
|
package/lib/utils.js
CHANGED
|
@@ -172,7 +172,7 @@ const getLastBuildTime = (packagePath) => {
|
|
|
172
172
|
};
|
|
173
173
|
exports.getLastBuildTime = getLastBuildTime;
|
|
174
174
|
const getLastModifiedSourceTime = (packagePath) => {
|
|
175
|
-
return (0, exports.getLastModifiedFile)(packagePath + '/@(src|data|scss)/**/*', {
|
|
175
|
+
return (0, exports.getLastModifiedFile)(packagePath + '/@(src|data|scss|modules)/**/*', {
|
|
176
176
|
ignore: [packagePath + '/**/*.scss.json', packagePath + '/**/*.d.ts'],
|
|
177
177
|
});
|
|
178
178
|
};
|