npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@bsorrentino/zx-powerapps-cli

v2.4.1

Published

zx scripts to simplify powerapps cli (PAC) usage

Downloads

38

Readme

npm        npm publishing

zx-powerapps-cli

ZX scripts to simplify interactive Powerapps CLI (PAC) usage

Getting started

npm install @bsorrentino/zx-powerapps-cli --save-dev

Scripts

zx-clone-flow

Clone a flow whitin an exported solution on local file system.

This script doesn't require connection to dataverse environment

Usage

npx zx-clone-flow [--solution <solution folder>] [--flow <flow json file name>] [--uuid <new flow uuid>]
Interactive arguments :
  1. Local solution's folder (could provide it on command line using: --solution ).
  2. Flow json file name in the form <Prefix>-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.json present in <solution path>/Worlflows (could provide it on command line using: --flow )
Non-Interactive arguments :
  1. New Flow UUID in the form XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, if not provided a new one will be automatically generated

zx-export-solution

Export solution from powerapps a environment unpacking and saving it on local file system.

Solution is exported in both Managed and Unmanged package type

Usage

npx zx-export-solution  [--authindex <n>] 
                        [--solution <solution name>] 
                        [--keepzip]
                        [--unpackonly]
Interactive arguments :

if --unpackonly is not specified

  1. Authentication profile's index (could provide it on command line using: --authindex ).
  2. Solution's name that you've to export (could provide it on command line using: --solution ).

    Take note that available solutions will be displayed before

  3. Publish customization
  4. Create settings

    the file generated will be <solution>_settings/<auth profile>_settings.json

if --unpackonly is specified

  1. solution zip file (could provide it on command line using: --zipfile ).
  2. Package type that you've to export Managed, Unmanaged, Both (could provide it on command line using: --package ).
  3. Local solution's folder (could provide it on command line using: --solution ).
Non-Interactive arguments :
  • --keepzip : keeps original exported packages zip
  • --unpackonly : perform only solution unpacking and skips export

zx-import-solution

Pack solution from local file system and import it in a powerapps environment

Usage

npx zx-import-solution  [--authindex <n>] 
                        [--solution <solution folder>] 
                        [--package Managed|Unmanaged|Both] 
                        [--packonly]
                        [--noversion]
                        [--publish-changes]
Interactive arguments :

if --packonly is not specified

  1. Authentication profile's index (could provide it on command line using: --authindex ).
  2. Local solution's folder (could provide it on command line using: --solution ).
  3. Use settings file

    This will be asked only if the settings file <solution>_settings/<auth profile>_settings.json exists

if --packonly is specified

  1. Local solution's folder (could provide it on command line using: --solution ).
Non-Interactive arguments :
  • --packonly : perform only packing and skips import
  • --noversion : remove version from generated zip
  • ----publish-changes : publish your changes upon a successful import

zx-version-bump

Update local and remote solution's version

Usage

npx zx-version-bump [--authindex <n>] [--solution <solution folder>]

Such command interactively ask for :

  1. Local solution's folder (if not provided on command line)
  2. Version bump strategy increment build version / increment revision version
  3. Authentication profile's index (if not provided on command line).
  4. Update online version with the same version of the local one

zx-unpack-msapps

Unpack canvas app bundles (.msapp) contained in an exported solution

Usage

npx zx-unpack-msapps [--solution <solution folder>]

Such command interactively ask for :

  1. Solution's folder (if not provided on command line)

Reference