@emberkit/cli 0.3.0 → 0.3.1
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/dist/commands/create.js +17 -50
- package/package.json +1 -1
package/dist/commands/create.js
CHANGED
|
@@ -624,8 +624,7 @@ const withUiTemplate = {
|
|
|
624
624
|
"build": "emberkit build",
|
|
625
625
|
"preview": "emberkit preview",
|
|
626
626
|
"lint": "eslint src --ext .ts,.tsx",
|
|
627
|
-
"format": "prettier --write \\"src/**/*.{ts,tsx}\\""
|
|
628
|
-
"build:css": "tailwindcss -i ./src/styles.css -o ./dist/styles.css"
|
|
627
|
+
"format": "prettier --write \\"src/**/*.{ts,tsx}\\""
|
|
629
628
|
},
|
|
630
629
|
"dependencies": {
|
|
631
630
|
"@emberkit/core": "^0.2.4",
|
|
@@ -635,9 +634,8 @@ const withUiTemplate = {
|
|
|
635
634
|
"@emberkit/cli": "^0.2.4",
|
|
636
635
|
"typescript": "^5.7.0",
|
|
637
636
|
"vite": "^6.0.0",
|
|
638
|
-
"tailwindcss": "^
|
|
639
|
-
"
|
|
640
|
-
"autoprefixer": "^10.4.0"
|
|
637
|
+
"tailwindcss": "^4.0.0",
|
|
638
|
+
"@tailwindcss/vite": "^4.0.0"
|
|
641
639
|
}
|
|
642
640
|
}`,
|
|
643
641
|
"tsconfig.json": `{
|
|
@@ -662,38 +660,6 @@ const withUiTemplate = {
|
|
|
662
660
|
"include": ["src"],
|
|
663
661
|
"exclude": ["node_modules", "dist"]
|
|
664
662
|
}`,
|
|
665
|
-
"tailwind.config.js": `/** @type {import('tailwindcss').Config} */
|
|
666
|
-
export default {
|
|
667
|
-
content: ['./src/**/*.{js,ts,jsx,tsx}', './index.html'],
|
|
668
|
-
theme: {
|
|
669
|
-
extend: {
|
|
670
|
-
colors: {
|
|
671
|
-
ember: {
|
|
672
|
-
50: '#fff7ed',
|
|
673
|
-
100: '#ffedd5',
|
|
674
|
-
200: '#fed7aa',
|
|
675
|
-
300: '#fdba74',
|
|
676
|
-
400: '#fb923c',
|
|
677
|
-
500: '#f97316',
|
|
678
|
-
600: '#ea580c',
|
|
679
|
-
700: '#c2410c',
|
|
680
|
-
800: '#9a3412',
|
|
681
|
-
900: '#7c2d12',
|
|
682
|
-
},
|
|
683
|
-
},
|
|
684
|
-
fontFamily: {
|
|
685
|
-
sans: ['Inter', 'system-ui', 'sans-serif'],
|
|
686
|
-
},
|
|
687
|
-
},
|
|
688
|
-
},
|
|
689
|
-
plugins: [],
|
|
690
|
-
};`,
|
|
691
|
-
"postcss.config.js": `export default {
|
|
692
|
-
plugins: {
|
|
693
|
-
tailwindcss: {},
|
|
694
|
-
autoprefixer: {},
|
|
695
|
-
},
|
|
696
|
-
};`,
|
|
697
663
|
"emberkit.config.ts": `import { defineConfig } from '@emberkit/core';
|
|
698
664
|
|
|
699
665
|
export default defineConfig({
|
|
@@ -743,25 +709,26 @@ if (root) {
|
|
|
743
709
|
}`,
|
|
744
710
|
"src/styles.css": `@import "tailwindcss";
|
|
745
711
|
|
|
746
|
-
|
|
747
|
-
--color-
|
|
748
|
-
--color-
|
|
749
|
-
--color-
|
|
750
|
-
--color-
|
|
751
|
-
--color-
|
|
752
|
-
--color-
|
|
753
|
-
--color-
|
|
712
|
+
@theme {
|
|
713
|
+
--color-ember-50: #fff7ed;
|
|
714
|
+
--color-ember-100: #ffedd5;
|
|
715
|
+
--color-ember-200: #fed7aa;
|
|
716
|
+
--color-ember-300: #fdba74;
|
|
717
|
+
--color-ember-400: #fb923c;
|
|
718
|
+
--color-ember-500: #f97316;
|
|
719
|
+
--color-ember-600: #ea580c;
|
|
720
|
+
--color-ember-700: #c2410c;
|
|
721
|
+
--color-ember-800: #9a3412;
|
|
722
|
+
--color-ember-900: #7c2d12;
|
|
723
|
+
--font-family-sans: 'Inter', system-ui, sans-serif;
|
|
754
724
|
}
|
|
755
725
|
|
|
756
726
|
body {
|
|
757
|
-
|
|
758
|
-
color: var(--color-text);
|
|
759
|
-
font-family: 'Inter', system-ui, sans-serif;
|
|
727
|
+
@apply bg-slate-900 text-slate-200 font-sans;
|
|
760
728
|
}
|
|
761
729
|
|
|
762
730
|
a {
|
|
763
|
-
|
|
764
|
-
text-decoration: none;
|
|
731
|
+
@apply text-inherit no-underline;
|
|
765
732
|
}`,
|
|
766
733
|
"src/routes/_layout.tsx": `import type { RouteComponent } from '@emberkit/core';
|
|
767
734
|
import { Head } from '@emberkit/core';
|