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

@tririga/tri-deploy

v1.2.3

Published

A tool for deploying UX views to a TRIRIGA Server.

Downloads

65

Readme

tri-deploy

A tool for deploying UX views to a TRIRIGA Server. It updates the UX view files on the server with the files that exists on the specified directory. It will delete from the server the files that exists on the server but does not exist on the specified directory.

Installation

$ npm install @tririga/tri-deploy -g

Synopsis

$ tri-deploy -t <tririga_url> -u <user> -p <password>

Options

  • -t, --target url The URL of the TRIRIGA server. It must include the context path.
  • -u, --user username The user name.
  • -p, --password password The user password.
  • --basicuser The user name for basic authentication.
  • --basicpassword The user password for basic authentication.
  • -v, --view view The name of the view to be deployed. Defaults to the current directory name.
  • -d, --dir directory_path The directory path that contains the files for the view to be deployed. Defaults to the current directory path.
  • -f, --files files ... A list of relative paths of the files to be uploaded. When it is used, no file will be deleted from the server. If the parameter is not used, the whole directory is uploaded to the server.
  • -q, --quiet Do not print any non-error message to the console.
  • -y, --polymer The polymer version of the view being deployed. Acceptable values are 1 or 3. Defaults to 3.
  • -w, --webapp Deploy files to a web app view. When this property is used, -y option is ignored.
  • -m, --maxconcurrent The maximum concurrent deploy requests to the server. Defaults to 1.
  • --version print tri-deploy version.
  • --help print this message.

Usage

  1. Deploy a view named my-app from the current directory:

    $ cd my-app $ tri-deploy - t http://tririga.dev:8001/dev -u myUserName -p myPassword

  2. Deploy a view in a different directory:

    $ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01

  3. Deploy just one file of a view:

    $ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01 -f component-name.js

  4. Deploy files to a Web App view

    $ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01 -w