create-next-mui 0.1.4 → 0.1.5
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/next-mui-features/react-query/js/.vscode/settings.json +7 -0
- package/next-mui-features/react-query/js/.vscode/typescript.code-snippets +10 -0
- package/next-mui-features/react-query/js/eslint.config.mjs +90 -0
- package/next-mui-features/react-query/js/jsconfig.json +11 -0
- package/next-mui-features/react-query/js/next.config.js +5 -0
- package/next-mui-features/react-query/js/package-lock.json +6779 -0
- package/next-mui-features/react-query/js/package.json +34 -0
- package/next-mui-features/react-query/js/public/mui.svg +11 -0
- package/next-mui-features/react-query/js/public/next.svg +23 -0
- package/next-mui-features/react-query/js/public/vercel.svg +1 -0
- package/next-mui-features/react-query/js/src/app/favicon.ico +0 -0
- package/next-mui-features/react-query/js/src/app/globals.css +28 -0
- package/next-mui-features/react-query/js/src/app/layout.jsx +40 -0
- package/next-mui-features/react-query/js/src/app/page.jsx +7 -0
- package/next-mui-features/react-query/js/src/app/profile/page.jsx +7 -0
- package/next-mui-features/react-query/js/src/config-global.js +6 -0
- package/next-mui-features/react-query/js/src/lib/router-link/index.js +5 -0
- package/next-mui-features/react-query/js/src/lib/tanstack-provider.jsx +29 -0
- package/next-mui-features/react-query/js/src/sections/home/profile-view.jsx +43 -0
- package/next-mui-features/react-query/js/src/sections/home/view.jsx +160 -0
- package/next-mui-features/react-query/js/src/theme/core/colors.json +46 -0
- package/next-mui-features/react-query/js/src/theme/core/components/button.js +31 -0
- package/next-mui-features/react-query/js/src/theme/core/components/card.js +13 -0
- package/next-mui-features/react-query/js/src/theme/core/components/index.js +9 -0
- package/next-mui-features/react-query/js/src/theme/core/palette.js +23 -0
- package/next-mui-features/react-query/js/src/theme/core/typography.js +51 -0
- package/next-mui-features/react-query/js/src/theme/create-theme.js +28 -0
- package/next-mui-features/react-query/js/src/theme/theme-provider.jsx +19 -0
- package/next-mui-features/react-query/manifest.json +18 -0
- package/next-mui-features/react-query/ts/.vscode/settings.json +7 -0
- package/next-mui-features/react-query/ts/.vscode/typescript.code-snippets +10 -0
- package/next-mui-features/react-query/ts/eslint.config.mjs +90 -0
- package/next-mui-features/react-query/ts/next.config.ts +7 -0
- package/next-mui-features/react-query/ts/package-lock.json +6779 -0
- package/next-mui-features/react-query/ts/package.json +34 -0
- package/next-mui-features/react-query/ts/public/mui.svg +11 -0
- package/next-mui-features/react-query/ts/public/next.svg +23 -0
- package/next-mui-features/react-query/ts/public/vercel.svg +1 -0
- package/next-mui-features/react-query/ts/src/app/favicon.ico +0 -0
- package/next-mui-features/react-query/ts/src/app/globals.css +28 -0
- package/next-mui-features/react-query/ts/src/app/layout.tsx +46 -0
- package/next-mui-features/react-query/ts/src/app/page.tsx +7 -0
- package/next-mui-features/react-query/ts/src/app/profile/page.tsx +7 -0
- package/next-mui-features/react-query/ts/src/config-global.ts +7 -0
- package/next-mui-features/react-query/ts/src/lib/router-link/index.ts +5 -0
- package/next-mui-features/react-query/ts/src/lib/tanstack-provider.tsx +29 -0
- package/next-mui-features/react-query/ts/src/sections/home/profile-view.tsx +43 -0
- package/next-mui-features/react-query/ts/src/sections/home/view.tsx +160 -0
- package/next-mui-features/react-query/ts/src/theme/core/colors.json +46 -0
- package/next-mui-features/react-query/ts/src/theme/core/components/button.ts +43 -0
- package/next-mui-features/react-query/ts/src/theme/core/components/card.ts +17 -0
- package/next-mui-features/react-query/ts/src/theme/core/components/index.ts +9 -0
- package/next-mui-features/react-query/ts/src/theme/core/palette.ts +34 -0
- package/next-mui-features/react-query/ts/src/theme/core/typography.ts +51 -0
- package/next-mui-features/react-query/ts/src/theme/create-theme.ts +28 -0
- package/next-mui-features/react-query/ts/src/theme/theme-provider.tsx +19 -0
- package/next-mui-features/react-query/ts/tsconfig.json +34 -0
- package/next-mui-features/zustand/js/.vscode/settings.json +7 -0
- package/next-mui-features/zustand/js/.vscode/typescript.code-snippets +10 -0
- package/next-mui-features/zustand/js/eslint.config.mjs +90 -0
- package/next-mui-features/zustand/js/jsconfig.json +11 -0
- package/next-mui-features/zustand/js/next.config.js +5 -0
- package/next-mui-features/zustand/js/package-lock.json +6753 -0
- package/next-mui-features/zustand/js/package.json +33 -0
- package/next-mui-features/zustand/js/public/mui.svg +11 -0
- package/next-mui-features/zustand/js/public/next.svg +23 -0
- package/next-mui-features/zustand/js/public/vercel.svg +1 -0
- package/next-mui-features/zustand/js/src/app/favicon.ico +0 -0
- package/next-mui-features/zustand/js/src/app/globals.css +28 -0
- package/next-mui-features/zustand/js/src/app/layout.jsx +36 -0
- package/next-mui-features/zustand/js/src/app/page.jsx +7 -0
- package/next-mui-features/zustand/js/src/config-global.js +6 -0
- package/next-mui-features/zustand/js/src/lib/router-link/index.js +5 -0
- package/next-mui-features/zustand/js/src/sections/home/view.jsx +218 -0
- package/next-mui-features/zustand/js/src/stores/counter-store.jsx +10 -0
- package/next-mui-features/zustand/js/src/theme/core/colors.json +46 -0
- package/next-mui-features/zustand/js/src/theme/core/components/button.js +31 -0
- package/next-mui-features/zustand/js/src/theme/core/components/card.js +13 -0
- package/next-mui-features/zustand/js/src/theme/core/components/index.js +9 -0
- package/next-mui-features/zustand/js/src/theme/core/palette.js +23 -0
- package/next-mui-features/zustand/js/src/theme/core/typography.js +51 -0
- package/next-mui-features/zustand/js/src/theme/create-theme.js +28 -0
- package/next-mui-features/zustand/js/src/theme/theme-provider.jsx +19 -0
- package/next-mui-features/zustand/manifest.json +12 -0
- package/next-mui-features/zustand/ts/.vscode/settings.json +7 -0
- package/next-mui-features/zustand/ts/.vscode/typescript.code-snippets +10 -0
- package/next-mui-features/zustand/ts/eslint.config.mjs +90 -0
- package/next-mui-features/zustand/ts/next.config.ts +7 -0
- package/next-mui-features/zustand/ts/package-lock.json +6753 -0
- package/next-mui-features/zustand/ts/package.json +33 -0
- package/next-mui-features/zustand/ts/public/mui.svg +11 -0
- package/next-mui-features/zustand/ts/public/next.svg +23 -0
- package/next-mui-features/zustand/ts/public/vercel.svg +1 -0
- package/next-mui-features/zustand/ts/src/app/favicon.ico +0 -0
- package/next-mui-features/zustand/ts/src/app/globals.css +28 -0
- package/next-mui-features/zustand/ts/src/app/layout.tsx +42 -0
- package/next-mui-features/zustand/ts/src/app/page.tsx +7 -0
- package/next-mui-features/zustand/ts/src/config-global.ts +7 -0
- package/next-mui-features/zustand/ts/src/lib/router-link/index.ts +5 -0
- package/next-mui-features/zustand/ts/src/sections/home/view.tsx +218 -0
- package/next-mui-features/zustand/ts/src/stores/counter-store.tsx +17 -0
- package/next-mui-features/zustand/ts/src/theme/core/colors.json +46 -0
- package/next-mui-features/zustand/ts/src/theme/core/components/button.ts +43 -0
- package/next-mui-features/zustand/ts/src/theme/core/components/card.ts +17 -0
- package/next-mui-features/zustand/ts/src/theme/core/components/index.ts +9 -0
- package/next-mui-features/zustand/ts/src/theme/core/palette.ts +34 -0
- package/next-mui-features/zustand/ts/src/theme/core/typography.ts +51 -0
- package/next-mui-features/zustand/ts/src/theme/create-theme.ts +28 -0
- package/next-mui-features/zustand/ts/src/theme/theme-provider.tsx +19 -0
- package/next-mui-features/zustand/ts/tsconfig.json +34 -0
- 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,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;
|