@tywalk/pcf-helper 1.4.4 → 1.4.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/bin/build.js +3 -0
- package/bin/deploy.js +3 -0
- package/bin/import.js +3 -0
- package/bin/upgrade.js +3 -0
- package/package.json +1 -1
package/bin/build.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const task = require('../tasks/build-pcf');
|
|
3
|
+
const version = require('../package.json').version;
|
|
3
4
|
const [, , ...args] = process.argv;
|
|
4
5
|
|
|
6
|
+
console.log('PCF Helper version', version);
|
|
7
|
+
|
|
5
8
|
const pathArgument = args.find(a => ['-p', '--path'].includes(a));
|
|
6
9
|
if (typeof pathArgument === 'undefined') {
|
|
7
10
|
console.error('Path argument is required. Use --path to specify the path to solution folder.');
|
package/bin/deploy.js
CHANGED
|
@@ -3,8 +3,11 @@ const upgradeTask = require('../tasks/upgrade-pcf');
|
|
|
3
3
|
const buildTask = require('../tasks/build-pcf');
|
|
4
4
|
const importTask = require('../tasks/import-pcf');
|
|
5
5
|
const { formatMsToSec } = require('../util/performanceUtil');
|
|
6
|
+
const version = require('../package.json').version;
|
|
6
7
|
const [, , ...args] = process.argv;
|
|
7
8
|
|
|
9
|
+
console.log('PCF Helper version', version);
|
|
10
|
+
|
|
8
11
|
const pathArgument = args.find(a => ['-p', '--path'].includes(a));
|
|
9
12
|
if (typeof pathArgument === 'undefined') {
|
|
10
13
|
console.error('Path argument is required. Use --path to specify the path to solution folder.');
|
package/bin/import.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const task = require('../tasks/import-pcf');
|
|
3
|
+
const version = require('../package.json').version;
|
|
3
4
|
const [, , ...args] = process.argv;
|
|
4
5
|
|
|
6
|
+
console.log('PCF Helper version', version);
|
|
7
|
+
|
|
5
8
|
const pathArgument = args.find(a => ['-p', '--path'].includes(a));
|
|
6
9
|
if (typeof pathArgument === 'undefined') {
|
|
7
10
|
console.error('Path argument is required. Use --path to specify the path to solution folder.');
|
package/bin/upgrade.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
const task = require('../tasks/upgrade-pcf');
|
|
3
|
+
const version = require('../package.json').version;
|
|
3
4
|
const [, , ...args] = process.argv;
|
|
4
5
|
|
|
6
|
+
console.log('PCF Helper version', version);
|
|
7
|
+
|
|
5
8
|
const pathArgument = args.find(a => ['-p', '--path'].includes(a));
|
|
6
9
|
if (typeof pathArgument === 'undefined') {
|
|
7
10
|
console.error('Path argument is required. Use --path to specify the path to solution folder.');
|