create-powerapps-project 0.15.0 → 0.15.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/CHANGELOG.json +16 -1
- package/CHANGELOG.md +13 -5
- package/lib/index.js +11 -20
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "create-powerapps-project",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Sun, 16 Jan 2022
|
|
5
|
+
"date": "Sun, 16 Jan 2022 22:07:55 GMT",
|
|
6
|
+
"tag": "create-powerapps-project_v0.15.1",
|
|
7
|
+
"version": "0.15.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "derek.finlinson@journeyteam.com",
|
|
12
|
+
"package": "create-powerapps-project",
|
|
13
|
+
"commit": "aeca9adacfc74eed6b3362a26bd094b4bd26039f",
|
|
14
|
+
"comment": "Fix program command"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Sun, 16 Jan 2022 21:30:27 GMT",
|
|
6
21
|
"tag": "create-powerapps-project_v0.15.0",
|
|
7
22
|
"version": "0.15.0",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
# Change Log - create-powerapps-project
|
|
2
2
|
|
|
3
|
-
This log was last generated on Sun, 16 Jan 2022
|
|
3
|
+
This log was last generated on Sun, 16 Jan 2022 22:07:55 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.15.
|
|
7
|
+
## 0.15.1
|
|
8
8
|
|
|
9
|
-
Sun, 16 Jan 2022
|
|
9
|
+
Sun, 16 Jan 2022 22:07:55 GMT
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Patches
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- Fix program command (derek.finlinson@journeyteam.com)
|
|
14
14
|
|
|
15
|
+
## 0.15.0
|
|
16
|
+
|
|
17
|
+
Sun, 16 Jan 2022 21:30:27 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Remove dependencies; Fix plop dependency (derek.finlinson@journeyteam.com)
|
|
22
|
+
|
|
15
23
|
## 0.14.7
|
|
16
24
|
|
|
17
25
|
Tue, 07 Dec 2021 19:52:53 GMT
|
package/lib/index.js
CHANGED
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
const commander_1 = require("commander");
|
|
8
|
+
const kleur_1 = __importDefault(require("kleur"));
|
|
8
9
|
const createDataverseProject_1 = __importDefault(require("./createDataverseProject"));
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
commander_1.program
|
|
15
|
-
.command('init')
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
11
|
+
const packageJson = require('../package');
|
|
12
|
+
const program = new commander_1.Command(packageJson.name);
|
|
13
|
+
program
|
|
14
|
+
.version(packageJson.version)
|
|
16
15
|
.description('Create new Dataverse project')
|
|
16
|
+
.usage(kleur_1.default.green('[type]'))
|
|
17
17
|
.argument('[type]', 'Type of project to generate')
|
|
18
|
-
.action(
|
|
18
|
+
.action(type => {
|
|
19
19
|
(0, createDataverseProject_1.default)(type);
|
|
20
20
|
});
|
|
21
|
-
|
|
22
|
-
commander_1.program
|
|
23
|
-
.arguments('<command>')
|
|
24
|
-
.action((cmd) => {
|
|
25
|
-
commander_1.program.outputHelp();
|
|
26
|
-
console.log();
|
|
27
|
-
console.log(`Unknown command ${cmd}.`);
|
|
28
|
-
console.log();
|
|
29
|
-
});
|
|
30
|
-
commander_1.program.parse(process.argv);
|
|
21
|
+
program.parse(process.argv);
|
|
31
22
|
if (!process.argv.slice(1).length) {
|
|
32
|
-
|
|
23
|
+
program.outputHelp();
|
|
33
24
|
}
|