create-ej-app 2.5.0 → 2.7.0
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 +3 -3
- package/template/advanced/components.json +1 -1
- package/template/advanced/package.json +35 -35
- package/template/advanced/src/components/ui/alert-dialog.tsx +3 -7
- package/template/advanced/src/components/ui/button.tsx +1 -1
- package/template/advanced/src/components/ui/dialog.tsx +6 -7
- package/template/advanced/src/components/ui/table.tsx +1 -1
- package/template/base/components.json +1 -1
- package/template/base/package.json +35 -35
- package/template/base/src/components/ui/alert-dialog.tsx +3 -7
- package/template/base/src/components/ui/button.tsx +1 -1
- package/template/base/src/components/ui/dialog.tsx +6 -7
- package/template/base/src/components/ui/table.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-ej-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Bootstrap a next.js app with my preferred setup",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"scripts": {
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/ejekanshjain/create-ej-app#readme",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"commander": "^11.
|
|
33
|
+
"commander": "^11.1.0",
|
|
34
34
|
"copy-dir": "^1.3.0",
|
|
35
35
|
"enquirer": "^2.4.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/node": "^20.8.
|
|
38
|
+
"@types/node": "^20.8.8",
|
|
39
39
|
"typescript": "^5.2.2"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -16,64 +16,64 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@editorjs/checklist": "^1.5.0",
|
|
18
18
|
"@editorjs/delimiter": "^1.3.0",
|
|
19
|
-
"@editorjs/editorjs": "^2.28.
|
|
19
|
+
"@editorjs/editorjs": "^2.28.2",
|
|
20
20
|
"@editorjs/header": "^2.7.0",
|
|
21
|
-
"@editorjs/image": "^2.8.
|
|
21
|
+
"@editorjs/image": "^2.8.2",
|
|
22
22
|
"@editorjs/list": "^1.8.0",
|
|
23
23
|
"@editorjs/quote": "^2.5.0",
|
|
24
24
|
"@editorjs/table": "^2.2.2",
|
|
25
|
-
"@ejekanshjain/cloud-storage": "^3.
|
|
26
|
-
"@hookform/resolvers": "^3.3.
|
|
25
|
+
"@ejekanshjain/cloud-storage": "^3.1.0",
|
|
26
|
+
"@hookform/resolvers": "^3.3.2",
|
|
27
27
|
"@next-auth/prisma-adapter": "^1.0.7",
|
|
28
|
-
"@prisma/client": "^5.
|
|
29
|
-
"@radix-ui/react-alert-dialog": "^1.0.
|
|
30
|
-
"@radix-ui/react-avatar": "^1.0.
|
|
28
|
+
"@prisma/client": "^5.5.0",
|
|
29
|
+
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
30
|
+
"@radix-ui/react-avatar": "^1.0.4",
|
|
31
31
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
32
|
-
"@radix-ui/react-dialog": "^1.0.
|
|
33
|
-
"@radix-ui/react-dropdown-menu": "^2.0.
|
|
32
|
+
"@radix-ui/react-dialog": "^1.0.5",
|
|
33
|
+
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
34
34
|
"@radix-ui/react-label": "^2.0.2",
|
|
35
|
-
"@radix-ui/react-popover": "^1.0.
|
|
36
|
-
"@radix-ui/react-select": "^
|
|
35
|
+
"@radix-ui/react-popover": "^1.0.7",
|
|
36
|
+
"@radix-ui/react-select": "^2.0.0",
|
|
37
37
|
"@radix-ui/react-separator": "^1.0.3",
|
|
38
38
|
"@radix-ui/react-slot": "^1.0.2",
|
|
39
|
-
"@radix-ui/react-toast": "^1.1.
|
|
40
|
-
"@t3-oss/env-nextjs": "^0.
|
|
39
|
+
"@radix-ui/react-toast": "^1.1.5",
|
|
40
|
+
"@t3-oss/env-nextjs": "^0.7.1",
|
|
41
41
|
"@tailwindcss/typography": "^0.5.10",
|
|
42
|
-
"@tanstack/react-table": "^8.10.
|
|
43
|
-
"@types/eslint": "^8.44.
|
|
44
|
-
"@types/lodash": "^4.14.
|
|
45
|
-
"@types/node": "^20.
|
|
46
|
-
"@types/nodemailer": "^6.4.
|
|
47
|
-
"@types/react": "^18.2.
|
|
48
|
-
"@types/react-dom": "^18.2.
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
50
|
-
"@typescript-eslint/parser": "^6.
|
|
51
|
-
"@vercel/analytics": "^1.
|
|
42
|
+
"@tanstack/react-table": "^8.10.7",
|
|
43
|
+
"@types/eslint": "^8.44.6",
|
|
44
|
+
"@types/lodash": "^4.14.200",
|
|
45
|
+
"@types/node": "^20.8.8",
|
|
46
|
+
"@types/nodemailer": "^6.4.13",
|
|
47
|
+
"@types/react": "^18.2.31",
|
|
48
|
+
"@types/react-dom": "^18.2.14",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
|
50
|
+
"@typescript-eslint/parser": "^6.9.0",
|
|
51
|
+
"@vercel/analytics": "^1.1.1",
|
|
52
52
|
"autoprefixer": "^10.4.16",
|
|
53
53
|
"class-variance-authority": "^0.7.0",
|
|
54
54
|
"clsx": "^2.0.0",
|
|
55
55
|
"cmdk": "^0.2.0",
|
|
56
56
|
"dayjs": "^1.11.10",
|
|
57
57
|
"editorjs-html": "^3.4.3",
|
|
58
|
-
"eslint": "^8.
|
|
59
|
-
"eslint-config-next": "^13.5.
|
|
58
|
+
"eslint": "^8.52.0",
|
|
59
|
+
"eslint-config-next": "^13.5.6",
|
|
60
60
|
"lodash": "^4.17.21",
|
|
61
|
-
"lucide-react": "^0.
|
|
62
|
-
"next": "^13.5.
|
|
63
|
-
"next-auth": "^4.
|
|
61
|
+
"lucide-react": "^0.288.0",
|
|
62
|
+
"next": "^13.5.6",
|
|
63
|
+
"next-auth": "^4.24.3",
|
|
64
64
|
"next-themes": "^0.2.1",
|
|
65
|
-
"nodemailer": "^6.9.
|
|
66
|
-
"postcss": "^8.4.
|
|
65
|
+
"nodemailer": "^6.9.7",
|
|
66
|
+
"postcss": "^8.4.31",
|
|
67
67
|
"prettier": "^3.0.3",
|
|
68
|
-
"prettier-plugin-tailwindcss": "^0.5.
|
|
69
|
-
"prisma": "^5.
|
|
68
|
+
"prettier-plugin-tailwindcss": "^0.5.6",
|
|
69
|
+
"prisma": "^5.5.0",
|
|
70
70
|
"react": "^18.2.0",
|
|
71
71
|
"react-dom": "^18.2.0",
|
|
72
|
-
"react-hook-form": "^7.
|
|
72
|
+
"react-hook-form": "^7.47.0",
|
|
73
73
|
"tailwind-merge": "^1.14.0",
|
|
74
|
-
"tailwindcss": "^3.3.
|
|
74
|
+
"tailwindcss": "^3.3.4",
|
|
75
75
|
"tailwindcss-animate": "^1.0.7",
|
|
76
76
|
"typescript": "^5.2.2",
|
|
77
|
-
"zod": "^3.22.
|
|
77
|
+
"zod": "^3.22.4"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -10,13 +10,7 @@ const AlertDialog = AlertDialogPrimitive.Root
|
|
|
10
10
|
|
|
11
11
|
const AlertDialogTrigger = AlertDialogPrimitive.Trigger
|
|
12
12
|
|
|
13
|
-
const AlertDialogPortal =
|
|
14
|
-
className,
|
|
15
|
-
...props
|
|
16
|
-
}: AlertDialogPrimitive.AlertDialogPortalProps) => (
|
|
17
|
-
<AlertDialogPrimitive.Portal className={cn(className)} {...props} />
|
|
18
|
-
)
|
|
19
|
-
AlertDialogPortal.displayName = AlertDialogPrimitive.Portal.displayName
|
|
13
|
+
const AlertDialogPortal = AlertDialogPrimitive.Portal
|
|
20
14
|
|
|
21
15
|
const AlertDialogOverlay = React.forwardRef<
|
|
22
16
|
React.ElementRef<typeof AlertDialogPrimitive.Overlay>,
|
|
@@ -140,6 +134,8 @@ export {
|
|
|
140
134
|
AlertDialogDescription,
|
|
141
135
|
AlertDialogFooter,
|
|
142
136
|
AlertDialogHeader,
|
|
137
|
+
AlertDialogOverlay,
|
|
138
|
+
AlertDialogPortal,
|
|
143
139
|
AlertDialogTitle,
|
|
144
140
|
AlertDialogTrigger
|
|
145
141
|
}
|
|
@@ -5,7 +5,7 @@ import * as React from 'react'
|
|
|
5
5
|
import { cn } from '@/lib/cn'
|
|
6
6
|
|
|
7
7
|
const buttonVariants = cva(
|
|
8
|
-
'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
|
|
8
|
+
'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
@@ -10,13 +10,9 @@ const Dialog = DialogPrimitive.Root
|
|
|
10
10
|
|
|
11
11
|
const DialogTrigger = DialogPrimitive.Trigger
|
|
12
12
|
|
|
13
|
-
const DialogPortal =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}: DialogPrimitive.DialogPortalProps) => (
|
|
17
|
-
<DialogPrimitive.Portal className={cn(className)} {...props} />
|
|
18
|
-
)
|
|
19
|
-
DialogPortal.displayName = DialogPrimitive.Portal.displayName
|
|
13
|
+
const DialogPortal = DialogPrimitive.Portal
|
|
14
|
+
|
|
15
|
+
const DialogClose = DialogPrimitive.Close
|
|
20
16
|
|
|
21
17
|
const DialogOverlay = React.forwardRef<
|
|
22
18
|
React.ElementRef<typeof DialogPrimitive.Overlay>,
|
|
@@ -114,10 +110,13 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName
|
|
|
114
110
|
|
|
115
111
|
export {
|
|
116
112
|
Dialog,
|
|
113
|
+
DialogClose,
|
|
117
114
|
DialogContent,
|
|
118
115
|
DialogDescription,
|
|
119
116
|
DialogFooter,
|
|
120
117
|
DialogHeader,
|
|
118
|
+
DialogOverlay,
|
|
119
|
+
DialogPortal,
|
|
121
120
|
DialogTitle,
|
|
122
121
|
DialogTrigger
|
|
123
122
|
}
|
|
@@ -6,7 +6,7 @@ const Table = React.forwardRef<
|
|
|
6
6
|
HTMLTableElement,
|
|
7
7
|
React.HTMLAttributes<HTMLTableElement>
|
|
8
8
|
>(({ className, ...props }, ref) => (
|
|
9
|
-
<div className="w-full overflow-auto">
|
|
9
|
+
<div className="relative w-full overflow-auto">
|
|
10
10
|
<table
|
|
11
11
|
ref={ref}
|
|
12
12
|
className={cn('w-full caption-bottom text-sm', className)}
|
|
@@ -16,64 +16,64 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@editorjs/checklist": "^1.5.0",
|
|
18
18
|
"@editorjs/delimiter": "^1.3.0",
|
|
19
|
-
"@editorjs/editorjs": "^2.28.
|
|
19
|
+
"@editorjs/editorjs": "^2.28.2",
|
|
20
20
|
"@editorjs/header": "^2.7.0",
|
|
21
|
-
"@editorjs/image": "^2.8.
|
|
21
|
+
"@editorjs/image": "^2.8.2",
|
|
22
22
|
"@editorjs/list": "^1.8.0",
|
|
23
23
|
"@editorjs/quote": "^2.5.0",
|
|
24
24
|
"@editorjs/table": "^2.2.2",
|
|
25
|
-
"@ejekanshjain/cloud-storage": "^3.
|
|
26
|
-
"@hookform/resolvers": "^3.3.
|
|
25
|
+
"@ejekanshjain/cloud-storage": "^3.1.0",
|
|
26
|
+
"@hookform/resolvers": "^3.3.2",
|
|
27
27
|
"@next-auth/prisma-adapter": "^1.0.7",
|
|
28
|
-
"@prisma/client": "^5.
|
|
29
|
-
"@radix-ui/react-alert-dialog": "^1.0.
|
|
30
|
-
"@radix-ui/react-avatar": "^1.0.
|
|
28
|
+
"@prisma/client": "^5.5.0",
|
|
29
|
+
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
30
|
+
"@radix-ui/react-avatar": "^1.0.4",
|
|
31
31
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
32
|
-
"@radix-ui/react-dialog": "^1.0.
|
|
33
|
-
"@radix-ui/react-dropdown-menu": "^2.0.
|
|
32
|
+
"@radix-ui/react-dialog": "^1.0.5",
|
|
33
|
+
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
34
34
|
"@radix-ui/react-label": "^2.0.2",
|
|
35
|
-
"@radix-ui/react-popover": "^1.0.
|
|
36
|
-
"@radix-ui/react-select": "^
|
|
35
|
+
"@radix-ui/react-popover": "^1.0.7",
|
|
36
|
+
"@radix-ui/react-select": "^2.0.0",
|
|
37
37
|
"@radix-ui/react-separator": "^1.0.3",
|
|
38
38
|
"@radix-ui/react-slot": "^1.0.2",
|
|
39
|
-
"@radix-ui/react-toast": "^1.1.
|
|
40
|
-
"@t3-oss/env-nextjs": "^0.
|
|
39
|
+
"@radix-ui/react-toast": "^1.1.5",
|
|
40
|
+
"@t3-oss/env-nextjs": "^0.7.1",
|
|
41
41
|
"@tailwindcss/typography": "^0.5.10",
|
|
42
|
-
"@tanstack/react-table": "^8.10.
|
|
43
|
-
"@types/eslint": "^8.44.
|
|
44
|
-
"@types/lodash": "^4.14.
|
|
45
|
-
"@types/node": "^20.
|
|
46
|
-
"@types/nodemailer": "^6.4.
|
|
47
|
-
"@types/react": "^18.2.
|
|
48
|
-
"@types/react-dom": "^18.2.
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
50
|
-
"@typescript-eslint/parser": "^6.
|
|
51
|
-
"@vercel/analytics": "^1.
|
|
42
|
+
"@tanstack/react-table": "^8.10.7",
|
|
43
|
+
"@types/eslint": "^8.44.6",
|
|
44
|
+
"@types/lodash": "^4.14.200",
|
|
45
|
+
"@types/node": "^20.8.8",
|
|
46
|
+
"@types/nodemailer": "^6.4.13",
|
|
47
|
+
"@types/react": "^18.2.31",
|
|
48
|
+
"@types/react-dom": "^18.2.14",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
|
50
|
+
"@typescript-eslint/parser": "^6.9.0",
|
|
51
|
+
"@vercel/analytics": "^1.1.1",
|
|
52
52
|
"autoprefixer": "^10.4.16",
|
|
53
53
|
"class-variance-authority": "^0.7.0",
|
|
54
54
|
"clsx": "^2.0.0",
|
|
55
55
|
"cmdk": "^0.2.0",
|
|
56
56
|
"dayjs": "^1.11.10",
|
|
57
57
|
"editorjs-html": "^3.4.3",
|
|
58
|
-
"eslint": "^8.
|
|
59
|
-
"eslint-config-next": "^13.5.
|
|
58
|
+
"eslint": "^8.52.0",
|
|
59
|
+
"eslint-config-next": "^13.5.6",
|
|
60
60
|
"lodash": "^4.17.21",
|
|
61
|
-
"lucide-react": "^0.
|
|
62
|
-
"next": "^13.5.
|
|
63
|
-
"next-auth": "^4.
|
|
61
|
+
"lucide-react": "^0.288.0",
|
|
62
|
+
"next": "^13.5.6",
|
|
63
|
+
"next-auth": "^4.24.3",
|
|
64
64
|
"next-themes": "^0.2.1",
|
|
65
|
-
"nodemailer": "^6.9.
|
|
66
|
-
"postcss": "^8.4.
|
|
65
|
+
"nodemailer": "^6.9.7",
|
|
66
|
+
"postcss": "^8.4.31",
|
|
67
67
|
"prettier": "^3.0.3",
|
|
68
|
-
"prettier-plugin-tailwindcss": "^0.5.
|
|
69
|
-
"prisma": "^5.
|
|
68
|
+
"prettier-plugin-tailwindcss": "^0.5.6",
|
|
69
|
+
"prisma": "^5.5.0",
|
|
70
70
|
"react": "^18.2.0",
|
|
71
71
|
"react-dom": "^18.2.0",
|
|
72
|
-
"react-hook-form": "^7.
|
|
72
|
+
"react-hook-form": "^7.47.0",
|
|
73
73
|
"tailwind-merge": "^1.14.0",
|
|
74
|
-
"tailwindcss": "^3.3.
|
|
74
|
+
"tailwindcss": "^3.3.4",
|
|
75
75
|
"tailwindcss-animate": "^1.0.7",
|
|
76
76
|
"typescript": "^5.2.2",
|
|
77
|
-
"zod": "^3.22.
|
|
77
|
+
"zod": "^3.22.4"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -10,13 +10,7 @@ const AlertDialog = AlertDialogPrimitive.Root
|
|
|
10
10
|
|
|
11
11
|
const AlertDialogTrigger = AlertDialogPrimitive.Trigger
|
|
12
12
|
|
|
13
|
-
const AlertDialogPortal =
|
|
14
|
-
className,
|
|
15
|
-
...props
|
|
16
|
-
}: AlertDialogPrimitive.AlertDialogPortalProps) => (
|
|
17
|
-
<AlertDialogPrimitive.Portal className={cn(className)} {...props} />
|
|
18
|
-
)
|
|
19
|
-
AlertDialogPortal.displayName = AlertDialogPrimitive.Portal.displayName
|
|
13
|
+
const AlertDialogPortal = AlertDialogPrimitive.Portal
|
|
20
14
|
|
|
21
15
|
const AlertDialogOverlay = React.forwardRef<
|
|
22
16
|
React.ElementRef<typeof AlertDialogPrimitive.Overlay>,
|
|
@@ -140,6 +134,8 @@ export {
|
|
|
140
134
|
AlertDialogDescription,
|
|
141
135
|
AlertDialogFooter,
|
|
142
136
|
AlertDialogHeader,
|
|
137
|
+
AlertDialogOverlay,
|
|
138
|
+
AlertDialogPortal,
|
|
143
139
|
AlertDialogTitle,
|
|
144
140
|
AlertDialogTrigger
|
|
145
141
|
}
|
|
@@ -5,7 +5,7 @@ import * as React from 'react'
|
|
|
5
5
|
import { cn } from '@/lib/cn'
|
|
6
6
|
|
|
7
7
|
const buttonVariants = cva(
|
|
8
|
-
'inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
|
|
8
|
+
'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
@@ -10,13 +10,9 @@ const Dialog = DialogPrimitive.Root
|
|
|
10
10
|
|
|
11
11
|
const DialogTrigger = DialogPrimitive.Trigger
|
|
12
12
|
|
|
13
|
-
const DialogPortal =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}: DialogPrimitive.DialogPortalProps) => (
|
|
17
|
-
<DialogPrimitive.Portal className={cn(className)} {...props} />
|
|
18
|
-
)
|
|
19
|
-
DialogPortal.displayName = DialogPrimitive.Portal.displayName
|
|
13
|
+
const DialogPortal = DialogPrimitive.Portal
|
|
14
|
+
|
|
15
|
+
const DialogClose = DialogPrimitive.Close
|
|
20
16
|
|
|
21
17
|
const DialogOverlay = React.forwardRef<
|
|
22
18
|
React.ElementRef<typeof DialogPrimitive.Overlay>,
|
|
@@ -114,10 +110,13 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName
|
|
|
114
110
|
|
|
115
111
|
export {
|
|
116
112
|
Dialog,
|
|
113
|
+
DialogClose,
|
|
117
114
|
DialogContent,
|
|
118
115
|
DialogDescription,
|
|
119
116
|
DialogFooter,
|
|
120
117
|
DialogHeader,
|
|
118
|
+
DialogOverlay,
|
|
119
|
+
DialogPortal,
|
|
121
120
|
DialogTitle,
|
|
122
121
|
DialogTrigger
|
|
123
122
|
}
|
|
@@ -6,7 +6,7 @@ const Table = React.forwardRef<
|
|
|
6
6
|
HTMLTableElement,
|
|
7
7
|
React.HTMLAttributes<HTMLTableElement>
|
|
8
8
|
>(({ className, ...props }, ref) => (
|
|
9
|
-
<div className="w-full overflow-auto">
|
|
9
|
+
<div className="relative w-full overflow-auto">
|
|
10
10
|
<table
|
|
11
11
|
ref={ref}
|
|
12
12
|
className={cn('w-full caption-bottom text-sm', className)}
|