prox-cli 1.3.2
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/bin/index.js +137 -0
- package/package.json +21 -0
- package/templates/next@14/.editorconfig +16 -0
- package/templates/next@14/.eslintrc.json +10 -0
- package/templates/next@14/.husky/pre-commit +1 -0
- package/templates/next@14/.prettierrc +14 -0
- package/templates/next@14/.yarnrc.yml +1 -0
- package/templates/next@14/README.md +36 -0
- package/templates/next@14/commitlint.config.js +0 -0
- package/templates/next@14/components.json +25 -0
- package/templates/next@14/cypress/e2e/spec.cy.ts +5 -0
- package/templates/next@14/cypress/fixtures/example.json +5 -0
- package/templates/next@14/cypress/support/commands.ts +37 -0
- package/templates/next@14/cypress/support/e2e.ts +17 -0
- package/templates/next@14/cypress.config.ts +9 -0
- package/templates/next@14/documentation/readme +1 -0
- package/templates/next@14/next.config.mjs +4 -0
- package/templates/next@14/package-lock.json +13597 -0
- package/templates/next@14/package.json +66 -0
- package/templates/next@14/postcss.config.mjs +8 -0
- package/templates/next@14/public/fonts/GeistMonoVF.woff +0 -0
- package/templates/next@14/public/fonts/GeistVF.woff +0 -0
- package/templates/next@14/public/images/global/proxy-logo.svg +1 -0
- package/templates/next@14/public/images/readme +1 -0
- package/templates/next@14/src/app/favicon.ico +0 -0
- package/templates/next@14/src/app/layout.tsx +24 -0
- package/templates/next@14/src/app/page.tsx +14 -0
- package/templates/next@14/src/components/layouts/readme +1 -0
- package/templates/next@14/src/components/providers/index.tsx +17 -0
- package/templates/next@14/src/components/providers/modules/readme +1 -0
- package/templates/next@14/src/components/shared/readme +1 -0
- package/templates/next@14/src/components/skeletons/readme +1 -0
- package/templates/next@14/src/components/ui/button.tsx +60 -0
- package/templates/next@14/src/components/ui/readme +1 -0
- package/templates/next@14/src/components/ui/svgs/npm.tsx +13 -0
- package/templates/next@14/src/components/ui/svgs/npmWordmark.tsx +12 -0
- package/templates/next@14/src/components/welcome-component.tsx +37 -0
- package/templates/next@14/src/configuration/readme +1 -0
- package/templates/next@14/src/fonts/index.ts +13 -0
- package/templates/next@14/src/i18n/messages/ar.json +0 -0
- package/templates/next@14/src/i18n/messages/en.json +0 -0
- package/templates/next@14/src/i18n/navigation.ts +6 -0
- package/templates/next@14/src/i18n/request.ts +17 -0
- package/templates/next@14/src/i18n/routing.ts +14 -0
- package/templates/next@14/src/lib/actions/readme +1 -0
- package/templates/next@14/src/lib/api/readme +1 -0
- package/templates/next@14/src/lib/constants/readme +1 -0
- package/templates/next@14/src/lib/context/readme +1 -0
- package/templates/next@14/src/lib/hooks/readme +1 -0
- package/templates/next@14/src/lib/schema/readme +1 -0
- package/templates/next@14/src/lib/seo/readme +1 -0
- package/templates/next@14/src/lib/storage/local.storage.ts +54 -0
- package/templates/next@14/src/lib/storage/session.storage.ts +54 -0
- package/templates/next@14/src/lib/types/readme +1 -0
- package/templates/next@14/src/lib/utils/cn.util.ts +6 -0
- package/templates/next@14/src/lib/utils.ts +6 -0
- package/templates/next@14/src/middleware.ts +19 -0
- package/templates/next@14/src/store/readme +1 -0
- package/templates/next@14/src/styles/globals.css +78 -0
- package/templates/next@14/src/tests/e2e.spec.tsx +9 -0
- package/templates/next@14/tailwind.config.ts +63 -0
- package/templates/next@14/tsconfig.json +37 -0
- package/templates/next@14/vitest.config.mts +10 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { Config } from "tailwindcss";
|
|
2
|
+
|
|
3
|
+
const config: Config = {
|
|
4
|
+
darkMode: ["class"],
|
|
5
|
+
content: [
|
|
6
|
+
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
|
|
7
|
+
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
|
|
8
|
+
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
|
|
9
|
+
],
|
|
10
|
+
theme: {
|
|
11
|
+
extend: {
|
|
12
|
+
colors: {
|
|
13
|
+
background: 'hsl(var(--background))',
|
|
14
|
+
foreground: 'hsl(var(--foreground))',
|
|
15
|
+
card: {
|
|
16
|
+
DEFAULT: 'hsl(var(--card))',
|
|
17
|
+
foreground: 'hsl(var(--card-foreground))'
|
|
18
|
+
},
|
|
19
|
+
popover: {
|
|
20
|
+
DEFAULT: 'hsl(var(--popover))',
|
|
21
|
+
foreground: 'hsl(var(--popover-foreground))'
|
|
22
|
+
},
|
|
23
|
+
primary: {
|
|
24
|
+
DEFAULT: 'hsl(var(--primary))',
|
|
25
|
+
foreground: 'hsl(var(--primary-foreground))'
|
|
26
|
+
},
|
|
27
|
+
secondary: {
|
|
28
|
+
DEFAULT: 'hsl(var(--secondary))',
|
|
29
|
+
foreground: 'hsl(var(--secondary-foreground))'
|
|
30
|
+
},
|
|
31
|
+
muted: {
|
|
32
|
+
DEFAULT: 'hsl(var(--muted))',
|
|
33
|
+
foreground: 'hsl(var(--muted-foreground))'
|
|
34
|
+
},
|
|
35
|
+
accent: {
|
|
36
|
+
DEFAULT: 'hsl(var(--accent))',
|
|
37
|
+
foreground: 'hsl(var(--accent-foreground))'
|
|
38
|
+
},
|
|
39
|
+
destructive: {
|
|
40
|
+
DEFAULT: 'hsl(var(--destructive))',
|
|
41
|
+
foreground: 'hsl(var(--destructive-foreground))'
|
|
42
|
+
},
|
|
43
|
+
border: 'hsl(var(--border))',
|
|
44
|
+
input: 'hsl(var(--input))',
|
|
45
|
+
ring: 'hsl(var(--ring))',
|
|
46
|
+
chart: {
|
|
47
|
+
'1': 'hsl(var(--chart-1))',
|
|
48
|
+
'2': 'hsl(var(--chart-2))',
|
|
49
|
+
'3': 'hsl(var(--chart-3))',
|
|
50
|
+
'4': 'hsl(var(--chart-4))',
|
|
51
|
+
'5': 'hsl(var(--chart-5))'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
borderRadius: {
|
|
55
|
+
lg: 'var(--radius)',
|
|
56
|
+
md: 'calc(var(--radius) - 2px)',
|
|
57
|
+
sm: 'calc(var(--radius) - 4px)'
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
plugins: [require("tailwindcss-animate")],
|
|
62
|
+
};
|
|
63
|
+
export default config;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"skipLibCheck": true,
|
|
6
|
+
"strict": true,
|
|
7
|
+
"noEmit": true,
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"module": "esnext",
|
|
10
|
+
"moduleResolution": "bundler",
|
|
11
|
+
"resolveJsonModule": true,
|
|
12
|
+
"isolatedModules": true,
|
|
13
|
+
"jsx": "preserve",
|
|
14
|
+
"incremental": true,
|
|
15
|
+
"plugins": [
|
|
16
|
+
{
|
|
17
|
+
"name": "next"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"paths": {
|
|
21
|
+
"@app/*": ["./src/app/*"],
|
|
22
|
+
"@components/*": ["./src/components/*"],
|
|
23
|
+
"@configuration/*": ["./src/configuration/*"],
|
|
24
|
+
"@fonts": ["./src/fonts/index.ts"],
|
|
25
|
+
"@i18n/*": ["./src/i18n/*"],
|
|
26
|
+
"@lib/*": ["./src/lib/*"],
|
|
27
|
+
"@services/*": ["./src/services/*"],
|
|
28
|
+
"@store/*": ["./src/store/*"],
|
|
29
|
+
"@styles/*": ["./src/styles/*"],
|
|
30
|
+
"@tests/*": ["./src/tests/*"],
|
|
31
|
+
"@public/*": ["./src/app/*"],
|
|
32
|
+
"@/*": ["./src/*"]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
36
|
+
"exclude": ["node_modules"]
|
|
37
|
+
}
|