@tywalk/pcf-helper-run 1.1.3 → 1.1.5
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/index.js +3 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -25,6 +25,8 @@ if (typeof path === 'undefined') {
|
|
|
25
25
|
return 1;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
const tick = performance.now();
|
|
29
|
+
|
|
28
30
|
const envArgument = args.find(a => ['-env', '--environment'].includes(a));
|
|
29
31
|
let envIndex = args.indexOf(envArgument) + 1;
|
|
30
32
|
let env = '';
|
|
@@ -59,7 +61,7 @@ try {
|
|
|
59
61
|
result = 1;
|
|
60
62
|
} finally {
|
|
61
63
|
const tock = performance.now();
|
|
62
|
-
console.log('Deploy finished in %is.',
|
|
64
|
+
console.log(formatMsToSec('Deploy finished in %is.', tock - tick));
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tywalk/pcf-helper-run",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "A simple command-line utility for building and publishing PCF controls to Dataverse.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node test.js"
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"pcf-helper-run": "./index.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@tywalk/pcf-helper": "^1.4.
|
|
16
|
+
"@tywalk/pcf-helper": "^1.4.4"
|
|
17
17
|
}
|
|
18
18
|
}
|