diff --git a/.changeset/lovely-garlics-unite.md b/.changeset/lovely-garlics-unite.md new file mode 100644 index 000000000..9c8628a49 --- /dev/null +++ b/.changeset/lovely-garlics-unite.md @@ -0,0 +1,5 @@ +--- +"@ryanatkn/fuz": patch +--- + +improve `Package_Detail` diff --git a/package-lock.json b/package-lock.json index 39746bdeb..44943c67f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,14 +8,17 @@ "name": "@ryanatkn/fuz", "version": "0.97.1", "license": "MIT", + "dependencies": { + "@ryanatkn/fuz": "^0.97.1" + }, "devDependencies": { "@changesets/changelog-git": "^0.2.0", "@ryanatkn/belt": "^0.20.10", "@ryanatkn/eslint-config": "^0.1.2", "@ryanatkn/fuz_code": "^0.11.0", - "@ryanatkn/gro": "^0.115.0", + "@ryanatkn/gro": "^0.115.2", "@sveltejs/adapter-static": "^3.0.1", - "@sveltejs/kit": "^2.5.5", + "@sveltejs/kit": "^2.5.6", "@sveltejs/package": "^2.3.1", "@sveltejs/vite-plugin-svelte": "^3.1.0", "@types/node": "^20.12.7", @@ -28,7 +31,7 @@ "prettier-plugin-svelte": "^3.2.3", "prism-svelte": "^0.5.0", "prismjs": "^1.29.0", - "svelte": "^5.0.0-next.102", + "svelte": "^5.0.0-next.103", "svelte-check": "^3.6.9", "tslib": "^2.6.2", "typescript": "^5.4.5", @@ -59,7 +62,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", - "dev": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" @@ -237,7 +239,6 @@ "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", - "dev": true, "dependencies": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -251,7 +252,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "dev": true, "engines": { "node": ">=6.0.0" } @@ -260,7 +260,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "dev": true, "engines": { "node": ">=6.0.0" } @@ -268,14 +267,12 @@ "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -319,8 +316,7 @@ "node_modules/@polka/url": { "version": "1.0.0-next.25", "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.25.tgz", - "integrity": "sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==", - "dev": true + "integrity": "sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==" }, "node_modules/@rollup/rollup-linux-x64-gnu": { "version": "4.14.2", @@ -329,7 +325,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -343,7 +338,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -354,7 +348,6 @@ "version": "0.20.10", "resolved": "https://registry.npmjs.org/@ryanatkn/belt/-/belt-0.20.10.tgz", "integrity": "sha512-M28ixn2ahGoSa6wu7ieiaqMF4WUbcmkr6Ut6POM83rAX1jqxKZ0XPit8reVh4rkMCQLIYNDcJtCQAp+WSF7BTw==", - "dev": true, "engines": { "node": ">=20.10" }, @@ -380,11 +373,9 @@ } }, "node_modules/@ryanatkn/fuz": { - "version": "0.93.3", - "resolved": "https://registry.npmjs.org/@ryanatkn/fuz/-/fuz-0.93.3.tgz", - "integrity": "sha512-ow89X9YP/E4BCbuTJ8N6Ze6nshtkoiyrAbgXIbyQfWmGcpb7DqzP3JFRkicZso5BO+eXJRrQoA1Z5HNH+yRu2Q==", - "dev": true, - "peer": true, + "version": "0.97.1", + "resolved": "https://registry.npmjs.org/@ryanatkn/fuz/-/fuz-0.97.1.tgz", + "integrity": "sha512-Bu4dG601r1gS5oPaVE7eoNCyH676n8Ri9gUvRTWnAW2Zr5in4lrhgKROeMcX+RWWzrls0u4Brj4l9P4XVi8sjg==", "engines": { "node": ">=20.10" }, @@ -413,9 +404,9 @@ } }, "node_modules/@ryanatkn/gro": { - "version": "0.115.0", - "resolved": "https://registry.npmjs.org/@ryanatkn/gro/-/gro-0.115.0.tgz", - "integrity": "sha512-FgbyyDRoLxdO5X2OX9Ypz9B0zkQ/vij1/szyS+vdU3n0jiSSASVV+gQztMsMToV8tMrjx45bFB9ruU3JAh41Qw==", + "version": "0.115.2", + "resolved": "https://registry.npmjs.org/@ryanatkn/gro/-/gro-0.115.2.tgz", + "integrity": "sha512-RBS+EE1WRk/APTnW8VDn/lTj/J1GTN2nzvWwvXdM5QG01KmTqhzLhUxUSGFDBWR1+RWnwMuiUpKEj3G0I+P6JA==", "dev": true, "dependencies": { "@ryanatkn/belt": "^0.20.10", @@ -455,10 +446,9 @@ } }, "node_modules/@sveltejs/kit": { - "version": "2.5.5", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.5.5.tgz", - "integrity": "sha512-ULe3PB00q4+wYRL+IS5FDPsCEVnhEITofm7b9Yz8malcH3r1SAnW/JJ6T13hIMeu8QNRIuVQWo+P4+2VklbnLQ==", - "dev": true, + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.5.6.tgz", + "integrity": "sha512-AYb02Jm5MfNqJHc8zrj7ScQAFAKmTUCkpkfoi8EVaZZDdnjkvI7L2GtnTDhpiXSAZRVitZX4qm59sMS1FgL+lQ==", "hasInstallScript": true, "dependencies": { "@types/cookie": "^0.6.0", @@ -512,7 +502,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-3.1.0.tgz", "integrity": "sha512-sY6ncCvg+O3njnzbZexcVtUqOBE3iYmQPJ9y+yXSkOwG576QI/xJrBnQSRXFLGwJNBa0T78JEKg5cIR0WOAuUw==", - "dev": true, "dependencies": { "@sveltejs/vite-plugin-svelte-inspector": "^2.0.0", "debug": "^4.3.4", @@ -534,7 +523,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte-inspector/-/vite-plugin-svelte-inspector-2.1.0.tgz", "integrity": "sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==", - "dev": true, "dependencies": { "debug": "^4.3.4" }, @@ -551,7 +539,6 @@ "version": "0.16.0", "resolved": "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.16.0.tgz", "integrity": "sha512-Gyc7cOS3VJzLlfj7wKS0ZnzDVdv3Pn2IuVeJPk9m2skfhcu5bq3wtIZyQGggr7/Iim5rH5cncyQft/kRLupcnA==", - "dev": true, "engines": { "node": "^12.20 || ^14.13.1 || >= 16" }, @@ -589,14 +576,12 @@ "node_modules/@types/cookie": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==", - "dev": true + "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==" }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" }, "node_modules/@types/json-schema": { "version": "7.0.15", @@ -608,7 +593,7 @@ "version": "20.12.7", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", - "dev": true, + "devOptional": true, "dependencies": { "undici-types": "~5.26.4" } @@ -831,7 +816,6 @@ "version": "8.11.3", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", - "dev": true, "bin": { "acorn": "bin/acorn" }, @@ -852,7 +836,6 @@ "version": "1.4.13", "resolved": "https://registry.npmjs.org/acorn-typescript/-/acorn-typescript-1.4.13.tgz", "integrity": "sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==", - "dev": true, "peerDependencies": { "acorn": ">=8.9.0" } @@ -920,7 +903,6 @@ "version": "5.3.0", "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", - "dev": true, "dependencies": { "dequal": "^2.0.3" } @@ -938,7 +920,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.0.0.tgz", "integrity": "sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==", - "dev": true, "dependencies": { "dequal": "^2.0.3" } @@ -1074,7 +1055,6 @@ "version": "0.6.0", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", - "dev": true, "engines": { "node": ">= 0.6" } @@ -1109,7 +1089,6 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -1138,7 +1117,6 @@ "version": "4.3.1", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -1147,7 +1125,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", - "dev": true, "engines": { "node": ">=6" } @@ -1164,8 +1141,7 @@ "node_modules/devalue": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/devalue/-/devalue-4.3.2.tgz", - "integrity": "sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==", - "dev": true + "integrity": "sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==" }, "node_modules/diff": { "version": "5.2.0", @@ -1346,9 +1322,9 @@ } }, "node_modules/eslint-plugin-svelte": { - "version": "2.37.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.37.0.tgz", - "integrity": "sha512-H/2Gz7agYHEMEEzRuLYuCmAIdjuBnbhFG9hOK0yCdSBvvJGJMkjo+lR6j67OIvLOavgp4L7zA5LnDKi8WqdPhQ==", + "version": "2.36.0-next.13", + "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.36.0-next.13.tgz", + "integrity": "sha512-N4bLGdFkGbbAQiKvX17kLfBgnZ+Em00khOY3AReppO7fkP9jaSxwjdgTCcWf+Q5/uZWor58g4GleRqHcb2Dk2w==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", @@ -1357,12 +1333,12 @@ "eslint-compat-utils": "^0.5.0", "esutils": "^2.0.3", "known-css-properties": "^0.30.0", - "postcss": "^8.4.38", + "postcss": "^8.4.35", "postcss-load-config": "^3.1.4", "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.16", + "postcss-selector-parser": "^6.0.15", "semver": "^7.6.0", - "svelte-eslint-parser": ">=0.34.0 <1.0.0" + "svelte-eslint-parser": ">=0.34.0-next.12 <1.0.0" }, "engines": { "node": "^14.17.0 || >=16.0.0" @@ -1372,7 +1348,7 @@ }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0-0 || ^9.0.0-0", - "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.95" + "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.73" }, "peerDependenciesMeta": { "svelte": { @@ -1445,8 +1421,7 @@ "node_modules/esm-env": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.0.0.tgz", - "integrity": "sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==", - "dev": true + "integrity": "sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==" }, "node_modules/espree": { "version": "9.6.1", @@ -1481,7 +1456,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/esrap/-/esrap-1.2.1.tgz", "integrity": "sha512-dhkcOLfN/aDdMFI1iwPEcy/XqAZzGNfgfEJjZozy2tia6u0dQoZyXzkRshHTckuNsM+c0CYQndY+uRFe3N+AIQ==", - "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15", "@types/estree": "^1.0.1" @@ -1698,8 +1672,7 @@ "node_modules/globalyzer": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz", - "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==", - "dev": true + "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==" }, "node_modules/globby": { "version": "11.1.0", @@ -1724,8 +1697,7 @@ "node_modules/globrex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", - "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", - "dev": true + "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==" }, "node_modules/graceful-fs": { "version": "4.2.11", @@ -1777,7 +1749,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", "integrity": "sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==", - "dev": true, "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -1863,7 +1834,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.2.tgz", "integrity": "sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==", - "dev": true, "dependencies": { "@types/estree": "*" } @@ -1917,7 +1887,6 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", - "dev": true, "engines": { "node": ">=6" } @@ -1953,8 +1922,7 @@ "node_modules/locate-character": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz", - "integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==", - "dev": true + "integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==" }, "node_modules/locate-path": { "version": "6.0.0", @@ -2002,7 +1970,6 @@ "version": "0.30.9", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.9.tgz", "integrity": "sha512-S1+hd+dIrC8EZqKyT9DstTH/0Z+f76kmmvZnkfQVmOpDEF9iVgdYif3Q/pIWHmCoo59bQVGW0kVL3e2nl+9+Sw==", - "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" }, @@ -2081,7 +2048,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", - "dev": true, "engines": { "node": ">=4" } @@ -2090,7 +2056,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", "integrity": "sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==", - "dev": true, "engines": { "node": ">=10" } @@ -2098,14 +2063,12 @@ "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/nanoid": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "dev": true, "funding": [ { "type": "github", @@ -2267,8 +2230,7 @@ "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" }, "node_modules/picomatch": { "version": "2.3.1", @@ -2286,7 +2248,6 @@ "version": "8.4.38", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", - "dev": true, "funding": [ { "type": "opencollective", @@ -2522,7 +2483,6 @@ "version": "4.14.2", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.14.2.tgz", "integrity": "sha512-WkeoTWvuBoFjFAhsEOHKRoZ3r9GfTyhh7Vff1zwebEFLEFjT1lG3784xEgKiTa7E+e70vsC81roVL2MP4tgEEQ==", - "dev": true, "peer": true, "dependencies": { "@types/estree": "1.0.5" @@ -2580,7 +2540,6 @@ "version": "1.8.1", "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==", - "dev": true, "dependencies": { "mri": "^1.1.0" }, @@ -2630,8 +2589,7 @@ "node_modules/set-cookie-parser": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz", - "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==", - "dev": true + "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==" }, "node_modules/shebang-command": { "version": "2.0.0", @@ -2658,7 +2616,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz", "integrity": "sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==", - "dev": true, "dependencies": { "@polka/url": "^1.0.0-next.24", "mrmime": "^2.0.0", @@ -2696,7 +2653,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -2750,10 +2706,9 @@ } }, "node_modules/svelte": { - "version": "5.0.0-next.102", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.0.0-next.102.tgz", - "integrity": "sha512-T1U+S5fws4WEaG37U2kCiYrl8II0o4U68BTvIq/9GGk3jwXQ5jFMiFoFZ+FXZ27o1enSOCHGTu7WJHjJ3sk5Ig==", - "dev": true, + "version": "5.0.0-next.103", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.0.0-next.103.tgz", + "integrity": "sha512-U3YAXx/voOeDduzfHRaJuRqepR6f9WMIotG4JszkAlLCMldtShDHv8hO99oLseNMI/rWdDdCfykvNUmA22bBnA==", "dependencies": { "@ampproject/remapping": "^2.2.1", "@jridgewell/sourcemap-codec": "^1.4.15", @@ -2909,7 +2864,6 @@ "version": "0.2.9", "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz", "integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==", - "dev": true, "dependencies": { "globalyzer": "0.1.0", "globrex": "^0.1.2" @@ -2931,7 +2885,6 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz", "integrity": "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==", - "dev": true, "engines": { "node": ">=6" } @@ -3005,7 +2958,7 @@ "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "devOptional": true }, "node_modules/uri-js": { "version": "4.4.1", @@ -3044,7 +2997,6 @@ "version": "5.2.8", "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.8.tgz", "integrity": "sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==", - "dev": true, "peer": true, "dependencies": { "esbuild": "^0.20.1", @@ -3103,7 +3055,6 @@ "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -3117,7 +3068,6 @@ "version": "0.20.2", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==", - "dev": true, "hasInstallScript": true, "peer": true, "bin": { @@ -3156,7 +3106,6 @@ "version": "0.2.5", "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-0.2.5.tgz", "integrity": "sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==", - "dev": true, "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0" }, @@ -3217,8 +3166,7 @@ "node_modules/zimmerframe": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/zimmerframe/-/zimmerframe-1.1.2.tgz", - "integrity": "sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==", - "dev": true + "integrity": "sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==" }, "node_modules/zod": { "version": "3.22.4", diff --git a/package.json b/package.json index d3248c13f..d387532c9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "@ryanatkn/fuz", "version": "0.97.1", - "description": "Svelte UI library and CSS design system", + "description": "Svelte UI library", + "motto": "friendly user zystem", "icon": "🧶", "public": true, "license": "MIT", @@ -42,9 +43,9 @@ "@ryanatkn/belt": "^0.20.10", "@ryanatkn/eslint-config": "^0.1.2", "@ryanatkn/fuz_code": "^0.11.0", - "@ryanatkn/gro": "^0.115.0", + "@ryanatkn/gro": "^0.115.2", "@sveltejs/adapter-static": "^3.0.1", - "@sveltejs/kit": "^2.5.5", + "@sveltejs/kit": "^2.5.6", "@sveltejs/package": "^2.3.1", "@sveltejs/vite-plugin-svelte": "^3.1.0", "@types/node": "^20.12.7", @@ -57,7 +58,7 @@ "prettier-plugin-svelte": "^3.2.3", "prism-svelte": "^0.5.0", "prismjs": "^1.29.0", - "svelte": "^5.0.0-next.102", + "svelte": "^5.0.0-next.103", "svelte-check": "^3.6.9", "tslib": "^2.6.2", "typescript": "^5.4.5", @@ -394,5 +395,8 @@ "default": "./dist/Zzz_Logo.svelte", "types": "./dist/Zzz_Logo.svelte.d.ts" } + }, + "dependencies": { + "@ryanatkn/fuz": "^0.97.1" } } diff --git a/src/lib/Package_Detail.svelte b/src/lib/Package_Detail.svelte index 1804e9faf..b539f6baf 100644 --- a/src/lib/Package_Detail.svelte +++ b/src/lib/Package_Detail.svelte @@ -11,12 +11,13 @@ pkg: Package_Meta; // TODO normalized version with cached primitives? repo_name?: Snippet<[repo_name: string]>; description?: Snippet<[description: string]>; + motto?: Snippet<[description: string]>; npm_url?: Snippet<[npm_url: string]>; homepage_url?: Snippet<[homepage_url: string]>; children?: Snippet<[pkg: Package_Meta]>; } - const {pkg, repo_name, description, npm_url, homepage_url, children}: Props = $props(); + const {pkg, repo_name, description, motto, npm_url, homepage_url, children}: Props = $props(); // TODO show other data (lines of code) @@ -86,6 +87,13 @@
{package_json.description}
{/if} {/if} + {#if package_json.motto} + {#if motto} + {@render motto(package_json.motto)} + {:else} +
{package_json.motto}
+ {/if} + {/if} {#if pkg.npm_url} {#if npm_url} {@render npm_url(pkg.npm_url)} @@ -245,7 +253,6 @@ .repo_name { font-size: var(--size_xl2); font-weight: 400; - text-align: center; } .npm_url { font-family: var(--font_mono); @@ -255,6 +262,9 @@ .description { margin-bottom: var(--space_lg); } + .motto { + margin-bottom: var(--space_lg); + } .properties { display: grid; grid-template-columns: 80px 1fr; diff --git a/src/routes/package.ts b/src/routes/package.ts index ea3ac0386..6c0fd366f 100644 --- a/src/routes/package.ts +++ b/src/routes/package.ts @@ -6,7 +6,8 @@ import type {Src_Json} from '@ryanatkn/gro/src_json.js'; export const package_json = { name: '@ryanatkn/fuz', version: '0.97.1', - description: 'Svelte UI library and CSS design system', + description: 'Svelte UI library', + motto: 'friendly user zystem', icon: '🧶', public: true, license: 'MIT', @@ -31,9 +32,9 @@ export const package_json = { '@ryanatkn/belt': '^0.20.10', '@ryanatkn/eslint-config': '^0.1.2', '@ryanatkn/fuz_code': '^0.11.0', - '@ryanatkn/gro': '^0.115.0', + '@ryanatkn/gro': '^0.115.2', '@sveltejs/adapter-static': '^3.0.1', - '@sveltejs/kit': '^2.5.5', + '@sveltejs/kit': '^2.5.6', '@sveltejs/package': '^2.3.1', '@sveltejs/vite-plugin-svelte': '^3.1.0', '@types/node': '^20.12.7', @@ -46,7 +47,7 @@ export const package_json = { 'prettier-plugin-svelte': '^3.2.3', 'prism-svelte': '^0.5.0', prismjs: '^1.29.0', - svelte: '^5.0.0-next.102', + svelte: '^5.0.0-next.103', 'svelte-check': '^3.6.9', tslib: '^2.6.2', typescript: '^5.4.5', @@ -327,6 +328,7 @@ export const package_json = { types: './dist/Zzz_Logo.svelte.d.ts', }, }, + dependencies: {'@ryanatkn/fuz': '^0.97.1'}, } satisfies Package_Json; export const src_json = {