@archoleat/next-define-config 1.0.1 → 1.1.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 (3) hide show
  1. package/README.md +1 -4
  2. package/index.d.ts +1 -1
  3. package/package.json +13 -14
package/README.md CHANGED
@@ -41,12 +41,9 @@ export default nextConfig;
41
41
  Use this:
42
42
 
43
43
  ```js
44
- // next.config.js or next.config.mjs
45
44
  import { defineConfig } from '@archoleat/next-define-config';
46
45
 
47
- export default defineConfig({
48
- // Your options
49
- })
46
+ export default defineConfig({})
50
47
  ```
51
48
 
52
49
  ## Contributing
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { NextConfig } from 'next';
5
5
  *
6
6
  * @param {object} config Next.
7
7
  *
8
- * @returns Next config.
8
+ * @return Next config.
9
9
  */
10
10
  declare const defineConfig: (config: NextConfig) => NextConfig;
11
11
 
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.0.1",
4
+ "version": "1.1.1",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "email": "archoleat@gmail.com",
@@ -11,7 +11,7 @@
11
11
  "homepage": "https://github.com/archoleat/next-define-config#readme",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "https://github.com/archoleat/next-define-config.git"
14
+ "url": "git+https://github.com/archoleat/next-define-config.git"
15
15
  },
16
16
  "bugs": {
17
17
  "url": "https://github.com/archoleat/next-define-config/issues"
@@ -36,7 +36,7 @@
36
36
  "type": "module",
37
37
  "types": "index.d.ts",
38
38
  "imports": {
39
- "#app": "./src/app.ts"
39
+ "#index": "./src/index.ts"
40
40
  },
41
41
  "exports": {
42
42
  ".": "./index.js"
@@ -46,19 +46,18 @@
46
46
  "index.js"
47
47
  ],
48
48
  "scripts": {
49
- "init": "pnpm i && husky",
50
- "build": "rollup -c rollup.config.ts --configPlugin typescript"
49
+ "init": "pnpm i && husky"
51
50
  },
52
51
  "peerDependencies": {
53
52
  "next": "^13.0.0 || ^14.0.0"
54
53
  },
55
54
  "devDependencies": {
56
- "@archoleat/commitlint-define-config": "^1.0.10",
57
- "@archoleat/eslint-flat-compatibility": "^1.1.7",
58
- "@archoleat/prettier-define-config": "^1.0.1",
59
- "@archoleat/semantic-release-define-config": "^1.1.15",
60
- "@commitlint/cli": "^19.4.0",
61
- "@commitlint/config-conventional": "^19.2.2",
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",
62
61
  "@commitlint/types": "^19.0.3",
63
62
  "@rollup/plugin-typescript": "^11.1.6",
64
63
  "@semantic-release/changelog": "^6.0.3",
@@ -79,15 +78,15 @@
79
78
  "git-pull-run": "^1.4.0",
80
79
  "globals": "^15.9.0",
81
80
  "husky": "^9.1.5",
82
- "lint-staged": "^15.2.9",
83
- "next": "^14.2.6",
81
+ "lint-staged": "^15.2.10",
82
+ "next": "^14.2.7",
84
83
  "prettier": "^3.3.3",
85
84
  "remark": "15.0.1",
86
85
  "remark-cli": "^12.0.1",
87
86
  "remark-preset-lint-consistent": "^6.0.0",
88
87
  "remark-preset-lint-markdown-style-guide": "^6.0.0",
89
88
  "remark-preset-lint-recommended": "^7.0.0",
90
- "rollup": "^4.21.1",
89
+ "rollup": "^4.21.2",
91
90
  "rollup-plugin-dts": "^6.1.1",
92
91
  "rollup-plugin-esbuild": "^6.1.1",
93
92
  "semantic-release": "^24.1.0",