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

@tarek_youns/package

v0.1.2-development

Published

## Table of Contents - Description - DevOps Tools - Pipeline - Installation - Usage - Contact

Downloads

11

Readme

Developing An Internal React UI library With Jenkins Pipeline

Table of Contents

  • Description
  • DevOps Tools
  • Pipeline
  • Installation
  • Usage
  • Contact

Description

This project to creat react library and make it private and to do that i used jenkins to automate the whole system and push the package to nexus repository to make it private, also i wrote a workflow with github to push the package to NPM organization (i have to Subscribe to make it private)

DevOps Tools

  • Git
  • Jenkins
  • Ansible
  • Nexus
  • NPM
  • Github Ations

Pipeline

Installation

you have to clone this repo:

git clone https://github.com/Tarek-Youns/developing-an-internal-React-UI-library.git

when you push this code to your repo the workflow will be triggered(if you have a public ip and used webhook) or you can run it manually

Usage

Follow these steps to use the CI/CD pipeline:

1-Configure Jenkins: Set up Jenkins with the required plugins and configurations.

2-Configure Nexus Repository: Set up Nexus Repository Manager and configure the repository, Before that you can use the ansible role it this repo Frist configur your play book like that

- hosts: servers #your hosts
  remote_user: tarek  # choice user to run the commands in the remote machine 
  become: true  # to give sudo to the user 
  roles:
     - install   #role name 

second run this command

ansible-playbook playbook.yml -i inventory --ask-become-pass

3-Set Jenkins Credentials: Add credentials for GitHub, Nexus Repository, and SonarQube to Jenkins.

4-Create Jenkins Pipeline: Create a new pipeline in Jenkins and paste the provided Jenkinsfile. Set up Webhook: In your GitHub repository settings, navigate to "Webhooks" and add a new webhook pointing to your Jenkins server's URL. Configure the webhook to trigger on code push events. Ensure that the Jenkins GitHub plugin is installed and configured to receive webhook notifications(in case you have public ip, if you have not one trigger it manually) Run Pipeline: Trigger the pipeline manually or set up a webhook for automatic triggering on code changes.

Contact