create-powerapps-project 0.26.0 → 0.27.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/lib/plopfile.js
CHANGED
|
@@ -137,6 +137,7 @@ exports.default = (plop) => {
|
|
|
137
137
|
...sharedQuestions,
|
|
138
138
|
],
|
|
139
139
|
actions: (data) => {
|
|
140
|
+
data.org = new URL(data.server).hostname.split('.')[0];
|
|
140
141
|
return [
|
|
141
142
|
async (answers) => {
|
|
142
143
|
const xrmVersions = await (0, nuget_1.getNugetPackageVersions)('JourneyTeam.Xrm');
|
package/package.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"gen": "plop",
|
|
8
8
|
"deploy": "dataverse-utils deploy assembly",
|
|
9
|
-
"modelbuilder": "pac modelbuilder build -stf builderSettings.json -o Model",
|
|
10
|
-
"authenticate": "pac auth create --url {{server}}",
|
|
9
|
+
"modelbuilder": "pac auth select --name {{org}} && pac modelbuilder build -stf builderSettings.json -o Model",
|
|
10
|
+
"authenticate": "pac auth create --url {{server}} --name {{org}}",
|
|
11
11
|
"prt": "pac tool prt"
|
|
12
12
|
}
|
|
13
13
|
}
|