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,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx",
15
+ "incremental": true,
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./src/*"]
23
+ }
24
+ },
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
33
+ "exclude": ["node_modules"]
34
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "editor.quickSuggestions": {
3
+ "other": false,
4
+ "comments": false,
5
+ "strings": false
6
+ }
7
+ }
@@ -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
+ "warn",
22
+ {
23
+ args: "after-used",
24
+ argsIgnorePattern: "^_",
25
+ vars: "all",
26
+ varsIgnorePattern: "^_",
27
+ },
28
+ ],
29
+ "perfectionist/sort-exports": [
30
+ "warn",
31
+ { order: "asc", type: "line-length" },
32
+ ],
33
+ "perfectionist/sort-named-imports": [
34
+ "warn",
35
+ { order: "asc", type: "line-length" },
36
+ ],
37
+ "perfectionist/sort-named-exports": [
38
+ "warn",
39
+ { order: "asc", type: "line-length" },
40
+ ],
41
+ "perfectionist/sort-imports": [
42
+ "warn",
43
+ {
44
+ order: "asc",
45
+ ignoreCase: true,
46
+ type: "line-length",
47
+ specialCharacters: "keep",
48
+ internalPattern: ["^@/.*"],
49
+ newlinesBetween: "always",
50
+ groups: [
51
+ "style",
52
+ "react",
53
+ "next",
54
+ "mui",
55
+ "external",
56
+ "internal-lib",
57
+ "internal-hooks",
58
+ "internal-actions",
59
+ "internal-components",
60
+ "internal-auth",
61
+ "internal-routes",
62
+ "internal-theme",
63
+ "internal",
64
+ ["parent", "sibling", "index"],
65
+ "icons",
66
+ "object",
67
+ "unknown",
68
+ ],
69
+ customGroups: {
70
+ value: {
71
+ react: ["react"],
72
+ next: ["^next", "^next/.*", "cookies-next"],
73
+ mui: ["^@mui/.*", "^@emotion/.*"],
74
+ icons: ["^lucide-react$"],
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,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": ".",
4
+ "paths": {
5
+ "@/*": ["./src/*"]
6
+ },
7
+ "ignoreDeprecations": "6.0"
8
+ },
9
+ "include": ["**/*.js", "**/*.jsx", "**/*.mjs", "**/*.json"],
10
+ "exclude": ["node_modules", ".next", "out", "build"]
11
+ }
@@ -0,0 +1,5 @@
1
+ const nextConfig = {
2
+ trailingSlash: true,
3
+ };
4
+
5
+ export default nextConfig;