payload-advanced-sidebar 1.1.2 → 1.1.3
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/package.json +60 -32
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payload-advanced-sidebar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "A Payload CMS 3.0 plugin to customize the admin sidebar with grouping, custom icons, and hide functionality.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"payload",
|
|
@@ -24,26 +24,44 @@
|
|
|
24
24
|
"type": "module",
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
27
|
-
"import": "./
|
|
28
|
-
"types": "./
|
|
29
|
-
"default": "./
|
|
27
|
+
"import": "./src/index.ts",
|
|
28
|
+
"types": "./src/index.ts",
|
|
29
|
+
"default": "./src/index.ts"
|
|
30
30
|
},
|
|
31
31
|
"./client": {
|
|
32
|
-
"import": "./
|
|
33
|
-
"types": "./
|
|
34
|
-
"default": "./
|
|
32
|
+
"import": "./src/exports/client.ts",
|
|
33
|
+
"types": "./src/exports/client.ts",
|
|
34
|
+
"default": "./src/exports/client.ts"
|
|
35
35
|
},
|
|
36
36
|
"./rsc": {
|
|
37
|
-
"import": "./
|
|
38
|
-
"types": "./
|
|
39
|
-
"default": "./
|
|
37
|
+
"import": "./src/exports/rsc.ts",
|
|
38
|
+
"types": "./src/exports/rsc.ts",
|
|
39
|
+
"default": "./src/exports/rsc.ts"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
"main": "./
|
|
43
|
-
"types": "./
|
|
42
|
+
"main": "./src/index.ts",
|
|
43
|
+
"types": "./src/index.ts",
|
|
44
44
|
"files": [
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc",
|
|
49
|
+
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
50
|
+
"build:types": "tsc --outDir dist --rootDir ./src",
|
|
51
|
+
"clean": "rimraf {dist,*.tsbuildinfo}",
|
|
52
|
+
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
53
|
+
"dev": "next dev dev --turbo",
|
|
54
|
+
"dev:generate-importmap": "pnpm dev:payload generate:importmap",
|
|
55
|
+
"dev:generate-types": "pnpm dev:payload generate:types",
|
|
56
|
+
"dev:payload": "cross-env PAYLOAD_CONFIG_PATH=./dev/payload.config.ts payload",
|
|
57
|
+
"generate:importmap": "pnpm dev:generate-importmap",
|
|
58
|
+
"generate:types": "pnpm dev:generate-types",
|
|
59
|
+
"lint": "eslint",
|
|
60
|
+
"lint:fix": "eslint ./src --fix",
|
|
61
|
+
"test": "pnpm test:int && pnpm test:e2e",
|
|
62
|
+
"test:e2e": "playwright test",
|
|
63
|
+
"test:int": "vitest"
|
|
64
|
+
},
|
|
47
65
|
"dependencies": {
|
|
48
66
|
"lucide-react": "^1.17.0"
|
|
49
67
|
},
|
|
@@ -90,23 +108,33 @@
|
|
|
90
108
|
"node": "^18.20.2 || >=20.9.0",
|
|
91
109
|
"pnpm": "^9 || ^10"
|
|
92
110
|
},
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
"publishConfig": {
|
|
112
|
+
"exports": {
|
|
113
|
+
".": {
|
|
114
|
+
"import": "./dist/index.js",
|
|
115
|
+
"types": "./dist/index.d.ts",
|
|
116
|
+
"default": "./dist/index.js"
|
|
117
|
+
},
|
|
118
|
+
"./client": {
|
|
119
|
+
"import": "./dist/exports/client.js",
|
|
120
|
+
"types": "./dist/exports/client.d.ts",
|
|
121
|
+
"default": "./dist/exports/client.js"
|
|
122
|
+
},
|
|
123
|
+
"./rsc": {
|
|
124
|
+
"import": "./dist/exports/rsc.js",
|
|
125
|
+
"types": "./dist/exports/rsc.d.ts",
|
|
126
|
+
"default": "./dist/exports/rsc.js"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"main": "./dist/index.js",
|
|
130
|
+
"types": "./dist/index.d.ts"
|
|
131
|
+
},
|
|
132
|
+
"pnpm": {
|
|
133
|
+
"onlyBuiltDependencies": [
|
|
134
|
+
"sharp",
|
|
135
|
+
"esbuild",
|
|
136
|
+
"unrs-resolver"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"registry": "https://registry.npmjs.org/"
|
|
140
|
+
}
|