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

@abgov/nx-adsp

v8.1.2

Published

Government of Alberta - Nx plugin for ADSP apps.

Downloads

528

Readme

About this project

This is the Government of Alberta - Nx plugin for ADSP apps.

The plugin includes generators for application, service, and fullstack solution quick starts. If the peer dependency @abgov/nx-oc is found, then OpenShift yml files are also included in the quickstarts. Application stack peer dependencies are required for the associated ADSP application type; for example, @nx/angular is required for the angular-app, and @nx-dotnet/core is required for dotnet-service.

TLDR

  1. Create your Nx workspace using npx create-nx-workspace my-workspace
  2. Install plugin: npm i -D @abgov/nx-adsp
  3. Generate a quick start npx g @abgov/nx-adsp:express-service my-app

Dev Features

Stuff inside [] needs to be replaced with your own names

To add a plugin to @abgov/nx-adsp

nx g @nx/plugin:plugin [pluginName] --importPath . move the code generated into packages/ns-adsp and make changes in the plugin directory you've just generated

To test the plugin locally

  1. Generate a temp folder with a local nx-adsp using nx run nx-adsp-e2e:e2e

  2. Generate a new project somewhere with npx create-nx-workspace, following the prompts

  3. Inside the new workspace, i) run npm i -D [location-of-nx-tools]/dist/packages/nx-adsp //to update package.json npm i -D @nx/angular //(this assumes you are building an angular plugin)

ii) generate the plugin - tenantRealm is the realm UUID used to generate a login feature that will log into that particular tenant (eg '2a9a2c30-a094-4097-9247-8d41b39cb80e') npx nx g @abgov/nx-adsp:[pluginName] my-ang-app --tenant tenantRealm iii) run npm install iv) serve the plugin using `nx serve [pluginName]