create-powerapps-project 1.5.2 → 1.6.0

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
@@ -403,7 +403,7 @@ export default async (plop) => {
403
403
  type: 'addScript',
404
404
  data: {
405
405
  scriptKey: 'authenticate',
406
- scriptValue: `pac auth create --url ${data.server} --name ${data.org} --deviceCode`
406
+ scriptValue: `pac auth create --environment ${data.server} --name ${data.org} --deviceCode`
407
407
  }
408
408
  },
409
409
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-powerapps-project",
3
3
  "description": "💧 plop generator for Dataverse development",
4
- "version": "1.5.2",
4
+ "version": "1.6.0",
5
5
  "license": "MIT",
6
6
  "exports": "./lib/index.js",
7
7
  "engines": {
@@ -7,7 +7,7 @@
7
7
  "gen": "plop",
8
8
  "deploy": "dataverse-utils deploy assembly",
9
9
  "modelbuilder": "pac auth select --name {{org}} && pac modelbuilder build -stf builderSettings.json -o Model",
10
- "authenticate": "pac auth create --url {{server}} --name {{org}} --deviceCode",
10
+ "authenticate": "pac auth create --environment {{server}} --name {{org}} --deviceCode",
11
11
  "prt": "pac tool prt"
12
12
  }
13
13
  }