From 4b0fc13e8309600d47239f87c5db562621b6418a Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Mon, 30 Oct 2023 20:00:34 -0600 Subject: [PATCH] upgrade `@grogarden/gro` which adds `modules` to `package.ts` --- .changeset/metal-llamas-tap.md | 5 + package-lock.json | 277 +++++++++++++++++++++------------ package.json | 18 +-- src/lib/package.ts | 277 +++++++++++++++++++++++++++++++-- src/routes/+page.svelte | 22 +-- src/routes/Favicon.svelte | 13 ++ src/routes/about/+page.svelte | 48 ++++++ 7 files changed, 528 insertions(+), 132 deletions(-) create mode 100644 .changeset/metal-llamas-tap.md create mode 100644 src/routes/Favicon.svelte create mode 100644 src/routes/about/+page.svelte diff --git a/.changeset/metal-llamas-tap.md b/.changeset/metal-llamas-tap.md new file mode 100644 index 00000000..1c3976a8 --- /dev/null +++ b/.changeset/metal-llamas-tap.md @@ -0,0 +1,5 @@ +--- +'@grogarden/util': patch +--- + +upgrade `@grogarden/gro` which adds `modules` to `package.ts` diff --git a/package-lock.json b/package-lock.json index efb1fafa..ee50ea90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,17 +10,17 @@ "license": "MIT", "devDependencies": { "@changesets/changelog-git": "^0.1.14", - "@feltjs/eslint-config": "^0.4.0", - "@fuz.dev/fuz": "^0.73.0", - "@fuz.dev/fuz_library": "^0.11.0", - "@grogarden/gro": "^0.95.8", + "@feltjs/eslint-config": "^0.4.1", + "@fuz.dev/fuz": "^0.77.1", + "@fuz.dev/fuz_library": "^0.17.1", + "@grogarden/gro": "^0.98.1", "@sveltejs/adapter-static": "^2.0.3", - "@sveltejs/kit": "^1.26.0", + "@sveltejs/kit": "^1.27.2", "@sveltejs/package": "^2.2.2", - "@types/node": "^20.8.7", - "@typescript-eslint/eslint-plugin": "^6.8.0", - "@typescript-eslint/parser": "^6.8.0", - "eslint": "^8.51.0", + "@types/node": "^20.8.9", + "@typescript-eslint/eslint-plugin": "^6.9.1", + "@typescript-eslint/parser": "^6.9.1", + "eslint": "^8.52.0", "eslint-plugin-svelte": "^2.34.0", "kleur": "^4.1.5", "prettier": "^3.0.3", @@ -509,9 +509,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", - "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==", + "version": "8.52.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.52.0.tgz", + "integrity": "sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -527,9 +527,9 @@ } }, "node_modules/@feltjs/eslint-config": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@feltjs/eslint-config/-/eslint-config-0.4.0.tgz", - "integrity": "sha512-SMYZSaUdYv8VQnG3c+oEMZjvqomAwN1vFXCXFmOh4W6bJPgcoppwpZ5gNKmSJXOCwdSMeVNM0yksbsnfxqilyg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@feltjs/eslint-config/-/eslint-config-0.4.1.tgz", + "integrity": "sha512-kRedj6NXl9AD9NFKAGnxfVuyauJAMEkRYHOuWKdOzohtTWlRiK+9OWj17DpHLlNEy11qVSJSOm8N733P0yDWOg==", "dev": true, "engines": { "node": ">=16.6" @@ -544,9 +544,9 @@ } }, "node_modules/@fuz.dev/fuz": { - "version": "0.73.0", - "resolved": "https://registry.npmjs.org/@fuz.dev/fuz/-/fuz-0.73.0.tgz", - "integrity": "sha512-oVPjOAIwn18W8XUVcn39n+Va1r0TrJPLaY7uYn8/I643XbIp4hDqdtdudoKLkSEYrkRpYOy0h2s3mTkcfgoByw==", + "version": "0.77.1", + "resolved": "https://registry.npmjs.org/@fuz.dev/fuz/-/fuz-0.77.1.tgz", + "integrity": "sha512-QgdiVv4FFhy02KkMjeZP52WNqGPu2jvtEinslBqr5q51oO04tnoQr/3kYwlR9tZznhMT8scw9sI3AbJtX5RaYA==", "dev": true, "engines": { "node": ">=20.7" @@ -556,28 +556,26 @@ } }, "node_modules/@fuz.dev/fuz_library": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@fuz.dev/fuz_library/-/fuz_library-0.11.0.tgz", - "integrity": "sha512-v1dIXOCcAuY5MYRnCfNUZboSwgXyGg0AqHA/gMjE7bpL79wPi0sdj/juNUSQWXUBlL6wUORXwkkUdmWeVzCt1A==", + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/@fuz.dev/fuz_library/-/fuz_library-0.17.1.tgz", + "integrity": "sha512-NMnHQxAC2OxKVhJYXwBuB12ZP41Pk0EcSVXcluoHdJ4LrI99vgHHD6IiqNWeBcsjk745kYrbREMhc1DTrNZlSg==", "dev": true, - "dependencies": { - "@grogarden/util": "^0.15.0" - }, "engines": { "node": ">=20.7" }, "peerDependencies": { + "@grogarden/util": "*", "@sveltejs/kit": "*", "svelte": "*" } }, "node_modules/@grogarden/gro": { - "version": "0.95.8", - "resolved": "https://registry.npmjs.org/@grogarden/gro/-/gro-0.95.8.tgz", - "integrity": "sha512-BuIovoF8AOjRmf7y2nnVRFHz/HETx2tYELB8pFmaFC0DLkTRJwun7gCgpLjRszukGJn1aYreVXb5WZI5WRwstg==", + "version": "0.98.1", + "resolved": "https://registry.npmjs.org/@grogarden/gro/-/gro-0.98.1.tgz", + "integrity": "sha512-Zyi4oRq6HZCitx2PsTZQa5IB8dotC0Z9AnLb8pITEBEuKtwSHcLCnBz/z6VISpUp/L8mSGdbOKqOK/GA6slL8g==", "dev": true, "dependencies": { - "@grogarden/util": "^0.15.1", + "@grogarden/util": "^0.15.2", "@ryanatkn/json-schema-to-typescript": "^11.1.5", "chokidar": "^3.5.3", "dotenv": "^16.3.1", @@ -587,6 +585,7 @@ "prettier": "^3.0.3", "prettier-plugin-svelte": "^3.0.3", "tiny-glob": "^0.2.9", + "ts-morph": "^20.0.0", "tslib": "^2.6.2", "zod": "^3.22.4" }, @@ -598,13 +597,13 @@ }, "peerDependencies": { "esbuild": "^0.18", - "svelte": "^4" + "svelte": "*" } }, "node_modules/@grogarden/util": { - "version": "0.15.1", - "resolved": "https://registry.npmjs.org/@grogarden/util/-/util-0.15.1.tgz", - "integrity": "sha512-gC0dWT9ZZhLR93nVD3qYYaBj+iA8EtSa9jMG3IyRPMTW/n98IeFESXwbgpfdCzfrTwj2Ph8K2VehTiLQpVJJrA==", + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/@grogarden/util/-/util-0.15.2.tgz", + "integrity": "sha512-KuMWVb+TZo4ASzMq1kxkOcPGZV/FL9K1qvUch4oM/Ag0FE/O+osdG5U+cBTa2Hs0jTk6tvc9+v+b2zg6XhVSVg==", "dev": true, "engines": { "node": ">=20.7" @@ -614,12 +613,12 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.11", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", - "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", + "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", + "@humanwhocodes/object-schema": "^2.0.1", "debug": "^4.1.1", "minimatch": "^3.0.5" }, @@ -641,9 +640,9 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", + "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", "dev": true }, "node_modules/@jridgewell/gen-mapping": { @@ -767,9 +766,9 @@ } }, "node_modules/@sveltejs/kit": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.26.0.tgz", - "integrity": "sha512-CV/AlTziC05yrz7UjVqEd0pH6+2dnrbmcnHGr2d3jXtmOgzNnlDkXtX8g3BfJ6nntsPD+0jtS2PzhvRHblRz4A==", + "version": "1.27.2", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.27.2.tgz", + "integrity": "sha512-2w2VbPpK8DI3QCSVa2UNAv5sKNks1LT8GsEdpk41ffOyO2znGx2ZwcRWacsqlvh3d9lncZuDdANvCbTbuKvy3Q==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -859,6 +858,57 @@ "vite": "^4.0.0" } }, + "node_modules/@ts-morph/common": { + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.21.0.tgz", + "integrity": "sha512-ES110Mmne5Vi4ypUKrtVQfXFDtCsDXiUiGxF6ILVlE90dDD4fdpC1LSjydl/ml7xJWKSDZwUYD2zkOePMSrPBA==", + "dev": true, + "dependencies": { + "fast-glob": "^3.2.12", + "minimatch": "^7.4.3", + "mkdirp": "^2.1.6", + "path-browserify": "^1.0.1" + } + }, + "node_modules/@ts-morph/common/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@ts-morph/common/node_modules/minimatch": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.6.tgz", + "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@ts-morph/common/node_modules/mkdirp": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", + "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==", + "dev": true, + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/@types/cookie": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.5.2.tgz", @@ -884,12 +934,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.8.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", - "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "version": "20.8.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", + "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", "dev": true, "dependencies": { - "undici-types": "~5.25.1" + "undici-types": "~5.26.4" } }, "node_modules/@types/pug": { @@ -899,22 +949,22 @@ "dev": true }, "node_modules/@types/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ==", "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.8.0.tgz", - "integrity": "sha512-GosF4238Tkes2SHPQ1i8f6rMtG6zlKwMEB0abqSJ3Npvos+doIlc/ATG+vX1G9coDF3Ex78zM3heXHLyWEwLUw==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.1.tgz", + "integrity": "sha512-w0tiiRc9I4S5XSXXrMHOWgHgxbrBn1Ro+PmiYhSg2ZVdxrAJtQgzU5o2m1BfP6UOn7Vxcc6152vFjQfmZR4xEg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.8.0", - "@typescript-eslint/type-utils": "6.8.0", - "@typescript-eslint/utils": "6.8.0", - "@typescript-eslint/visitor-keys": "6.8.0", + "@typescript-eslint/scope-manager": "6.9.1", + "@typescript-eslint/type-utils": "6.9.1", + "@typescript-eslint/utils": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -940,15 +990,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.8.0.tgz", - "integrity": "sha512-5tNs6Bw0j6BdWuP8Fx+VH4G9fEPDxnVI7yH1IAPkQH5RUtvKwRoqdecAPdQXv4rSOADAaz1LFBZvZG7VbXivSg==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.9.1.tgz", + "integrity": "sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.8.0", - "@typescript-eslint/types": "6.8.0", - "@typescript-eslint/typescript-estree": "6.8.0", - "@typescript-eslint/visitor-keys": "6.8.0", + "@typescript-eslint/scope-manager": "6.9.1", + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/typescript-estree": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1", "debug": "^4.3.4" }, "engines": { @@ -968,13 +1018,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.8.0.tgz", - "integrity": "sha512-xe0HNBVwCph7rak+ZHcFD6A+q50SMsFwcmfdjs9Kz4qDh5hWhaPhFjRs/SODEhroBI5Ruyvyz9LfwUJ624O40g==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.9.1.tgz", + "integrity": "sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.8.0", - "@typescript-eslint/visitor-keys": "6.8.0" + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -985,13 +1035,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.8.0.tgz", - "integrity": "sha512-RYOJdlkTJIXW7GSldUIHqc/Hkto8E+fZN96dMIFhuTJcQwdRoGN2rEWA8U6oXbLo0qufH7NPElUb+MceHtz54g==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.9.1.tgz", + "integrity": "sha512-eh2oHaUKCK58qIeYp19F5V5TbpM52680sB4zNSz29VBQPTWIlE/hCj5P5B1AChxECe/fmZlspAWFuRniep1Skg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.8.0", - "@typescript-eslint/utils": "6.8.0", + "@typescript-eslint/typescript-estree": "6.9.1", + "@typescript-eslint/utils": "6.9.1", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1012,9 +1062,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.8.0.tgz", - "integrity": "sha512-p5qOxSum7W3k+llc7owEStXlGmSl8FcGvhYt8Vjy7FqEnmkCVlM3P57XQEGj58oqaBWDQXbJDZxwUWMS/EAPNQ==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.9.1.tgz", + "integrity": "sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1025,13 +1075,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.8.0.tgz", - "integrity": "sha512-ISgV0lQ8XgW+mvv5My/+iTUdRmGspducmQcDw5JxznasXNnZn3SKNrTRuMsEXv+V/O+Lw9AGcQCfVaOPCAk/Zg==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.1.tgz", + "integrity": "sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.8.0", - "@typescript-eslint/visitor-keys": "6.8.0", + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1052,17 +1102,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.8.0.tgz", - "integrity": "sha512-dKs1itdE2qFG4jr0dlYLQVppqTE+Itt7GmIf/vX6CSvsW+3ov8PbWauVKyyfNngokhIO9sKZeRGCUo1+N7U98Q==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.9.1.tgz", + "integrity": "sha512-L1T0A5nFdQrMVunpZgzqPL6y2wVreSyHhKGZryS6jrEN7bD9NplVAyMryUhXsQ4TWLnZmxc2ekar/lSGIlprCA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.8.0", - "@typescript-eslint/types": "6.8.0", - "@typescript-eslint/typescript-estree": "6.8.0", + "@typescript-eslint/scope-manager": "6.9.1", + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/typescript-estree": "6.9.1", "semver": "^7.5.4" }, "engines": { @@ -1077,12 +1127,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.8.0.tgz", - "integrity": "sha512-oqAnbA7c+pgOhW2OhGvxm0t1BULX5peQI/rLsNDpGM78EebV3C9IGbX5HNZabuZ6UQrYveCLjKo8Iy/lLlBkkg==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.1.tgz", + "integrity": "sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.8.0", + "@typescript-eslint/types": "6.9.1", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -1093,6 +1143,12 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, "node_modules/acorn": { "version": "8.10.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", @@ -1304,6 +1360,12 @@ "fsevents": "~2.3.2" } }, + "node_modules/code-block-writer": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-12.0.0.tgz", + "integrity": "sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==", + "dev": true + }, "node_modules/code-red": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/code-red/-/code-red-1.0.4.tgz", @@ -1559,18 +1621,19 @@ } }, "node_modules/eslint": { - "version": "8.51.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz", - "integrity": "sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==", + "version": "8.52.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.52.0.tgz", + "integrity": "sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.51.0", - "@humanwhocodes/config-array": "^0.11.11", + "@eslint/js": "8.52.0", + "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -2475,6 +2538,12 @@ "tslib": "^2.0.3" } }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -3196,6 +3265,16 @@ "typescript": ">=4.2.0" } }, + "node_modules/ts-morph": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-20.0.0.tgz", + "integrity": "sha512-JVmEJy2Wow5n/84I3igthL9sudQ8qzjh/6i4tmYCm6IqYyKFlNbJZi7oBdjyqcWSWYRu3CtL0xbT6fS03ESZIg==", + "dev": true, + "dependencies": { + "@ts-morph/common": "~0.21.0", + "code-block-writer": "^12.0.0" + } + }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -3252,9 +3331,9 @@ } }, "node_modules/undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==", + "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 }, "node_modules/uri-js": { diff --git a/package.json b/package.json index 40c311e3..286d2437 100644 --- a/package.json +++ b/package.json @@ -42,17 +42,17 @@ }, "devDependencies": { "@changesets/changelog-git": "^0.1.14", - "@feltjs/eslint-config": "^0.4.0", - "@fuz.dev/fuz": "^0.73.0", - "@fuz.dev/fuz_library": "^0.11.0", - "@grogarden/gro": "^0.95.8", + "@feltjs/eslint-config": "^0.4.1", + "@fuz.dev/fuz": "^0.77.1", + "@fuz.dev/fuz_library": "^0.17.1", + "@grogarden/gro": "^0.98.1", "@sveltejs/adapter-static": "^2.0.3", - "@sveltejs/kit": "^1.26.0", + "@sveltejs/kit": "^1.27.2", "@sveltejs/package": "^2.2.2", - "@types/node": "^20.8.7", - "@typescript-eslint/eslint-plugin": "^6.8.0", - "@typescript-eslint/parser": "^6.8.0", - "eslint": "^8.51.0", + "@types/node": "^20.8.9", + "@typescript-eslint/eslint-plugin": "^6.9.1", + "@typescript-eslint/parser": "^6.9.1", + "eslint": "^8.52.0", "eslint-plugin-svelte": "^2.34.0", "kleur": "^4.1.5", "prettier": "^3.0.3", diff --git a/src/lib/package.ts b/src/lib/package.ts index b30d5b56..cb618c1b 100644 --- a/src/lib/package.ts +++ b/src/lib/package.ts @@ -1,3 +1,5 @@ +// generated by src/lib/package.gen.ts + import type {PackageJson} from '@grogarden/gro/package_json.js'; export const package_json = { @@ -23,17 +25,17 @@ export const package_json = { peerDependencies: {kleur: '^4.0.0'}, devDependencies: { '@changesets/changelog-git': '^0.1.14', - '@feltjs/eslint-config': '^0.4.0', - '@fuz.dev/fuz': '^0.73.0', - '@fuz.dev/fuz_library': '^0.11.0', - '@grogarden/gro': '^0.95.8', + '@feltjs/eslint-config': '^0.4.1', + '@fuz.dev/fuz': '^0.77.1', + '@fuz.dev/fuz_library': '^0.17.1', + '@grogarden/gro': '^0.98.1', '@sveltejs/adapter-static': '^2.0.3', - '@sveltejs/kit': '^1.26.0', + '@sveltejs/kit': '^1.27.2', '@sveltejs/package': '^2.2.2', - '@types/node': '^20.8.7', - '@typescript-eslint/eslint-plugin': '^6.8.0', - '@typescript-eslint/parser': '^6.8.0', - eslint: '^8.51.0', + '@types/node': '^20.8.9', + '@typescript-eslint/eslint-plugin': '^6.9.1', + '@typescript-eslint/parser': '^6.9.1', + eslint: '^8.52.0', 'eslint-plugin-svelte': '^2.34.0', kleur: '^4.1.5', prettier: '^3.0.3', @@ -80,4 +82,261 @@ export const package_json = { './timings.js': {default: './dist/timings.js', types: './dist/timings.d.ts'}, './types.js': {default: './dist/types.js', types: './dist/types.d.ts'}, }, + modules: { + './array.js': { + path: 'array.ts', + declarations: [ + {name: 'EMPTY_ARRAY', kind: 'VariableDeclaration'}, + {name: 'to_array', kind: 'VariableDeclaration'}, + {name: 'remove_unordered', kind: 'VariableDeclaration'}, + {name: 'to_next', kind: 'VariableDeclaration'}, + ], + }, + './async.js': { + path: 'async.ts', + declarations: [ + {name: 'AsyncStatus', kind: 'TypeAliasDeclaration'}, + {name: 'wait', kind: 'VariableDeclaration'}, + ], + }, + './counter.js': { + path: 'counter.ts', + declarations: [ + {name: 'Counter', kind: 'InterfaceDeclaration'}, + {name: 'create_counter', kind: 'VariableDeclaration'}, + ], + }, + './dom.js': { + path: 'dom.ts', + declarations: [ + {name: 'is_editable', kind: 'VariableDeclaration'}, + {name: 'swallow', kind: 'VariableDeclaration'}, + {name: 'handle_target_value', kind: 'VariableDeclaration'}, + {name: 'is_iframed', kind: 'VariableDeclaration'}, + ], + }, + './error.js': { + path: 'error.ts', + declarations: [{name: 'UnreachableError', kind: 'ClassDeclaration'}], + }, + './function.js': { + path: 'function.ts', + declarations: [ + {name: 'noop', kind: 'VariableDeclaration'}, + {name: 'noop_async', kind: 'VariableDeclaration'}, + {name: 'resolved', kind: 'VariableDeclaration'}, + {name: 'identity', kind: 'VariableDeclaration'}, + {name: 'Lazy', kind: 'InterfaceDeclaration'}, + {name: 'lazy', kind: 'VariableDeclaration'}, + ], + }, + './id.js': { + path: 'id.ts', + declarations: [ + {name: 'Uuid', kind: 'TypeAliasDeclaration'}, + {name: 'is_uuid', kind: 'VariableDeclaration'}, + {name: 'uuid_matcher', kind: 'VariableDeclaration'}, + {name: 'ClientIdCreator', kind: 'InterfaceDeclaration'}, + {name: 'create_client_id_creator', kind: 'VariableDeclaration'}, + ], + }, + './json.js': { + path: 'json.ts', + declarations: [ + {name: 'Json', kind: 'TypeAliasDeclaration'}, + {name: 'JsonType', kind: 'TypeAliasDeclaration'}, + {name: 'to_json_type', kind: 'VariableDeclaration'}, + ], + }, + './log.js': { + path: 'log.ts', + declarations: [ + {name: 'LogLevel', kind: 'TypeAliasDeclaration'}, + {name: 'to_log_level_value', kind: 'VariableDeclaration'}, + {name: 'configure_log_level', kind: 'VariableDeclaration'}, + {name: 'Log', kind: 'TypeAliasDeclaration'}, + {name: 'LoggerState', kind: 'InterfaceDeclaration'}, + {name: 'BaseLogger', kind: 'ClassDeclaration'}, + {name: 'Logger', kind: 'ClassDeclaration'}, + {name: 'SystemLogger', kind: 'ClassDeclaration'}, + {name: 'print_log_label', kind: 'VariableDeclaration'}, + ], + }, + './map.js': { + path: 'map.ts', + declarations: [ + {name: 'sort_map', kind: 'VariableDeclaration'}, + {name: 'compare_simple_map_entries', kind: 'VariableDeclaration'}, + ], + }, + './maths.js': { + path: 'maths.ts', + declarations: [ + {name: 'clamp', kind: 'VariableDeclaration'}, + {name: 'lerp', kind: 'VariableDeclaration'}, + {name: 'round', kind: 'VariableDeclaration'}, + {name: 'GR', kind: 'VariableDeclaration'}, + {name: 'GRi', kind: 'VariableDeclaration'}, + {name: 'GR2', kind: 'VariableDeclaration'}, + {name: 'GR2i', kind: 'VariableDeclaration'}, + {name: 'GR3', kind: 'VariableDeclaration'}, + {name: 'GR3i', kind: 'VariableDeclaration'}, + {name: 'GR4', kind: 'VariableDeclaration'}, + {name: 'GR4i', kind: 'VariableDeclaration'}, + {name: 'GR5', kind: 'VariableDeclaration'}, + {name: 'GR5i', kind: 'VariableDeclaration'}, + {name: 'GR6', kind: 'VariableDeclaration'}, + {name: 'GR6i', kind: 'VariableDeclaration'}, + {name: 'GR7', kind: 'VariableDeclaration'}, + {name: 'GR7i', kind: 'VariableDeclaration'}, + {name: 'GR8', kind: 'VariableDeclaration'}, + {name: 'GR8i', kind: 'VariableDeclaration'}, + {name: 'GR9', kind: 'VariableDeclaration'}, + {name: 'GR9i', kind: 'VariableDeclaration'}, + ], + }, + './object.js': { + path: 'object.ts', + declarations: [ + {name: 'map_record', kind: 'VariableDeclaration'}, + {name: 'omit', kind: 'VariableDeclaration'}, + {name: 'pick_by', kind: 'VariableDeclaration'}, + {name: 'omit_undefined', kind: 'VariableDeclaration'}, + {name: 'reorder', kind: 'VariableDeclaration'}, + {name: 'EMPTY_OBJECT', kind: 'VariableDeclaration'}, + {name: 'traverse', kind: 'VariableDeclaration'}, + ], + }, + './obtainable.js': { + path: 'obtainable.ts', + declarations: [ + {name: 'Unobtain', kind: 'TypeAliasDeclaration'}, + {name: 'create_obtainable', kind: 'VariableDeclaration'}, + ], + }, + './package.gen.js': {path: 'package.gen.ts', declarations: []}, + './package.js': { + path: 'package.ts', + declarations: [{name: 'package_json', kind: 'VariableDeclaration'}], + }, + './path.js': { + path: 'path.ts', + declarations: [ + {name: 'parse_path_parts', kind: 'VariableDeclaration'}, + {name: 'parse_path_segments', kind: 'VariableDeclaration'}, + {name: 'parse_path_pieces', kind: 'VariableDeclaration'}, + {name: 'PathPiece', kind: 'TypeAliasDeclaration'}, + ], + }, + './print.js': { + path: 'print.ts', + declarations: [ + {name: 'print_key_value', kind: 'VariableDeclaration'}, + {name: 'print_ms', kind: 'VariableDeclaration'}, + {name: 'print_causes', kind: 'VariableDeclaration'}, + {name: 'print_string', kind: 'VariableDeclaration'}, + {name: 'print_number', kind: 'VariableDeclaration'}, + {name: 'print_boolean', kind: 'VariableDeclaration'}, + {name: 'print_value', kind: 'VariableDeclaration'}, + {name: 'print_error', kind: 'VariableDeclaration'}, + {name: 'print_timing', kind: 'VariableDeclaration'}, + {name: 'print_timings', kind: 'VariableDeclaration'}, + ], + }, + './process.js': { + path: 'process.ts', + declarations: [ + {name: 'SpawnedProcess', kind: 'InterfaceDeclaration'}, + {name: 'Spawned', kind: 'InterfaceDeclaration'}, + {name: 'SpawnResult', kind: 'TypeAliasDeclaration'}, + {name: 'spawn', kind: 'VariableDeclaration'}, + {name: 'SpawnedOut', kind: 'InterfaceDeclaration'}, + {name: 'spawn_out', kind: 'VariableDeclaration'}, + {name: 'spawn_process', kind: 'VariableDeclaration'}, + {name: 'print_child_process', kind: 'VariableDeclaration'}, + {name: 'global_spawn', kind: 'VariableDeclaration'}, + {name: 'register_global_spawn', kind: 'VariableDeclaration'}, + {name: 'despawn', kind: 'VariableDeclaration'}, + {name: 'attach_process_error_handlers', kind: 'VariableDeclaration'}, + {name: 'print_spawn_result', kind: 'VariableDeclaration'}, + {name: 'RestartableProcess', kind: 'InterfaceDeclaration'}, + {name: 'spawn_restartable_process', kind: 'VariableDeclaration'}, + ], + }, + './random_alea.js': { + path: 'random_alea.ts', + declarations: [ + {name: 'Alea', kind: 'InterfaceDeclaration'}, + {name: 'create_random_alea', kind: 'VariableDeclaration'}, + {name: 'masher', kind: 'VariableDeclaration'}, + ], + }, + './random.js': { + path: 'random.ts', + declarations: [ + {name: 'random_float', kind: 'VariableDeclaration'}, + {name: 'random_int', kind: 'VariableDeclaration'}, + {name: 'random_boolean', kind: 'VariableDeclaration'}, + {name: 'random_item', kind: 'VariableDeclaration'}, + {name: 'shuffle', kind: 'VariableDeclaration'}, + ], + }, + './regexp.js': { + path: 'regexp.ts', + declarations: [{name: 'escape_regexp', kind: 'VariableDeclaration'}], + }, + './result.js': { + path: 'result.ts', + declarations: [ + {name: 'Result', kind: 'TypeAliasDeclaration'}, + {name: 'OK', kind: 'VariableDeclaration'}, + {name: 'NOT_OK', kind: 'VariableDeclaration'}, + {name: 'unwrap', kind: 'VariableDeclaration'}, + {name: 'ResultError', kind: 'ClassDeclaration'}, + {name: 'unwrap_error', kind: 'VariableDeclaration'}, + ], + }, + './string.js': { + path: 'string.ts', + declarations: [ + {name: 'truncate', kind: 'VariableDeclaration'}, + {name: 'strip_start', kind: 'VariableDeclaration'}, + {name: 'strip_end', kind: 'VariableDeclaration'}, + {name: 'strip_after', kind: 'VariableDeclaration'}, + {name: 'strip_before', kind: 'VariableDeclaration'}, + {name: 'ensure_start', kind: 'VariableDeclaration'}, + {name: 'ensure_end', kind: 'VariableDeclaration'}, + {name: 'deindent', kind: 'VariableDeclaration'}, + {name: 'plural', kind: 'VariableDeclaration'}, + {name: 'to_grapheme_count', kind: 'VariableDeclaration'}, + ], + }, + './timings.js': { + path: 'timings.ts', + declarations: [ + {name: 'Stopwatch', kind: 'InterfaceDeclaration'}, + {name: 'create_stopwatch', kind: 'VariableDeclaration'}, + {name: 'TimingsKey', kind: 'TypeAliasDeclaration'}, + {name: 'Timings', kind: 'ClassDeclaration'}, + ], + }, + './types.js': { + path: 'types.ts', + declarations: [ + {name: 'OmitStrict', kind: 'TypeAliasDeclaration'}, + {name: 'PartialExcept', kind: 'TypeAliasDeclaration'}, + {name: 'PartialOnly', kind: 'TypeAliasDeclaration'}, + {name: 'PartialValues', kind: 'TypeAliasDeclaration'}, + {name: 'Assignable', kind: 'TypeAliasDeclaration'}, + {name: 'Defined', kind: 'TypeAliasDeclaration'}, + {name: 'NotNull', kind: 'TypeAliasDeclaration'}, + {name: 'Branded', kind: 'TypeAliasDeclaration'}, + {name: 'Flavored', kind: 'TypeAliasDeclaration'}, + {name: 'Brand', kind: 'InterfaceDeclaration'}, + {name: 'Flavor', kind: 'InterfaceDeclaration'}, + ], + }, + }, } satisfies PackageJson; + +// generated by src/lib/package.gen.ts diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f0f6b373..35cf48b4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,9 +1,11 @@ @@ -14,16 +16,10 @@
-
-
under construction
- a pixelated green oak acorn with a glint of sun -
+
about
+
@@ -42,8 +38,4 @@ flex-direction: column; align-items: center; } - .icon { - width: 80px; - height: 80px; - } diff --git a/src/routes/Favicon.svelte b/src/routes/Favicon.svelte new file mode 100644 index 00000000..535341c5 --- /dev/null +++ b/src/routes/Favicon.svelte @@ -0,0 +1,13 @@ + + +the Gro icon, a {width} by {height} pixelated green oak acorn with a glint of sun diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte new file mode 100644 index 00000000..d6f459f5 --- /dev/null +++ b/src/routes/about/+page.svelte @@ -0,0 +1,48 @@ + + +
+
+
+
+

{pkg.repo_name}

+
+ +
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +