@archoleat/next-define-config 1.1.1 → 1.2.1
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 +2 -3
- package/package.json +34 -37
package/README.md
CHANGED
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|

|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
8
5
|

|
|
9
6
|

|
|
10
7
|

|
|
@@ -19,6 +16,8 @@
|
|
|
19
16
|
- [Contributing](#contributing)
|
|
20
17
|
- [License](#license)
|
|
21
18
|
|
|
19
|
+
Provide a defineConfig function for Next.
|
|
20
|
+
|
|
22
21
|
## Installation
|
|
23
22
|
|
|
24
23
|
```shell
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archoleat/next-define-config",
|
|
3
3
|
"description": "Provide a defineConfig function for Next",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "archoleat@gmail.com",
|
|
@@ -28,15 +28,13 @@
|
|
|
28
28
|
"next",
|
|
29
29
|
"typescript"
|
|
30
30
|
],
|
|
31
|
-
"packageManager": "pnpm@9.7.0",
|
|
32
31
|
"engines": {
|
|
33
|
-
"
|
|
34
|
-
"pnpm": ">=9.0.0"
|
|
32
|
+
"bun": ">=1.0.0"
|
|
35
33
|
},
|
|
36
34
|
"type": "module",
|
|
37
35
|
"types": "index.d.ts",
|
|
38
36
|
"imports": {
|
|
39
|
-
"#
|
|
37
|
+
"#src/*": "./src/*"
|
|
40
38
|
},
|
|
41
39
|
"exports": {
|
|
42
40
|
".": "./index.js"
|
|
@@ -46,51 +44,50 @@
|
|
|
46
44
|
"index.js"
|
|
47
45
|
],
|
|
48
46
|
"scripts": {
|
|
49
|
-
"init": "
|
|
47
|
+
"init": "bun i && husky"
|
|
50
48
|
},
|
|
51
49
|
"peerDependencies": {
|
|
52
|
-
"next": "^13.0.0 || ^14.0.0"
|
|
50
|
+
"next": "^13.0.0 || ^14.0.0 || ^15.0.0"
|
|
53
51
|
},
|
|
54
52
|
"devDependencies": {
|
|
55
|
-
"@archoleat/commitlint-define-config": "^1.0
|
|
56
|
-
"@archoleat/eslint-flat-compatibility": "^1.1
|
|
57
|
-
"@archoleat/prettier-define-config": "^1.0
|
|
58
|
-
"@archoleat/semantic-release-define-config": "^1.
|
|
59
|
-
"@commitlint/cli": "^19.
|
|
60
|
-
"@commitlint/config-conventional": "^19.
|
|
61
|
-
"@commitlint/types": "^19.0
|
|
62
|
-
"@rollup/plugin-typescript": "^
|
|
53
|
+
"@archoleat/commitlint-define-config": "^1.1.0",
|
|
54
|
+
"@archoleat/eslint-flat-compatibility": "^1.2.1",
|
|
55
|
+
"@archoleat/prettier-define-config": "^1.1.0",
|
|
56
|
+
"@archoleat/semantic-release-define-config": "^1.2.0",
|
|
57
|
+
"@commitlint/cli": "^19.8.0",
|
|
58
|
+
"@commitlint/config-conventional": "^19.8.0",
|
|
59
|
+
"@commitlint/types": "^19.8.0",
|
|
60
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
63
61
|
"@semantic-release/changelog": "^6.0.3",
|
|
64
62
|
"@semantic-release/git": "^10.0.1",
|
|
63
|
+
"@types/bun": "^1.2.8",
|
|
65
64
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
66
65
|
"@typescript-eslint/parser": "^7.18.0",
|
|
67
|
-
"@vitest/coverage-v8": "^2.0.5",
|
|
68
66
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
69
|
-
"editorconfig-checker": "^
|
|
70
|
-
"eslint": "^8.57.
|
|
67
|
+
"editorconfig-checker": "^6.0.1",
|
|
68
|
+
"eslint": "^8.57.1",
|
|
71
69
|
"eslint-config-airbnb": "^19.0.4",
|
|
72
70
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
73
|
-
"eslint-config-prettier": "^
|
|
71
|
+
"eslint-config-prettier": "^10.1.1",
|
|
74
72
|
"eslint-define-config": "^2.1.0",
|
|
75
|
-
"eslint-import-resolver-typescript": "^3.
|
|
76
|
-
"eslint-plugin-import": "^2.
|
|
77
|
-
"eslint-plugin-
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
73
|
+
"eslint-import-resolver-typescript": "^4.3.1",
|
|
74
|
+
"eslint-plugin-import": "^2.31.0",
|
|
75
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
76
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
|
77
|
+
"git-pull-run": "^1.6.0",
|
|
78
|
+
"globals": "^16.0.0",
|
|
79
|
+
"husky": "^9.1.7",
|
|
80
|
+
"lint-staged": "^15.5.0",
|
|
81
|
+
"next": "^15.2.4",
|
|
82
|
+
"prettier": "^3.5.3",
|
|
84
83
|
"remark": "15.0.1",
|
|
85
84
|
"remark-cli": "^12.0.1",
|
|
86
|
-
"remark-preset-lint-consistent": "^6.0.
|
|
87
|
-
"remark-preset-lint-markdown-style-guide": "^6.0.
|
|
88
|
-
"remark-preset-lint-recommended": "^7.0.
|
|
89
|
-
"rollup": "^4.
|
|
90
|
-
"rollup-plugin-dts": "^6.
|
|
91
|
-
"rollup-plugin-esbuild": "^6.
|
|
92
|
-
"semantic-release": "^24.
|
|
93
|
-
"typescript": "^5.5.4",
|
|
94
|
-
"vitest": "^2.0.5"
|
|
85
|
+
"remark-preset-lint-consistent": "^6.0.1",
|
|
86
|
+
"remark-preset-lint-markdown-style-guide": "^6.0.1",
|
|
87
|
+
"remark-preset-lint-recommended": "^7.0.1",
|
|
88
|
+
"rollup": "^4.38.0",
|
|
89
|
+
"rollup-plugin-dts": "^6.2.1",
|
|
90
|
+
"rollup-plugin-esbuild": "^6.2.1",
|
|
91
|
+
"semantic-release": "^24.2.3"
|
|
95
92
|
}
|
|
96
93
|
}
|