diff --git a/.all-contributorsrc b/.all-contributorsrc index 1c2101b..3d5627c 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,5 +1,5 @@ { - "projectName": "plop-generator-react-component", + "projectName": "plop-generator-react-hook", "projectOwner": "bradgarropy", "repoType": "github", "repoHost": "https://github.com", diff --git a/contributing.md b/contributing.md index 8ced420..653591f 100644 --- a/contributing.md +++ b/contributing.md @@ -21,13 +21,13 @@ In order to submit a pull request, you'll have to setup your own development env Then you can clone the forked repository to your system. ```bash -git clone https://github.com//plop-generator-react-component +git clone https://github.com//plop-generator-react-hook ``` Next you need to install the dependencies. ```bash -cd plop-generator-react-component +cd plop-generator-react-hook npm install ``` @@ -92,7 +92,7 @@ I appreciate any and all types of contributions to this project! Contributors ar - +

Brad Garropy

💻 📖 ⚠️ 🚇

Brad Garropy

💻 📖 ⚠️ 🚇
@@ -101,9 +101,9 @@ I appreciate any and all types of contributions to this project! Contributors ar -[issues]: https://github.com/bradgarropy/plop-generator-react-component/issues +[issues]: https://github.com/bradgarropy/plop-generator-react-hook/issues [codesandbox]: https://codesandbox.io [kcd-pr]: https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github -[license]: https://github.com/bradgarropy/plop-generator-react-component/blob/master/license -[fork]: https://github.com/bradgarropy/plop-generator-react-component/fork -[contributors]: https://github.com/bradgarropy/plop-generator-react-component#-contributors +[license]: https://github.com/bradgarropy/plop-generator-react-hook/blob/master/license +[fork]: https://github.com/bradgarropy/plop-generator-react-hook/fork +[contributors]: https://github.com/bradgarropy/plop-generator-react-hook#-contributors diff --git a/package.json b/package.json index 26aea9b..f76f77c 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "plop-generator", "react" ], - "homepage": "https://github.com/bradgarropy/plop-generator-react-component", + "homepage": "https://github.com/bradgarropy/plop-generator-react-hook", "bugs": { - "url": "https://github.com/bradgarropy/plop-generator-react-component/issues" + "url": "https://github.com/bradgarropy/plop-generator-react-hook/issues" }, "license": "MIT", "author": { @@ -30,7 +30,7 @@ "types": "dist/types/index.d.ts", "repository": { "type": "git", - "url": "https://github.com/bradgarropy/plop-generator-react-component" + "url": "https://github.com/bradgarropy/plop-generator-react-hook" }, "scripts": { "start": "tsc --watch", diff --git a/readme.md b/readme.md index 40f9d80..fb7ef72 100644 --- a/readme.md +++ b/readme.md @@ -59,7 +59,7 @@ src - +

Brad Garropy

💻 📖 ⚠️ 🚇

Brad Garropy

💻 📖 ⚠️ 🚇
@@ -68,24 +68,24 @@ src -[codecov]: https://app.codecov.io/gh/bradgarropy/plop-generator-react-component -[contributing]: https://github.com/bradgarropy/plop-generator-react-component/blob/master/contributing.md +[codecov]: https://app.codecov.io/gh/bradgarropy/plop-generator-react-hook +[contributing]: https://github.com/bradgarropy/plop-generator-react-hook/blob/master/contributing.md [contributors]: #-contributors -[npm]: https://www.npmjs.com/package/@bradgarropy/plop-generator-react-component -[codecov-badge]: https://img.shields.io/codecov/c/github/bradgarropy/plop-generator-react-component?style=flat-square -[version-badge]: https://img.shields.io/npm/v/@bradgarropy/react-library-start.svg?style=flat-square -[downloads-badge]: https://img.shields.io/npm/dt/@bradgarropy/react-library-start?style=flat-square +[npm]: https://www.npmjs.com/package/@bradgarropy/plop-generator-react-hook +[codecov-badge]: https://img.shields.io/codecov/c/github/bradgarropy/plop-generator-react-hook?style=flat-square +[version-badge]: https://img.shields.io/npm/v/@bradgarropy/plop-generator-react-compo.svg?style=flat-square +[downloads-badge]: https://img.shields.io/npm/dt/@bradgarropy/plop-generator-react-compo?style=flat-square [contributing-badge]: https://img.shields.io/badge/PRs-welcome-success?style=flat-square -[contributors-badge]: https://img.shields.io/github/all-contributors/bradgarropy/plop-generator-react-component?style=flat-square -[issues]: https://github.com/bradgarropy/plop-generator-react-component/issues +[contributors-badge]: https://img.shields.io/github/all-contributors/bradgarropy/plop-generator-react-hook?style=flat-square +[issues]: https://github.com/bradgarropy/plop-generator-react-hook/issues [twitter]: https://twitter.com/bradgarropy [ama]: https://bradgarropy.com/ama -[bundlephobia]: https://bundlephobia.com/result?p=@bradgarropy/plop-generator-react-component -[size-badge]: https://img.shields.io/bundlephobia/minzip/@bradgarropy/plop-generator-react-component?style=flat-square -[github-actions]: https://github.com/bradgarropy/plop-generator-react-component/actions -[github-actions-badge]: https://img.shields.io/github/workflow/status/bradgarropy/plop-generator-react-component/%F0%9F%9A%80%20release?style=flat-square -[typescript]: https://www.typescriptlang.org/dt/search?search=%40bradgarropy%2Fplop-generator-react-component -[typescript-badge]: https://img.shields.io/npm/types/@bradgarropy/plop-generator-react-component?style=flat-square +[bundlephobia]: https://bundlephobia.com/result?p=@bradgarropy/plop-generator-react-hook +[size-badge]: https://img.shields.io/bundlephobia/minzip/@bradgarropy/plop-generator-react-hook?style=flat-square +[github-actions]: https://github.com/bradgarropy/plop-generator-react-hook/actions +[github-actions-badge]: https://img.shields.io/github/workflow/status/bradgarropy/plop-generator-react-hook/%F0%9F%9A%80%20release?style=flat-square +[typescript]: https://www.typescriptlang.org/dt/search?search=%40bradgarropy%2Fplop-generator-react-hook +[typescript-badge]: https://img.shields.io/npm/types/@bradgarropy/plop-generator-react-hook?style=flat-square [discord]: https://bradgarropy.com/discord [discord-badge]: https://img.shields.io/discord/748196643140010015?style=flat-square [plop]: https://plopjs.com diff --git a/src/hook.ts b/src/hook.ts index e3d0256..a6bb283 100644 --- a/src/hook.ts +++ b/src/hook.ts @@ -1,4 +1,4 @@ -const component = { +const hook = { description: "⚛ react hook", prompts: [ { @@ -31,4 +31,4 @@ const component = { ], } -export default component +export default hook