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

generator-alfresco-common

v0.9.27

Published

Common code for Alfresco yeoman generator

Downloads

149

Readme

generator-alfresco-common

Build Status Coverage Status Dependency Status Dev Dependency Status Join the Chat

Getting Started

What is generator-alfresco?

generator-alfresco is a yeoman generator for creating Alfresco SDK projects and subsequently for scaffolding a growing number of common extension points.

What is this project for?

In this project, we have broken out a bunch of common helper modules that were originally embedded in the generator-alfresco project. By breaking these out, we make them easier to consume for other projects. We also simplify testing for the main project. Following is a summary of the modules included here:

alfresco-module-registry

Helpers for managing a list of modules that have been applied to one of our projects in the .yo-rc.json file. We use this to keep track of if modules are amps or jars, if they are local or remote, etc.

constants

Constants used by our generators.

dependency-versions

Code that allows us to detect the version of Maven and Java on a machine. We use this to block folks from creating an SDK project if said project will not run in the current environment.

general-utils

General utilities not provided by lodash.

generator-output

Some simple methods for logging consistently.

java-properties

Provides methods for reading, modifying and writing Java properties files. This is by no means a complete impelemntation of the properties file spect, but it's enough for our generators at this time.

maven-archetype-file-filtering

Given a file and an object with key/values, this goes through the file and replaces velocity style references to the given keys with the provided values.

maven-archetype-generate

Emulates mvn archetype:generate to the extent that we can create Alfresco All In One archetype projects from an exploded archetype jar file.

maven-archetype-metadata

Helps us read archetype-metadata.xml files used to describe how maven archetype jar files should be generated into real projects.

maven-archetype-path-filtering

Given a path and an object with key/values, this goes through the path and replaces __placeholder__ references to the given keys with the provided values.

maven-pom

Helpers for reading, modifying and writing Maven POM files.

mem-fs-utils

A few utilities that add to the mem-fs tool used by yeoman.

prompt-filters

Common filters for prompting.

prompt-validators

Common validators for prompting.

spring-context

Provides methods for reading, modifying and writing Springframework context files.

tomcat-context

Provides methods for reading, modifying and writing Tomcat context files.

xml-dom-utils

A few utilities that add to the xmldom module we use for XML handling.

Getting Help

If you find a bug or something is confusing, you can review existing or create a new issue. If you'd like to chat, you can reach out on our Gitter channel.

License

Apache 2.0