@tangelo/tangelo-configuration-toolkit 1.20.1 → 1.20.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.20.1",
3
+ "version": "1.20.2",
4
4
  "engines": {
5
5
  "node": ">=14.0.0"
6
6
  },
@@ -120,7 +120,7 @@ const createDeliveryPack = () => { // create install scripts if necessary, zip o
120
120
  };
121
121
 
122
122
 
123
- const transfer = (paths, {watch, lrServer}) => {
123
+ const transfer = (paths, {watch, lrServer} = {}) => {
124
124
  const jsFGlob = _settingsTdi().transpileToES5 ? ['**/*.js', '!**/hce/**/template_*', '!**/fonto/**', '!**/vendor/**', '!**/*.min.js'] : [];
125
125
  const jsF = g_filter(jsFGlob, {restore: true});
126
126
  const xpsF = g_filter(['**/xopus/**/*.x*'], {restore: true});
@@ -9,7 +9,7 @@ const resolveBind = (d, p) => p.replace('#{cmscustompath}', 'cmscustom/').replac
9
9
 
10
10
  module.exports = {
11
11
 
12
- create (paths, {test, watch}) {
12
+ create (paths, {test, watch} = {}) {
13
13
  const startTime = new Date();
14
14
 
15
15
  this.filesToTransfer = watch ? paths : globby.sync(paths, {nodir: true}); // get list of files to transfer