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

@dnncommunity/dnn-cli

v0.3.2

Published

A CLI for developing DNN extensions and working with DNN

Downloads

12

Readme

@dnncommunity/dnn-cli

License: MIT

dnn-cli extension type screenshot

Installation

...via yarn

yarn global add @dnncommunity/dnn-cli

...via npm

npm install -g @dnncommunity/dnn-cli

Usage

Once dnn-cli is installed, it may be used via Command Prompt, PowerShell, Terminal, etc.

dnn [create-extension] [extensionType] [moduleType | customExtensionRepo] [--install | -i]

create-extension

Initially, dnn-cli supports create-extension. Over time, the vision is to grow the CLI to support even more great features. For now, at least, the following two commands are the same:

dnn
dnn create-extension

It can be used to quickly setup a new local project by cloning any available starter project found within the DNN Community organization on GitHub. All available starter project repositories follow the repo naming convention of starter-<extensionType>-<moduleType>.

It also supports custom git repositories of your chosing.

A new local project can be quickly installed into an empty directory of your choice using the following CLI syntax. Optional dnn command arguments are indicated using brackets [ ].

dnn [extensionType] [moduleType | customExtensionRepo] [--install | -i]

Upon running the command and responding to any applicable prompts, the new project will be cloned in the directory from which the dnn-cli command was run.

Examples

Using no [optional] arguments:

dnn

This will result in being prompted for extensionType and moduleType (or customExtensionRepo) depending on extensionType selected.

Using [extensionType] only:

dnn theme

For an extensionType that does not have a moduleType or customExtensionRepo, no prompts will be displayed and the new project will be created. For an extensionType that does have a moduleType or customExtensionRepo (e.g., "Module", "Persona Bar", "*Custom"), a prompt will be displayed to select the desired moduletype or enter a valid customExtensionRepo.

Using [extensionType] and [moduleType]:

dnn module web-forms

Using [extensionType] and [customExtensionRepo]:

dnn *custom https://github.com/<user|org>/<repo>.git

Extension Types & Module Types

None of these are case sensitive. Extension types and module types with spaces in the name can be wrapped in quotes or hyphenated.

  • Authentican System (authentication-system)
  • Connector (connector)
  • Container (container)
  • Core Language Pack (core-language-pack)
  • Extension Language Pack (extension-language-pack)
  • JavaScript Library (javascript-library)
  • Library (library)
  • Module (module)
    • MVC (mvc)
    • Razor 3 (razor-3)
    • SPA (spa)
    • Web Forms (web-forms)
  • Persona Bar (persona-bar)
    • Angular (angular)
    • AngularJS (angularjs)
    • HTML (html)
    • React (react)
    • Vue (vue)
  • Provider
  • Scheduled Job (scheduled-job)
  • Theme Object (theme-object)
  • Theme (theme)
  • Web API (web-api)
  • Widget (widget)
  • *Custom (*custom)

Options

Install

For front-end projects, including the --install or -i option will automatically run yarn (yarn install) or npm install once the starter repository is cloned. The use of yarn or npm will be chosen based on your environment's configuration (yarn will take preferrence if installed).

Features, Tutorials & Labs

Coming soon at dnndocs.com