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

myproximus-ts

v1.0.0

Published

TBD

Downloads

1

Readme

Getting started

To setup the project run the following commands

  • yarn install
  • yarn build

Develop

Open 2 terminals, one for each of the following commands:

  1. yarn watch:build
  2. yarn watch:test

Add a new script

  1. Place the new script in the scripts folder
  2. Edit the file cli.ts and add the command that will invoke the script

Debug

Add one or more of the following flags to enable certain features (ex DEBUG=1 node bin/myproximus-ts wait-and-exit 3)

  • DEBUG=1 to enable debug logs
  • DEBUG_NETWORK=1 to enable network debug logs
  • SIMULATE_CI=1 to enable some ENV VARS mostly used for testing while developing (🚨 be careful!)

Lint, Coverage, Test...

  • yarn fix to run the linter and automatically fix your code
  • yarn cov to generate and open the project coverage
  • yarn test to run the unit tests
  • yarn doc to generate and open the documentation

Available scripts

For a list of available scripts and their usage run the command: node bin/myproximus-ts --help

  1. wait-and-exit <seconds> <exitcode>

    Wait an amount of seconds (3 default) and exit the process with the given exit code (0 default)

  2. cancel-prev-bitrise-builds

    Query Bitrise for the all active builds for the given GIT_BRANCH and abort all the builds

  3. cancel-prev-gitlab-pipelines

    Query Bitrise for the all active pipelines and cancel all the pipelines that are in pending or running state

  4. fetch-translations <appVersion>

    Download and store the translation from the Proximus's Magnolia CMS. For each app (myproximus and epic), download the supported languages (EN, FR, NL) and store the content in /src-dise/common-features/translations/<app>/<language.json>. Commit and push the changes on the develop/$APP_VERSION branch

  5. promote-app-version

    Perform a sequence of merges/commits for the given $APP_VERSION
    merge develop/$APP_VERSION into uat/$APP_VERSION
    merge uat/$APP_VERSION into prodlike/$APP_VERSION
    merge prodlike/$APP_VERSION into lut/$APP_VERSION
    merge lut/$APP_VERSION into master/$APP_VERSION