create-next-mui 0.1.4 → 0.2.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.
Files changed (111) hide show
  1. package/next-mui-features/react-query/js/.vscode/settings.json +7 -0
  2. package/next-mui-features/react-query/js/.vscode/typescript.code-snippets +10 -0
  3. package/next-mui-features/react-query/js/eslint.config.mjs +90 -0
  4. package/next-mui-features/react-query/js/jsconfig.json +11 -0
  5. package/next-mui-features/react-query/js/next.config.js +5 -0
  6. package/next-mui-features/react-query/js/package-lock.json +6779 -0
  7. package/next-mui-features/react-query/js/package.json +34 -0
  8. package/next-mui-features/react-query/js/public/mui.svg +11 -0
  9. package/next-mui-features/react-query/js/public/next.svg +23 -0
  10. package/next-mui-features/react-query/js/public/vercel.svg +1 -0
  11. package/next-mui-features/react-query/js/src/app/favicon.ico +0 -0
  12. package/next-mui-features/react-query/js/src/app/globals.css +28 -0
  13. package/next-mui-features/react-query/js/src/app/layout.jsx +40 -0
  14. package/next-mui-features/react-query/js/src/app/page.jsx +7 -0
  15. package/next-mui-features/react-query/js/src/app/profile/page.jsx +7 -0
  16. package/next-mui-features/react-query/js/src/config-global.js +6 -0
  17. package/next-mui-features/react-query/js/src/lib/router-link/index.js +5 -0
  18. package/next-mui-features/react-query/js/src/lib/tanstack-provider.jsx +29 -0
  19. package/next-mui-features/react-query/js/src/sections/home/profile-view.jsx +43 -0
  20. package/next-mui-features/react-query/js/src/sections/home/view.jsx +160 -0
  21. package/next-mui-features/react-query/js/src/theme/core/colors.json +46 -0
  22. package/next-mui-features/react-query/js/src/theme/core/components/button.js +31 -0
  23. package/next-mui-features/react-query/js/src/theme/core/components/card.js +13 -0
  24. package/next-mui-features/react-query/js/src/theme/core/components/index.js +9 -0
  25. package/next-mui-features/react-query/js/src/theme/core/palette.js +23 -0
  26. package/next-mui-features/react-query/js/src/theme/core/typography.js +51 -0
  27. package/next-mui-features/react-query/js/src/theme/create-theme.js +28 -0
  28. package/next-mui-features/react-query/js/src/theme/theme-provider.jsx +19 -0
  29. package/next-mui-features/react-query/manifest.json +18 -0
  30. package/next-mui-features/react-query/ts/.vscode/settings.json +7 -0
  31. package/next-mui-features/react-query/ts/.vscode/typescript.code-snippets +10 -0
  32. package/next-mui-features/react-query/ts/eslint.config.mjs +90 -0
  33. package/next-mui-features/react-query/ts/next.config.ts +7 -0
  34. package/next-mui-features/react-query/ts/package-lock.json +6779 -0
  35. package/next-mui-features/react-query/ts/package.json +34 -0
  36. package/next-mui-features/react-query/ts/public/mui.svg +11 -0
  37. package/next-mui-features/react-query/ts/public/next.svg +23 -0
  38. package/next-mui-features/react-query/ts/public/vercel.svg +1 -0
  39. package/next-mui-features/react-query/ts/src/app/favicon.ico +0 -0
  40. package/next-mui-features/react-query/ts/src/app/globals.css +28 -0
  41. package/next-mui-features/react-query/ts/src/app/layout.tsx +46 -0
  42. package/next-mui-features/react-query/ts/src/app/page.tsx +7 -0
  43. package/next-mui-features/react-query/ts/src/app/profile/page.tsx +7 -0
  44. package/next-mui-features/react-query/ts/src/config-global.ts +7 -0
  45. package/next-mui-features/react-query/ts/src/lib/router-link/index.ts +5 -0
  46. package/next-mui-features/react-query/ts/src/lib/tanstack-provider.tsx +29 -0
  47. package/next-mui-features/react-query/ts/src/sections/home/profile-view.tsx +43 -0
  48. package/next-mui-features/react-query/ts/src/sections/home/view.tsx +160 -0
  49. package/next-mui-features/react-query/ts/src/theme/core/colors.json +46 -0
  50. package/next-mui-features/react-query/ts/src/theme/core/components/button.ts +43 -0
  51. package/next-mui-features/react-query/ts/src/theme/core/components/card.ts +17 -0
  52. package/next-mui-features/react-query/ts/src/theme/core/components/index.ts +9 -0
  53. package/next-mui-features/react-query/ts/src/theme/core/palette.ts +34 -0
  54. package/next-mui-features/react-query/ts/src/theme/core/typography.ts +51 -0
  55. package/next-mui-features/react-query/ts/src/theme/create-theme.ts +28 -0
  56. package/next-mui-features/react-query/ts/src/theme/theme-provider.tsx +19 -0
  57. package/next-mui-features/react-query/ts/tsconfig.json +34 -0
  58. package/next-mui-features/zustand/js/.vscode/settings.json +7 -0
  59. package/next-mui-features/zustand/js/.vscode/typescript.code-snippets +10 -0
  60. package/next-mui-features/zustand/js/eslint.config.mjs +90 -0
  61. package/next-mui-features/zustand/js/jsconfig.json +11 -0
  62. package/next-mui-features/zustand/js/next.config.js +5 -0
  63. package/next-mui-features/zustand/js/package-lock.json +6753 -0
  64. package/next-mui-features/zustand/js/package.json +33 -0
  65. package/next-mui-features/zustand/js/public/mui.svg +11 -0
  66. package/next-mui-features/zustand/js/public/next.svg +23 -0
  67. package/next-mui-features/zustand/js/public/vercel.svg +1 -0
  68. package/next-mui-features/zustand/js/src/app/favicon.ico +0 -0
  69. package/next-mui-features/zustand/js/src/app/globals.css +28 -0
  70. package/next-mui-features/zustand/js/src/app/layout.jsx +36 -0
  71. package/next-mui-features/zustand/js/src/app/page.jsx +7 -0
  72. package/next-mui-features/zustand/js/src/config-global.js +6 -0
  73. package/next-mui-features/zustand/js/src/lib/router-link/index.js +5 -0
  74. package/next-mui-features/zustand/js/src/sections/home/view.jsx +218 -0
  75. package/next-mui-features/zustand/js/src/stores/counter-store.jsx +10 -0
  76. package/next-mui-features/zustand/js/src/theme/core/colors.json +46 -0
  77. package/next-mui-features/zustand/js/src/theme/core/components/button.js +31 -0
  78. package/next-mui-features/zustand/js/src/theme/core/components/card.js +13 -0
  79. package/next-mui-features/zustand/js/src/theme/core/components/index.js +9 -0
  80. package/next-mui-features/zustand/js/src/theme/core/palette.js +23 -0
  81. package/next-mui-features/zustand/js/src/theme/core/typography.js +51 -0
  82. package/next-mui-features/zustand/js/src/theme/create-theme.js +28 -0
  83. package/next-mui-features/zustand/js/src/theme/theme-provider.jsx +19 -0
  84. package/next-mui-features/zustand/manifest.json +12 -0
  85. package/next-mui-features/zustand/ts/.vscode/settings.json +7 -0
  86. package/next-mui-features/zustand/ts/.vscode/typescript.code-snippets +10 -0
  87. package/next-mui-features/zustand/ts/eslint.config.mjs +90 -0
  88. package/next-mui-features/zustand/ts/next.config.ts +7 -0
  89. package/next-mui-features/zustand/ts/package-lock.json +6753 -0
  90. package/next-mui-features/zustand/ts/package.json +33 -0
  91. package/next-mui-features/zustand/ts/public/mui.svg +11 -0
  92. package/next-mui-features/zustand/ts/public/next.svg +23 -0
  93. package/next-mui-features/zustand/ts/public/vercel.svg +1 -0
  94. package/next-mui-features/zustand/ts/src/app/favicon.ico +0 -0
  95. package/next-mui-features/zustand/ts/src/app/globals.css +28 -0
  96. package/next-mui-features/zustand/ts/src/app/layout.tsx +42 -0
  97. package/next-mui-features/zustand/ts/src/app/page.tsx +7 -0
  98. package/next-mui-features/zustand/ts/src/config-global.ts +7 -0
  99. package/next-mui-features/zustand/ts/src/lib/router-link/index.ts +5 -0
  100. package/next-mui-features/zustand/ts/src/sections/home/view.tsx +218 -0
  101. package/next-mui-features/zustand/ts/src/stores/counter-store.tsx +17 -0
  102. package/next-mui-features/zustand/ts/src/theme/core/colors.json +46 -0
  103. package/next-mui-features/zustand/ts/src/theme/core/components/button.ts +43 -0
  104. package/next-mui-features/zustand/ts/src/theme/core/components/card.ts +17 -0
  105. package/next-mui-features/zustand/ts/src/theme/core/components/index.ts +9 -0
  106. package/next-mui-features/zustand/ts/src/theme/core/palette.ts +34 -0
  107. package/next-mui-features/zustand/ts/src/theme/core/typography.ts +51 -0
  108. package/next-mui-features/zustand/ts/src/theme/create-theme.ts +28 -0
  109. package/next-mui-features/zustand/ts/src/theme/theme-provider.tsx +19 -0
  110. package/next-mui-features/zustand/ts/tsconfig.json +34 -0
  111. package/package.json +3 -2
@@ -0,0 +1,10 @@
1
+ {
2
+ "divider": {
3
+ "scope": "typescript,typescriptreact",
4
+ "prefix": "---",
5
+ "body": [
6
+ "// ---------------------------------------------------------------",
7
+ ],
8
+ "description": "insert a divider",
9
+ },
10
+ }
@@ -0,0 +1,90 @@
1
+ import perfectionist from "eslint-plugin-perfectionist";
2
+ import unusedImports from "eslint-plugin-unused-imports";
3
+ import nextTypeScript from "eslint-config-next/typescript";
4
+ import { defineConfig, globalIgnores } from "eslint/config";
5
+ import nextVitals from "eslint-config-next/core-web-vitals";
6
+
7
+ const eslintConfig = defineConfig([
8
+ ...nextVitals,
9
+ ...nextTypeScript,
10
+ globalIgnores([".next/**", "out/**", "build/**", "next-env.d.ts"]),
11
+ {
12
+ plugins: {
13
+ perfectionist,
14
+ "unused-imports": unusedImports,
15
+ },
16
+ rules: {
17
+ "unused-imports/no-unused-imports": "error",
18
+ "no-unused-vars": "off",
19
+ "@typescript-eslint/no-unused-vars": "off",
20
+ "unused-imports/no-unused-vars": [
21
+ "off",
22
+ {
23
+ args: "after-used",
24
+ argsIgnorePattern: "^_",
25
+ vars: "all",
26
+ varsIgnorePattern: "^_",
27
+ },
28
+ ],
29
+ "perfectionist/sort-exports": [1, { order: "asc", type: "line-length" }],
30
+ "perfectionist/sort-named-imports": [
31
+ 1,
32
+ { order: "asc", type: "line-length" },
33
+ ],
34
+ "perfectionist/sort-named-exports": [
35
+ 1,
36
+ { order: "asc", type: "line-length" },
37
+ ],
38
+ "perfectionist/sort-imports": [
39
+ "warn",
40
+ {
41
+ order: "asc",
42
+ ignoreCase: true,
43
+ type: "line-length",
44
+ specialCharacters: "keep",
45
+ internalPattern: ["^@/.*"],
46
+ newlinesBetween: "always",
47
+ groups: [
48
+ "style",
49
+ "react",
50
+ "next",
51
+ "mui",
52
+ "external",
53
+ "type",
54
+ "internal-types",
55
+ "internal-lib",
56
+ "internal-hooks",
57
+ "internal-actions",
58
+ "internal-components",
59
+ "internal-auth",
60
+ "internal-routes",
61
+ "internal-theme",
62
+ "internal",
63
+ ["parent", "sibling", "index"],
64
+ "icons",
65
+ "object",
66
+ "unknown",
67
+ ],
68
+ customGroups: {
69
+ value: {
70
+ react: ["react"],
71
+ next: ["^next", "^next/.*", "cookies-next"],
72
+ mui: ["^@mui/.*", "^@emotion/.*"],
73
+ icons: ["^lucide-react$"],
74
+ "internal-types": ["^@/types/.*"],
75
+ "internal-lib": ["^@/lib/.*"],
76
+ "internal-actions": ["^@/actions/.*"],
77
+ "internal-hooks": ["^@/hooks/.*"],
78
+ "internal-components": ["^@/components/.*"],
79
+ "internal-auth": ["^@/auth/.*"],
80
+ "internal-routes": ["^@/routes/.*"],
81
+ "internal-theme": ["^@/theme/.*"],
82
+ },
83
+ },
84
+ },
85
+ ],
86
+ },
87
+ },
88
+ ]);
89
+
90
+ export default eslintConfig;
@@ -0,0 +1,7 @@
1
+ import type { NextConfig } from "next";
2
+
3
+ const nextConfig: NextConfig = {
4
+ trailingSlash: true,
5
+ };
6
+
7
+ export default nextConfig;