@camox/cli 0.43.0 → 0.45.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/README.md +144 -40
- package/dist/api-DNIQC1ea.mjs +104 -0
- package/dist/api-DeE66CPa.mjs +2 -0
- package/dist/auth-core-xLeorUUV.mjs +120 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +673 -705
- package/dist/lib/auth-core.d.mts +12 -8
- package/dist/lib/auth-core.mjs +1 -2
- package/dist/local-dns-DQIT1ucr.mjs +22 -0
- package/package.json +23 -19
- package/dist/api-COfB7AKI.mjs +0 -82
- package/dist/api-LuNKejJE.mjs +0 -3
- package/dist/auth-core-cCuk5aZy.mjs +0 -63
- package/templates/default/.env.example +0 -2
- package/templates/default/components.json +0 -25
- package/templates/default/package.json +0 -46
- package/templates/default/scripts/README.md +0 -35
- package/templates/default/scripts/production-smoke.mjs +0 -124
- package/templates/default/src/blocks/faq.tsx +0 -63
- package/templates/default/src/blocks/footer.tsx +0 -61
- package/templates/default/src/blocks/hero.tsx +0 -92
- package/templates/default/src/blocks/navbar.tsx +0 -110
- package/templates/default/src/blocks/youtube-video.tsx +0 -158
- package/templates/default/src/components/ui/accordion.tsx +0 -70
- package/templates/default/src/components/ui/button.tsx +0 -58
- package/templates/default/src/document.ts +0 -7
- package/templates/default/src/layouts/default.tsx +0 -88
- package/templates/default/src/lib/utils.ts +0 -6
- package/templates/default/src/styles.css +0 -162
- package/templates/default/tsconfig.json +0 -25
- package/templates/default/vite.config.ts +0 -25
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
@import "tailwindcss";
|
|
2
|
-
@import "tw-animate-css";
|
|
3
|
-
@import "shadcn/tailwind.css";
|
|
4
|
-
@import "@fontsource-variable/inter";
|
|
5
|
-
@import "@fontsource-variable/noto-serif";
|
|
6
|
-
|
|
7
|
-
@custom-variant dark (&:is(.dark *));
|
|
8
|
-
|
|
9
|
-
body {
|
|
10
|
-
@apply m-0;
|
|
11
|
-
-webkit-font-smoothing: antialiased;
|
|
12
|
-
-moz-osx-font-smoothing: grayscale;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:root {
|
|
16
|
-
--background: oklch(0.99 0.01 260);
|
|
17
|
-
--foreground: oklch(0 0 0);
|
|
18
|
-
--card: oklch(1 0 0);
|
|
19
|
-
--card-foreground: oklch(0 0 0);
|
|
20
|
-
--popover: oklch(1 0 0);
|
|
21
|
-
--popover-foreground: oklch(0 0 0);
|
|
22
|
-
--primary: oklch(0.623 0.214 259.815);
|
|
23
|
-
--primary-foreground: oklch(0.97 0.014 254.604);
|
|
24
|
-
--secondary: oklch(0.96 0.02 260);
|
|
25
|
-
--secondary-foreground: oklch(0.22 0.05 260);
|
|
26
|
-
--muted: oklch(0.96 0.02 260);
|
|
27
|
-
--muted-foreground: oklch(0.55 0.05 260);
|
|
28
|
-
--accent: oklch(0.96 0.02 260);
|
|
29
|
-
--accent-foreground: oklch(0.22 0.05 260);
|
|
30
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
31
|
-
--destructive-foreground: oklch(0.577 0.245 27.325);
|
|
32
|
-
--border: oklch(0.92 0.02 260);
|
|
33
|
-
--input: oklch(0.92 0.02 260);
|
|
34
|
-
--ring: oklch(0.7 0.05 260);
|
|
35
|
-
--chart-1: oklch(0.871 0.02 260);
|
|
36
|
-
--chart-2: oklch(0.62 0.19 260);
|
|
37
|
-
--chart-3: oklch(0.5 0.12 260);
|
|
38
|
-
--chart-4: oklch(0.4 0.08 260);
|
|
39
|
-
--chart-5: oklch(0.3 0.05 260);
|
|
40
|
-
--radius: 0.625rem;
|
|
41
|
-
--sidebar: oklch(0.99 0.01 260);
|
|
42
|
-
--sidebar-foreground: oklch(0 0 0);
|
|
43
|
-
--sidebar-primary: oklch(0.62 0.19 260);
|
|
44
|
-
--sidebar-primary-foreground: oklch(0.984 0.019 200.873);
|
|
45
|
-
--sidebar-accent: oklch(0.96 0.02 260);
|
|
46
|
-
--sidebar-accent-foreground: oklch(0.22 0.05 260);
|
|
47
|
-
--sidebar-border: oklch(0.92 0.02 260);
|
|
48
|
-
--sidebar-ring: oklch(0.7 0.05 260);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.dark {
|
|
52
|
-
--background: oklch(0.17 0.05 260);
|
|
53
|
-
--foreground: oklch(0.985 0 0);
|
|
54
|
-
--card: oklch(0.22 0.05 260);
|
|
55
|
-
--card-foreground: oklch(0.985 0 0);
|
|
56
|
-
--popover: oklch(0.22 0.05 260);
|
|
57
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
58
|
-
--primary: oklch(0.623 0.214 259.815);
|
|
59
|
-
--primary-foreground: oklch(0.97 0.014 254.604);
|
|
60
|
-
--secondary: oklch(0.3 0.05 260);
|
|
61
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
62
|
-
--muted: oklch(0.3 0.05 260);
|
|
63
|
-
--muted-foreground: oklch(0.72 0.03 260);
|
|
64
|
-
--accent: oklch(0.3 0.05 260);
|
|
65
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
66
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
67
|
-
--destructive-foreground: oklch(0.637 0.237 25.331);
|
|
68
|
-
--border: oklch(1 0 0 / 10%);
|
|
69
|
-
--input: oklch(1 0 0 / 15%);
|
|
70
|
-
--ring: oklch(0.55 0.05 260);
|
|
71
|
-
--chart-1: oklch(0.871 0.02 260);
|
|
72
|
-
--chart-2: oklch(0.62 0.19 260);
|
|
73
|
-
--chart-3: oklch(0.5 0.12 260);
|
|
74
|
-
--chart-4: oklch(0.4 0.08 260);
|
|
75
|
-
--chart-5: oklch(0.3 0.05 260);
|
|
76
|
-
--sidebar: oklch(0.22 0.05 260);
|
|
77
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
|
78
|
-
--sidebar-primary: oklch(0.62 0.19 260);
|
|
79
|
-
--sidebar-primary-foreground: oklch(0.984 0.019 200.873);
|
|
80
|
-
--sidebar-accent: oklch(0.3 0.05 260);
|
|
81
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
82
|
-
--sidebar-border: oklch(1 0 0 / 10%);
|
|
83
|
-
--sidebar-ring: oklch(0.55 0.05 260);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@theme inline {
|
|
87
|
-
--color-background: var(--background);
|
|
88
|
-
--color-foreground: var(--foreground);
|
|
89
|
-
--color-card: var(--card);
|
|
90
|
-
--color-card-foreground: var(--card-foreground);
|
|
91
|
-
--color-popover: var(--popover);
|
|
92
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
93
|
-
--color-primary: var(--primary);
|
|
94
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
95
|
-
--color-secondary: var(--secondary);
|
|
96
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
97
|
-
--color-muted: var(--muted);
|
|
98
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
99
|
-
--color-accent: var(--accent);
|
|
100
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
101
|
-
--color-destructive: var(--destructive);
|
|
102
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
103
|
-
--color-border: var(--border);
|
|
104
|
-
--color-input: var(--input);
|
|
105
|
-
--color-ring: var(--ring);
|
|
106
|
-
--color-chart-1: var(--chart-1);
|
|
107
|
-
--color-chart-2: var(--chart-2);
|
|
108
|
-
--color-chart-3: var(--chart-3);
|
|
109
|
-
--color-chart-4: var(--chart-4);
|
|
110
|
-
--color-chart-5: var(--chart-5);
|
|
111
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
112
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
113
|
-
--radius-lg: var(--radius);
|
|
114
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
115
|
-
--color-sidebar: var(--sidebar);
|
|
116
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
117
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
118
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
119
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
120
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
121
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
122
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
123
|
-
--font-sans: "Inter Variable", sans-serif;
|
|
124
|
-
--font-heading: "Inter Variable", sans-serif;
|
|
125
|
-
--radius-2xl: calc(var(--radius) * 1.8);
|
|
126
|
-
--radius-3xl: calc(var(--radius) * 2.2);
|
|
127
|
-
--radius-4xl: calc(var(--radius) * 2.6);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@layer base {
|
|
131
|
-
* {
|
|
132
|
-
@apply border-border outline-ring/50;
|
|
133
|
-
}
|
|
134
|
-
body {
|
|
135
|
-
@apply bg-background text-foreground;
|
|
136
|
-
}
|
|
137
|
-
a:focus-visible {
|
|
138
|
-
@apply border-ring ring-ring/50 rounded-md ring-3 outline-none;
|
|
139
|
-
}
|
|
140
|
-
html {
|
|
141
|
-
@apply font-sans;
|
|
142
|
-
font-size: 14px;
|
|
143
|
-
@media (width >= theme(--breakpoint-sm)) {
|
|
144
|
-
font-size: 15px;
|
|
145
|
-
}
|
|
146
|
-
@media (width >= theme(--breakpoint-md)) {
|
|
147
|
-
font-size: 16px;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@utility container {
|
|
153
|
-
margin-inline: auto;
|
|
154
|
-
padding-inline: 0.5rem;
|
|
155
|
-
max-width: 80rem;
|
|
156
|
-
@media (width >= theme(--breakpoint-sm)) {
|
|
157
|
-
padding-inline: 1rem;
|
|
158
|
-
}
|
|
159
|
-
@media (width >= theme(--breakpoint-md)) {
|
|
160
|
-
padding-inline: 2rem;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": ["./**/*.ts", "./**/*.tsx"],
|
|
3
|
-
"exclude": ["node_modules", "dist"],
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"target": "ES2022",
|
|
6
|
-
"jsx": "react-jsx",
|
|
7
|
-
"module": "ESNext",
|
|
8
|
-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
9
|
-
"types": ["vite-plus/client"],
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"verbatimModuleSyntax": false,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"allowJs": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noUnusedLocals": true,
|
|
18
|
-
"noUnusedParameters": true,
|
|
19
|
-
"noFallthroughCasesInSwitch": true,
|
|
20
|
-
"noUncheckedSideEffectImports": true,
|
|
21
|
-
"paths": {
|
|
22
|
-
"@/*": ["./src/*"]
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import babelPlugin from "@rolldown/plugin-babel";
|
|
2
|
-
import tailwindcss from "@tailwindcss/vite";
|
|
3
|
-
import react, { reactCompilerPreset } from "@vitejs/plugin-react";
|
|
4
|
-
import { camox } from "camox/vite";
|
|
5
|
-
import { nitro } from "nitro/vite";
|
|
6
|
-
import { defineConfig } from "vite-plus";
|
|
7
|
-
|
|
8
|
-
export default defineConfig({
|
|
9
|
-
resolve: { tsconfigPaths: true },
|
|
10
|
-
plugins: [
|
|
11
|
-
tailwindcss(),
|
|
12
|
-
nitro(),
|
|
13
|
-
camox({
|
|
14
|
-
projectSlug: "camox-template-default-01", // camox-cli:replace-slug
|
|
15
|
-
// camox-cli:dev-only-start
|
|
16
|
-
_internal: {
|
|
17
|
-
authenticationUrl: "http://localhost:3274",
|
|
18
|
-
apiUrl: "http://localhost:8787",
|
|
19
|
-
},
|
|
20
|
-
// camox-cli:dev-only-end
|
|
21
|
-
}),
|
|
22
|
-
react(),
|
|
23
|
-
babelPlugin({ presets: [reactCompilerPreset()] }),
|
|
24
|
-
],
|
|
25
|
-
});
|