@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.
Files changed (2) hide show
  1. package/README.md +2 -3
  2. package/package.json +34 -37
package/README.md CHANGED
@@ -2,9 +2,6 @@
2
2
 
3
3
  ![NPM Version](https://img.shields.io/npm/v/%40archoleat%2Fnext-define-config)
4
4
  ![NPM Downloads](https://img.shields.io/npm/dm/%40archoleat%2Fnext-define-config)
5
- ![ESM](https://img.shields.io/badge/ESM-fe0)
6
- ![Provenance](https://img.shields.io/badge/Provenance-fo0)
7
- ![CodeQL](https://img.shields.io/github/actions/workflow/status/archoleat/next-define-config/codeql.yaml?label=CodeQL)
8
5
  ![Specs](https://img.shields.io/github/actions/workflow/status/archoleat/next-define-config/spec.yaml?label=Specs)
9
6
  ![Commitlint](https://img.shields.io/github/actions/workflow/status/archoleat/next-define-config/commitlint.yaml?label=Commitlint)
10
7
  ![Editorconfig](https://img.shields.io/github/actions/workflow/status/archoleat/next-define-config/editorconfig.yaml?label=Editorconfig)
@@ -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.1.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
- "node": ">=20.0.0",
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
- "#index": "./src/index.ts"
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": "pnpm i && husky"
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.11",
56
- "@archoleat/eslint-flat-compatibility": "^1.1.8",
57
- "@archoleat/prettier-define-config": "^1.0.2",
58
- "@archoleat/semantic-release-define-config": "^1.1.16",
59
- "@commitlint/cli": "^19.4.1",
60
- "@commitlint/config-conventional": "^19.4.1",
61
- "@commitlint/types": "^19.0.3",
62
- "@rollup/plugin-typescript": "^11.1.6",
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": "^5.1.8",
70
- "eslint": "^8.57.0",
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": "^9.1.0",
71
+ "eslint-config-prettier": "^10.1.1",
74
72
  "eslint-define-config": "^2.1.0",
75
- "eslint-import-resolver-typescript": "^3.6.3",
76
- "eslint-plugin-import": "^2.29.1",
77
- "eslint-plugin-unicorn": "^55.0.0",
78
- "git-pull-run": "^1.4.0",
79
- "globals": "^15.9.0",
80
- "husky": "^9.1.5",
81
- "lint-staged": "^15.2.10",
82
- "next": "^14.2.7",
83
- "prettier": "^3.3.3",
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.0",
87
- "remark-preset-lint-markdown-style-guide": "^6.0.0",
88
- "remark-preset-lint-recommended": "^7.0.0",
89
- "rollup": "^4.21.2",
90
- "rollup-plugin-dts": "^6.1.1",
91
- "rollup-plugin-esbuild": "^6.1.1",
92
- "semantic-release": "^24.1.0",
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
  }