@tywalk/pcf-helper 1.4.8 → 1.4.10
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 +4 -1
- package/tasks/build-pcf.js +2 -2
- package/tasks/import-pcf.js +2 -2
- package/tasks/upgrade-pcf.js +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tywalk/pcf-helper",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.10",
|
|
4
4
|
"description": "Command line helper for building and publishing PCF controls to Dataverse.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "https://github.com/tywalk/pcf-helper"
|
|
7
|
+
},
|
|
5
8
|
"scripts": {
|
|
6
9
|
"test": "node test.js"
|
|
7
10
|
},
|
package/tasks/build-pcf.js
CHANGED
|
@@ -25,8 +25,8 @@ function run(path) {
|
|
|
25
25
|
} else {
|
|
26
26
|
console.error('[PCF Helper] Unable to complete build: One or more errors ocurred.');
|
|
27
27
|
}
|
|
28
|
-
console.warn('Killing process with id:', task.pid);
|
|
29
|
-
process.kill(task.pid);
|
|
28
|
+
// console.warn('Killing process with id:', task.pid);
|
|
29
|
+
// process.kill(task.pid);
|
|
30
30
|
}
|
|
31
31
|
console.log(formatMsToSec('[PCF Helper] Build finished in %is.\n', tock - tick));
|
|
32
32
|
return task.status;
|
package/tasks/import-pcf.js
CHANGED
|
@@ -39,8 +39,8 @@ function run(path, env, verbose) {
|
|
|
39
39
|
} else {
|
|
40
40
|
console.error('[PCF Helper] Unable to complete import: One or more errors ocurred.');
|
|
41
41
|
}
|
|
42
|
-
console.warn('Killing process with id:', task.pid);
|
|
43
|
-
process.kill(task.pid);
|
|
42
|
+
// console.warn('Killing process with id:', task.pid);
|
|
43
|
+
// process.kill(task.pid);
|
|
44
44
|
}
|
|
45
45
|
console.log(formatMsToSec('[PCF Helper] Import finished in %is.\n', tock - tick));
|
|
46
46
|
return task.status;
|
package/tasks/upgrade-pcf.js
CHANGED
|
@@ -4,7 +4,7 @@ const { formatMsToSec } = require('../util/performanceUtil');
|
|
|
4
4
|
function run(path) {
|
|
5
5
|
console.log('[PCF Helper] Starting upgrade...\n');
|
|
6
6
|
const tick = performance.now();
|
|
7
|
-
const task = spawnSync(`pac solution version -s Solution -sp ${path} && pac pcf version -s Manifest && npm version patch`, {
|
|
7
|
+
const task = spawnSync(`pac solution version -s Solution -sp ${path} && pac pcf version -s Manifest && npm version patch --no-git-tag-version`, {
|
|
8
8
|
cwd: process.cwd(),
|
|
9
9
|
stdio: 'inherit',
|
|
10
10
|
shell: true,
|
|
@@ -21,12 +21,12 @@ function run(path) {
|
|
|
21
21
|
} else {
|
|
22
22
|
console.error('[PCF Helper] Unable to complete upgrade:', task.signal, task.error.message);
|
|
23
23
|
}
|
|
24
|
-
console.debug('[PCF Helper] Error details:', task.
|
|
24
|
+
console.debug('[PCF Helper] Error details:', task.signal, task.error.stack);
|
|
25
25
|
} else {
|
|
26
26
|
console.error('[PCF Helper] Unable to complete upgrade: One or more errors ocurred.');
|
|
27
27
|
}
|
|
28
|
-
console.warn('Killing process with id:', task.pid);
|
|
29
|
-
process.kill(task.pid);
|
|
28
|
+
// console.warn('Killing process with id:', task.pid);
|
|
29
|
+
// process.kill(task.pid);
|
|
30
30
|
}
|
|
31
31
|
console.log(formatMsToSec('[PCF Helper] Upgrade finished in %is.\n', tock - tick));
|
|
32
32
|
return task.status;
|