@vijayhardaha/dev-config 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/package.json +17 -16
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @vijayhardaha/dev-config
|
|
2
2
|
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
[](https://www.npmjs.com/package/@vijayhardaha/dev-config)
|
|
5
|
+
[](https://www.npmjs.com/package/@vijayhardaha/dev-config)
|
|
6
|
+
|
|
3
7
|
Reusable development configuration package for Next.js + TypeScript projects.
|
|
4
8
|
|
|
5
9
|
## Features
|
|
@@ -21,7 +25,7 @@ npm install @vijayhardaha/dev-config --save-dev
|
|
|
21
25
|
### Install Required Packages
|
|
22
26
|
|
|
23
27
|
```bash
|
|
24
|
-
npm install --save-dev eslint@9.39.4 @eslint/js@9.39.4 @eslint/compat @eslint/eslintrc eslint-config-prettier eslint-plugin-prettier globals prettier typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser
|
|
28
|
+
npm install --save-dev eslint@9.39.4 @eslint/js@9.39.4 @eslint/compat @eslint/eslintrc eslint-config-prettier eslint-plugin-prettier globals prettier typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-import eslint-import-resolver-typescript
|
|
25
29
|
```
|
|
26
30
|
|
|
27
31
|
### Install Optional Packages
|
|
@@ -35,7 +39,7 @@ npm install --save-dev stylelint stylelint-config-property-sort-order-smacss sty
|
|
|
35
39
|
#### React
|
|
36
40
|
|
|
37
41
|
```bash
|
|
38
|
-
npm install --save-dev eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
|
|
42
|
+
npm install --save-dev eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
|
|
39
43
|
```
|
|
40
44
|
|
|
41
45
|
#### Next.js
|
|
@@ -47,7 +51,7 @@ npm install --save-dev @next/eslint-plugin-next eslint-config-next
|
|
|
47
51
|
#### Commitlint
|
|
48
52
|
|
|
49
53
|
```bash
|
|
50
|
-
npm install --save-dev @commitlint/cli @commitlint/config-conventional
|
|
54
|
+
npm install --save-dev husky @commitlint/cli @commitlint/config-conventional
|
|
51
55
|
```
|
|
52
56
|
|
|
53
57
|
## Quick Start
|
|
@@ -115,4 +119,4 @@ Available configs:
|
|
|
115
119
|
|
|
116
120
|
## License
|
|
117
121
|
|
|
118
|
-
MIT
|
|
122
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vijayhardaha/dev-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Reusable development configurations for Next.js + TypeScript projects",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Vijay Hardaha",
|
|
@@ -8,7 +8,22 @@
|
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"type": "module",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"lint": "eslint .",
|
|
13
|
+
"lint:fix": "eslint . --fix",
|
|
14
|
+
"format": "prettier --write .",
|
|
15
|
+
"format:check": "prettier --check .",
|
|
16
|
+
"release": "release-it",
|
|
17
|
+
"release:dry": "release-it --dry-run",
|
|
18
|
+
"prepare": "husky"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"src",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
11
25
|
"main": "./src/index.js",
|
|
26
|
+
"homepage": "https://github.com/vijayhardaha/dev-config#readme",
|
|
12
27
|
"repository": {
|
|
13
28
|
"type": "git",
|
|
14
29
|
"url": "git+https://github.com/vijayhardaha/dev-config.git"
|
|
@@ -16,7 +31,6 @@
|
|
|
16
31
|
"bugs": {
|
|
17
32
|
"url": "https://github.com/vijayhardaha/dev-config/issues"
|
|
18
33
|
},
|
|
19
|
-
"homepage": "https://github.com/vijayhardaha/dev-config#readme",
|
|
20
34
|
"exports": {
|
|
21
35
|
".": "./src/index.js",
|
|
22
36
|
"./eslint": "./src/eslint/index.js",
|
|
@@ -30,19 +44,6 @@
|
|
|
30
44
|
"./tsconfig": "./src/tsconfig/index.json",
|
|
31
45
|
"./jsconfig": "./src/jsconfig/index.json"
|
|
32
46
|
},
|
|
33
|
-
"files": [
|
|
34
|
-
"src",
|
|
35
|
-
"LICENSE"
|
|
36
|
-
],
|
|
37
|
-
"scripts": {
|
|
38
|
-
"lint": "eslint .",
|
|
39
|
-
"lint:fix": "eslint . --fix",
|
|
40
|
-
"format": "prettier --write .",
|
|
41
|
-
"format:check": "prettier --check .",
|
|
42
|
-
"release": "release-it",
|
|
43
|
-
"release:dry": "release-it --dry-run",
|
|
44
|
-
"prepare": "husky"
|
|
45
|
-
},
|
|
46
47
|
"keywords": [
|
|
47
48
|
"config",
|
|
48
49
|
"devtools",
|
|
@@ -156,7 +157,7 @@
|
|
|
156
157
|
"devDependencies": {
|
|
157
158
|
"@commitlint/cli": "^20.5.0",
|
|
158
159
|
"@commitlint/config-conventional": "^20.5.0",
|
|
159
|
-
"@eslint/compat": "^2.0.
|
|
160
|
+
"@eslint/compat": "^2.0.4",
|
|
160
161
|
"@eslint/eslintrc": "^3.3.5",
|
|
161
162
|
"@eslint/js": "^9.39.4",
|
|
162
163
|
"@typescript-eslint/parser": "^8.58.0",
|