create-powerapps-project 1.7.4 → 1.7.6

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
@@ -207,13 +207,6 @@ export default async (plop) => {
207
207
  destination: process.cwd(),
208
208
  force: true
209
209
  },
210
- {
211
- type: 'addScript',
212
- data: {
213
- scriptKey: 'preinstall',
214
- scriptValue: `npx only-allow ${data.package}`
215
- }
216
- },
217
210
  {
218
211
  type: 'addSolution'
219
212
  },
@@ -550,13 +543,6 @@ export default async (plop) => {
550
543
  return;
551
544
  }
552
545
  },
553
- {
554
- type: 'addScript',
555
- data: {
556
- scriptKey: 'preinstall',
557
- scriptValue: `npx only-allow ${data.package}`
558
- }
559
- },
560
546
  {
561
547
  type: 'npmInstall',
562
548
  data: {
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.7.4",
4
+ "version": "1.7.6",
5
5
  "license": "MIT",
6
6
  "exports": "./lib/index.js",
7
7
  "engines": {
@@ -6,7 +6,7 @@
6
6
  "scripts": {
7
7
  "gen": "plop",
8
8
  "deploy": "dataverse-utils deploy assembly",
9
- "modelbuilder": "pac auth select -n {{org}} && pac modelbuilder build -stf builderSettings.json -o Model",
9
+ "modelbuilder": "pac auth select -n {{org}} && pac modelbuilder build -stf builderSettings.json -o Model -env {{server}}",
10
10
  "authenticate": "pac auth create -env {{server}} --name {{org}} -dc",
11
11
  "prt": "pac tool prt"
12
12
  }