diff --git a/.github/workflows/bp-devtools-ci.yml b/.github/workflows/bp-devtools-ci.yml index 9084178..bf5c934 100644 --- a/.github/workflows/bp-devtools-ci.yml +++ b/.github/workflows/bp-devtools-ci.yml @@ -23,24 +23,20 @@ jobs: pnpm-version: [7] steps: - name: Checkout [Pull Request] - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name == 'pull_request' }} with: ref: ${{ github.event.pull_request.head.sha }} - token: ${{ secrets.NPM_TOKEN }} fetch-depth: 0 - name: Checkout [Default Branch] - uses: actions/checkout@v2 + uses: actions/checkout@v3 if: ${{ github.event_name != 'pull_request' }} with: - token: ${{ secrets.NPM_TOKEN }} fetch-depth: 0 - name: Derive appropriate SHAs for base and head for `nx affected` commands - uses: nrwl/nx-set-shas@v2 - with: - main-branch-name: ${{ github.base_ref }} + uses: nrwl/nx-set-shas@v3 - name: Detect package manager id: package_manager @@ -74,7 +70,7 @@ jobs: - name: Use the node_modules cache if available [npm] if: steps.package_manager.outputs.name == 'npm' - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.versions.outputs.node_version }}-${{ hashFiles('**/package-lock.json') }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index ed72fee..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -@bp-devtools:registry=https://npm.pkg.github.com diff --git a/LICENSE b/LICENSE index 673e92f..2747d57 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 bp-devtools +Copyright (c) 2023 devtools-bp Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index fd9d11d..c7d4bed 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# bp-devtools +# devtools-bp -Welcome to the bp-devtools monorepo! This repository serves as a centralized location for various libraries and tools related to NestJS, Angular, and more. Whether you're working on backend development with NestJS or frontend development with Angular, you'll find a range of useful libraries and tools here. +Welcome to the devtools-bp monorepo! This repository serves as a centralized location for various libraries and tools related to NestJS, Angular, and more. Whether you're working on backend development with NestJS or frontend development with Angular, you'll find a range of useful libraries and tools here. ## Table of Contents @@ -11,10 +11,10 @@ Welcome to the bp-devtools monorepo! This repository serves as a centralized loc ## Getting Started -To get started with the bp-devtools monorepo, follow these steps: +To get started with the devtools-bp monorepo, follow these steps: -1. Clone the repository: `git clone https://github.com/bp-devtools/bp-devtools.git` -2. Navigate to the cloned repository: `cd bp-devtools` +1. Clone the repository: `git clone https://github.com/devtools-bp/devtools-bp.git` +2. Navigate to the cloned repository: `cd devtools-bp` 3. Install the dependencies: `npm install` 4. Choose the library or tool you want to use from the `libraries` directory. 5. Follow the specific instructions provided in the respective library/tool's README file. @@ -25,16 +25,16 @@ To get started with the bp-devtools monorepo, follow these steps: 1. **ns-paystack**: Powerful library that provides seamless integration with the Paystack payment gateway for your NestJS applications. You can easily handle payment transactions with minimal effort. - Usage: - - Installation: `npm install @bp-devtools/ns-paystack` - - Documentation: [Link to documentation](https://github.com/brianpooe/bp-devtools/blob/main/libs/ns-paystack/README.md) + - Installation: `npm install @devtools-bp/ns-paystack` + - Documentation: [Link to documentation](https://github.com/brianpooe/devtools-bp/blob/main/libs/ns-paystack/README.md) ### Angular Libraries Coming soon... ## Contributing -We welcome contributions to the bp-devtools monorepo! If you have any bug fixes, improvements, or new features to propose, please follow the guidelines outlined in [CONTRIBUTING.md](https://github.com/bp-devtools/bp-devtools/blob/main/CONTRIBUTING.md). +We welcome contributions to the devtools-bp monorepo! If you have any bug fixes, improvements, or new features to propose, please follow the guidelines outlined in [CONTRIBUTING.md](https://github.com/devtools-bp/devtools-bp/blob/main/CONTRIBUTING.md). ## License -The bp-devtools monorepo is released under the [MIT License](https://github.com/brianpooe/bp-devtools/blob/main/LICENSE). Please make sure you understand its terms and conditions when using the libraries and tools provided in this repository. +The devtools-bp monorepo is released under the [MIT License](https://github.com/brianpooe/devtools-bp/blob/main/LICENSE). Please make sure you understand its terms and conditions when using the libraries and tools provided in this repository. diff --git a/apps/ns-paystack-demo/src/app/app.module.ts b/apps/ns-paystack-demo/src/app/app.module.ts index d18c354..c94acdc 100644 --- a/apps/ns-paystack-demo/src/app/app.module.ts +++ b/apps/ns-paystack-demo/src/app/app.module.ts @@ -1,6 +1,6 @@ import { Module } from '@nestjs/common'; -import { NsPaystackModule } from '@bp-devtools/ns-paystack'; +import { NsPaystackModule } from '@devtools-bp/ns-paystack'; import { ConfigService } from '@nestjs/config'; import { TransactionsService } from './transactions/services/transactions.service'; import { TransactionController } from './transactions/controllers/transaction.controller'; diff --git a/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.spec.ts b/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.spec.ts index 245a5a8..7a2759c 100644 --- a/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.spec.ts +++ b/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.spec.ts @@ -6,7 +6,7 @@ import { MODULE_OPTIONS_TOKEN, NsPaystackModule, PsTransactionsService -} from '@bp-devtools/ns-paystack'; +} from '@devtools-bp/ns-paystack'; import { ConfigService } from '@nestjs/config'; import { HttpModule } from '@nestjs/axios'; diff --git a/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.ts b/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.ts index aa54070..12c6ab4 100644 --- a/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.ts +++ b/apps/ns-paystack-demo/src/app/transactions/controllers/transaction.controller.ts @@ -15,7 +15,7 @@ import { PsTransactionTotalsResponseModel, PsVerifyTransactionResponseModel, PsViewTransactionTimeLineResponseModel -} from '@bp-devtools/ns-paystack'; +} from '@devtools-bp/ns-paystack'; import { Observable } from 'rxjs'; import { TransactionsService } from '../services/transactions.service'; diff --git a/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.spec.ts b/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.spec.ts index 57bf742..c828c10 100644 --- a/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.spec.ts +++ b/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.spec.ts @@ -1,6 +1,6 @@ import { Test, TestingModule } from '@nestjs/testing'; import { TransactionsService } from './transactions.service'; -import { NsPaystackModule } from '@bp-devtools/ns-paystack'; +import { NsPaystackModule } from '@devtools-bp/ns-paystack'; import { ConfigService } from '@nestjs/config'; describe(TransactionsService.name, () => { diff --git a/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.ts b/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.ts index 006767f..37bbac1 100644 --- a/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.ts +++ b/apps/ns-paystack-demo/src/app/transactions/services/transactions.service.ts @@ -16,7 +16,7 @@ import { PsExportTransactionResponseModel, PsPartialDebitRequestModel, PsPartialDebitResponseModel -} from '@bp-devtools/ns-paystack'; +} from '@devtools-bp/ns-paystack'; import { Observable } from 'rxjs'; @Injectable() diff --git a/libs/ns-paystack/README.md b/libs/ns-paystack/README.md index da72481..98255de 100644 --- a/libs/ns-paystack/README.md +++ b/libs/ns-paystack/README.md @@ -5,13 +5,13 @@ The wrapper provides a convenient way to integrate Paystack payment functionalit ## Installation ```shell -npm install @bp-devtools/ns-paystack +npm install @devtools-bp/ns-paystack ``` or ```shell -yarn add @bp-devtools/ns-paystack +yarn add @devtools-bp/ns-paystack ``` ## Configuration @@ -22,7 +22,7 @@ dashboard. Once you have the API key, you can configure the wrapper in your Nest ```typescript import { Module } from '@nestjs/common'; -import { NsPaystackModule } from '@bp-devtools/ns-paystack'; +import { NsPaystackModule } from '@devtools-bp/ns-paystack'; import { ConfigService } from '@nestjs/config'; import { TransactionsService } from './transactions/services/transactions.service'; import { TransactionController } from './transactions/controllers/transaction.controller'; @@ -42,7 +42,7 @@ export class AppModule {} ```typescript import { Module } from '@nestjs/common'; -import { NsPaystackModule } from '@bp-devtools/ns-paystack'; +import { NsPaystackModule } from '@devtools-bp/ns-paystack'; import { ConfigService } from '@nestjs/config'; @Module({ @@ -70,7 +70,7 @@ import { PsTransactionsService, PsInitializeTransactionRequestModel, PsInitializeTransactionResponseModel -} from '@bp-devtools/ns-paystack'; +} from '@devtools-bp/ns-paystack'; @Injectable() export class TransactionsService { @@ -94,7 +94,7 @@ import { PsFetchTransactionResponseModel, PsInitializeTransactionRequestModel, PsInitializeTransactionResponseModel -} from '@bp-devtools/ns-paystack'; +} from '@devtools-bp/ns-paystack'; import { TransactionsService } from '../services/transactions.service'; @Controller('transaction') @@ -158,8 +158,8 @@ pull request on the GitHub repository. ## License -The bp-devtools monorepo is released under -the [MIT License](https://github.com/brianpooe/bp-devtools/blob/main/LICENSE). Please make sure you understand its +The devtools-bp monorepo is released under +the [MIT License](https://github.com/brianpooe/devtools-bp/blob/main/LICENSE). Please make sure you understand its terms and conditions when using the libraries and tools provided in this repository. ## Authors diff --git a/libs/ns-paystack/package.json b/libs/ns-paystack/package.json index 41c5b5a..c20e42a 100644 --- a/libs/ns-paystack/package.json +++ b/libs/ns-paystack/package.json @@ -1,5 +1,5 @@ { - "name": "@bp-devtools/ns-paystack", + "name": "@devtools-bp/ns-paystack", "description": "Powerful library that provides seamless integration with the Paystack payment gateway for your NestJS applications. You can easily handle payment transactions with minimal effort.", "version": "1.0.0", "scripts": { @@ -12,15 +12,15 @@ "type": "commonjs", "repository": { "type": "git", - "url": "https://github.com/brianpooe/bp-devtools.git", + "url": "https://github.com/brianpooe/devtools-bp.git", "directory": "libs/ns-paystack" }, "license": "MIT", "bugs": { - "url": "https://github.com/brianpooe/bp-devtools/issues", + "url": "https://github.com/brianpooe/devtools-bp/issues", "email": "brian.method@gmail.com" }, - "homepage": "https://github.com/brianpooe/bp-devtools/tree/main/libs/ns-paystack#readme", + "homepage": "https://github.com/brianpooe/devtools-bp/tree/main/libs/ns-paystack#readme", "keywords": [ "nestjs", "paystack", diff --git a/package-lock.json b/package-lock.json index f693c15..f570f42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@bp-devtools/source", + "name": "@devtools-bp/source", "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@bp-devtools/source", + "name": "@devtools-bp/source", "version": "0.0.0", "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 83823ec..11fc22b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@bp-devtools/source", + "name": "@devtools-bp/source", "version": "1.0.0", "license": "MIT", "author": { @@ -65,10 +65,10 @@ } }, "bugs": { - "url": "https://github.com/brianpooe/bp-devtools/issues", + "url": "https://github.com/brianpooe/devtools-bp/issues", "email": "brian.method@gmail.com" }, - "homepage": "https://github.com/brianpooe/bp-devtools#readme", + "homepage": "https://github.com/brianpooe/devtools-bp#readme", "keywords": [ "nestjs", "paystack", diff --git a/tsconfig.base.json b/tsconfig.base.json index f04a8c0..a252488 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -18,7 +18,7 @@ "skipDefaultLibCheck": true, "baseUrl": ".", "paths": { - "@bp-devtools/ns-paystack": [ + "@devtools-bp/ns-paystack": [ "libs/ns-paystack/src/index.ts" ] }