1.0.34 • Published 12 months ago

@mschauer5/av-cli v1.0.34

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

av-cli

Installation

npm install @mschauer5/av-cli -g

Commands

Create Environment Variable

# Create environment file using {tenantDomain} placeholder
av env

# Create environment file using provided url
av env https://sp.sharepoint.com/sites/test1

Serve

Used with the package.json file scripts 'serve' configuration

This command tries and determines if current project is using pnpm or npm as the package manager.

I highly recommend using spfx-fast-serve

av serve

# The actual commands it calls is one of the below:
- npm run serve
- pnpm run serve

Yo

This is just a short cut for using pnpm manager to create a SharePoint project

av yo

# The actual commands it calls:
yo @microsoft/sharepoint --skip-install --package-manager pnpm

Bundle

This commands grabs the version that is in the package.json file and add that version to the config/package-solution.json and then bundles the solution

av bundle

# The actual commands it calls:
gulp clean
gulp bundle --ship
gulp package-solution --ship

Build

This command runs the build script in the package.json file

av build

# The actual commands it calls:
- npm run build
- pnpm run build

Sync Version

This command copies the package.json version to the config/config/package-solution.json. It also creates a version.json file in the root src folder. Makes it easy to pull version into a webpart.

av sync-version

Commit

This command is used to simplify checking in all your changes and pushing the changes to the remote repo.

av commit [message goes here]

# The actual commands it calls:
git add .
git commit -m [message goes here]
git push

Pull

This command is a short cut for pulling down remote repo.

av pull

# The actual command it calls:
git pull --rebase
1.0.33

12 months ago

1.0.32

12 months ago

1.0.34

12 months ago

1.0.31

12 months ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago