mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-12 07:42:35 +10:00
Compare commits
20 Commits
8926c997b9
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 06460f0009 | |||
| b8f9de5c17 | |||
| 5fc5f6a18c | |||
| 48454f0847 | |||
| dcbe29abd6 | |||
| 2a9bf8aa25 | |||
| 0eb5557881 | |||
| 161eea40d5 | |||
| 4bb12a4a28 | |||
| d9831e2cbd | |||
| 1924944ef2 | |||
| de0ee08e02 | |||
| 67e5781db0 | |||
| 801324e17e | |||
| dba951aee5 | |||
| ec459e32a1 | |||
| e41a6d974b | |||
| 7a9918204c | |||
| c6079c7741 | |||
| 596bfa3093 |
4
.github/workflows/npm_test.yml
vendored
4
.github/workflows/npm_test.yml
vendored
@ -13,8 +13,8 @@ jobs:
|
||||
test_pull_request:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@ -129,4 +129,5 @@ dist
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
next-env.d.ts
|
||||
@ -1 +1,2 @@
|
||||
.next
|
||||
.next
|
||||
next-env.d.ts
|
||||
@ -7,7 +7,8 @@ export const parameters = {
|
||||
layout: 'fullscreen',
|
||||
options: {
|
||||
showPanel: false,
|
||||
storySort: (a: any, b: any) => a.title.localeCompare(b.title, undefined, { numeric: true }),
|
||||
// @ts-expect-error – storybook throws build error for (a: any, b: any)
|
||||
storySort: (a, b) => a.title.localeCompare(b.title, undefined, { numeric: true }),
|
||||
},
|
||||
backgrounds: { disable: true },
|
||||
};
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.10.2.cjs
|
||||
yarnPath: .yarn/releases/yarn-4.11.0.cjs
|
||||
|
||||
6
next-env.d.ts
vendored
6
next-env.d.ts
vendored
@ -1,6 +0,0 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
/// <reference path="./.next/types/routes.d.ts" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||
@ -6,9 +6,6 @@ const withBundleAnalyzer = bundleAnalyzer({
|
||||
|
||||
export default withBundleAnalyzer({
|
||||
reactStrictMode: false,
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
experimental: {
|
||||
optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
|
||||
},
|
||||
|
||||
50
package.json
50
package.json
@ -15,53 +15,53 @@
|
||||
"jest:watch": "jest --watch",
|
||||
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
|
||||
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
|
||||
"test": "npm run prettier:check && npm run lint && npm run typecheck && npm run jest",
|
||||
"test": "npx next typegen && npm run prettier:check && npm run lint && npm run typecheck && npm run jest",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"storybook:build": "storybook build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mantine/core": "8.3.1",
|
||||
"@mantine/hooks": "8.3.1",
|
||||
"@next/bundle-analyzer": "^15.5.3",
|
||||
"@tabler/icons-react": "^3.34.1",
|
||||
"next": "15.5.3",
|
||||
"react": "19.1.1",
|
||||
"react-dom": "19.1.1"
|
||||
"@mantine/core": "8.3.7",
|
||||
"@mantine/hooks": "8.3.7",
|
||||
"@next/bundle-analyzer": "^16.0.0",
|
||||
"@tabler/icons-react": "^3.35.0",
|
||||
"next": "16.0.1",
|
||||
"react": "19.2.0",
|
||||
"react-dom": "19.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.28.4",
|
||||
"@eslint/eslintrc": "^3",
|
||||
"@eslint/js": "^9.35.0",
|
||||
"@eslint/js": "^9.37.0",
|
||||
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
||||
"@storybook/addon-themes": "^9.1.5",
|
||||
"@storybook/nextjs": "^9.1.5",
|
||||
"@storybook/react": "^9.1.5",
|
||||
"@storybook/addon-themes": "^10.0.0",
|
||||
"@storybook/nextjs": "^10.0.0",
|
||||
"@storybook/react": "^10.0.0",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
"@testing-library/jest-dom": "^6.8.0",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.0",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"@types/eslint-plugin-jsx-a11y": "^6",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^24.3.1",
|
||||
"@types/react": "19.1.12",
|
||||
"@types/node": "^24.7.1",
|
||||
"@types/react": "19.2.2",
|
||||
"babel-loader": "^10.0.0",
|
||||
"eslint": "^9.35.0",
|
||||
"eslint": "^9.37.0",
|
||||
"eslint-config-mantine": "^4.0.3",
|
||||
"eslint-config-next": "15.5.3",
|
||||
"eslint-config-next": "16.0.1",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"jest": "^30.1.3",
|
||||
"jest-environment-jsdom": "^30.1.2",
|
||||
"jest": "^30.2.0",
|
||||
"jest-environment-jsdom": "^30.2.0",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-preset-mantine": "1.18.0",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"prettier": "^3.6.2",
|
||||
"storybook": "^9.1.5",
|
||||
"stylelint": "^16.24.0",
|
||||
"storybook": "^10.0.0",
|
||||
"stylelint": "^16.25.0",
|
||||
"stylelint-config-standard-scss": "^16.0.0",
|
||||
"ts-jest": "^29.4.1",
|
||||
"typescript": "5.9.2",
|
||||
"typescript-eslint": "^8.43.0"
|
||||
"ts-jest": "^29.4.4",
|
||||
"typescript": "5.9.3",
|
||||
"typescript-eslint": "^8.46.0"
|
||||
},
|
||||
"packageManager": "yarn@4.10.2"
|
||||
"packageManager": "yarn@4.11.0"
|
||||
}
|
||||
|
||||
13
renovate.json
Normal file
13
renovate.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"schedule": ["before 5am on sunday"],
|
||||
"groupName": "all dependencies",
|
||||
"packageRules": [
|
||||
{
|
||||
"matchPackagePatterns": ["*"],
|
||||
"groupName": "all dependencies"
|
||||
}
|
||||
],
|
||||
"prHourlyLimit": 0,
|
||||
"prConcurrentLimit": 0
|
||||
}
|
||||
@ -10,21 +10,28 @@
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"jsx": "preserve",
|
||||
"jsx": "react-jsx",
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "next"
|
||||
}
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
".storybook/main.ts",
|
||||
".storybook/preview.tsx"
|
||||
".storybook/preview.tsx",
|
||||
"next-env.d.ts",
|
||||
".next/types/**/*.ts",
|
||||
".next/dev/types/**/*.ts"
|
||||
],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user