Skip to content

Commit

Permalink
feat: update namespace
Browse files Browse the repository at this point in the history
BREAKING CHANGE: uses new namespace
  • Loading branch information
ricardojrmcom committed Apr 29, 2022
1 parent c6bdab4 commit 03f69b9
Show file tree
Hide file tree
Showing 5 changed files with 3,089 additions and 3,260 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"react/jsx-no-useless-fragment": 0,
"object-curly-newline": 0,
"keyword-spacing": "warn",
"react/jsx-one-expression-per-line": 0
"react/jsx-one-expression-per-line": 0,
"react/require-default-props": 0
}
}
5 changes: 2 additions & 3 deletions .github/workflows/publish-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Publish Github (Public)

on:
workflow_dispatch:
branches: [main]

jobs:
publish-public:
Expand All @@ -14,13 +13,13 @@ jobs:
with:
node-version: '16'
registry-url: 'https://npm.pkg.github.com'
scope: '@${{ secrets.NPM_OWNER }}'
scope: '@${{ secrets.NAMESPACE }}'

- name: Checkout
uses: actions/checkout@v2

- name: Config Name
run: git config user.name ${{ secrets.GH_CONFIG_NAME }}
run: git config user.name ${{ secrets.NAMESPACE }}

- name: Config Email
run: git config user.email ${{ secrets.GH_CONFIG_EMAIL }}
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<div align="center">

# 🌸 `@ricardo-jrm/empathy`
# 🌸 `@ricardojrmcom/empathy`

<b>React API client</b>

![build](https://img.shields.io/github/workflow/status/ricardo-jrm/empathy/Continuous%20Integration?style=for-the-badge)
![license](https://img.shields.io/github/license/ricardo-jrm/empathy?style=for-the-badge)
![build](https://img.shields.io/github/workflow/status/ricardojrmcom/empathy/Continuous%20Integration?style=for-the-badge)
![license](https://img.shields.io/github/license/ricardojrmcom/empathy?style=for-the-badge)

![author](<https://img.shields.io/badge/Author-Ricardo%20%3Cl1b3r__--%3E%20Mota%20(%40ricardo--jrm)-orange?style=for-the-badge>)
![author](<https://img.shields.io/badge/Author-Ricardo%20%3Cl1b3r__--%3E%20Mota%20(%40ricardojrmcom)-orange?style=for-the-badge>)

![lang](https://img.shields.io/github/languages/top/ricardo-jrm/empathy?style=for-the-badge)
![version](https://img.shields.io/npm/v/@ricardo-jrm/empathy?style=for-the-badge)
![size](https://img.shields.io/bundlephobia/min/@ricardo-jrm/empathy?style=for-the-badge)
![lang](https://img.shields.io/github/languages/top/ricardojrmcom/empathy?style=for-the-badge)
![version](https://img.shields.io/npm/v/@ricardojrmcom/empathy?style=for-the-badge)
![size](https://img.shields.io/bundlephobia/min/@ricardojrmcom/empathy?style=for-the-badge)

</div>

Expand All @@ -24,17 +24,17 @@
### <b>Install</b>

```ts
npm install @ricardo-jrm/empathy
npm install @ricardojrmcom/empathy

yarn add @ricardo-jrm/empathy
yarn add @ricardojrmcom/empathy
```

<br />

### <b>Usage</b>

```ts
import { useEmpathy } from '@ricardo-jrm/empathy';
import { useEmpathy } from '@ricardojrmcom/empathy';

const { data, error, loading } = useEmpathy(endpoint);
```
Expand All @@ -47,8 +47,8 @@ const { data, error, loading } = useEmpathy(endpoint);

### <b>License</b>

[MIT](https://github.com/ricardo-jrm/empathy/blob/main/LICENSE) © Ricardo <l1b3r\_-> Mota ([@ricardo-jrm](https://github.com/ricardo-jrm))
[MIT](https://github.com/ricardojrmcom/empathy/blob/main/LICENSE) © Ricardo <l1b3r\_-> Mota ([@ricardojrmcom](https://github.com/ricardojrmcom))

Bootstrapped with 🟣[@ricardo-jrm/supernova](https://github.com/ricardo-jrm/supernova)
Bootstrapped with 🟣[@ricardojrmcom/supernova](https://github.com/ricardojrmcom/supernova)

<br />
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "@ricardo-jrm/empathy",
"name": "@ricardojrmcom/empathy",
"description": "React API client",
"version": "0.0.1-development",
"version": "0.0.2-development",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/ricardo-jrm/empathy.git"
"url": "https://github.com/ricardojrmcom/empathy.git"
},
"author": {
"name": "Ricardo Mota",
"url": "https://github.com/ricardo-jrm"
"url": "https://github.com/ricardojrmcom"
},
"homepage": "https://github.com/ricardo-jrm/empathy#readme",
"homepage": "https://github.com/ricardojrmcom/empathy#readme",
"bugs": {
"url": "https://github.com/ricardo-jrm/empathy/issues"
"url": "https://github.com/ricardojrmcom/empathy/issues"
},
"license": "MIT",
"keywords": [
Expand Down
Loading

0 comments on commit 03f69b9

Please sign in to comment.