Skip to content

Commit

Permalink
fix: minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
avneesh0612 committed May 22, 2022
1 parent d350ae1 commit 99ac371
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ body:
label: Additional information
description: Is there anything else we should know about this bug?
validations:
required: false
required: false
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx pretty-quick --staged
yarn pre-commit
45 changes: 14 additions & 31 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,41 @@
# [1.7.0](https://github.com/avneesh0612/react-nextjs-snippets/compare/v1.6.0...v1.7.0) (2022-04-25)


### Features

* add pr and issue templates ([#54](https://github.com/avneesh0612/react-nextjs-snippets/issues/54)) ([3e9ce5c](https://github.com/avneesh0612/react-nextjs-snippets/commit/3e9ce5c7fa51c91c6682a03056ea2b2420e50dc6))


- add pr and issue templates ([#54](https://github.com/avneesh0612/react-nextjs-snippets/issues/54)) ([3e9ce5c](https://github.com/avneesh0612/react-nextjs-snippets/commit/3e9ce5c7fa51c91c6682a03056ea2b2420e50dc6))

# [1.6.0](https://github.com/avneesh0612/react-nextjs-snippets/compare/v1.5.0...v1.6.0) (2022-03-18)


### Features

* **react-ts:** add type to functional component ([4fde124](https://github.com/avneesh0612/react-nextjs-snippets/commit/4fde124b65be803d51d998f6876ac95a4f8edc6d))


- **react-ts:** add type to functional component ([4fde124](https://github.com/avneesh0612/react-nextjs-snippets/commit/4fde124b65be803d51d998f6876ac95a4f8edc6d))

# [1.5.0](https://github.com/avneesh0612/react-nextjs-snippets/compare/v1.4.0...v1.5.0) (2022-02-20)


### Features

* add atom on the website ([f4a9247](https://github.com/avneesh0612/react-nextjs-snippets/commit/f4a9247a3d0aed0c836683b694682beadf0f1a29))


- add atom on the website ([f4a9247](https://github.com/avneesh0612/react-nextjs-snippets/commit/f4a9247a3d0aed0c836683b694682beadf0f1a29))

# [1.4.0](https://github.com/avneesh0612/react-nextjs-snippets/compare/v1.0.1...v1.4.0) (2022-02-19)


### Bug Fixes

* action gif ([a7205c0](https://github.com/avneesh0612/react-nextjs-snippets/commit/a7205c0c80ac2ef8b0fb90f9b537613669aa3dcd))
* clean up all the snippets ([#40](https://github.com/avneesh0612/react-nextjs-snippets/issues/40)) ([06d4d4f](https://github.com/avneesh0612/react-nextjs-snippets/commit/06d4d4f2e0446bbfa063dde74de59dd9a790d130))
* fix a few things, add nextseo ([#38](https://github.com/avneesh0612/react-nextjs-snippets/issues/38)) ([e1a6c7b](https://github.com/avneesh0612/react-nextjs-snippets/commit/e1a6c7b12b96c4ee3c8b92b5e41e2cd1735c96d1))
* gif ([bfddb12](https://github.com/avneesh0612/react-nextjs-snippets/commit/bfddb124b520ba8619936e25a6571bd7785e4f63))
* typo in javascript snippets and enable snippets in js and ts files too ([7bcaf21](https://github.com/avneesh0612/react-nextjs-snippets/commit/7bcaf2138c0bfe73c01f2e9365a9d946da94a0b7))

- action gif ([a7205c0](https://github.com/avneesh0612/react-nextjs-snippets/commit/a7205c0c80ac2ef8b0fb90f9b537613669aa3dcd))
- clean up all the snippets ([#40](https://github.com/avneesh0612/react-nextjs-snippets/issues/40)) ([06d4d4f](https://github.com/avneesh0612/react-nextjs-snippets/commit/06d4d4f2e0446bbfa063dde74de59dd9a790d130))
- fix a few things, add nextseo ([#38](https://github.com/avneesh0612/react-nextjs-snippets/issues/38)) ([e1a6c7b](https://github.com/avneesh0612/react-nextjs-snippets/commit/e1a6c7b12b96c4ee3c8b92b5e41e2cd1735c96d1))
- gif ([bfddb12](https://github.com/avneesh0612/react-nextjs-snippets/commit/bfddb124b520ba8619936e25a6571bd7785e4f63))
- typo in javascript snippets and enable snippets in js and ts files too ([7bcaf21](https://github.com/avneesh0612/react-nextjs-snippets/commit/7bcaf2138c0bfe73c01f2e9365a9d946da94a0b7))

### Features

* add the required snippets in next-javascript.json file ([#46](https://github.com/avneesh0612/react-nextjs-snippets/issues/46)) ([42e1edf](https://github.com/avneesh0612/react-nextjs-snippets/commit/42e1edfeaa01bfd5ba84f4aa617721f79951b819))
* atom extension ([#44](https://github.com/avneesh0612/react-nextjs-snippets/issues/44)) ([79247ce](https://github.com/avneesh0612/react-nextjs-snippets/commit/79247cedc6f7b15a5b5eb5373940ffcc60ab06cd))
* boost performance and minor improvements ([e792f97](https://github.com/avneesh0612/react-nextjs-snippets/commit/e792f97f99279fb1eb9c62c0aef1171a8ce2a075))
* improve lighthouse scores ([#43](https://github.com/avneesh0612/react-nextjs-snippets/issues/43)) ([b2a5d87](https://github.com/avneesh0612/react-nextjs-snippets/commit/b2a5d870dcb1d9cd4afb010c14e658d4a1bf3e0c))
* initial nextjs setup for the web ([b5f49f1](https://github.com/avneesh0612/react-nextjs-snippets/commit/b5f49f1a313114289a50d2b15bb62d279d7b1f72))


- add the required snippets in next-javascript.json file ([#46](https://github.com/avneesh0612/react-nextjs-snippets/issues/46)) ([42e1edf](https://github.com/avneesh0612/react-nextjs-snippets/commit/42e1edfeaa01bfd5ba84f4aa617721f79951b819))
- atom extension ([#44](https://github.com/avneesh0612/react-nextjs-snippets/issues/44)) ([79247ce](https://github.com/avneesh0612/react-nextjs-snippets/commit/79247cedc6f7b15a5b5eb5373940ffcc60ab06cd))
- boost performance and minor improvements ([e792f97](https://github.com/avneesh0612/react-nextjs-snippets/commit/e792f97f99279fb1eb9c62c0aef1171a8ce2a075))
- improve lighthouse scores ([#43](https://github.com/avneesh0612/react-nextjs-snippets/issues/43)) ([b2a5d87](https://github.com/avneesh0612/react-nextjs-snippets/commit/b2a5d870dcb1d9cd4afb010c14e658d4a1bf3e0c))
- initial nextjs setup for the web ([b5f49f1](https://github.com/avneesh0612/react-nextjs-snippets/commit/b5f49f1a313114289a50d2b15bb62d279d7b1f72))

## [1.0.1](https://github.com/avneesh0612/react-nextjs-snippets/compare/v1.2.1...v1.0.1) (2022-02-14)


### Bug Fixes

* package json and prettier ([0cafde1](https://github.com/avneesh0612/react-nextjs-snippets/commit/0cafde1b2af1035676a0bd508fa7dc06bc117952))



- package json and prettier ([0cafde1](https://github.com/avneesh0612/react-nextjs-snippets/commit/0cafde1b2af1035676a0bd508fa7dc06bc117952))
30 changes: 15 additions & 15 deletions SNIPPETS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ React and Next.js Snippets currently has a total of 38 snippets.

| Prefix | Description | Language |
| -------- | ------------------------------------------------ | ---------- |
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
| `ngapi` | Javascript: Next.js API Route | Javascript |
| `ngsst` | Typescript: Next.js get server side props | Typescript |
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
| `npt` | Typescript: Next.js page | Typescript |
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
| `nct` | Typescript: Next.js component | Typescript |
| `ngspat` | Typescript: Next.js get static path | Typescript |
| `ncappt` | Typescript: Next.js custom app | Typescript |
| `ncdoct` | Typescript: Next.js custom document | Typescript |
| `ngapit` | Typescript: Next.js API Route | Typescript |
| `rimr` | JavaScript: Import React | JavaScript |
| `rimrd` | JavaScript: Import ReactDOM | JavaScript |
| `rimrs` | JavaScript: Import React and useState | JavaScript |
Expand All @@ -23,12 +38,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
| `ruc` | JavaScript: useContext hook | JavaScript |
| `rucb` | JavaScript: useCallback hook | JavaScript |
| `rur` | JavaScript: useRef hook | JavaScript |
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
| `ngapi` | Javascript: Next.js API Route | Javascript |
| `rimr` | TypeScript: import react | TypeScript |
| `rimrd` | TypeScript: import React DOM | TypeScript |
| `rimrs` | Typescript: Import React and useState | Typescript |
Expand All @@ -40,15 +49,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
| `ruct` | TypeScript: useContext hook | TypeScript |
| `rucbt` | TypeScript: useCallback hook | TypeScript |
| `rurt` | TypeScript: useRef hook | TypeScript |
| `ngsst` | Typescript: Next.js get server side props | Typescript |
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
| `npt` | Typescript: Next.js page | Typescript |
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
| `nct` | Typescript: Next.js component | Typescript |
| `ngspat` | Typescript: Next.js get static path | Typescript |
| `ncappt` | Typescript: Next.js custom app | Typescript |
| `ncdoct` | Typescript: Next.js custom document | Typescript |
| `ngapit` | Typescript: Next.js API Route | Typescript |

## ⭐ Show your support

Expand Down
6 changes: 2 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"extends": [
"config:base"
]
}
"extends": ["config:base"]
}
30 changes: 15 additions & 15 deletions src/extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ React and Next.js Snippets currently has a total of 38 snippets.

| Prefix | Description | Language |
| -------- | ------------------------------------------------ | ---------- |
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
| `ngapi` | Javascript: Next.js API Route | Javascript |
| `ngsst` | Typescript: Next.js get server side props | Typescript |
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
| `npt` | Typescript: Next.js page | Typescript |
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
| `nct` | Typescript: Next.js component | Typescript |
| `ngspat` | Typescript: Next.js get static path | Typescript |
| `ncappt` | Typescript: Next.js custom app | Typescript |
| `ncdoct` | Typescript: Next.js custom document | Typescript |
| `ngapit` | Typescript: Next.js API Route | Typescript |
| `rimr` | JavaScript: Import React | JavaScript |
| `rimrd` | JavaScript: Import ReactDOM | JavaScript |
| `rimrs` | JavaScript: Import React and useState | JavaScript |
Expand All @@ -23,12 +38,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
| `ruc` | JavaScript: useContext hook | JavaScript |
| `rucb` | JavaScript: useCallback hook | JavaScript |
| `rur` | JavaScript: useRef hook | JavaScript |
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
| `ngapi` | Javascript: Next.js API Route | Javascript |
| `rimr` | TypeScript: import react | TypeScript |
| `rimrd` | TypeScript: import React DOM | TypeScript |
| `rimrs` | Typescript: Import React and useState | Typescript |
Expand All @@ -40,15 +49,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
| `ruct` | TypeScript: useContext hook | TypeScript |
| `rucbt` | TypeScript: useCallback hook | TypeScript |
| `rurt` | TypeScript: useRef hook | TypeScript |
| `ngsst` | Typescript: Next.js get server side props | Typescript |
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
| `npt` | Typescript: Next.js page | Typescript |
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
| `nct` | Typescript: Next.js component | Typescript |
| `ngspat` | Typescript: Next.js get static path | Typescript |
| `ncappt` | Typescript: Next.js custom app | Typescript |
| `ncdoct` | Typescript: Next.js custom document | Typescript |
| `ngapit` | Typescript: Next.js API Route | Typescript |

## ⭐ Show your support

Expand Down

0 comments on commit 99ac371

Please sign in to comment.