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-wemogy

v0.2.96

Published

A yeoman code generator for common wemogy templates

Downloads

3,125

Readme

Yeoman Code Generator

npm

Get it running

Install Yeoman via NPM

npm install -g yo

Now install the generator

npm install -g generator-wemogy
yo wemogy

What can be generated?

New wemogy project

Choose these to generate a new project for a wemogy repository. They will automatically create the correct folder structure.

Hint: Please make sure to call these generators from the repository root.

| Type | Description | Folder | Direct command | |---|---|---|---| | Empty project structure | Scaffolds the basic components of every repository like EditorConfig and Readme. | / | yo wemogy:project-empty | | Web Service (.NET) | ASP.NET Web Api project to create small services | src/webservices/... | yo wemogy:project-webservice-dotnet | | Class Library (.NET) | .NET Class Library for shared components. | src/shared/... | yo wemogy:project-lib-dotnet | | SDK (.NET) | .NET Class Library to create an SDK for other .NET projects | src/sdk/dotnet/... | yo wemogy:project-sdk-dotnet | | SDK (JavaScript) | TypeScript project to create an SDK for other JavaScript projects | src/sdk/javascript/... | yo wemogy:project-sdk-javascript | | Frontend (React) | A web frontend based on React. | src/frontend/... | yo wemogy:project-frontend-react |

Other templates

Choose these to generate basic templates for specific technologies. They will not generate any specific folder structure.

| Category | Type | Description | Direct command | |---|---|---|---| | .NET | Solution | | yo wemogy:dotnet-solution | | .NET | Class Library | | yo wemogy:dotnet-classlib | | .NET | ASP.NET Web Api | | yo wemogy:dotnet-aspnet | | .NET | xUnit Tests | | yo wemogy:dotnet-xunit | | GitHub Actions | Action for .NET Builds | | yo github-actions-action-build-dotnet | | GitHub Actions | Action for JavaScript Builds | | yo github-actions-action-build-javascript | | GitHub Actions | Action to Build and Push Containers | | yo github-actions-action-containers | | GitHub Actions | Workflow for Builds | | yo github-actions-workflow-build | | GitHub Actions | Workflow for Releases | | yo github-actions-workflow-release | | Terraform | Azure Kubernetes Service (AKS) | | yo wemogy:terraform-aks | | Terraform | Kubernetes Cluster configuration | | yo wemogy:terraform-kubernetes | | TypeScript | Empty | | yo wemogy:typescript-empty | | TypeScript | React | | yo wemogy:typescript-react | | Documentation | Docusaurus | | yo wemogy:docs-docusaurus | | Documentation | Architecture Decision Record | | yo wemogy:docs-adr | | Yeoman | Selector Generator | | yo wemogy:yeoman-selector | | Yeoman | Template Generator (Generic) | | yo wemogy:yeoman-template | | Yeoman | Template Generator (.NET) | | yo wemogy:yeoman-template-dotnet | | Yeoman | Project Template Generator (Generic) | | yo wemogy:yeoman-template-project | | Yeoman | Project Template Generator (.NET) | | yo wemogy:yeoman-template-project-dotnet |

Development

Open a Terminal at the repository root and run the following commands.

yarn install

Start the development using the following command in the root directory.

yarn develop

To test the generator, create a test folder in the same repository at root level

mkdir test
cd test

Now link the generator

yarn link
yarn link generator-wemogy

Run the following command to start and test the generator

yo wemogy

To remove the linked generator, run the following command

yarn unlink

# Check, if removal was successful
npm list -g --depth=0