Skip to content

Commit 99ac371

Browse files
committed
fix: minor issues
1 parent d350ae1 commit 99ac371

File tree

6 files changed

+48
-67
lines changed

6 files changed

+48
-67
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ body:
2222
label: Additional information
2323
description: Is there anything else we should know about this bug?
2424
validations:
25-
required: false
25+
required: false

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx pretty-quick --staged
4+
yarn pre-commit

CHANGELOG.md

Lines changed: 14 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,41 @@
11
# [1.7.0](https://github.com/avneesh0612/react-nextjs-snippets/compare/v1.6.0...v1.7.0) (2022-04-25)
22

3-
43
### Features
54

6-
* 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))
7-
8-
5+
- 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))
96

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

12-
139
### Features
1410

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

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

21-
2215
### Features
2316

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

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

30-
3121
### Bug Fixes
3222

33-
* action gif ([a7205c0](https://github.com/avneesh0612/react-nextjs-snippets/commit/a7205c0c80ac2ef8b0fb90f9b537613669aa3dcd))
34-
* 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))
35-
* 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))
36-
* gif ([bfddb12](https://github.com/avneesh0612/react-nextjs-snippets/commit/bfddb124b520ba8619936e25a6571bd7785e4f63))
37-
* typo in javascript snippets and enable snippets in js and ts files too ([7bcaf21](https://github.com/avneesh0612/react-nextjs-snippets/commit/7bcaf2138c0bfe73c01f2e9365a9d946da94a0b7))
38-
23+
- action gif ([a7205c0](https://github.com/avneesh0612/react-nextjs-snippets/commit/a7205c0c80ac2ef8b0fb90f9b537613669aa3dcd))
24+
- 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))
25+
- 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))
26+
- gif ([bfddb12](https://github.com/avneesh0612/react-nextjs-snippets/commit/bfddb124b520ba8619936e25a6571bd7785e4f63))
27+
- typo in javascript snippets and enable snippets in js and ts files too ([7bcaf21](https://github.com/avneesh0612/react-nextjs-snippets/commit/7bcaf2138c0bfe73c01f2e9365a9d946da94a0b7))
3928

4029
### Features
4130

42-
* 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))
43-
* atom extension ([#44](https://github.com/avneesh0612/react-nextjs-snippets/issues/44)) ([79247ce](https://github.com/avneesh0612/react-nextjs-snippets/commit/79247cedc6f7b15a5b5eb5373940ffcc60ab06cd))
44-
* boost performance and minor improvements ([e792f97](https://github.com/avneesh0612/react-nextjs-snippets/commit/e792f97f99279fb1eb9c62c0aef1171a8ce2a075))
45-
* improve lighthouse scores ([#43](https://github.com/avneesh0612/react-nextjs-snippets/issues/43)) ([b2a5d87](https://github.com/avneesh0612/react-nextjs-snippets/commit/b2a5d870dcb1d9cd4afb010c14e658d4a1bf3e0c))
46-
* initial nextjs setup for the web ([b5f49f1](https://github.com/avneesh0612/react-nextjs-snippets/commit/b5f49f1a313114289a50d2b15bb62d279d7b1f72))
47-
48-
31+
- 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))
32+
- atom extension ([#44](https://github.com/avneesh0612/react-nextjs-snippets/issues/44)) ([79247ce](https://github.com/avneesh0612/react-nextjs-snippets/commit/79247cedc6f7b15a5b5eb5373940ffcc60ab06cd))
33+
- boost performance and minor improvements ([e792f97](https://github.com/avneesh0612/react-nextjs-snippets/commit/e792f97f99279fb1eb9c62c0aef1171a8ce2a075))
34+
- improve lighthouse scores ([#43](https://github.com/avneesh0612/react-nextjs-snippets/issues/43)) ([b2a5d87](https://github.com/avneesh0612/react-nextjs-snippets/commit/b2a5d870dcb1d9cd4afb010c14e658d4a1bf3e0c))
35+
- initial nextjs setup for the web ([b5f49f1](https://github.com/avneesh0612/react-nextjs-snippets/commit/b5f49f1a313114289a50d2b15bb62d279d7b1f72))
4936

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

52-
5339
### Bug Fixes
5440

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

SNIPPETS.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ React and Next.js Snippets currently has a total of 38 snippets.
1212

1313
| Prefix | Description | Language |
1414
| -------- | ------------------------------------------------ | ---------- |
15+
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
16+
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
17+
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
18+
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
19+
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
20+
| `ngapi` | Javascript: Next.js API Route | Javascript |
21+
| `ngsst` | Typescript: Next.js get server side props | Typescript |
22+
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
23+
| `npt` | Typescript: Next.js page | Typescript |
24+
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
25+
| `nct` | Typescript: Next.js component | Typescript |
26+
| `ngspat` | Typescript: Next.js get static path | Typescript |
27+
| `ncappt` | Typescript: Next.js custom app | Typescript |
28+
| `ncdoct` | Typescript: Next.js custom document | Typescript |
29+
| `ngapit` | Typescript: Next.js API Route | Typescript |
1530
| `rimr` | JavaScript: Import React | JavaScript |
1631
| `rimrd` | JavaScript: Import ReactDOM | JavaScript |
1732
| `rimrs` | JavaScript: Import React and useState | JavaScript |
@@ -23,12 +38,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
2338
| `ruc` | JavaScript: useContext hook | JavaScript |
2439
| `rucb` | JavaScript: useCallback hook | JavaScript |
2540
| `rur` | JavaScript: useRef hook | JavaScript |
26-
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
27-
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
28-
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
29-
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
30-
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
31-
| `ngapi` | Javascript: Next.js API Route | Javascript |
3241
| `rimr` | TypeScript: import react | TypeScript |
3342
| `rimrd` | TypeScript: import React DOM | TypeScript |
3443
| `rimrs` | Typescript: Import React and useState | Typescript |
@@ -40,15 +49,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
4049
| `ruct` | TypeScript: useContext hook | TypeScript |
4150
| `rucbt` | TypeScript: useCallback hook | TypeScript |
4251
| `rurt` | TypeScript: useRef hook | TypeScript |
43-
| `ngsst` | Typescript: Next.js get server side props | Typescript |
44-
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
45-
| `npt` | Typescript: Next.js page | Typescript |
46-
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
47-
| `nct` | Typescript: Next.js component | Typescript |
48-
| `ngspat` | Typescript: Next.js get static path | Typescript |
49-
| `ncappt` | Typescript: Next.js custom app | Typescript |
50-
| `ncdoct` | Typescript: Next.js custom document | Typescript |
51-
| `ngapit` | Typescript: Next.js API Route | Typescript |
5252

5353
## ⭐ Show your support
5454

renovate.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"extends": [
3-
"config:base"
4-
]
5-
}
2+
"extends": ["config:base"]
3+
}

src/extension/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ React and Next.js Snippets currently has a total of 38 snippets.
1212

1313
| Prefix | Description | Language |
1414
| -------- | ------------------------------------------------ | ---------- |
15+
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
16+
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
17+
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
18+
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
19+
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
20+
| `ngapi` | Javascript: Next.js API Route | Javascript |
21+
| `ngsst` | Typescript: Next.js get server side props | Typescript |
22+
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
23+
| `npt` | Typescript: Next.js page | Typescript |
24+
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
25+
| `nct` | Typescript: Next.js component | Typescript |
26+
| `ngspat` | Typescript: Next.js get static path | Typescript |
27+
| `ncappt` | Typescript: Next.js custom app | Typescript |
28+
| `ncdoct` | Typescript: Next.js custom document | Typescript |
29+
| `ngapit` | Typescript: Next.js API Route | Typescript |
1530
| `rimr` | JavaScript: Import React | JavaScript |
1631
| `rimrd` | JavaScript: Import ReactDOM | JavaScript |
1732
| `rimrs` | JavaScript: Import React and useState | JavaScript |
@@ -23,12 +38,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
2338
| `ruc` | JavaScript: useContext hook | JavaScript |
2439
| `rucb` | JavaScript: useCallback hook | JavaScript |
2540
| `rur` | JavaScript: useRef hook | JavaScript |
26-
| `ngss` | JavaScript: Next.js get server side props | JavaScript |
27-
| `ngsp` | JavaScript: Next.js get static props | JavaScript |
28-
| `ngspa` | JavaScript: Next.js get static path | JavaScript |
29-
| `ncapp` | JavaScript: Next.js custom app | JavaScript |
30-
| `ncdoc` | JavaScript: Next.js custom document | JavaScript |
31-
| `ngapi` | Javascript: Next.js API Route | Javascript |
3241
| `rimr` | TypeScript: import react | TypeScript |
3342
| `rimrd` | TypeScript: import React DOM | TypeScript |
3443
| `rimrs` | Typescript: Import React and useState | Typescript |
@@ -40,15 +49,6 @@ React and Next.js Snippets currently has a total of 38 snippets.
4049
| `ruct` | TypeScript: useContext hook | TypeScript |
4150
| `rucbt` | TypeScript: useCallback hook | TypeScript |
4251
| `rurt` | TypeScript: useRef hook | TypeScript |
43-
| `ngsst` | Typescript: Next.js get server side props | Typescript |
44-
| `ngsp` | TypeScript: Next.js get static props | TypeScript |
45-
| `npt` | Typescript: Next.js page | Typescript |
46-
| `ngipt` | TypeScript: Next.js get initial props | TypeScript |
47-
| `nct` | Typescript: Next.js component | Typescript |
48-
| `ngspat` | Typescript: Next.js get static path | Typescript |
49-
| `ncappt` | Typescript: Next.js custom app | Typescript |
50-
| `ncdoct` | Typescript: Next.js custom document | Typescript |
51-
| `ngapit` | Typescript: Next.js API Route | Typescript |
5252

5353
## ⭐ Show your support
5454

0 commit comments

Comments
 (0)