@tangelo/tangelo-configuration-toolkit 1.10.1 → 1.10.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangelo/tangelo-configuration-toolkit",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "Tangelo Configuration Toolkit is a command-line toolkit which offers support for developing a Tangelo configuration.",
5
5
  "bin": {
6
6
  "tct": "bin/index.js",
@@ -91,7 +91,7 @@ module.exports = {
91
91
  let transferPattern = path.join(_paths.apply, filter).toFws();
92
92
 
93
93
  // test if 'cmscustom/tdi' would be included, then add specifically, because following symlinks doesnt work with glob stars
94
- const tdiIncRegex = /^(({\w*,?)?cmscustom(,?\w*})?\/|\*\/)?\*\*/;
94
+ const tdiIncRegex = /^(config\/)?(({\w*,?)?cmscustom(,?\w*})?\/|\*\/)?\*\*/;
95
95
  const tdiPattern = tdiIncRegex.test(transferPattern) ? transferPattern.replace(tdiIncRegex, `${this.deliveryPack ? 'config/' : ''}cmscustom/tdi/**`) : 'nomatch';
96
96
 
97
97
  if (!transferPattern)
@@ -75,7 +75,7 @@ module.exports = function deploy (argv) {
75
75
  if ((event=='add' || event=='change') && (
76
76
  // within fonto, transfer build files only, but also schema files, because
77
77
  // the "dist" folder isn't watched properly: it does not detect "assets" anymore after building once
78
- !/fonto[\\\/]/.test(filepath) ||
78
+ !/cmscustom.+fonto[\\\/]/.test(filepath) ||
79
79
  /fonto[\\\/]dist/.test(filepath) ||
80
80
  (/fonto[\\\/]dev/.test(filepath) && c.envDev) ||
81
81
  /fonto[\\\/]packages[\\\/]sx-shell-.*?[\\\/]assets[\\\/]schemas[\\\/]/.test(filepath)