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

@magnolia/cli

v5.0.0

Published

A tool to setup and facilitate light development with Magnolia CMS

Downloads

1,012

Readme

Magnolia Light Development CLI tool

license

An npm package providing a CLI tool to setup and facilitate light development with Magnolia. For a complete reference including installation and usage please visit Magnolia CLI documentation.

Version 4.0.13

  • Add End-of-Support notification NPMCLI-305
  • Update dependencies

Version 4.0.12

  • Update CLI to jumpstart Magnolia 6.3.0 as default NPMCLI-309
  • Update dependencies

Version 4.0.11

  • Handle additional Magnolia version tags

Version 4.0.10

  • Fix tab completion configuration NPMCLI-304
  • Add microprofile configuration for publishing NPMCLI-301
  • Update travel demo webapp coordinates NPMCLI-302
  • Update dependencies

Version 4.0.9

  • Fix spawn error on Windows NPMCLI-300
  • Update dependencies

Version 4.0.8

  • Default to jumpstart the latest stable version of Magnolia NPMCLI-299
  • Update dependencies

Version 4.0.7

  • Update dependencies
  • Remove Build status

Version 4.0.6

  • Fix an issue with downloading snapshot versions NPMCLI-251, NPMCLI-286
  • Add additional info into error message when 'unable to get local issuer certificate' occures NPMCLI-285

Version 4.0.5

  • Update the APIs for downloading artifacts

Version 4.0.4

  • Update outdated dependencies
  • Replace deprecated dependencies and dependencies with vulnerabilities

Version 4.0.3

  • Update Regex for extracting Apache Tomcat during the jumpstart

Version 4.0.2

  • Downgrade the async dependency back to ^2.6.0 to fix logs in terminal when starting Magnolia

Version 4.0.1

  • Replace decompress-zip with decompress library NPMCLI-266
  • Update dependencies
  • Add ability to run mgnl install for scoped packages NPMCLI-274

Version 4.0.0

All users of Magnolia 6.2.x are recommended to upgrade to CLI 4.0.0

  • The create commands now generate Magnolia 6 UI definitions by default. Since these definitions are incompatible with Magnoila 5 UI, we update the CLI to new major version (4.0). https://jira.magnolia-cms.com/browse/NPMCLI-236
  • The dialog definitions of component and page templates and the app definition are affected by the change.
  • You can still generate the 5 UI definitions with the create commands by using the -P or --prototype flag to specify one of the m5 prototypes.
  • As a convenience, if the CLI can detect that the current location is used by a < 6.2.x version of Magnolia, then it will use the _default-m5 prototypes automatically.
    • The CLI can detect the Magnolia version when the 'light-modules' directory is adjacent to an 'apache-tomcat' directory, as is the case when Magnolia is installed with mgnl jumpstart command.
  • If you would like the CLI to generate 5 UI definitions by default for certain projects, you can use the customize-local-config command which generates a local version of all of the prototypes used in the create commands. Then you can change the prototypes to suit your needs. (Such as renaming the _default-m5 prototypes to _default.)
  • Problem with jumpstart command fixed: 'ERR! Cannot read property 'status' of undefined' https://jira.magnolia-cms.com/browse/NPMCLI-239

Version 3.1.0

  • This new release comes with full support for Magnolia 6.1 and content types. It will also seamlessly handle both the new DX Core artifacts coming with 6.1 and the old ones
    • When Magnolia version is the latest (6.1 or higher), jumpstart will display the new dx-core webapps
    • When Magnolia version is less than 6.1, e.g. jumpstart -m 5.7.3 it will display EE bundle and cloud webapps
  • Two new commands have been added (https://jira.magnolia-cms.com/browse/NPMCLI-149)
    • create-app - creates a content type and an app based on it
    • create-content-type - creates a content type
  • Fix issue with running jumpstart behind proxy https://jira.magnolia-cms.com/browse/NPMCLI-206
  • Update third party dependencies due to some vulnerabilities https://jira.magnolia-cms.com/browse/NPMCLI-223

Users on prior versions of the CLI are encouraged to upgrade to 3.1

Version 3.0.7

  • Security fix related to adm-zip dependency https://jira.magnolia-cms.com/browse/NPMCLI-198
  • Updated to latest lodash due to moderate vulnerability revealed by npm audit

Version 3.0.6

  • Fix https proxy issue with Axios lib. https://jira.magnolia-cms.com/browse/NPMCLI-207

Version 3.0.5

  • Fix proxy issue with Axios lib. https://jira.magnolia-cms.com/browse/NPMCLI-176

Version 3.0.4

  • Snapshot flag is now applied to tomcat-barebone as well. https://jira.magnolia-cms.com/browse/NPMCLI-194

Version 3.0.3

  • Solved an issue with the create-page command on Windows where the dialog and templateScript properties were incorrectly set to undefined. See details at https://jira.magnolia-cms.com/browse/NPMCLI-189

Version 3.0.2

  • unpublished due to an issue with npmjs.org

Version 3.0.1

  • Solved an issue with the jumpstart command caused by a regression introduced by adm-zip dependency. See details at https://jira.magnolia-cms.com/browse/NPMCLI-182

Version 3.0.0

  • A new prototype structure has been introduced, see Prototypes in CLI v3 and also Updating CLI to v3 for migration of prototypes from CLI v2 to CLI v3.
  • The jumpstart command has been significantly improved. It now provides a list of available webapps you can choose from.
  • Two new commands have been added:
    • create-block - creates a block definition
    • create-virtual-uri - creates a virtual uri mapping definition

Major changes

(For a full list of changes please see the release history).

Version 2.2.0

  • A new option -c (--cloud) has been added to the jumpstart command. The mgnl jumpstart --cloud will download and setup a Magnolia Cloud Enterprise bundle. It requires credentials to access Magnolia Nexus.

Version 2.1.0

  • Two new commands have been added:
    • search - to discover light modules on the npm site
    • install - to easily install a light module from the registry into your light modules folder

version 2.0

  • The setup command has been replaced with customize-local-config (or its alias customise-local-config, yes with an s instead of z) because we thought it was a better name :).