@smapiot/pilet-template-angular 0.15.2 → 0.15.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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -1203,8 +1203,8 @@ var require_template = __commonJS({
1203
1203
  });
1204
1204
  }
1205
1205
  function normalizeData(data) {
1206
- data.src = (0, utils_1.makeRelative)(replaceVariables(data.src, data), data.root);
1207
- data.mocks = (0, utils_1.makeRelative)(replaceVariables(data.mocks, data), data.root);
1206
+ data.src = (0, utils_1.makeRelative)(replaceVariables(data.src, data), data.projectRoot);
1207
+ data.mocks = (0, utils_1.makeRelative)(replaceVariables(data.mocks, data), data.projectRoot);
1208
1208
  return data;
1209
1209
  }
1210
1210
  exports.normalizeData = normalizeData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smapiot/pilet-template-angular",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "Official scaffolding template for pilets: 'angular'.",
5
5
  "keywords": [
6
6
  "piral-cli",
@@ -54,7 +54,7 @@
54
54
  "test": "echo \"Error: run tests from root\" && exit 1"
55
55
  },
56
56
  "devDependencies": {
57
- "@smapiot/template-utils": "^0.15.2"
57
+ "@smapiot/template-utils": "^0.15.3"
58
58
  },
59
- "gitHead": "174ebac982e93e050d82c7aa611ccb7b4f7ce6ed"
59
+ "gitHead": "f63b9b6021915aa8aacb378f1008ab02c1be0b51"
60
60
  }