Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Templates Build
name: Testing

on:
push:
Expand Down Expand Up @@ -32,6 +32,11 @@ jobs:
cd ${{ matrix.template-dir }}
npm install

- name: Check Eslint
run: |
cd ${{ matrix.template-dir }}
npm run lint

- name: Run Next.js Production Build
run: |
cd ${{ matrix.template-dir }}
Expand Down
3 changes: 2 additions & 1 deletion next-mui-template-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint ./src --fix "
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix"
},
"dependencies": {
"@emotion/react": "^11.14.0",
Expand Down
3 changes: 2 additions & 1 deletion next-mui-template-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint ./src --fix"
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix"
},
"dependencies": {
"@emotion/react": "^11.14.0",
Expand Down
2 changes: 1 addition & 1 deletion next-mui-template-ts/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const geistMono = Geist_Mono({

export const metadata: Metadata = {
title: "create-next-mui",
description: "create your nextjs project with mui setup",
description: "The fastest way to scaffold Nextjs + MUI",
};

export default function RootLayout({
Expand Down
6 changes: 3 additions & 3 deletions next-mui-template-ts/src/theme/create-theme.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { createTheme } from "@mui/material";
import { components } from "./core/components";

import { CONFIG } from "@/config-global";

import { palette } from "./core/palette";
import { components } from "./core/components";
import { typography } from "./core/typography";

import { CONFIG } from "@/config-global";

// ---------------------------------------------------------------

const { defaultMode } = CONFIG;
Expand Down
Loading