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

pushsp

v1.1.2

Published

Push files from a Git repository directly to one or more SharePoint environments.

Downloads

8

Readme

PushSP

Push files from a Git repository directly to one or more SharePoint environments using PnPJS.

Prerequisites

You must have Node.js version 8+ and Git installed.

Getting Started

Install the pushsp command globally to your machine using NPM:

npm i pushsp -g

Once installed, you can use the pushsp command from any terminal window.

Commands

init

Initializes the current directory as a PushSP directory. This command will create a new configuration file called pushsp.json if it doesn’t already exist.

pushsp init

pushsp.json

  1. repo – the Git repository from which to pull the solution
    • Works with both SSH and HTTPS
    • For private repositories, be sure to configure a SSH key so that the git clone command will work properly
  2. pullFolder – the cloned Git solution will be placed into this local directory
  3. buildScripts – an optional array of terminal commands that will be executed immediately after each git clone
    • This can be useful if your solution requires some sort of build process (Webpack, TypeScript, etc.)
    • If you don’t need any build script, just set this to an empty array
  4. pushFiles – defines which files will be deployed to target SharePoint environments
  5. pushFilesBase – base for all file deployments, for determining target SharePoint environment paths
  6. targetPath – site-relative folder to which all files will be deployed within each SharePoint site
  7. sites – an array of site URLs to which all files will be deployed
    • You can deploy files to any number of SharePoint sites
    • Note that if you are deploying to many different sites, you may want to provide auth configuration (below), to avoid repeated authentication prompts
  8. auth – SharePoint authentication configuration
    • The default value is null, and by default you’ll be automatically prompted for authentication, and auth configuration for each site will be saved to an encrypted local file
    • You may also choose to manually specify authentication configuration
    • See node-sp-auth documentation for more information on all available configuration options

pull

Pulls the latest solution from the configured Git repository and subsequently runs any specified build scripts.

pushsp pull

push

Deploys pulled files to all target SharePoint sites.

pushsp push