@tangelo/tangelo-configuration-toolkit 1.10.0 → 1.10.1
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.
|
|
3
|
+
"version": "1.10.1",
|
|
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",
|
|
@@ -171,7 +171,7 @@ const transfer = (paths, lrServer) => {
|
|
|
171
171
|
.pipe(g_replace(c.replaceStrings))
|
|
172
172
|
.pipe(through2.obj((file, enc, cb) => {
|
|
173
173
|
file.originalRelativePath = file.relative; // original path needed for sftp.fastPut
|
|
174
|
-
file.path = file.path.replace(/(fonto)
|
|
174
|
+
file.path = file.path.replace(/(fonto).(?:dev|dist|packages.sx-shell-.+src)(.+)/, '$1$2'); // change destination path for fonto build files
|
|
175
175
|
if (!file.relative.endsWith('.map')) files.push(file.relative); // collect all file paths in array for livereload
|
|
176
176
|
cb(null, file);
|
|
177
177
|
}))
|
|
@@ -49,7 +49,7 @@ module.exports = function deploy (argv) {
|
|
|
49
49
|
const transfers = {
|
|
50
50
|
queue: [],
|
|
51
51
|
do () {
|
|
52
|
-
this.queue = this.queue.map(p => p.replace(/(
|
|
52
|
+
this.queue = this.queue.map(p => p.replace(/fonto(.)(?:dist|dev).assets.schemas(.sx-shell-.*?).json/, 'fonto$1packages$2$1src$1assets$1schemas$2.json')) // fonto schema changes can be detected in different paths at the same time, rewrite paths to original package-path because files in build folders can be removed before transfer starts
|
|
53
53
|
this.queue = [...new Set(this.queue)]; // remove duplicates
|
|
54
54
|
this.queue.forEach(v => s.addToCache(v));
|
|
55
55
|
transfer(this.queue, lrServer);
|