mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-13 16:22:33 +10:00
Compare commits
13 Commits
801324e17e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 06460f0009 | |||
| b8f9de5c17 | |||
| 5fc5f6a18c | |||
| 48454f0847 | |||
| dcbe29abd6 | |||
| 2a9bf8aa25 | |||
| 0eb5557881 | |||
| 161eea40d5 | |||
| 4bb12a4a28 | |||
| d9831e2cbd | |||
| 1924944ef2 | |||
| de0ee08e02 | |||
| 67e5781db0 |
4
.github/workflows/npm_test.yml
vendored
4
.github/workflows/npm_test.yml
vendored
@ -13,8 +13,8 @@ jobs:
|
|||||||
test_pull_request:
|
test_pull_request:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v5
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -130,3 +130,4 @@ dist
|
|||||||
.pnp.*
|
.pnp.*
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
next-env.d.ts
|
||||||
@ -1 +1,2 @@
|
|||||||
.next
|
.next
|
||||||
|
next-env.d.ts
|
||||||
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
|||||||
nodeLinker: node-modules
|
nodeLinker: node-modules
|
||||||
|
|
||||||
yarnPath: .yarn/releases/yarn-4.10.3.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({
|
export default withBundleAnalyzer({
|
||||||
reactStrictMode: false,
|
reactStrictMode: false,
|
||||||
eslint: {
|
|
||||||
ignoreDuringBuilds: true,
|
|
||||||
},
|
|
||||||
experimental: {
|
experimental: {
|
||||||
optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
|
optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
|
||||||
},
|
},
|
||||||
|
|||||||
22
package.json
22
package.json
@ -15,16 +15,16 @@
|
|||||||
"jest:watch": "jest --watch",
|
"jest:watch": "jest --watch",
|
||||||
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
|
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
|
||||||
"prettier:write": "prettier --write \"**/*.{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": "storybook dev -p 6006",
|
||||||
"storybook:build": "storybook build"
|
"storybook:build": "storybook build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mantine/core": "8.3.4",
|
"@mantine/core": "8.3.7",
|
||||||
"@mantine/hooks": "8.3.4",
|
"@mantine/hooks": "8.3.7",
|
||||||
"@next/bundle-analyzer": "^15.5.4",
|
"@next/bundle-analyzer": "^16.0.0",
|
||||||
"@tabler/icons-react": "^3.35.0",
|
"@tabler/icons-react": "^3.35.0",
|
||||||
"next": "15.5.4",
|
"next": "16.0.1",
|
||||||
"react": "19.2.0",
|
"react": "19.2.0",
|
||||||
"react-dom": "19.2.0"
|
"react-dom": "19.2.0"
|
||||||
},
|
},
|
||||||
@ -33,9 +33,9 @@
|
|||||||
"@eslint/eslintrc": "^3",
|
"@eslint/eslintrc": "^3",
|
||||||
"@eslint/js": "^9.37.0",
|
"@eslint/js": "^9.37.0",
|
||||||
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
||||||
"@storybook/addon-themes": "^9.1.10",
|
"@storybook/addon-themes": "^10.0.0",
|
||||||
"@storybook/nextjs": "^9.1.10",
|
"@storybook/nextjs": "^10.0.0",
|
||||||
"@storybook/react": "^9.1.10",
|
"@storybook/react": "^10.0.0",
|
||||||
"@testing-library/dom": "^10.4.1",
|
"@testing-library/dom": "^10.4.1",
|
||||||
"@testing-library/jest-dom": "^6.9.1",
|
"@testing-library/jest-dom": "^6.9.1",
|
||||||
"@testing-library/react": "^16.3.0",
|
"@testing-library/react": "^16.3.0",
|
||||||
@ -47,7 +47,7 @@
|
|||||||
"babel-loader": "^10.0.0",
|
"babel-loader": "^10.0.0",
|
||||||
"eslint": "^9.37.0",
|
"eslint": "^9.37.0",
|
||||||
"eslint-config-mantine": "^4.0.3",
|
"eslint-config-mantine": "^4.0.3",
|
||||||
"eslint-config-next": "15.5.4",
|
"eslint-config-next": "16.0.1",
|
||||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||||
"eslint-plugin-react": "^7.37.5",
|
"eslint-plugin-react": "^7.37.5",
|
||||||
"jest": "^30.2.0",
|
"jest": "^30.2.0",
|
||||||
@ -56,12 +56,12 @@
|
|||||||
"postcss-preset-mantine": "1.18.0",
|
"postcss-preset-mantine": "1.18.0",
|
||||||
"postcss-simple-vars": "^7.0.1",
|
"postcss-simple-vars": "^7.0.1",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"storybook": "^9.1.10",
|
"storybook": "^10.0.0",
|
||||||
"stylelint": "^16.25.0",
|
"stylelint": "^16.25.0",
|
||||||
"stylelint-config-standard-scss": "^16.0.0",
|
"stylelint-config-standard-scss": "^16.0.0",
|
||||||
"ts-jest": "^29.4.4",
|
"ts-jest": "^29.4.4",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"typescript-eslint": "^8.46.0"
|
"typescript-eslint": "^8.46.0"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.10.3"
|
"packageManager": "yarn@4.11.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,8 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"types": [
|
"types": ["node", "jest", "@testing-library/jest-dom"],
|
||||||
"node",
|
|
||||||
"jest",
|
|
||||||
"@testing-library/jest-dom"
|
|
||||||
],
|
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"lib": [
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
"dom",
|
|
||||||
"dom.iterable",
|
|
||||||
"esnext"
|
|
||||||
],
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@ -18,15 +10,13 @@
|
|||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "bundler",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"jsx": "preserve",
|
"jsx": "react-jsx",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": [
|
"@/*": ["./*"]
|
||||||
"./*"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
@ -40,9 +30,8 @@
|
|||||||
".storybook/main.ts",
|
".storybook/main.ts",
|
||||||
".storybook/preview.tsx",
|
".storybook/preview.tsx",
|
||||||
"next-env.d.ts",
|
"next-env.d.ts",
|
||||||
".next/types/**/*.ts"
|
".next/types/**/*.ts",
|
||||||
|
".next/dev/types/**/*.ts"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": ["node_modules"]
|
||||||
"node_modules"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user