From 61e9f180999f5464fab42c0e23c7504a887bb617 Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Sat, 23 Jul 2022 20:42:47 -0400 Subject: [PATCH 01/10] make personal changes to reset to suit dev needs --- dist/reset.css | 47 +++++++++++++++++++++++----------------------- dist/reset.min.css | 2 +- package.json | 1 - src/reset.css | 47 +++++++++++++++++++++++----------------------- 4 files changed, 49 insertions(+), 48 deletions(-) diff --git a/dist/reset.css b/dist/reset.css index f3d489c..a3578d4 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -2,7 +2,7 @@ *, *::before, *::after { - box-sizing: border-box; + box-sizing: border-box; } /* Remove default margin */ @@ -16,58 +16,59 @@ figure, blockquote, dl, dd { - margin: 0; + margin: 0; } /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */ ul[role="list"], ol[role="list"] { - list-style: none; + list-style: none; } /* Set core root defaults */ html:focus-within { - scroll-behavior: smooth; + scroll-behavior: smooth; } /* Set core body defaults */ body { - min-height: 100vh; - text-rendering: optimizeSpeed; - line-height: 1.5; + min-height: 100vh; } /* A elements that don't have a class get default styles */ a:not([class]) { - text-decoration-skip-ink: auto; + text-decoration-skip-ink: auto; } /* Make images easier to work with */ img, picture { - max-width: 100%; - display: block; + max-width: 100%; + display: block; } /* Inherit fonts for inputs and buttons */ input, button, textarea, -select { - font: inherit; +select, +address { + font: inherit; + letter-spacing: inherit; + word-spacing: inherit; } /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { - html:focus-within { - scroll-behavior: auto; - } - *, - *::before, - *::after { - animation-duration: 0.01ms !important; - animation-iteration-count: 1 !important; - transition-duration: 0.01ms !important; - scroll-behavior: auto !important; - } + html:focus-within { + scroll-behavior: auto; + } + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } } diff --git a/dist/reset.min.css b/dist/reset.min.css index de3be44..9c9260c 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1 @@ -*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}} +*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select,address{font:inherit;letter-spacing:inherit;word-spacing:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}} diff --git a/package.json b/package.json index cdfb2e6..de647d1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "modern-css-reset", "version": "1.4.0", "description": "A bare-bones CSS reset for modern web development", - "main": "./dist/reset.min.css", "scripts": { "build": "uglifycss src/reset.css > dist/reset.min.css && cp src/reset.css dist/reset.css" }, diff --git a/src/reset.css b/src/reset.css index f3d489c..a3578d4 100644 --- a/src/reset.css +++ b/src/reset.css @@ -2,7 +2,7 @@ *, *::before, *::after { - box-sizing: border-box; + box-sizing: border-box; } /* Remove default margin */ @@ -16,58 +16,59 @@ figure, blockquote, dl, dd { - margin: 0; + margin: 0; } /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */ ul[role="list"], ol[role="list"] { - list-style: none; + list-style: none; } /* Set core root defaults */ html:focus-within { - scroll-behavior: smooth; + scroll-behavior: smooth; } /* Set core body defaults */ body { - min-height: 100vh; - text-rendering: optimizeSpeed; - line-height: 1.5; + min-height: 100vh; } /* A elements that don't have a class get default styles */ a:not([class]) { - text-decoration-skip-ink: auto; + text-decoration-skip-ink: auto; } /* Make images easier to work with */ img, picture { - max-width: 100%; - display: block; + max-width: 100%; + display: block; } /* Inherit fonts for inputs and buttons */ input, button, textarea, -select { - font: inherit; +select, +address { + font: inherit; + letter-spacing: inherit; + word-spacing: inherit; } /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { - html:focus-within { - scroll-behavior: auto; - } - *, - *::before, - *::after { - animation-duration: 0.01ms !important; - animation-iteration-count: 1 !important; - transition-duration: 0.01ms !important; - scroll-behavior: auto !important; - } + html:focus-within { + scroll-behavior: auto; + } + *, + *::before, + *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } } From 4a26d21bca318fb499a73dc7a92997db46d9b583 Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Sat, 23 Jul 2022 20:51:27 -0400 Subject: [PATCH 02/10] regenerate lockfile and change package.json --- package-lock.json | 25 ++++++++++++++++++++++--- package.json | 15 ++++++--------- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 89ccd2e..70db118 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,32 @@ { "name": "modern-css-reset", "version": "1.4.0", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "name": "modern-css-reset", + "version": "1.4.0", + "license": "MIT", + "devDependencies": { + "uglifycss": "0.0.29" + } + }, + "node_modules/uglifycss": { + "version": "0.0.29", + "dev": true, + "license": "MIT", + "bin": { + "uglifycss": "uglifycss" + }, + "engines": { + "node": ">=6.4.0" + } + } + }, "dependencies": { "uglifycss": { "version": "0.0.29", - "resolved": "https://registry.npmjs.org/uglifycss/-/uglifycss-0.0.29.tgz", - "integrity": "sha512-J2SQ2QLjiknNGbNdScaNZsXgmMGI0kYNrXaDlr4obnPW9ni1jljb1NeEVWAiTgZ8z+EBWP2ozfT9vpy03rjlMQ==", "dev": true } } diff --git a/package.json b/package.json index de647d1..3b10b1e 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,21 @@ { "name": "modern-css-reset", "version": "1.4.0", - "description": "A bare-bones CSS reset for modern web development", + "description": "A personal fork of Andy Bell's CSS reset", + "private": true, "scripts": { "build": "uglifycss src/reset.css > dist/reset.min.css && cp src/reset.css dist/reset.css" }, "repository": { "type": "git", - "url": "git+https://github.com/hankchizljaw/modern-css-reset.git" + "url": "git+https://github.com/andyt96/modern-css-reset.git" }, - "keywords": [ - "css reset", - "modern css reset" - ], - "author": "Andy Bell (https://hankchizljaw.com)", + "author": "Andy", "license": "MIT", "bugs": { - "url": "https://github.com/hankchizljaw/modern-css-reset/issues" + "url": "https://github.com/andyt96/modern-css-reset/issues" }, - "homepage": "https://github.com/hankchizljaw/modern-css-reset#readme", + "homepage": "https://github.com/andyt96/modern-css-reset#readme", "devDependencies": { "uglifycss": "0.0.29" } From ec10d4c95b0b6e9a37483f5971bd0022df09eeb1 Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Sat, 23 Jul 2022 20:54:52 -0400 Subject: [PATCH 03/10] update dependencies --- package-lock.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 70db118..67d13bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,8 +14,9 @@ }, "node_modules/uglifycss": { "version": "0.0.29", + "resolved": "https://registry.npmjs.org/uglifycss/-/uglifycss-0.0.29.tgz", + "integrity": "sha512-J2SQ2QLjiknNGbNdScaNZsXgmMGI0kYNrXaDlr4obnPW9ni1jljb1NeEVWAiTgZ8z+EBWP2ozfT9vpy03rjlMQ==", "dev": true, - "license": "MIT", "bin": { "uglifycss": "uglifycss" }, @@ -27,6 +28,8 @@ "dependencies": { "uglifycss": { "version": "0.0.29", + "resolved": "https://registry.npmjs.org/uglifycss/-/uglifycss-0.0.29.tgz", + "integrity": "sha512-J2SQ2QLjiknNGbNdScaNZsXgmMGI0kYNrXaDlr4obnPW9ni1jljb1NeEVWAiTgZ8z+EBWP2ozfT9vpy03rjlMQ==", "dev": true } } From b99a3863efb3111c009da2f8961a1c10d65a4373 Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Tue, 26 Jul 2022 19:51:18 -0400 Subject: [PATCH 04/10] make edits to README --- README.md | 38 +++----------------------------------- src/reset.css | 2 ++ 2 files changed, 5 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 9d5a45b..9c854c1 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,7 @@ -# A modern CSS reset +# A modern CSS reset [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) -![The Uncompressed size of this reset](https://img.badgesize.io/https://unpkg.com/modern-css-reset?label=Uncompressed%20Size) -![The GZIP size of this reset](https://img.badgesize.io/https://unpkg.com/modern-css-reset?compression=gzip&label=GZIP%20Size) -![The Brotli size of this reset](https://img.badgesize.io/https://unpkg.com/modern-css-reset?compression=brotli&label=Brotli%20Size) -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) - -A tiny little reset that you can use as the basis of your CSS projects. You can read a [breakdown of it here](https://hankchizljaw.com/wrote/a-modern-css-reset/). - -## Installation - -NPM: - -```console -npm install --save-dev modern-css-reset -``` - -Yarn: - -```console -yarn add modern-css-reset -``` - -Unpkg CDN: - -```html - -``` - -jsDelivr CDN: - -```html - -``` - -### Manual installation +A tiny little reset that you can use as the basis of your CSS projects. You can read a [breakdown of it here](https://piccalil.li/blog/a-modern-css-reset/). +## Manual installation First, let's clone this repository: diff --git a/src/reset.css b/src/reset.css index a3578d4..0809200 100644 --- a/src/reset.css +++ b/src/reset.css @@ -58,6 +58,8 @@ address { word-spacing: inherit; } +/* Make sure that button look the same across browser engines */ + /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { From 5f24b8928670b0694d6a9614f9761e33a2ae2d42 Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Tue, 26 Jul 2022 19:53:20 -0400 Subject: [PATCH 05/10] add WebKit button reset styles --- src/reset.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/reset.css b/src/reset.css index 0809200..d6b767b 100644 --- a/src/reset.css +++ b/src/reset.css @@ -59,6 +59,12 @@ address { } /* Make sure that button look the same across browser engines */ +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { From 307e9c3fb9c09bc722f71d8f6e118ffea2ea20a4 Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Sun, 14 Aug 2022 19:35:47 -0400 Subject: [PATCH 06/10] switch from uglifycss to csso --- dist/reset.css | 8 + dist/reset.min.css | 2 +- package-lock.json | 418 +++++++++++++++++++++++++++++++++++++++++++-- package.json | 6 +- 4 files changed, 416 insertions(+), 18 deletions(-) diff --git a/dist/reset.css b/dist/reset.css index a3578d4..d6b767b 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -58,6 +58,14 @@ address { word-spacing: inherit; } +/* Make sure that button look the same across browser engines */ +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + /* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { html:focus-within { diff --git a/dist/reset.min.css b/dist/reset.min.css index 9c9260c..30f3c78 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1 @@ -*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select,address{font:inherit;letter-spacing:inherit;word-spacing:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}} +*,::after,::before{box-sizing:border-box}blockquote,body,dd,dl,figure,h1,h2,h3,h4,p{margin:0}ol[role=list],ul[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}address,button,input,select,textarea{font:inherit;letter-spacing:inherit;word-spacing:inherit}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,::after,::before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 67d13bc..72ff0f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,29 +8,419 @@ "name": "modern-css-reset", "version": "1.4.0", "license": "MIT", - "devDependencies": { - "uglifycss": "0.0.29" + "dependencies": { + "csso-cli": "^4.0.1" } }, - "node_modules/uglifycss": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/uglifycss/-/uglifycss-0.0.29.tgz", - "integrity": "sha512-J2SQ2QLjiknNGbNdScaNZsXgmMGI0kYNrXaDlr4obnPW9ni1jljb1NeEVWAiTgZ8z+EBWP2ozfT9vpy03rjlMQ==", - "dev": true, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/clap": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/clap/-/clap-3.1.1.tgz", + "integrity": "sha512-vp42956Ax06WwaaheYEqEOgXZ3VKJxgccZ0gJL0HpyiupkIS9RVJFo5eDU1BPeQAOqz+cclndZg4DCqG1sJReQ==", + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/css-tree": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz", + "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", + "dependencies": { + "mdn-data": "2.0.28", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/csso": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz", + "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", + "dependencies": { + "css-tree": "~2.2.0" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/csso-cli": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/csso-cli/-/csso-cli-4.0.1.tgz", + "integrity": "sha512-T5kLxv6Z439JzWd0v1pTTsqLcb0XrnzlUqavyLh770GZEPjgkqc/3yyGWx71bRHz3h4o0zppPDXUAdGczHahMw==", + "dependencies": { + "chokidar": "^3.5.3", + "clap": "^3.1.1", + "csso": "^5.0.4", + "source-map-js": "^1.0.2" + }, "bin": { - "uglifycss": "uglifycss" + "csso": "bin/csso" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/mdn-data": { + "version": "2.0.28", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", + "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" }, "engines": { - "node": ">=6.4.0" + "node": ">=8.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" } } }, "dependencies": { - "uglifycss": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/uglifycss/-/uglifycss-0.0.29.tgz", - "integrity": "sha512-J2SQ2QLjiknNGbNdScaNZsXgmMGI0kYNrXaDlr4obnPW9ni1jljb1NeEVWAiTgZ8z+EBWP2ozfT9vpy03rjlMQ==", - "dev": true + "ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==" + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "clap": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/clap/-/clap-3.1.1.tgz", + "integrity": "sha512-vp42956Ax06WwaaheYEqEOgXZ3VKJxgccZ0gJL0HpyiupkIS9RVJFo5eDU1BPeQAOqz+cclndZg4DCqG1sJReQ==", + "requires": { + "ansi-colors": "^4.1.1" + } + }, + "css-tree": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz", + "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", + "requires": { + "mdn-data": "2.0.28", + "source-map-js": "^1.0.1" + } + }, + "csso": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz", + "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", + "requires": { + "css-tree": "~2.2.0" + } + }, + "csso-cli": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/csso-cli/-/csso-cli-4.0.1.tgz", + "integrity": "sha512-T5kLxv6Z439JzWd0v1pTTsqLcb0XrnzlUqavyLh770GZEPjgkqc/3yyGWx71bRHz3h4o0zppPDXUAdGczHahMw==", + "requires": { + "chokidar": "^3.5.3", + "clap": "^3.1.1", + "csso": "^5.0.4", + "source-map-js": "^1.0.2" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "optional": true + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "mdn-data": { + "version": "2.0.28", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", + "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==" + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "requires": { + "picomatch": "^2.2.1" + } + }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } } } } diff --git a/package.json b/package.json index 3b10b1e..02fd3a8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A personal fork of Andy Bell's CSS reset", "private": true, "scripts": { - "build": "uglifycss src/reset.css > dist/reset.min.css && cp src/reset.css dist/reset.css" + "build": "csso src/reset.css --output dist/reset.min.css && cp src/reset.css dist/reset.css" }, "repository": { "type": "git", @@ -16,7 +16,7 @@ "url": "https://github.com/andyt96/modern-css-reset/issues" }, "homepage": "https://github.com/andyt96/modern-css-reset#readme", - "devDependencies": { - "uglifycss": "0.0.29" + "dependencies": { + "csso-cli": "^4.0.1" } } From e1ab8eb8e417b7b7e31752ffa8a9bfe19bf9dfa2 Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Fri, 16 Sep 2022 14:32:27 -0400 Subject: [PATCH 07/10] prettify files and replace csso with lightningcss --- dist/reset.min.css | 2 +- package-lock.json | 563 +++++++++++++++++---------------------------- package.json | 40 ++-- 3 files changed, 229 insertions(+), 376 deletions(-) diff --git a/dist/reset.min.css b/dist/reset.min.css index 30f3c78..3325957 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1 @@ -*,::after,::before{box-sizing:border-box}blockquote,body,dd,dl,figure,h1,h2,h3,h4,p{margin:0}ol[role=list],ul[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}address,button,input,select,textarea{font:inherit;letter-spacing:inherit;word-spacing:inherit}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,::after,::before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}} \ No newline at end of file +*,:before,:after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role=list],ol[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select,address{font:inherit;letter-spacing:inherit;word-spacing:inherit}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 72ff0f7..2a23067 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,418 +9,271 @@ "version": "1.4.0", "license": "MIT", "dependencies": { - "csso-cli": "^4.0.1" + "lightningcss-cli": "^1.15.1" } }, - "node_modules/ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/clap": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/clap/-/clap-3.1.1.tgz", - "integrity": "sha512-vp42956Ax06WwaaheYEqEOgXZ3VKJxgccZ0gJL0HpyiupkIS9RVJFo5eDU1BPeQAOqz+cclndZg4DCqG1sJReQ==", - "dependencies": { - "ansi-colors": "^4.1.1" + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "bin": { + "detect-libc": "bin/detect-libc.js" }, "engines": { - "node": "^12.20.0 || ^14.13.0 || >=15.0.0", - "npm": ">=7.0.0" + "node": ">=0.10" } }, - "node_modules/css-tree": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz", - "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", + "node_modules/lightningcss-cli": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli/-/lightningcss-cli-1.15.1.tgz", + "integrity": "sha512-rSHBcgO1IJz7aANmCw3wgiTPRvzUUNFF9w0UuUill2gD1tfVHJn9uDH0aokmflX+vBFApH+os0nqHt5w2R1tBA==", + "hasInstallScript": true, "dependencies": { - "mdn-data": "2.0.28", - "source-map-js": "^1.0.1" + "detect-libc": "^1.0.3" }, - "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/csso": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz", - "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", - "dependencies": { - "css-tree": "~2.2.0" + "bin": { + "lightningcss": "lightningcss" }, "engines": { - "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/csso-cli": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/csso-cli/-/csso-cli-4.0.1.tgz", - "integrity": "sha512-T5kLxv6Z439JzWd0v1pTTsqLcb0XrnzlUqavyLh770GZEPjgkqc/3yyGWx71bRHz3h4o0zppPDXUAdGczHahMw==", - "dependencies": { - "chokidar": "^3.5.3", - "clap": "^3.1.1", - "csso": "^5.0.4", - "source-map-js": "^1.0.2" + "node": ">= 12.0.0" }, - "bin": { - "csso": "bin/csso" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" }, + "optionalDependencies": { + "lightningcss-cli-darwin-arm64": "1.15.1", + "lightningcss-cli-darwin-x64": "1.15.1", + "lightningcss-cli-linux-arm-gnueabihf": "1.15.1", + "lightningcss-cli-linux-arm64-gnu": "1.15.1", + "lightningcss-cli-linux-arm64-musl": "1.15.1", + "lightningcss-cli-linux-x64-gnu": "1.15.1", + "lightningcss-cli-linux-x64-musl": "1.15.1", + "lightningcss-cli-win32-x64-msvc": "1.15.1" + } + }, + "node_modules/lightningcss-cli-darwin-arm64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.15.1.tgz", + "integrity": "sha512-HCxMpD9P2cgSej1uJeLslTibeIxgwMUblS/i5VnfMprKJQ7SbtaWg/CjOkWfS3Q6X0jz4MY4zj1Xiv2RngyHnA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dependencies": { - "to-regex-range": "^5.0.1" + "node": ">= 12.0.0" }, - "engines": { - "node": ">=8" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "hasInstallScript": true, + "node_modules/lightningcss-cli-darwin-x64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.15.1.tgz", + "integrity": "sha512-8kbmq1F7X8TfMhT5MyqObEfOcAfggeqAXUIB6UEjM0ZPWlAR9G+2+CzJPKb46DjvSCBCCJnevKaXUI1i55CAjg==", + "cpu": [ + "x64" + ], "optional": true, "os": [ "darwin" ], "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" + "node": ">= 12.0.0" }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "node_modules/lightningcss-cli-linux-arm-gnueabihf": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.15.1.tgz", + "integrity": "sha512-F3W1oia0PQGuq1WjmCeKDWKlC2oaQxphex6UKTeeA/qIEL4JKiFzL2XWOSg9qV2E0Pys9s2PBLaci3qxRKZbcw==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dependencies": { - "is-extglob": "^2.1.1" + "node": ">= 12.0.0" }, - "engines": { - "node": ">=0.10.0" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "node_modules/lightningcss-cli-linux-arm64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.15.1.tgz", + "integrity": "sha512-b8hKxfzeJnm1Zap8QWByHAK5FbkxSab9KJaWPXZ42/x+pg3VwE4R8g95BPOQdRy+8Z/RFMTH2XZisbtg/bSRVA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.12.0" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/mdn-data": { - "version": "2.0.28", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", - "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==" - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "node_modules/lightningcss-cli-linux-arm64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.15.1.tgz", + "integrity": "sha512-ATAFEviCEHMfXw5Kf25ywuyBKu9OiCTLHzeavWWHmjtr/Lp4ql9hVyOBZobJP8u/jVaE8JYHW/6mXricrlzmYg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.10.0" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "node_modules/lightningcss-cli-linux-x64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.15.1.tgz", + "integrity": "sha512-oSmCqup10VF2rfu8SZ3SZvmHhfB0IsURBKmgIoPeRfbLWCgVSv2Qm9HPExXExnLSl+z8w1ZYxNKh9lGHaRMzgg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=8.6" + "node": ">= 12.0.0" }, "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dependencies": { - "picomatch": "^2.2.1" - }, + "node_modules/lightningcss-cli-linux-x64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.15.1.tgz", + "integrity": "sha512-4bfIPf6hJi0NNdBB65CO7HQcN/u1XNCwzT6W4x2xZa0EzfpBWuDb7tf7F0OpA4evolUbDnTJU4lLn2k6by+FxA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=8.10.0" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "node_modules/lightningcss-cli-win32-x64-msvc": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.15.1.tgz", + "integrity": "sha512-ljwJl8EaIY3+nB5l261+BAnkRIXL4fMOjR/J9uwcVetGX9voxGZGLRig16F8IOn6kMA9t+hcXHGF7HyQFJrrUA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" + "node": ">= 12.0.0" }, - "engines": { - "node": ">=8.0" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } } }, "dependencies": { - "ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==" - }, - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "requires": { - "fill-range": "^7.0.1" - } - }, - "chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "clap": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/clap/-/clap-3.1.1.tgz", - "integrity": "sha512-vp42956Ax06WwaaheYEqEOgXZ3VKJxgccZ0gJL0HpyiupkIS9RVJFo5eDU1BPeQAOqz+cclndZg4DCqG1sJReQ==", - "requires": { - "ansi-colors": "^4.1.1" - } - }, - "css-tree": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz", - "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==", + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==" + }, + "lightningcss-cli": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli/-/lightningcss-cli-1.15.1.tgz", + "integrity": "sha512-rSHBcgO1IJz7aANmCw3wgiTPRvzUUNFF9w0UuUill2gD1tfVHJn9uDH0aokmflX+vBFApH+os0nqHt5w2R1tBA==", "requires": { - "mdn-data": "2.0.28", - "source-map-js": "^1.0.1" - } - }, - "csso": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz", - "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==", - "requires": { - "css-tree": "~2.2.0" - } - }, - "csso-cli": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/csso-cli/-/csso-cli-4.0.1.tgz", - "integrity": "sha512-T5kLxv6Z439JzWd0v1pTTsqLcb0XrnzlUqavyLh770GZEPjgkqc/3yyGWx71bRHz3h4o0zppPDXUAdGczHahMw==", - "requires": { - "chokidar": "^3.5.3", - "clap": "^3.1.1", - "csso": "^5.0.4", - "source-map-js": "^1.0.2" - } - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "detect-libc": "^1.0.3", + "lightningcss-cli-darwin-arm64": "1.15.1", + "lightningcss-cli-darwin-x64": "1.15.1", + "lightningcss-cli-linux-arm-gnueabihf": "1.15.1", + "lightningcss-cli-linux-arm64-gnu": "1.15.1", + "lightningcss-cli-linux-arm64-musl": "1.15.1", + "lightningcss-cli-linux-x64-gnu": "1.15.1", + "lightningcss-cli-linux-x64-musl": "1.15.1", + "lightningcss-cli-win32-x64-msvc": "1.15.1" + } + }, + "lightningcss-cli-darwin-arm64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.15.1.tgz", + "integrity": "sha512-HCxMpD9P2cgSej1uJeLslTibeIxgwMUblS/i5VnfMprKJQ7SbtaWg/CjOkWfS3Q6X0jz4MY4zj1Xiv2RngyHnA==", "optional": true }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "requires": { - "is-glob": "^4.0.1" - } - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + "lightningcss-cli-darwin-x64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.15.1.tgz", + "integrity": "sha512-8kbmq1F7X8TfMhT5MyqObEfOcAfggeqAXUIB6UEjM0ZPWlAR9G+2+CzJPKb46DjvSCBCCJnevKaXUI1i55CAjg==", + "optional": true }, - "mdn-data": { - "version": "2.0.28", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz", - "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==" + "lightningcss-cli-linux-arm-gnueabihf": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.15.1.tgz", + "integrity": "sha512-F3W1oia0PQGuq1WjmCeKDWKlC2oaQxphex6UKTeeA/qIEL4JKiFzL2XWOSg9qV2E0Pys9s2PBLaci3qxRKZbcw==", + "optional": true }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + "lightningcss-cli-linux-arm64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.15.1.tgz", + "integrity": "sha512-b8hKxfzeJnm1Zap8QWByHAK5FbkxSab9KJaWPXZ42/x+pg3VwE4R8g95BPOQdRy+8Z/RFMTH2XZisbtg/bSRVA==", + "optional": true }, - "picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + "lightningcss-cli-linux-arm64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.15.1.tgz", + "integrity": "sha512-ATAFEviCEHMfXw5Kf25ywuyBKu9OiCTLHzeavWWHmjtr/Lp4ql9hVyOBZobJP8u/jVaE8JYHW/6mXricrlzmYg==", + "optional": true }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "requires": { - "picomatch": "^2.2.1" - } + "lightningcss-cli-linux-x64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.15.1.tgz", + "integrity": "sha512-oSmCqup10VF2rfu8SZ3SZvmHhfB0IsURBKmgIoPeRfbLWCgVSv2Qm9HPExXExnLSl+z8w1ZYxNKh9lGHaRMzgg==", + "optional": true }, - "source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + "lightningcss-cli-linux-x64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.15.1.tgz", + "integrity": "sha512-4bfIPf6hJi0NNdBB65CO7HQcN/u1XNCwzT6W4x2xZa0EzfpBWuDb7tf7F0OpA4evolUbDnTJU4lLn2k6by+FxA==", + "optional": true }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "requires": { - "is-number": "^7.0.0" - } + "lightningcss-cli-win32-x64-msvc": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.15.1.tgz", + "integrity": "sha512-ljwJl8EaIY3+nB5l261+BAnkRIXL4fMOjR/J9uwcVetGX9voxGZGLRig16F8IOn6kMA9t+hcXHGF7HyQFJrrUA==", + "optional": true } } } diff --git a/package.json b/package.json index 02fd3a8..2025a09 100644 --- a/package.json +++ b/package.json @@ -1,22 +1,22 @@ { - "name": "modern-css-reset", - "version": "1.4.0", - "description": "A personal fork of Andy Bell's CSS reset", - "private": true, - "scripts": { - "build": "csso src/reset.css --output dist/reset.min.css && cp src/reset.css dist/reset.css" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/andyt96/modern-css-reset.git" - }, - "author": "Andy", - "license": "MIT", - "bugs": { - "url": "https://github.com/andyt96/modern-css-reset/issues" - }, - "homepage": "https://github.com/andyt96/modern-css-reset#readme", - "dependencies": { - "csso-cli": "^4.0.1" - } + "name": "modern-css-reset", + "version": "1.4.0", + "description": "A personal fork of Andy Bell's CSS reset", + "private": true, + "scripts": { + "build": "lightningcss -m src/reset.css -o dist/reset.min.css && cp src/reset.css dist/reset.css" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/andyt96/modern-css-reset.git" + }, + "author": "Andy", + "license": "MIT", + "bugs": { + "url": "https://github.com/andyt96/modern-css-reset/issues" + }, + "homepage": "https://github.com/andyt96/modern-css-reset#readme", + "dependencies": { + "lightningcss-cli": "^1.15.1" + } } From f71ed681ead9f797f44a4342bc6e00e361e6c94e Mon Sep 17 00:00:00 2001 From: Andy <59023864+andyt96@users.noreply.github.com> Date: Fri, 23 Sep 2022 12:25:37 -0400 Subject: [PATCH 08/10] add local prettier config and re-prettify files --- .prettierignore | 1 + .prettierrc | 8 + CONTRIBUTING.md | 77 +++--- LICENSE | 22 +- README.md | 5 +- package-lock.json | 578 ++++++++++++++++++++++++---------------------- package.json | 3 + 7 files changed, 369 insertions(+), 325 deletions(-) create mode 100644 .prettierignore create mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..1521c8b --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +dist diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..b9ffec3 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "bracketSpacing": true, + "bracketSameLine": true, + "printWidth": 75, + "proseWrap": "always", + "endOfLine": "lf", + "useTabs": true +} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cff7b90..b7b8445 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,27 +1,30 @@ # Contributing -When contributing to this repository, please first discuss the change you wish to make via issue, -email, or any other method with the owners of this repository before making a change. +When contributing to this repository, please first discuss the change you +wish to make via issue, email, or any other method with the owners of this +repository before making a change. -Please note we have a code of conduct, please follow it in all your interactions with the project. +Please note we have a code of conduct, please follow it in all your +interactions with the project. ## Pull Request Process -1. Ensure any install or build dependencies are removed before the end of the layer when doing a - build. +1. Ensure any install or build dependencies are removed before the end of + the layer when doing a build. 2. Ensure your work is thoroughly tested, to the best of your abilities -3. You may merge the Pull Request in once you have the sign-off from a maintainer +3. You may merge the Pull Request in once you have the sign-off from a + maintainer ## Code of Conduct ### Our Pledge In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of experience, -nationality, personal appearance, race, religion, or sexual identity and -orientation. +contributors and maintainers pledge to making participation in our project +and our community a harassment-free experience for everyone, regardless of +age, body size, disability, ethnicity, gender identity and expression, +level of experience, nationality, personal appearance, race, religion, or +sexual identity and orientation. ### Our Standards @@ -36,9 +39,10 @@ include: Examples of unacceptable behavior by participants include: -- The use of sexualized language or imagery and unwelcome sexual attention or - advances -- Trolling, insulting/derogatory comments, and personal or political attacks +- The use of sexualized language or imagery and unwelcome sexual attention + or advances +- Trolling, insulting/derogatory comments, and personal or political + attacks - Public or private harassment - Publishing others' private information, such as a physical or electronic address, without explicit permission @@ -47,44 +51,45 @@ Examples of unacceptable behavior by participants include: ### Our Responsibilities -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. +Project maintainers are responsible for clarifying the standards of +acceptable behavior and are expected to take appropriate and fair +corrective action in response to any instances of unacceptable behavior. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. +permanently any contributor for other behaviors that they deem +inappropriate, threatening, offensive, or harmful. ### Scope -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. +This Code of Conduct applies both within project spaces and in public +spaces when an individual is representing the project or its community. +Examples of representing a project or community include using an official +project e-mail address, posting via an official social media account, or +acting as an appointed representative at an online or offline event. +Representation of a project may be further defined and clarified by project +maintainers. ### Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at me@andy-bell.design. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. +complaints will be reviewed and investigated and will result in a response +that is deemed necessary and appropriate to the circumstances. The project +team is obligated to maintain confidentiality with regard to the reporter +of an incident. Further details of specific enforcement policies may be +posted separately. -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. +Project maintainers who do not follow or enforce the Code of Conduct in +good faith may face temporary or permanent repercussions as determined by +other members of the project's leadership. ### Attribution -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at [http://contributor-covenant.org/version/1/4][version] +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 1.4, available at +[http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org [version]: http://contributor-covenant.org/version/1/4/ - - diff --git a/LICENSE b/LICENSE index 81f0454..b274ff4 100644 --- a/LICENSE +++ b/LICENSE @@ -2,20 +2,20 @@ MIT License Copyright (c) 2019 Andy Bell and other contributors -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 9c854c1..2f6ed8e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # A modern CSS reset [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) -A tiny little reset that you can use as the basis of your CSS projects. You can read a [breakdown of it here](https://piccalil.li/blog/a-modern-css-reset/). +A tiny little reset that you can use as the basis of your CSS projects. You +can read a +[breakdown of it here](https://piccalil.li/blog/a-modern-css-reset/). + ## Manual installation First, let's clone this repository: diff --git a/package-lock.json b/package-lock.json index 2a23067..8f9deaf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,279 +1,303 @@ { - "name": "modern-css-reset", - "version": "1.4.0", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "modern-css-reset", - "version": "1.4.0", - "license": "MIT", - "dependencies": { - "lightningcss-cli": "^1.15.1" - } - }, - "node_modules/detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", - "bin": { - "detect-libc": "bin/detect-libc.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/lightningcss-cli": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli/-/lightningcss-cli-1.15.1.tgz", - "integrity": "sha512-rSHBcgO1IJz7aANmCw3wgiTPRvzUUNFF9w0UuUill2gD1tfVHJn9uDH0aokmflX+vBFApH+os0nqHt5w2R1tBA==", - "hasInstallScript": true, - "dependencies": { - "detect-libc": "^1.0.3" - }, - "bin": { - "lightningcss": "lightningcss" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "optionalDependencies": { - "lightningcss-cli-darwin-arm64": "1.15.1", - "lightningcss-cli-darwin-x64": "1.15.1", - "lightningcss-cli-linux-arm-gnueabihf": "1.15.1", - "lightningcss-cli-linux-arm64-gnu": "1.15.1", - "lightningcss-cli-linux-arm64-musl": "1.15.1", - "lightningcss-cli-linux-x64-gnu": "1.15.1", - "lightningcss-cli-linux-x64-musl": "1.15.1", - "lightningcss-cli-win32-x64-msvc": "1.15.1" - } - }, - "node_modules/lightningcss-cli-darwin-arm64": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.15.1.tgz", - "integrity": "sha512-HCxMpD9P2cgSej1uJeLslTibeIxgwMUblS/i5VnfMprKJQ7SbtaWg/CjOkWfS3Q6X0jz4MY4zj1Xiv2RngyHnA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-cli-darwin-x64": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.15.1.tgz", - "integrity": "sha512-8kbmq1F7X8TfMhT5MyqObEfOcAfggeqAXUIB6UEjM0ZPWlAR9G+2+CzJPKb46DjvSCBCCJnevKaXUI1i55CAjg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-cli-linux-arm-gnueabihf": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.15.1.tgz", - "integrity": "sha512-F3W1oia0PQGuq1WjmCeKDWKlC2oaQxphex6UKTeeA/qIEL4JKiFzL2XWOSg9qV2E0Pys9s2PBLaci3qxRKZbcw==", - "cpu": [ - "arm" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-cli-linux-arm64-gnu": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.15.1.tgz", - "integrity": "sha512-b8hKxfzeJnm1Zap8QWByHAK5FbkxSab9KJaWPXZ42/x+pg3VwE4R8g95BPOQdRy+8Z/RFMTH2XZisbtg/bSRVA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-cli-linux-arm64-musl": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.15.1.tgz", - "integrity": "sha512-ATAFEviCEHMfXw5Kf25ywuyBKu9OiCTLHzeavWWHmjtr/Lp4ql9hVyOBZobJP8u/jVaE8JYHW/6mXricrlzmYg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-cli-linux-x64-gnu": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.15.1.tgz", - "integrity": "sha512-oSmCqup10VF2rfu8SZ3SZvmHhfB0IsURBKmgIoPeRfbLWCgVSv2Qm9HPExXExnLSl+z8w1ZYxNKh9lGHaRMzgg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-cli-linux-x64-musl": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.15.1.tgz", - "integrity": "sha512-4bfIPf6hJi0NNdBB65CO7HQcN/u1XNCwzT6W4x2xZa0EzfpBWuDb7tf7F0OpA4evolUbDnTJU4lLn2k6by+FxA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/lightningcss-cli-win32-x64-msvc": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.15.1.tgz", - "integrity": "sha512-ljwJl8EaIY3+nB5l261+BAnkRIXL4fMOjR/J9uwcVetGX9voxGZGLRig16F8IOn6kMA9t+hcXHGF7HyQFJrrUA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - } - }, - "dependencies": { - "detect-libc": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==" - }, - "lightningcss-cli": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli/-/lightningcss-cli-1.15.1.tgz", - "integrity": "sha512-rSHBcgO1IJz7aANmCw3wgiTPRvzUUNFF9w0UuUill2gD1tfVHJn9uDH0aokmflX+vBFApH+os0nqHt5w2R1tBA==", - "requires": { - "detect-libc": "^1.0.3", - "lightningcss-cli-darwin-arm64": "1.15.1", - "lightningcss-cli-darwin-x64": "1.15.1", - "lightningcss-cli-linux-arm-gnueabihf": "1.15.1", - "lightningcss-cli-linux-arm64-gnu": "1.15.1", - "lightningcss-cli-linux-arm64-musl": "1.15.1", - "lightningcss-cli-linux-x64-gnu": "1.15.1", - "lightningcss-cli-linux-x64-musl": "1.15.1", - "lightningcss-cli-win32-x64-msvc": "1.15.1" - } - }, - "lightningcss-cli-darwin-arm64": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.15.1.tgz", - "integrity": "sha512-HCxMpD9P2cgSej1uJeLslTibeIxgwMUblS/i5VnfMprKJQ7SbtaWg/CjOkWfS3Q6X0jz4MY4zj1Xiv2RngyHnA==", - "optional": true - }, - "lightningcss-cli-darwin-x64": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.15.1.tgz", - "integrity": "sha512-8kbmq1F7X8TfMhT5MyqObEfOcAfggeqAXUIB6UEjM0ZPWlAR9G+2+CzJPKb46DjvSCBCCJnevKaXUI1i55CAjg==", - "optional": true - }, - "lightningcss-cli-linux-arm-gnueabihf": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.15.1.tgz", - "integrity": "sha512-F3W1oia0PQGuq1WjmCeKDWKlC2oaQxphex6UKTeeA/qIEL4JKiFzL2XWOSg9qV2E0Pys9s2PBLaci3qxRKZbcw==", - "optional": true - }, - "lightningcss-cli-linux-arm64-gnu": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.15.1.tgz", - "integrity": "sha512-b8hKxfzeJnm1Zap8QWByHAK5FbkxSab9KJaWPXZ42/x+pg3VwE4R8g95BPOQdRy+8Z/RFMTH2XZisbtg/bSRVA==", - "optional": true - }, - "lightningcss-cli-linux-arm64-musl": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.15.1.tgz", - "integrity": "sha512-ATAFEviCEHMfXw5Kf25ywuyBKu9OiCTLHzeavWWHmjtr/Lp4ql9hVyOBZobJP8u/jVaE8JYHW/6mXricrlzmYg==", - "optional": true - }, - "lightningcss-cli-linux-x64-gnu": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.15.1.tgz", - "integrity": "sha512-oSmCqup10VF2rfu8SZ3SZvmHhfB0IsURBKmgIoPeRfbLWCgVSv2Qm9HPExXExnLSl+z8w1ZYxNKh9lGHaRMzgg==", - "optional": true - }, - "lightningcss-cli-linux-x64-musl": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.15.1.tgz", - "integrity": "sha512-4bfIPf6hJi0NNdBB65CO7HQcN/u1XNCwzT6W4x2xZa0EzfpBWuDb7tf7F0OpA4evolUbDnTJU4lLn2k6by+FxA==", - "optional": true - }, - "lightningcss-cli-win32-x64-msvc": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.15.1.tgz", - "integrity": "sha512-ljwJl8EaIY3+nB5l261+BAnkRIXL4fMOjR/J9uwcVetGX9voxGZGLRig16F8IOn6kMA9t+hcXHGF7HyQFJrrUA==", - "optional": true - } - } + "name": "modern-css-reset", + "version": "1.4.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "modern-css-reset", + "version": "1.4.0", + "license": "MIT", + "dependencies": { + "lightningcss-cli": "^1.15.1" + }, + "devDependencies": { + "prettier": "2.7.1" + } + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/lightningcss-cli": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli/-/lightningcss-cli-1.15.1.tgz", + "integrity": "sha512-rSHBcgO1IJz7aANmCw3wgiTPRvzUUNFF9w0UuUill2gD1tfVHJn9uDH0aokmflX+vBFApH+os0nqHt5w2R1tBA==", + "hasInstallScript": true, + "dependencies": { + "detect-libc": "^1.0.3" + }, + "bin": { + "lightningcss": "lightningcss" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-cli-darwin-arm64": "1.15.1", + "lightningcss-cli-darwin-x64": "1.15.1", + "lightningcss-cli-linux-arm-gnueabihf": "1.15.1", + "lightningcss-cli-linux-arm64-gnu": "1.15.1", + "lightningcss-cli-linux-arm64-musl": "1.15.1", + "lightningcss-cli-linux-x64-gnu": "1.15.1", + "lightningcss-cli-linux-x64-musl": "1.15.1", + "lightningcss-cli-win32-x64-msvc": "1.15.1" + } + }, + "node_modules/lightningcss-cli-darwin-arm64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.15.1.tgz", + "integrity": "sha512-HCxMpD9P2cgSej1uJeLslTibeIxgwMUblS/i5VnfMprKJQ7SbtaWg/CjOkWfS3Q6X0jz4MY4zj1Xiv2RngyHnA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-cli-darwin-x64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.15.1.tgz", + "integrity": "sha512-8kbmq1F7X8TfMhT5MyqObEfOcAfggeqAXUIB6UEjM0ZPWlAR9G+2+CzJPKb46DjvSCBCCJnevKaXUI1i55CAjg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-cli-linux-arm-gnueabihf": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.15.1.tgz", + "integrity": "sha512-F3W1oia0PQGuq1WjmCeKDWKlC2oaQxphex6UKTeeA/qIEL4JKiFzL2XWOSg9qV2E0Pys9s2PBLaci3qxRKZbcw==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-cli-linux-arm64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.15.1.tgz", + "integrity": "sha512-b8hKxfzeJnm1Zap8QWByHAK5FbkxSab9KJaWPXZ42/x+pg3VwE4R8g95BPOQdRy+8Z/RFMTH2XZisbtg/bSRVA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-cli-linux-arm64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.15.1.tgz", + "integrity": "sha512-ATAFEviCEHMfXw5Kf25ywuyBKu9OiCTLHzeavWWHmjtr/Lp4ql9hVyOBZobJP8u/jVaE8JYHW/6mXricrlzmYg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-cli-linux-x64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.15.1.tgz", + "integrity": "sha512-oSmCqup10VF2rfu8SZ3SZvmHhfB0IsURBKmgIoPeRfbLWCgVSv2Qm9HPExXExnLSl+z8w1ZYxNKh9lGHaRMzgg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-cli-linux-x64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.15.1.tgz", + "integrity": "sha512-4bfIPf6hJi0NNdBB65CO7HQcN/u1XNCwzT6W4x2xZa0EzfpBWuDb7tf7F0OpA4evolUbDnTJU4lLn2k6by+FxA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-cli-win32-x64-msvc": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.15.1.tgz", + "integrity": "sha512-ljwJl8EaIY3+nB5l261+BAnkRIXL4fMOjR/J9uwcVetGX9voxGZGLRig16F8IOn6kMA9t+hcXHGF7HyQFJrrUA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + } + }, + "dependencies": { + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==" + }, + "lightningcss-cli": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli/-/lightningcss-cli-1.15.1.tgz", + "integrity": "sha512-rSHBcgO1IJz7aANmCw3wgiTPRvzUUNFF9w0UuUill2gD1tfVHJn9uDH0aokmflX+vBFApH+os0nqHt5w2R1tBA==", + "requires": { + "detect-libc": "^1.0.3", + "lightningcss-cli-darwin-arm64": "1.15.1", + "lightningcss-cli-darwin-x64": "1.15.1", + "lightningcss-cli-linux-arm-gnueabihf": "1.15.1", + "lightningcss-cli-linux-arm64-gnu": "1.15.1", + "lightningcss-cli-linux-arm64-musl": "1.15.1", + "lightningcss-cli-linux-x64-gnu": "1.15.1", + "lightningcss-cli-linux-x64-musl": "1.15.1", + "lightningcss-cli-win32-x64-msvc": "1.15.1" + } + }, + "lightningcss-cli-darwin-arm64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-arm64/-/lightningcss-cli-darwin-arm64-1.15.1.tgz", + "integrity": "sha512-HCxMpD9P2cgSej1uJeLslTibeIxgwMUblS/i5VnfMprKJQ7SbtaWg/CjOkWfS3Q6X0jz4MY4zj1Xiv2RngyHnA==", + "optional": true + }, + "lightningcss-cli-darwin-x64": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-darwin-x64/-/lightningcss-cli-darwin-x64-1.15.1.tgz", + "integrity": "sha512-8kbmq1F7X8TfMhT5MyqObEfOcAfggeqAXUIB6UEjM0ZPWlAR9G+2+CzJPKb46DjvSCBCCJnevKaXUI1i55CAjg==", + "optional": true + }, + "lightningcss-cli-linux-arm-gnueabihf": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm-gnueabihf/-/lightningcss-cli-linux-arm-gnueabihf-1.15.1.tgz", + "integrity": "sha512-F3W1oia0PQGuq1WjmCeKDWKlC2oaQxphex6UKTeeA/qIEL4JKiFzL2XWOSg9qV2E0Pys9s2PBLaci3qxRKZbcw==", + "optional": true + }, + "lightningcss-cli-linux-arm64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-gnu/-/lightningcss-cli-linux-arm64-gnu-1.15.1.tgz", + "integrity": "sha512-b8hKxfzeJnm1Zap8QWByHAK5FbkxSab9KJaWPXZ42/x+pg3VwE4R8g95BPOQdRy+8Z/RFMTH2XZisbtg/bSRVA==", + "optional": true + }, + "lightningcss-cli-linux-arm64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-arm64-musl/-/lightningcss-cli-linux-arm64-musl-1.15.1.tgz", + "integrity": "sha512-ATAFEviCEHMfXw5Kf25ywuyBKu9OiCTLHzeavWWHmjtr/Lp4ql9hVyOBZobJP8u/jVaE8JYHW/6mXricrlzmYg==", + "optional": true + }, + "lightningcss-cli-linux-x64-gnu": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-gnu/-/lightningcss-cli-linux-x64-gnu-1.15.1.tgz", + "integrity": "sha512-oSmCqup10VF2rfu8SZ3SZvmHhfB0IsURBKmgIoPeRfbLWCgVSv2Qm9HPExXExnLSl+z8w1ZYxNKh9lGHaRMzgg==", + "optional": true + }, + "lightningcss-cli-linux-x64-musl": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-linux-x64-musl/-/lightningcss-cli-linux-x64-musl-1.15.1.tgz", + "integrity": "sha512-4bfIPf6hJi0NNdBB65CO7HQcN/u1XNCwzT6W4x2xZa0EzfpBWuDb7tf7F0OpA4evolUbDnTJU4lLn2k6by+FxA==", + "optional": true + }, + "lightningcss-cli-win32-x64-msvc": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/lightningcss-cli-win32-x64-msvc/-/lightningcss-cli-win32-x64-msvc-1.15.1.tgz", + "integrity": "sha512-ljwJl8EaIY3+nB5l261+BAnkRIXL4fMOjR/J9uwcVetGX9voxGZGLRig16F8IOn6kMA9t+hcXHGF7HyQFJrrUA==", + "optional": true + }, + "prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true + } + } } diff --git a/package.json b/package.json index 2025a09..6cfbcc1 100644 --- a/package.json +++ b/package.json @@ -18,5 +18,8 @@ "homepage": "https://github.com/andyt96/modern-css-reset#readme", "dependencies": { "lightningcss-cli": "^1.15.1" + }, + "devDependencies": { + "prettier": "2.7.1" } } From 99807e2cb1ecd2a3f4a8924f2d0812555c9f2d08 Mon Sep 17 00:00:00 2001 From: kirti Date: Tue, 28 Mar 2023 01:48:35 +0530 Subject: [PATCH 09/10] webkit min-height error #50 --- dist/reset.css | 2 +- dist/reset.min.css | 2 +- src/reset.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/reset.css b/dist/reset.css index d6b767b..eabf56f 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -32,7 +32,7 @@ html:focus-within { /* Set core body defaults */ body { - min-height: 100vh; + min-height: 100%; } /* A elements that don't have a class get default styles */ diff --git a/dist/reset.min.css b/dist/reset.min.css index 3325957..5e8b261 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1 @@ -*,:before,:after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role=list],ol[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select,address{font:inherit;letter-spacing:inherit;word-spacing:inherit}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}} \ No newline at end of file +*,:before,:after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role=list],ol[role=list]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100%}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select,address{font:inherit;letter-spacing:inherit;word-spacing:inherit}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}} \ No newline at end of file diff --git a/src/reset.css b/src/reset.css index d6b767b..eabf56f 100644 --- a/src/reset.css +++ b/src/reset.css @@ -32,7 +32,7 @@ html:focus-within { /* Set core body defaults */ body { - min-height: 100vh; + min-height: 100%; } /* A elements that don't have a class get default styles */ From 48be9c4cd38ad6ae5e4277c12a12dd86ec71a0a3 Mon Sep 17 00:00:00 2001 From: kirti Date: Tue, 28 Mar 2023 01:51:15 +0530 Subject: [PATCH 10/10] webkit min-height error #50