From 590dbae4d998413e7e3b72c216e6ec60bf75bba6 Mon Sep 17 00:00:00 2001 From: Greg Rickaby Date: Thu, 1 Feb 2024 08:20:25 -0600 Subject: [PATCH] dependency bump. scripts refactor --- package-lock.json | 66 ++++++++++++++++++++++++++--------------------- package.json | 27 ++++++++++--------- 2 files changed, 49 insertions(+), 44 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1a868430..b861086b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,31 +9,31 @@ "version": "4.0.0", "license": "MIT", "dependencies": { - "@mantine/core": "7.5.0", - "@mantine/hooks": "7.5.0", + "@mantine/core": "7.5.1", + "@mantine/hooks": "7.5.1", "@tabler/icons-react": "^2.46.0", "hls.js": "^1.5.3", "next": "14.1.0", "react": "18.2.0", "react-dom": "18.2.0", - "react-intersection-observer": "^9.5.3", + "react-intersection-observer": "^9.6.0", "swr": "^2.2.4" }, "devDependencies": { "@evilmartians/lefthook": "^1.6.1", - "@types/node": "20.11.13", - "@types/react": "18.2.48", + "@types/node": "20.11.15", + "@types/react": "18.2.51", "@types/react-dom": "18.2.18", "eslint": "^8.56.0", "eslint-config-next": "^14.1.0", "eslint-config-prettier": "^9.1.0", "next-sitemap": "^4.2.3", "postcss": "^8.4.33", - "postcss-preset-mantine": "1.12.3", + "postcss-preset-mantine": "1.13.0", "postcss-simple-vars": "^7.0.1", "prettier": "^3.2.4", "rimraf": "^5.0.5", - "stylelint": "^16.2.0", + "stylelint": "^16.2.1", "stylelint-config-standard": "^36.0.0", "typescript": "^5.3.3" } @@ -530,9 +530,9 @@ } }, "node_modules/@mantine/core": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@mantine/core/-/core-7.5.0.tgz", - "integrity": "sha512-0Qfn4oLCs6Qrli+JK6Q325xhNblVEPSKOB4sDMUkvKYUlCt/2lsIhwUXarVBgiIV3X+rKccf0/LcEWmpn/dYuw==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@mantine/core/-/core-7.5.1.tgz", + "integrity": "sha512-V7apuQuRubqxTRXb1uxOM43K7tkLRzpbb1ONJ/sj8QRp/26bShkdYp7EVuSKyrQ8DQ5EGYyBBGyzBOQARh41gA==", "dependencies": { "@floating-ui/react": "^0.24.8", "clsx": "2.0.0", @@ -542,15 +542,15 @@ "type-fest": "^3.13.1" }, "peerDependencies": { - "@mantine/hooks": "7.5.0", + "@mantine/hooks": "7.5.1", "react": "^18.2.0", "react-dom": "^18.2.0" } }, "node_modules/@mantine/hooks": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@mantine/hooks/-/hooks-7.5.0.tgz", - "integrity": "sha512-KCL/RRMO+9HRIaNww3RIykifWL9XHovnANAyaCU2YUHOPyGCLSXs1UfFxsKNU71HaZ7cHwqSd7J0rR8JpVYLxw==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/@mantine/hooks/-/hooks-7.5.1.tgz", + "integrity": "sha512-LfrEOkX8U2KbkYAU5BMA7FPbMva/TSd65c45W35wHSx3iqYMsoPN9+Ll1zc/HT0XNFp73jGet9cU7VREbAl0/A==", "peerDependencies": { "react": "^18.2.0" } @@ -862,9 +862,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.11.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz", - "integrity": "sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==", + "version": "20.11.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.15.tgz", + "integrity": "sha512-gscmuADZfvNULx1eyirVbr3kVOVZtpQtzKMCZpeSZcN6MfbkRXAR4s9/gsQ4CzxLHw6EStDtKLNtSDL3vbq05A==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -877,9 +877,9 @@ "devOptional": true }, "node_modules/@types/react": { - "version": "18.2.48", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.48.tgz", - "integrity": "sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w==", + "version": "18.2.51", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.51.tgz", + "integrity": "sha512-XeoMaU4CzyjdRr3c4IQQtiH7Rpo18V07rYZUucEZQwOUEtGgTXv7e6igQiQ+xnV6MbMe1qjEmKdgMNnfppnXfg==", "devOptional": true, "dependencies": { "@types/prop-types": "*", @@ -4047,9 +4047,9 @@ } }, "node_modules/postcss-preset-mantine": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/postcss-preset-mantine/-/postcss-preset-mantine-1.12.3.tgz", - "integrity": "sha512-cCwowf20mIyRXnV1cSVoMGfhYgy8ZqFJWsEJthdMZ3n7LijjucE9l/HO47gv5gAtr9nY1MkaEkpWS7ulhSTbSg==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/postcss-preset-mantine/-/postcss-preset-mantine-1.13.0.tgz", + "integrity": "sha512-1bv/mQz2K+/FixIMxYd83BYH7PusDZaI7LpUtKbb1l/5N5w6t1p/V9ONHfRJeeAZyfa6Xc+AtR+95VKdFXRH1g==", "dev": true, "dependencies": { "postcss-mixins": "^9.0.4", @@ -4213,11 +4213,17 @@ } }, "node_modules/react-intersection-observer": { - "version": "9.5.3", - "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.5.3.tgz", - "integrity": "sha512-NJzagSdUPS5rPhaLsHXYeJbsvdpbJwL6yCHtMk91hc0ufQ2BnXis+0QQ9NBh6n9n+Q3OyjR6OQLShYbaNBkThQ==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.6.0.tgz", + "integrity": "sha512-ZJCi6aOY4kIulpUhWRNIFTyMUKOmSA25iw8sKH07fhlqWTaWD5CWvWarqH4N31EyjCFKsgetvr/amRpnuEWzRg==", "peerDependencies": { - "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + "react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } } }, "node_modules/react-is": { @@ -4850,9 +4856,9 @@ } }, "node_modules/stylelint": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.2.0.tgz", - "integrity": "sha512-gwqU5AkIb52wrAzzn+359S3NIJDMl02TXLUaV2tzA/L6jUdpTwNt+MCxHlc8+Hb2bUHlYVo92YeSIryF2gJthA==", + "version": "16.2.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.2.1.tgz", + "integrity": "sha512-SfIMGFK+4n7XVAyv50CpVfcGYWG4v41y6xG7PqOgQSY8M/PgdK0SQbjWFblxjJZlN9jNq879mB4BCZHJRIJ1hA==", "dev": true, "dependencies": { "@csstools/css-parser-algorithms": "^2.5.0", diff --git a/package.json b/package.json index 95949e44..c6c516a3 100644 --- a/package.json +++ b/package.json @@ -15,41 +15,40 @@ "homepage": "https://github.com/gregrickaby/viewer-for-reddit#readme", "scripts": { "build": "next build", - "clean": "rimraf .next", - "dev": "npm run clean && next dev", - "format": "npx prettier '**/*.{js,jsx,ts,tsx,md,mdx,html,css,scss,json,yml}' --write || true", - "lint": "npm run format && npm run lint:js && npm run type-check", - "lint:js": "npx eslint '**/*.{js,ts,jsx,tsx}' --fix || true && next lint", + "dev": "rimraf .next && next dev", + "format": "prettier . --ignore-path .gitignore --write", + "lint": "npm run lint:css && npm run lint:js && npm run lint:markdown && next lint && tsc", + "lint:css": "stylelint '**/*.css' --ignore-path .gitignore --fix", + "lint:js": "eslint . --ignore-path .gitignore --fix", "postbuild": "next-sitemap", - "start": "next start", - "type-check": "tsc" + "start": "next start" }, "dependencies": { - "@mantine/core": "7.5.0", - "@mantine/hooks": "7.5.0", + "@mantine/core": "7.5.1", + "@mantine/hooks": "7.5.1", "@tabler/icons-react": "^2.46.0", "hls.js": "^1.5.3", "next": "14.1.0", "react": "18.2.0", "react-dom": "18.2.0", - "react-intersection-observer": "^9.5.3", + "react-intersection-observer": "^9.6.0", "swr": "^2.2.4" }, "devDependencies": { "@evilmartians/lefthook": "^1.6.1", - "@types/node": "20.11.13", - "@types/react": "18.2.48", + "@types/node": "20.11.15", + "@types/react": "18.2.51", "@types/react-dom": "18.2.18", "eslint": "^8.56.0", "eslint-config-next": "^14.1.0", "eslint-config-prettier": "^9.1.0", "next-sitemap": "^4.2.3", "postcss": "^8.4.33", - "postcss-preset-mantine": "1.12.3", + "postcss-preset-mantine": "1.13.0", "postcss-simple-vars": "^7.0.1", "prettier": "^3.2.4", "rimraf": "^5.0.5", - "stylelint": "^16.2.0", + "stylelint": "^16.2.1", "stylelint-config-standard": "^36.0.0", "typescript": "^5.3.3" }