Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Valeriano committed Sep 15, 2024
1 parent 7f81f23 commit 7459ae7
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 36 deletions.
5 changes: 0 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,3 @@ indent_size = 2
trim_trailing_whitespace = true
max_line_length = 88

[*.go]
indent_style = tab

[Makefile]
indent_style = tab
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
build
dist
out
bin
.swc
*.tsbuildinfo
.turbo
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { next } from "@mkvlrn/eslint";
import { next } from "@mkvlrn/configurations/eslint";

/** @type {import("typescript-eslint").ConfigWithExtends[]} */
export default [
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "git@github.com:mkvlrn/template-next"
},
"keywords": [
"node",
"nextjs",
"template"
],
"scripts": {
Expand All @@ -20,18 +20,14 @@
"prepare": "husky",
"dev": "next dev",
"lint": "eslint --fix src tests",
"lint-staged": "lint-staged",
"format": "prettier --write src tests",
"type-check": "tsc --noEmit",
"build": "NODE_ENV=production next build",
"start": "NODE_ENV=production next start"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@mkvlrn/eslint": "^0.1.6",
"@mkvlrn/prettier": "^0.0.5",
"@mkvlrn/tsconfig": "^0.1.0",
"@mkvlrn/configurations": "^1.0.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
Expand Down
2 changes: 1 addition & 1 deletion prettier.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "@mkvlrn/prettier";
export { base as default } from "@mkvlrn/configurations/prettier";
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=mkvlrn_template-next&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=mkvlrn_template-next)

A sane, opinionated template for nextjs projects.
A sane, opinionated template for esm nextjs projects written in typescript.

Uses typescript, eslint, prettier, commitlint, vitest, lint-staged, husky, and more.
Uses eslint, prettier, commitlint, vitest, lint-staged, husky.
File renamed without changes.
19 changes: 16 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"extends": "@mkvlrn/tsconfig/tsconfig.next.json",
"extends": "@mkvlrn/configurations/tsconfig-next",
"compilerOptions": {
"rootDir": "./",
"outDir": "./dist",
"baseUrl": "./",
"paths": { "~/*": ["./src/*"], "#/*": ["./tests/*"] }
"paths": {
"~/*": ["./src/*"],
"#/*": ["./tests/*"]
}
},
"include": ["next-env.d.ts", "./dist/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"include": [
"next-env.d.ts",
"./dist/types/**/*.ts",
"src/**/*.ts",
"src/**/*.tsx",
"tests/**/*.ts",
"tests/**/*.tsx",
"*.config.js",
"*.config.ts",
".next/types/**/*.ts"
],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ export default defineConfig({
env: { NODE_ENV: "test" },
environment: "jsdom",
passWithNoTests: true,
setupFiles: ["vitest.setup.ts"],
setupFiles: ["./tests/__setup/vitest.setup.ts"],
},
});
23 changes: 6 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -647,34 +647,23 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@mkvlrn/eslint@^0.1.6":
version "0.1.6"
resolved "https://registry.yarnpkg.com/@mkvlrn/eslint/-/eslint-0.1.6.tgz#a74aa38bdff493c0d75510b9c27ca0c382940d61"
integrity sha512-RxxZpjkx++9m2Jwk5QPr4nkHMC0oc6HJLl0TPmMEkyIcyW07hA8T7kPz7otmoizCv++US7q2sun9nh9YL9Tf6g==
"@mkvlrn/configurations@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@mkvlrn/configurations/-/configurations-1.0.1.tgz#7f6ee2b7769c18a0fc20ece88c4ddd22107f024a"
integrity sha512-DYoeE/2X5PvNhSxpoVBlD67f9fo0HQ66Mnb0GdejSI1M0pRLKxKg26XeFPop6zOeksMmVZbp3tQ/yCl/r011pQ==
dependencies:
"@eslint/js" "^9.10.0"
"@next/eslint-plugin-next" "^14.2.11"
"@trivago/prettier-plugin-sort-imports" "^4.3.0"
eslint-config-prettier "^9.1.0"
eslint-import-resolver-typescript "^3.6.3"
eslint-plugin-import "^2.30.0"
eslint-plugin-react "^7.36.1"
eslint-plugin-react-hooks "^4.6.2"
eslint-plugin-unicorn "^55.0.0"
eslint-plugin-vitest "^0.5.4"
typescript-eslint "^8.5.0"

"@mkvlrn/prettier@^0.0.5":
version "0.0.5"
resolved "https://registry.yarnpkg.com/@mkvlrn/prettier/-/prettier-0.0.5.tgz#d818179ca668e3faf1634d40c64652ea9279a22b"
integrity sha512-fqEiOOF4UUC8z0i435TKo/Ro+O+iPjwmlObRfBfMV8AXyftLXg/uUV48tjfLdNVT8/lV4iSkoVRJMtp+sgyFYg==
dependencies:
"@trivago/prettier-plugin-sort-imports" "^4.3.0"
prettier-plugin-tailwindcss "^0.6.6"

"@mkvlrn/tsconfig@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@mkvlrn/tsconfig/-/tsconfig-0.1.0.tgz#62aa71bc49e8551ed2be1d675c840fea438bc9d4"
integrity sha512-Fm+vdhjIAS3SUXAP4LzKpIAUg8KDvPfegBH08CSoVYA3RLepphFb2BL2NUpDA5kXnXKr3mpFJz/AAhWkiJ0rGg==
typescript-eslint "^8.5.0"

"@next/env@14.2.11":
version "14.2.11"
Expand Down

0 comments on commit 7459ae7

Please sign in to comment.