diff --git a/.github/workflows/deno-check.yml b/.github/workflows/deno-check.yml new file mode 100644 index 00000000..57dc7ad2 --- /dev/null +++ b/.github/workflows/deno-check.yml @@ -0,0 +1,38 @@ +name: Deno Check + +on: + push: + branches: [main] + paths: ["**/*.ts"] + pull_request: + branches: [main] + paths: ["**/*.ts"] + +env: + DENO_DIR: deno_cache + +jobs: + deno-check: + name: Check Deno code + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Deno + uses: denoland/setup-deno@v1 + with: + deno-version: v1.x + + - name: Cache Deno dependencies + uses: actions/cache@v3 + with: + key: ${{ hashFiles('src/deno.lock') }} + path: ${{ env.DENO_DIR }} + + - name: Check + working-directory: src + run: | + deno lint + deno check **/*.ts + deno fmt --check **/*.ts diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 670fb008..4259cc91 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -38,7 +38,7 @@ jobs: - name: Cache Deno dependencies uses: actions/cache@v3 with: - key: ${{ hashFiles('src/generate/deno.lock') }} + key: ${{ hashFiles('src/deno.lock') }} path: ${{ env.DENO_DIR }} - name: Generate health files diff --git a/.github/workflows/maintainers.yml b/.github/workflows/maintainers.yml index b233243c..8db43372 100644 --- a/.github/workflows/maintainers.yml +++ b/.github/workflows/maintainers.yml @@ -27,7 +27,7 @@ jobs: - name: Cache Deno dependencies uses: actions/cache@v3 with: - key: ${{ hashFiles('src/generate/deno.lock') }} + key: ${{ hashFiles('src/deno.lock') }} path: ${{ env.DENO_DIR }} - name: Sync maintainers diff --git a/.prettierignore b/.prettierignore index ce5bd52c..6040c83a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,5 @@ -/styles/codeberg/ +# Deno code is formatted with `deno fmt` +/src/*.ts + +# legacy stylus-preprocessor code /styles/reddit/ diff --git a/src/deno.json b/src/deno.json new file mode 100644 index 00000000..a249e809 --- /dev/null +++ b/src/deno.json @@ -0,0 +1,11 @@ +{ + "imports": { + "std/": "https://deno.land/std@0.206.0/", + "catppuccin-repo/": "https://raw.githubusercontent.com/catppuccin/catppuccin/91d6b5433730103c504dcf43583b594e418ee7c1/", + "ajv": "npm:ajv@8.12.0", + "octokit": "npm:@octokit/rest@20.0.2" + }, + "tasks": { + "update-types": "deno run -A 'npm:json-schema-to-typescript' ./userstyles.schema.json types/userstyles.d.ts" + } +} diff --git a/src/deno.lock b/src/deno.lock new file mode 100644 index 00000000..ceac7b6e --- /dev/null +++ b/src/deno.lock @@ -0,0 +1,305 @@ +{ + "version": "3", + "packages": { + "specifiers": { + "npm:@octokit/rest@20.0.2": "npm:@octokit/rest@20.0.2_@octokit+core@5.0.1", + "npm:ajv@8.12.0": "npm:ajv@8.12.0" + }, + "npm": { + "@octokit/auth-token@4.0.0": { + "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==", + "dependencies": {} + }, + "@octokit/core@5.0.1": { + "integrity": "sha512-lyeeeZyESFo+ffI801SaBKmCfsvarO+dgV8/0gD8u1d87clbEdWsP5yC+dSj3zLhb2eIf5SJrn6vDz9AheETHw==", + "dependencies": { + "@octokit/auth-token": "@octokit/auth-token@4.0.0", + "@octokit/graphql": "@octokit/graphql@7.0.2", + "@octokit/request": "@octokit/request@8.1.5", + "@octokit/request-error": "@octokit/request-error@5.0.1", + "@octokit/types": "@octokit/types@12.3.0", + "before-after-hook": "before-after-hook@2.2.3", + "universal-user-agent": "universal-user-agent@6.0.1" + } + }, + "@octokit/endpoint@9.0.2": { + "integrity": "sha512-qhKW8YLIi+Kmc92FQUFGr++DYtkx/1fBv+Thua6baqnjnOsgBYJDCvWZR1YcINuHGOEQt416WOfE+A/oG60NBQ==", + "dependencies": { + "@octokit/types": "@octokit/types@12.3.0", + "is-plain-object": "is-plain-object@5.0.0", + "universal-user-agent": "universal-user-agent@6.0.1" + } + }, + "@octokit/graphql@7.0.2": { + "integrity": "sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==", + "dependencies": { + "@octokit/request": "@octokit/request@8.1.5", + "@octokit/types": "@octokit/types@12.3.0", + "universal-user-agent": "universal-user-agent@6.0.1" + } + }, + "@octokit/openapi-types@19.0.2": { + "integrity": "sha512-8li32fUDUeml/ACRp/njCWTsk5t17cfTM1jp9n08pBrqs5cDFJubtjsSnuz56r5Tad6jdEPJld7LxNp9dNcyjQ==", + "dependencies": {} + }, + "@octokit/plugin-paginate-rest@9.1.4_@octokit+core@5.0.1": { + "integrity": "sha512-MvZx4WvfhBnt7PtH5XE7HORsO7bBk4er1FgRIUr1qJ89NR2I6bWjGyKsxk8z42FPQ34hFQm0Baanh4gzdZR4gQ==", + "dependencies": { + "@octokit/core": "@octokit/core@5.0.1", + "@octokit/types": "@octokit/types@12.3.0" + } + }, + "@octokit/plugin-request-log@4.0.0_@octokit+core@5.0.1": { + "integrity": "sha512-2uJI1COtYCq8Z4yNSnM231TgH50bRkheQ9+aH8TnZanB6QilOnx8RMD2qsnamSOXtDj0ilxvevf5fGsBhBBzKA==", + "dependencies": { + "@octokit/core": "@octokit/core@5.0.1" + } + }, + "@octokit/plugin-rest-endpoint-methods@10.1.5_@octokit+core@5.0.1": { + "integrity": "sha512-LMEdsMV8TTMjMTqVoqMzV95XTbv0ZsWxCxQtjAunQOCdwoDH4BVF/Ke5JMSZEVCWGI2kzxnUNbFnK/MxwV7NjA==", + "dependencies": { + "@octokit/core": "@octokit/core@5.0.1", + "@octokit/types": "@octokit/types@12.3.0" + } + }, + "@octokit/request-error@5.0.1": { + "integrity": "sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==", + "dependencies": { + "@octokit/types": "@octokit/types@12.3.0", + "deprecation": "deprecation@2.3.1", + "once": "once@1.4.0" + } + }, + "@octokit/request@8.1.5": { + "integrity": "sha512-zVKbNbX1xUluD9ZR4/tPs1yuYrK9xeh5fGZUXA6u04XGsTvomg0YO8/ZUC0FqAd49hAOEMFPAVUTh+2lBhOhLA==", + "dependencies": { + "@octokit/endpoint": "@octokit/endpoint@9.0.2", + "@octokit/request-error": "@octokit/request-error@5.0.1", + "@octokit/types": "@octokit/types@12.3.0", + "is-plain-object": "is-plain-object@5.0.0", + "universal-user-agent": "universal-user-agent@6.0.1" + } + }, + "@octokit/rest@20.0.2_@octokit+core@5.0.1": { + "integrity": "sha512-Ux8NDgEraQ/DMAU1PlAohyfBBXDwhnX2j33Z1nJNziqAfHi70PuxkFYIcIt8aIAxtRE7KVuKp8lSR8pA0J5iOQ==", + "dependencies": { + "@octokit/core": "@octokit/core@5.0.1", + "@octokit/plugin-paginate-rest": "@octokit/plugin-paginate-rest@9.1.4_@octokit+core@5.0.1", + "@octokit/plugin-request-log": "@octokit/plugin-request-log@4.0.0_@octokit+core@5.0.1", + "@octokit/plugin-rest-endpoint-methods": "@octokit/plugin-rest-endpoint-methods@10.1.5_@octokit+core@5.0.1" + } + }, + "@octokit/types@12.3.0": { + "integrity": "sha512-nJ8X2HRr234q3w/FcovDlA+ttUU4m1eJAourvfUUtwAWeqL8AsyRqfnLvVnYn3NFbUnsmzQCzLNdFerPwdmcDQ==", + "dependencies": { + "@octokit/openapi-types": "@octokit/openapi-types@19.0.2" + } + }, + "ajv@8.12.0": { + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dependencies": { + "fast-deep-equal": "fast-deep-equal@3.1.3", + "json-schema-traverse": "json-schema-traverse@1.0.0", + "require-from-string": "require-from-string@2.0.2", + "uri-js": "uri-js@4.4.1" + } + }, + "before-after-hook@2.2.3": { + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", + "dependencies": {} + }, + "deprecation@2.3.1": { + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", + "dependencies": {} + }, + "fast-deep-equal@3.1.3": { + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dependencies": {} + }, + "is-plain-object@5.0.0": { + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dependencies": {} + }, + "json-schema-traverse@1.0.0": { + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dependencies": {} + }, + "once@1.4.0": { + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "wrappy@1.0.2" + } + }, + "punycode@2.3.1": { + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dependencies": {} + }, + "require-from-string@2.0.2": { + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dependencies": {} + }, + "universal-user-agent@6.0.1": { + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==", + "dependencies": {} + }, + "uri-js@4.4.1": { + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "punycode@2.3.1" + } + }, + "wrappy@1.0.2": { + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dependencies": {} + } + } + }, + "remote": { + "https://deno.land/std@0.206.0/assert/_constants.ts": "8a9da298c26750b28b326b297316cdde860bc237533b07e1337c021379e6b2a9", + "https://deno.land/std@0.206.0/assert/_diff.ts": "58e1461cc61d8eb1eacbf2a010932bf6a05b79344b02ca38095f9b805795dc48", + "https://deno.land/std@0.206.0/assert/_format.ts": "a69126e8a469009adf4cf2a50af889aca364c349797e63174884a52ff75cf4c7", + "https://deno.land/std@0.206.0/assert/assert.ts": "9a97dad6d98c238938e7540736b826440ad8c1c1e54430ca4c4e623e585607ee", + "https://deno.land/std@0.206.0/assert/assert_almost_equals.ts": "e15ca1f34d0d5e0afae63b3f5d975cbd18335a132e42b0c747d282f62ad2cd6c", + "https://deno.land/std@0.206.0/assert/assert_array_includes.ts": "6856d7f2c3544bc6e62fb4646dfefa3d1df5ff14744d1bca19f0cbaf3b0d66c9", + "https://deno.land/std@0.206.0/assert/assert_equals.ts": "d8ec8a22447fbaf2fc9d7c3ed2e66790fdb74beae3e482855d75782218d68227", + "https://deno.land/std@0.206.0/assert/assert_exists.ts": "407cb6b9fb23a835cd8d5ad804e2e2edbbbf3870e322d53f79e1c7a512e2efd7", + "https://deno.land/std@0.206.0/assert/assert_false.ts": "0ccbcaae910f52c857192ff16ea08bda40fdc79de80846c206bfc061e8c851c6", + "https://deno.land/std@0.206.0/assert/assert_greater.ts": "ae2158a2d19313bf675bf7251d31c6dc52973edb12ac64ac8fc7064152af3e63", + "https://deno.land/std@0.206.0/assert/assert_greater_or_equal.ts": "1439da5ebbe20855446cac50097ac78b9742abe8e9a43e7de1ce1426d556e89c", + "https://deno.land/std@0.206.0/assert/assert_instance_of.ts": "3aedb3d8186e120812d2b3a5dea66a6e42bf8c57a8bd927645770bd21eea554c", + "https://deno.land/std@0.206.0/assert/assert_is_error.ts": "c21113094a51a296ffaf036767d616a78a2ae5f9f7bbd464cd0197476498b94b", + "https://deno.land/std@0.206.0/assert/assert_less.ts": "aec695db57db42ec3e2b62e97e1e93db0063f5a6ec133326cc290ff4b71b47e4", + "https://deno.land/std@0.206.0/assert/assert_less_or_equal.ts": "5fa8b6a3ffa20fd0a05032fe7257bf985d207b85685fdbcd23651b70f928c848", + "https://deno.land/std@0.206.0/assert/assert_match.ts": "c4083f80600bc190309903c95e397a7c9257ff8b5ae5c7ef91e834704e672e9b", + "https://deno.land/std@0.206.0/assert/assert_not_equals.ts": "9f1acab95bd1f5fc9a1b17b8027d894509a745d91bac1718fdab51dc76831754", + "https://deno.land/std@0.206.0/assert/assert_not_instance_of.ts": "0c14d3dfd9ab7a5276ed8ed0b18c703d79a3d106102077ec437bfe7ed912bd22", + "https://deno.land/std@0.206.0/assert/assert_not_match.ts": "3796a5b0c57a1ce6c1c57883dd4286be13a26f715ea662318ab43a8491a13ab0", + "https://deno.land/std@0.206.0/assert/assert_not_strict_equals.ts": "ca6c6d645e95fbc873d25320efeb8c4c6089a9a5e09f92d7c1c4b6e935c2a6ad", + "https://deno.land/std@0.206.0/assert/assert_object_match.ts": "d8fc2867cfd92eeacf9cea621e10336b666de1874a6767b5ec48988838370b54", + "https://deno.land/std@0.206.0/assert/assert_rejects.ts": "45c59724de2701e3b1f67c391d6c71c392363635aad3f68a1b3408f9efca0057", + "https://deno.land/std@0.206.0/assert/assert_strict_equals.ts": "b1f538a7ea5f8348aeca261d4f9ca603127c665e0f2bbfeb91fa272787c87265", + "https://deno.land/std@0.206.0/assert/assert_string_includes.ts": "b821d39ebf5cb0200a348863c86d8c4c4b398e02012ce74ad15666fc4b631b0c", + "https://deno.land/std@0.206.0/assert/assert_throws.ts": "63784e951475cb7bdfd59878cd25a0931e18f6dc32a6077c454b2cd94f4f4bcd", + "https://deno.land/std@0.206.0/assert/assertion_error.ts": "4d0bde9b374dfbcbe8ac23f54f567b77024fb67dbb1906a852d67fe050d42f56", + "https://deno.land/std@0.206.0/assert/equal.ts": "9f1a46d5993966d2596c44e5858eec821859b45f783a5ee2f7a695dfc12d8ece", + "https://deno.land/std@0.206.0/assert/fail.ts": "c36353d7ae6e1f7933d45f8ea51e358c8c4b67d7e7502028598fe1fea062e278", + "https://deno.land/std@0.206.0/assert/mod.ts": "37c49a26aae2b254bbe25723434dc28cd7532e444cf0b481a97c045d110ec085", + "https://deno.land/std@0.206.0/assert/unimplemented.ts": "d56fbeecb1f108331a380f72e3e010a1f161baa6956fd0f7cf3e095ae1a4c75a", + "https://deno.land/std@0.206.0/assert/unreachable.ts": "4600dc0baf7d9c15a7f7d234f00c23bca8f3eba8b140286aaca7aa998cf9a536", + "https://deno.land/std@0.206.0/fmt/colors.ts": "c51c4642678eb690dcf5ffee5918b675bf01a33fba82acf303701ae1a4f8c8d9", + "https://deno.land/std@0.206.0/path/_common/assert_path.ts": "061e4d093d4ba5aebceb2c4da3318bfe3289e868570e9d3a8e327d91c2958946", + "https://deno.land/std@0.206.0/path/_common/basename.ts": "0d978ff818f339cd3b1d09dc914881f4d15617432ae519c1b8fdc09ff8d3789a", + "https://deno.land/std@0.206.0/path/_common/common.ts": "9e4233b2eeb50f8b2ae10ecc2108f58583aea6fd3e8907827020282dc2b76143", + "https://deno.land/std@0.206.0/path/_common/constants.ts": "e49961f6f4f48039c0dfed3c3f93e963ca3d92791c9d478ac5b43183413136e0", + "https://deno.land/std@0.206.0/path/_common/dirname.ts": "2ba7fb4cc9fafb0f38028f434179579ce61d4d9e51296fad22b701c3d3cd7397", + "https://deno.land/std@0.206.0/path/_common/format.ts": "11aa62e316dfbf22c126917f5e03ea5fe2ee707386555a8f513d27ad5756cf96", + "https://deno.land/std@0.206.0/path/_common/from_file_url.ts": "ef1bf3197d2efbf0297a2bdbf3a61d804b18f2bcce45548ae112313ec5be3c22", + "https://deno.land/std@0.206.0/path/_common/glob_to_reg_exp.ts": "5c3c2b79fc2294ec803d102bd9855c451c150021f452046312819fbb6d4dc156", + "https://deno.land/std@0.206.0/path/_common/normalize.ts": "2ba7fb4cc9fafb0f38028f434179579ce61d4d9e51296fad22b701c3d3cd7397", + "https://deno.land/std@0.206.0/path/_common/normalize_string.ts": "88c472f28ae49525f9fe82de8c8816d93442d46a30d6bb5063b07ff8a89ff589", + "https://deno.land/std@0.206.0/path/_common/relative.ts": "1af19d787a2a84b8c534cc487424fe101f614982ae4851382c978ab2216186b4", + "https://deno.land/std@0.206.0/path/_common/strip_trailing_separators.ts": "7ffc7c287e97bdeeee31b155828686967f222cd73f9e5780bfe7dfb1b58c6c65", + "https://deno.land/std@0.206.0/path/_common/to_file_url.ts": "a8cdd1633bc9175b7eebd3613266d7c0b6ae0fb0cff24120b6092ac31662f9ae", + "https://deno.land/std@0.206.0/path/_interface.ts": "6471159dfbbc357e03882c2266d21ef9afdb1e4aa771b0545e90db58a0ba314b", + "https://deno.land/std@0.206.0/path/_os.ts": "30b0c2875f360c9296dbe6b7f2d528f0f9c741cecad2e97f803f5219e91b40a2", + "https://deno.land/std@0.206.0/path/basename.ts": "04bb5ef3e86bba8a35603b8f3b69537112cdd19ce64b77f2522006da2977a5f3", + "https://deno.land/std@0.206.0/path/common.ts": "f4d061c7d0b95a65c2a1a52439edec393e906b40f1caf4604c389fae7caa80f5", + "https://deno.land/std@0.206.0/path/dirname.ts": "88a0a71c21debafc4da7a4cd44fd32e899462df458fbca152390887d41c40361", + "https://deno.land/std@0.206.0/path/extname.ts": "2da4e2490f3b48b7121d19fb4c91681a5e11bd6bd99df4f6f47d7a71bb6ecdf2", + "https://deno.land/std@0.206.0/path/format.ts": "3457530cc85d1b4bab175f9ae73998b34fd456c830d01883169af0681b8894fb", + "https://deno.land/std@0.206.0/path/from_file_url.ts": "e7fa233ea1dff9641e8d566153a24d95010110185a6f418dd2e32320926043f8", + "https://deno.land/std@0.206.0/path/glob_to_regexp.ts": "74d7448c471e293d03f05ccb968df4365fed6aaa508506b6325a8efdc01d8271", + "https://deno.land/std@0.206.0/path/is_absolute.ts": "67232b41b860571c5b7537f4954c88d86ae2ba45e883ee37d3dec27b74909d13", + "https://deno.land/std@0.206.0/path/is_glob.ts": "567dce5c6656bdedfc6b3ee6c0833e1e4db2b8dff6e62148e94a917f289c06ad", + "https://deno.land/std@0.206.0/path/join.ts": "98d3d76c819af4a11a81d5ba2dbb319f1ce9d63fc2b615597d4bcfddd4a89a09", + "https://deno.land/std@0.206.0/path/join_globs.ts": "9b84d5103b63d3dbed4b2cf8b12477b2ad415c7d343f1488505162dc0e5f4db8", + "https://deno.land/std@0.206.0/path/mod.ts": "51c48d6da76cad6029b134951732025bc81910ef83f854d9e9c4581a1cc0155a", + "https://deno.land/std@0.206.0/path/normalize.ts": "aa95be9a92c7bd4f9dc0ba51e942a1973e2b93d266cd74f5ca751c136d520b66", + "https://deno.land/std@0.206.0/path/normalize_glob.ts": "674baa82e1c00b6cb153bbca36e06f8e0337cb8062db6d905ab5de16076ca46b", + "https://deno.land/std@0.206.0/path/parse.ts": "d87ff0deef3fb495bc0d862278ff96da5a06acf0625ca27769fc52ac0d3d6ece", + "https://deno.land/std@0.206.0/path/posix/_util.ts": "ecf49560fedd7dd376c6156cc5565cad97c1abe9824f4417adebc7acc36c93e5", + "https://deno.land/std@0.206.0/path/posix/basename.ts": "a630aeb8fd8e27356b1823b9dedd505e30085015407caa3396332752f6b8406a", + "https://deno.land/std@0.206.0/path/posix/common.ts": "e781d395dc76f6282e3f7dd8de13194abb8b04a82d109593141abc6e95755c8b", + "https://deno.land/std@0.206.0/path/posix/dirname.ts": "f48c9c42cc670803b505478b7ef162c7cfa9d8e751b59d278b2ec59470531472", + "https://deno.land/std@0.206.0/path/posix/extname.ts": "ee7f6571a9c0a37f9218fbf510c440d1685a7c13082c348d701396cc795e0be0", + "https://deno.land/std@0.206.0/path/posix/format.ts": "b94876f77e61bfe1f147d5ccb46a920636cd3cef8be43df330f0052b03875968", + "https://deno.land/std@0.206.0/path/posix/from_file_url.ts": "b97287a83e6407ac27bdf3ab621db3fccbf1c27df0a1b1f20e1e1b5acf38a379", + "https://deno.land/std@0.206.0/path/posix/glob_to_regexp.ts": "6ed00c71fbfe0ccc35977c35444f94e82200b721905a60bd1278b1b768d68b1a", + "https://deno.land/std@0.206.0/path/posix/is_absolute.ts": "159900a3422d11069d48395568217eb7fc105ceda2683d03d9b7c0f0769e01b8", + "https://deno.land/std@0.206.0/path/posix/is_glob.ts": "ec4fbc604b9db8487f7b56ab0e759b24a971ab6a45f7b0b698bc39b8b9f9680f", + "https://deno.land/std@0.206.0/path/posix/join.ts": "0c0d84bdc344876930126640011ec1b888e6facf74153ffad9ef26813aa2a076", + "https://deno.land/std@0.206.0/path/posix/join_globs.ts": "f4838d54b1f60a34a40625a3293f6e583135348be1b2974341ac04743cb26121", + "https://deno.land/std@0.206.0/path/posix/mod.ts": "f1b08a7f64294b7de87fc37190d63b6ce5b02889af9290c9703afe01951360ae", + "https://deno.land/std@0.206.0/path/posix/normalize.ts": "11de90a94ab7148cc46e5a288f7d732aade1d616bc8c862f5560fa18ff987b4b", + "https://deno.land/std@0.206.0/path/posix/normalize_glob.ts": "10a1840c628ebbab679254d5fa1c20e59106102354fb648a1765aed72eb9f3f9", + "https://deno.land/std@0.206.0/path/posix/parse.ts": "199208f373dd93a792e9c585352bfc73a6293411bed6da6d3bc4f4ef90b04c8e", + "https://deno.land/std@0.206.0/path/posix/relative.ts": "e2f230608b0f083e6deaa06e063943e5accb3320c28aef8d87528fbb7fe6504c", + "https://deno.land/std@0.206.0/path/posix/resolve.ts": "51579d83159d5c719518c9ae50812a63959bbcb7561d79acbdb2c3682236e285", + "https://deno.land/std@0.206.0/path/posix/separator.ts": "0b6573b5f3269a3164d8edc9cefc33a02dd51003731c561008c8bb60220ebac1", + "https://deno.land/std@0.206.0/path/posix/to_file_url.ts": "08d43ea839ee75e9b8b1538376cfe95911070a655cd312bc9a00f88ef14967b6", + "https://deno.land/std@0.206.0/path/posix/to_namespaced_path.ts": "c9228a0e74fd37e76622cd7b142b8416663a9b87db643302fa0926b5a5c83bdc", + "https://deno.land/std@0.206.0/path/relative.ts": "23d45ede8b7ac464a8299663a43488aad6b561414e7cbbe4790775590db6349c", + "https://deno.land/std@0.206.0/path/resolve.ts": "5b184efc87155a0af9fa305ff68a109e28de9aee81fc3e77cd01380f19daf867", + "https://deno.land/std@0.206.0/path/separator.ts": "40a3e9a4ad10bef23bc2cd6c610291b6c502a06237c2c4cd034a15ca78dedc1f", + "https://deno.land/std@0.206.0/path/to_file_url.ts": "edaafa089e0bce386e1b2d47afe7c72e379ff93b28a5829a5885e4b6c626d864", + "https://deno.land/std@0.206.0/path/to_namespaced_path.ts": "cf8734848aac3c7527d1689d2adf82132b1618eff3cc523a775068847416b22a", + "https://deno.land/std@0.206.0/path/windows/_util.ts": "f32b9444554c8863b9b4814025c700492a2b57ff2369d015360970a1b1099d54", + "https://deno.land/std@0.206.0/path/windows/basename.ts": "8a9dbf7353d50afbc5b221af36c02a72c2d1b2b5b9f7c65bf6a5a2a0baf88ad3", + "https://deno.land/std@0.206.0/path/windows/common.ts": "e781d395dc76f6282e3f7dd8de13194abb8b04a82d109593141abc6e95755c8b", + "https://deno.land/std@0.206.0/path/windows/dirname.ts": "5c2aa541384bf0bd9aca821275d2a8690e8238fa846198ef5c7515ce31a01a94", + "https://deno.land/std@0.206.0/path/windows/extname.ts": "07f4fa1b40d06a827446b3e3bcc8d619c5546b079b8ed0c77040bbef716c7614", + "https://deno.land/std@0.206.0/path/windows/format.ts": "343019130d78f172a5c49fdc7e64686a7faf41553268961e7b6c92a6d6548edf", + "https://deno.land/std@0.206.0/path/windows/from_file_url.ts": "d53335c12b0725893d768be3ac6bf0112cc5b639d2deb0171b35988493b46199", + "https://deno.land/std@0.206.0/path/windows/glob_to_regexp.ts": "290755e18ec6c1a4f4d711c3390537358e8e3179581e66261a0cf348b1a13395", + "https://deno.land/std@0.206.0/path/windows/is_absolute.ts": "245b56b5f355ede8664bd7f080c910a97e2169972d23075554ae14d73722c53c", + "https://deno.land/std@0.206.0/path/windows/is_glob.ts": "ec4fbc604b9db8487f7b56ab0e759b24a971ab6a45f7b0b698bc39b8b9f9680f", + "https://deno.land/std@0.206.0/path/windows/join.ts": "e6600bf88edeeef4e2276e155b8de1d5dec0435fd526ba2dc4d37986b2882f16", + "https://deno.land/std@0.206.0/path/windows/join_globs.ts": "f4838d54b1f60a34a40625a3293f6e583135348be1b2974341ac04743cb26121", + "https://deno.land/std@0.206.0/path/windows/mod.ts": "d7040f461465c2c21c1c68fc988ef0bdddd499912138cde3abf6ad60c7fb3814", + "https://deno.land/std@0.206.0/path/windows/normalize.ts": "9deebbf40c81ef540b7b945d4ccd7a6a2c5a5992f791e6d3377043031e164e69", + "https://deno.land/std@0.206.0/path/windows/normalize_glob.ts": "344ff5ed45430495b9a3d695567291e50e00b1b3b04ea56712a2acf07ab5c128", + "https://deno.land/std@0.206.0/path/windows/parse.ts": "120faf778fe1f22056f33ded069b68e12447668fcfa19540c0129561428d3ae5", + "https://deno.land/std@0.206.0/path/windows/relative.ts": "026855cd2c36c8f28f1df3c6fbd8f2449a2aa21f48797a74700c5d872b86d649", + "https://deno.land/std@0.206.0/path/windows/resolve.ts": "5ff441ab18a2346abadf778121128ee71bda4d0898513d4639a6ca04edca366b", + "https://deno.land/std@0.206.0/path/windows/separator.ts": "ae21f27015f10510ed1ac4a0ba9c4c9c967cbdd9d9e776a3e4967553c397bd5d", + "https://deno.land/std@0.206.0/path/windows/to_file_url.ts": "8e9ea9e1ff364aa06fa72999204229952d0a279dbb876b7b838b2b2fea55cce3", + "https://deno.land/std@0.206.0/path/windows/to_namespaced_path.ts": "e0f4d4a5e77f28a5708c1a33ff24360f35637ba6d8f103d19661255ef7bfd50d", + "https://deno.land/std@0.206.0/yaml/_dumper/dumper.ts": "717403d0e700de783f2ef5c906b3d7245383e1509fc050e7ff5d4a53a03dbf40", + "https://deno.land/std@0.206.0/yaml/_dumper/dumper_state.ts": "f0d0673ceea288334061ca34b63954c2bb5feb5bf6de5e4cfe9a942cdf6e5efe", + "https://deno.land/std@0.206.0/yaml/_error.ts": "b59e2c76ce5a47b1b9fa0ff9f96c1dd92ea1e1b17ce4347ece5944a95c3c1a84", + "https://deno.land/std@0.206.0/yaml/_loader/loader.ts": "63ec7f0a265dbbabc54b25a4beefff7650e205160a2d75c7d8f8363b5f84851a", + "https://deno.land/std@0.206.0/yaml/_loader/loader_state.ts": "0841870b467169269d7c2dfa75cd288c319bc06f65edd9e42c29e5fced91c7a4", + "https://deno.land/std@0.206.0/yaml/_mark.ts": "dcd8585dee585e024475e9f3fe27d29740670fb64ebb970388094cad0fc11d5d", + "https://deno.land/std@0.206.0/yaml/_state.ts": "ef03d55ec235d48dcfbecc0ab3ade90bfae69a61094846e08003421c2cf5cfc6", + "https://deno.land/std@0.206.0/yaml/_type/binary.ts": "24d49614463a7339a8a16d894919c2ec18a10588ae360ec352093b60e2cc8b0d", + "https://deno.land/std@0.206.0/yaml/_type/bool.ts": "5bfa75da84343d45347b521ba4e5aeace9fe6f53447405290d53315a3fc20e66", + "https://deno.land/std@0.206.0/yaml/_type/float.ts": "056bd3cb9c5586238b20517511014fb24b0e36f98f9f6073e12da308b6b9808a", + "https://deno.land/std@0.206.0/yaml/_type/function.ts": "ff574fe84a750695302864e1c31b93f12d14ada4bde79a5f93197fc33ad17471", + "https://deno.land/std@0.206.0/yaml/_type/int.ts": "563ad074f0fa7aecf6b6c3d84135bcc95a8269dcc15de878de20ce868fd773fa", + "https://deno.land/std@0.206.0/yaml/_type/map.ts": "7b105e4ab03a361c61e7e335a0baf4d40f06460b13920e5af3fb2783a1464000", + "https://deno.land/std@0.206.0/yaml/_type/merge.ts": "8192bf3e4d637f32567917f48bb276043da9cf729cf594e5ec191f7cd229337e", + "https://deno.land/std@0.206.0/yaml/_type/mod.ts": "060e2b3d38725094b77ea3a3f05fc7e671fced8e67ca18e525be98c4aa8f4bbb", + "https://deno.land/std@0.206.0/yaml/_type/nil.ts": "606e8f0c44d73117c81abec822f89ef81e40f712258c74f186baa1af659b8887", + "https://deno.land/std@0.206.0/yaml/_type/omap.ts": "cfe59a294726f5cea705c39a61fd2b08199cf48f4ccd6b040cb550ec0f38d0a1", + "https://deno.land/std@0.206.0/yaml/_type/pairs.ts": "0032fdfe57558d21696a4f8cf5b5cfd1f698743177080affc18629685c905666", + "https://deno.land/std@0.206.0/yaml/_type/regexp.ts": "1ce118de15b2da43b4bd8e4395f42d448b731acf3bdaf7c888f40789f9a95f8b", + "https://deno.land/std@0.206.0/yaml/_type/seq.ts": "95333abeec8a7e4d967b8c8328b269e342a4bbdd2585395549b9c4f58c8533a2", + "https://deno.land/std@0.206.0/yaml/_type/set.ts": "f28ba44e632ef2a6eb580486fd47a460445eeddbdf1dbc739c3e62486f566092", + "https://deno.land/std@0.206.0/yaml/_type/str.ts": "a67a3c6e429d95041399e964015511779b1130ea5889fa257c48457bd3446e31", + "https://deno.land/std@0.206.0/yaml/_type/timestamp.ts": "706ea80a76a73e48efaeb400ace087da1f927647b53ad6f754f4e06d51af087f", + "https://deno.land/std@0.206.0/yaml/_type/undefined.ts": "94a316ca450597ccbc6750cbd79097ad0d5f3a019797eed3c841a040c29540ba", + "https://deno.land/std@0.206.0/yaml/_utils.ts": "26b311f0d42a7ce025060bd6320a68b50e52fd24a839581eb31734cd48e20393", + "https://deno.land/std@0.206.0/yaml/mod.ts": "28ecda6652f3e7a7735ee29c247bfbd32a2e2fc5724068e9fd173ec4e59f66f7", + "https://deno.land/std@0.206.0/yaml/parse.ts": "1fbbda572bf3fff578b6482c0d8b85097a38de3176bf3ab2ca70c25fb0c960ef", + "https://deno.land/std@0.206.0/yaml/schema.ts": "96908b78dc50c340074b93fc1598d5e7e2fe59103f89ff81e5a49b2dedf77a67", + "https://deno.land/std@0.206.0/yaml/schema/core.ts": "fa406f18ceedc87a50e28bb90ec7a4c09eebb337f94ef17468349794fa828639", + "https://deno.land/std@0.206.0/yaml/schema/default.ts": "0047e80ae8a4a93293bc4c557ae8a546aabd46bb7165b9d9b940d57b4d88bde9", + "https://deno.land/std@0.206.0/yaml/schema/extended.ts": "0784416bf062d20a1626b53c03380e265b3e39b9409afb9f4cb7d659fd71e60d", + "https://deno.land/std@0.206.0/yaml/schema/failsafe.ts": "d219ab5febc43f770917d8ec37735a4b1ad671149846cbdcade767832b42b92b", + "https://deno.land/std@0.206.0/yaml/schema/json.ts": "5f41dd7c2f1ad545ef6238633ce9ee3d444dfc5a18101e1768bd5504bf90e5e5", + "https://deno.land/std@0.206.0/yaml/schema/mod.ts": "4472e827bab5025e92bc2eb2eeefa70ecbefc64b2799b765c69af84822efef32", + "https://deno.land/std@0.206.0/yaml/stringify.ts": "fffc09c65c68d3d63f8159e8cbaa3f489bc20a8e55b4fbb61a8c2e9f914d1d02", + "https://deno.land/std@0.206.0/yaml/type.ts": "65553da3da3c029b6589c6e4903f0afbea6768be8fca61580711457151f2b30f", + "https://raw.githubusercontent.com/catppuccin/catppuccin/91d6b5433730103c504dcf43583b594e418ee7c1/resources/ports.schema.json": "f1bfc1f4c68af258cd2f1a254d70069b7d254ab0cfe298b9b52bcd78299d8e40" + } +} diff --git a/src/generate/deno.json b/src/generate/deno.json deleted file mode 100644 index f8a8104f..00000000 --- a/src/generate/deno.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "lock": "deno.lock" -} diff --git a/src/generate/deno.lock b/src/generate/deno.lock deleted file mode 100644 index 46ef3887..00000000 --- a/src/generate/deno.lock +++ /dev/null @@ -1,560 +0,0 @@ -{ - "version": "2", - "remote": { - "https://deno.land/std@0.198.0/_util/diff.ts": "1a3c044aedf77647d6cac86b798c6417603361b66b54c53331b312caeb447aea", - "https://deno.land/std@0.198.0/_util/os.ts": "d932f56d41e4f6a6093d56044e29ce637f8dcc43c5a90af43504a889cf1775e3", - "https://deno.land/std@0.198.0/assert/_constants.ts": "8a9da298c26750b28b326b297316cdde860bc237533b07e1337c021379e6b2a9", - "https://deno.land/std@0.198.0/assert/_format.ts": "a69126e8a469009adf4cf2a50af889aca364c349797e63174884a52ff75cf4c7", - "https://deno.land/std@0.198.0/assert/assert.ts": "9a97dad6d98c238938e7540736b826440ad8c1c1e54430ca4c4e623e585607ee", - "https://deno.land/std@0.198.0/assert/assert_almost_equals.ts": "e15ca1f34d0d5e0afae63b3f5d975cbd18335a132e42b0c747d282f62ad2cd6c", - "https://deno.land/std@0.198.0/assert/assert_array_includes.ts": "6856d7f2c3544bc6e62fb4646dfefa3d1df5ff14744d1bca19f0cbaf3b0d66c9", - "https://deno.land/std@0.198.0/assert/assert_equals.ts": "a0ee60574e437bcab2dcb79af9d48dc88845f8fd559468d9c21b15fd638ef943", - "https://deno.land/std@0.198.0/assert/assert_exists.ts": "407cb6b9fb23a835cd8d5ad804e2e2edbbbf3870e322d53f79e1c7a512e2efd7", - "https://deno.land/std@0.198.0/assert/assert_false.ts": "a9962749f4bf5844e3fa494257f1de73d69e4fe0e82c34d0099287552163a2dc", - "https://deno.land/std@0.198.0/assert/assert_instance_of.ts": "09fd297352a5b5bbb16da2b5e1a0d8c6c44da5447772648622dcc7df7af1ddb8", - "https://deno.land/std@0.198.0/assert/assert_is_error.ts": "b4eae4e5d182272efc172bf28e2e30b86bb1650cd88aea059e5d2586d4160fb9", - "https://deno.land/std@0.198.0/assert/assert_match.ts": "c4083f80600bc190309903c95e397a7c9257ff8b5ae5c7ef91e834704e672e9b", - "https://deno.land/std@0.198.0/assert/assert_not_equals.ts": "9f1acab95bd1f5fc9a1b17b8027d894509a745d91bac1718fdab51dc76831754", - "https://deno.land/std@0.198.0/assert/assert_not_instance_of.ts": "0c14d3dfd9ab7a5276ed8ed0b18c703d79a3d106102077ec437bfe7ed912bd22", - "https://deno.land/std@0.198.0/assert/assert_not_match.ts": "3796a5b0c57a1ce6c1c57883dd4286be13a26f715ea662318ab43a8491a13ab0", - "https://deno.land/std@0.198.0/assert/assert_not_strict_equals.ts": "ca6c6d645e95fbc873d25320efeb8c4c6089a9a5e09f92d7c1c4b6e935c2a6ad", - "https://deno.land/std@0.198.0/assert/assert_object_match.ts": "d8fc2867cfd92eeacf9cea621e10336b666de1874a6767b5ec48988838370b54", - "https://deno.land/std@0.198.0/assert/assert_rejects.ts": "45c59724de2701e3b1f67c391d6c71c392363635aad3f68a1b3408f9efca0057", - "https://deno.land/std@0.198.0/assert/assert_strict_equals.ts": "5cf29b38b3f8dece95287325723272aa04e04dbf158d886d662fa594fddc9ed3", - "https://deno.land/std@0.198.0/assert/assert_string_includes.ts": "b821d39ebf5cb0200a348863c86d8c4c4b398e02012ce74ad15666fc4b631b0c", - "https://deno.land/std@0.198.0/assert/assert_throws.ts": "63784e951475cb7bdfd59878cd25a0931e18f6dc32a6077c454b2cd94f4f4bcd", - "https://deno.land/std@0.198.0/assert/assertion_error.ts": "4d0bde9b374dfbcbe8ac23f54f567b77024fb67dbb1906a852d67fe050d42f56", - "https://deno.land/std@0.198.0/assert/equal.ts": "9f1a46d5993966d2596c44e5858eec821859b45f783a5ee2f7a695dfc12d8ece", - "https://deno.land/std@0.198.0/assert/fail.ts": "c36353d7ae6e1f7933d45f8ea51e358c8c4b67d7e7502028598fe1fea062e278", - "https://deno.land/std@0.198.0/assert/mod.ts": "08d55a652c22c5da0215054b21085cec25a5da47ce4a6f9de7d9ad36df35bdee", - "https://deno.land/std@0.198.0/assert/unimplemented.ts": "d56fbeecb1f108331a380f72e3e010a1f161baa6956fd0f7cf3e095ae1a4c75a", - "https://deno.land/std@0.198.0/assert/unreachable.ts": "4600dc0baf7d9c15a7f7d234f00c23bca8f3eba8b140286aaca7aa998cf9a536", - "https://deno.land/std@0.198.0/bytes/copy.ts": "939d89e302a9761dcf1d9c937c7711174ed74c59eef40a1e4569a05c9de88219", - "https://deno.land/std@0.198.0/fmt/colors.ts": "a7eecffdf3d1d54db890723b303847b6e0a1ab4b528ba6958b8f2e754cf1b3bc", - "https://deno.land/std@0.198.0/fs/_util.ts": "fbf57dcdc9f7bc8128d60301eece608246971a7836a3bb1e78da75314f08b978", - "https://deno.land/std@0.198.0/fs/walk.ts": "21a3cc5ff39c38acc93575213f54d5f1d44c5c6614ed97603d171eb0bf56a565", - "https://deno.land/std@0.198.0/io/buffer.ts": "4d6883daeb2e698579c4064170515683d69f40f3de019bfe46c5cf31e74ae793", - "https://deno.land/std@0.198.0/path/_basename.ts": "057d420c9049821f983f784fd87fa73ac471901fb628920b67972b0f44319343", - "https://deno.land/std@0.198.0/path/_constants.ts": "e49961f6f4f48039c0dfed3c3f93e963ca3d92791c9d478ac5b43183413136e0", - "https://deno.land/std@0.198.0/path/_dirname.ts": "355e297236b2218600aee7a5301b937204c62e12da9db4b0b044993d9e658395", - "https://deno.land/std@0.198.0/path/_extname.ts": "eaaa5aae1acf1f03254d681bd6a8ce42a9cb5b7ff2213a9d4740e8ab31283664", - "https://deno.land/std@0.198.0/path/_format.ts": "4a99270d6810f082e614309164fad75d6f1a483b68eed97c830a506cc589f8b4", - "https://deno.land/std@0.198.0/path/_from_file_url.ts": "7e4e5626089785adddb061f1b9f4932d6b21c7df778e7449531a11e32048245c", - "https://deno.land/std@0.198.0/path/_interface.ts": "6471159dfbbc357e03882c2266d21ef9afdb1e4aa771b0545e90db58a0ba314b", - "https://deno.land/std@0.198.0/path/_is_absolute.ts": "05dac10b5e93c63198b92e3687baa2be178df5321c527dc555266c0f4f51558c", - "https://deno.land/std@0.198.0/path/_join.ts": "fd78555bc34d5f188918fc7018dfe8fe2df5bbad94a3b30a433666c03934d77f", - "https://deno.land/std@0.198.0/path/_normalize.ts": "a19ec8706b2707f9dd974662a5cd89fad438e62ab1857e08b314a8eb49a34d81", - "https://deno.land/std@0.198.0/path/_parse.ts": "0f9b0ff43682dd9964eb1c4398610c4e165d8db9d3ac9d594220217adf480cfa", - "https://deno.land/std@0.198.0/path/_relative.ts": "27bdeffb5311a47d85be26d37ad1969979359f7636c5cd9fcf05dcd0d5099dc5", - "https://deno.land/std@0.198.0/path/_resolve.ts": "3bf0287d62488cad08c3c219a9708c4a4c658c65d7b4400fd99afdc3ba10a64d", - "https://deno.land/std@0.198.0/path/_to_file_url.ts": "739bfda583598790b2e77ce227f2bb618f6ebdb939788cea47555b43970ec58c", - "https://deno.land/std@0.198.0/path/_to_namespaced_path.ts": "0d5f4caa2ed98ef7a8786286df6af804b50e38859ae897b5b5b4c8c5930a75c8", - "https://deno.land/std@0.198.0/path/_util.ts": "4e191b1bac6b3bf0c31aab42e5ca2e01a86ab5a0d2e08b75acf8585047a86221", - "https://deno.land/std@0.198.0/path/basename.ts": "6f08fbb90dbfcf320765b3abb01f995b1723f75e2534acfd5380e202c802a3aa", - "https://deno.land/std@0.198.0/path/common.ts": "ee7505ab01fd22de3963b64e46cff31f40de34f9f8de1fff6a1bd2fe79380000", - "https://deno.land/std@0.198.0/path/dirname.ts": "098996822a31b4c46e1eb52a19540d3c6f9f54b772fc8a197939eeabc29fca2f", - "https://deno.land/std@0.198.0/path/extname.ts": "9b83c62fd16505739541f7a3ab447d8972da39dbf668d47af2f93206c2480893", - "https://deno.land/std@0.198.0/path/format.ts": "cb22f95cc7853d590b87708cc9441785e760d711188facff3d225305a8213aca", - "https://deno.land/std@0.198.0/path/from_file_url.ts": "a6221cfc928928ec4d9786d767dfac98fa2ab746af0786446c9834a07b98817e", - "https://deno.land/std@0.198.0/path/glob.ts": "d479e0a695621c94d3fd7fe7abd4f9499caf32a8de13f25073451c6ef420a4e1", - "https://deno.land/std@0.198.0/path/is_absolute.ts": "6b3d36352eb7fa29edb53f9e7b09b1aeb022a3c5465764f6cc5b8c41f9736197", - "https://deno.land/std@0.198.0/path/join.ts": "4a2867ff2f3c81ffc9eb3d56dade16db6f8bd3854f269306d23dad4115089c84", - "https://deno.land/std@0.198.0/path/mod.ts": "7765507696cb321994cdacfc19ee3ba61e8e3ebf4bd98fa75a276cf5dc18ce2a", - "https://deno.land/std@0.198.0/path/normalize.ts": "7d992cd262b2deefa842d93a8ba2ed51f3949ba595b1d07f627ac2cddbc74808", - "https://deno.land/std@0.198.0/path/parse.ts": "031fe488b3497fb8312fc1dc3c3d6c2d80707edd9c661e18ee9fd20f95edf322", - "https://deno.land/std@0.198.0/path/posix.ts": "0a1c1952d132323a88736d03e92bd236f3ed5f9f079e5823fae07c8d978ee61b", - "https://deno.land/std@0.198.0/path/relative.ts": "7db80c5035016174267da16321a742d76e875215c317859a383b12f413c6f5d6", - "https://deno.land/std@0.198.0/path/resolve.ts": "103b62207726a27f28177f397008545804ecb20aaf00623af1f622b18cd80b9f", - "https://deno.land/std@0.198.0/path/separator.ts": "0fb679739d0d1d7bf45b68dacfb4ec7563597a902edbaf3c59b50d5bcadd93b1", - "https://deno.land/std@0.198.0/path/to_file_url.ts": "dd32f7a01bbf3b15b5df46796659984b372973d9b2d7d59bcf0eb990763a0cb5", - "https://deno.land/std@0.198.0/path/to_namespaced_path.ts": "4e643ab729bf49ccdc166ad48d2de262ff462938fcf2a44a4425588f4a0bd690", - "https://deno.land/std@0.198.0/path/win32.ts": "8b3f80ef7a462511d5e8020ff490edcaa0a0d118f1b1e9da50e2916bdd73f9dd", - "https://deno.land/std@0.198.0/yaml/_error.ts": "b59e2c76ce5a47b1b9fa0ff9f96c1dd92ea1e1b17ce4347ece5944a95c3c1a84", - "https://deno.land/std@0.198.0/yaml/_loader/loader.ts": "47b9592efcb390b58b1903cc471bfdf1fc71a0d2d2b31e37b5cae7d8804c7aed", - "https://deno.land/std@0.198.0/yaml/_loader/loader_state.ts": "0841870b467169269d7c2dfa75cd288c319bc06f65edd9e42c29e5fced91c7a4", - "https://deno.land/std@0.198.0/yaml/_mark.ts": "dcd8585dee585e024475e9f3fe27d29740670fb64ebb970388094cad0fc11d5d", - "https://deno.land/std@0.198.0/yaml/_state.ts": "ef03d55ec235d48dcfbecc0ab3ade90bfae69a61094846e08003421c2cf5cfc6", - "https://deno.land/std@0.198.0/yaml/_type/binary.ts": "d34d8c8d8ed521e270cfede3401c425b971af4f6c69da1e2cb32b172d42c7da7", - "https://deno.land/std@0.198.0/yaml/_type/bool.ts": "5bfa75da84343d45347b521ba4e5aeace9fe6f53447405290d53315a3fc20e66", - "https://deno.land/std@0.198.0/yaml/_type/float.ts": "056bd3cb9c5586238b20517511014fb24b0e36f98f9f6073e12da308b6b9808a", - "https://deno.land/std@0.198.0/yaml/_type/function.ts": "ff574fe84a750695302864e1c31b93f12d14ada4bde79a5f93197fc33ad17471", - "https://deno.land/std@0.198.0/yaml/_type/int.ts": "563ad074f0fa7aecf6b6c3d84135bcc95a8269dcc15de878de20ce868fd773fa", - "https://deno.land/std@0.198.0/yaml/_type/map.ts": "7b105e4ab03a361c61e7e335a0baf4d40f06460b13920e5af3fb2783a1464000", - "https://deno.land/std@0.198.0/yaml/_type/merge.ts": "8192bf3e4d637f32567917f48bb276043da9cf729cf594e5ec191f7cd229337e", - "https://deno.land/std@0.198.0/yaml/_type/mod.ts": "060e2b3d38725094b77ea3a3f05fc7e671fced8e67ca18e525be98c4aa8f4bbb", - "https://deno.land/std@0.198.0/yaml/_type/nil.ts": "606e8f0c44d73117c81abec822f89ef81e40f712258c74f186baa1af659b8887", - "https://deno.land/std@0.198.0/yaml/_type/omap.ts": "cfe59a294726f5cea705c39a61fd2b08199cf48f4ccd6b040cb550ec0f38d0a1", - "https://deno.land/std@0.198.0/yaml/_type/pairs.ts": "0032fdfe57558d21696a4f8cf5b5cfd1f698743177080affc18629685c905666", - "https://deno.land/std@0.198.0/yaml/_type/regexp.ts": "1ce118de15b2da43b4bd8e4395f42d448b731acf3bdaf7c888f40789f9a95f8b", - "https://deno.land/std@0.198.0/yaml/_type/seq.ts": "95333abeec8a7e4d967b8c8328b269e342a4bbdd2585395549b9c4f58c8533a2", - "https://deno.land/std@0.198.0/yaml/_type/set.ts": "f28ba44e632ef2a6eb580486fd47a460445eeddbdf1dbc739c3e62486f566092", - "https://deno.land/std@0.198.0/yaml/_type/str.ts": "a67a3c6e429d95041399e964015511779b1130ea5889fa257c48457bd3446e31", - "https://deno.land/std@0.198.0/yaml/_type/timestamp.ts": "706ea80a76a73e48efaeb400ace087da1f927647b53ad6f754f4e06d51af087f", - "https://deno.land/std@0.198.0/yaml/_type/undefined.ts": "94a316ca450597ccbc6750cbd79097ad0d5f3a019797eed3c841a040c29540ba", - "https://deno.land/std@0.198.0/yaml/_utils.ts": "26b311f0d42a7ce025060bd6320a68b50e52fd24a839581eb31734cd48e20393", - "https://deno.land/std@0.198.0/yaml/parse.ts": "1fbbda572bf3fff578b6482c0d8b85097a38de3176bf3ab2ca70c25fb0c960ef", - "https://deno.land/std@0.198.0/yaml/schema.ts": "96908b78dc50c340074b93fc1598d5e7e2fe59103f89ff81e5a49b2dedf77a67", - "https://deno.land/std@0.198.0/yaml/schema/core.ts": "fa406f18ceedc87a50e28bb90ec7a4c09eebb337f94ef17468349794fa828639", - "https://deno.land/std@0.198.0/yaml/schema/default.ts": "0047e80ae8a4a93293bc4c557ae8a546aabd46bb7165b9d9b940d57b4d88bde9", - "https://deno.land/std@0.198.0/yaml/schema/extended.ts": "0784416bf062d20a1626b53c03380e265b3e39b9409afb9f4cb7d659fd71e60d", - "https://deno.land/std@0.198.0/yaml/schema/failsafe.ts": "d219ab5febc43f770917d8ec37735a4b1ad671149846cbdcade767832b42b92b", - "https://deno.land/std@0.198.0/yaml/schema/json.ts": "5f41dd7c2f1ad545ef6238633ce9ee3d444dfc5a18101e1768bd5504bf90e5e5", - "https://deno.land/std@0.198.0/yaml/schema/mod.ts": "4472e827bab5025e92bc2eb2eeefa70ecbefc64b2799b765c69af84822efef32", - "https://deno.land/std@0.198.0/yaml/type.ts": "1aabb8e0a3f4229ce0a3526256f68826d9bdf65a36c8a3890ead8011fcba7670", - "https://esm.sh/octokit@3.1.0?dts": "ae8cf0435ec44aaec41117426f1c53bd1a5aed1336336cc10dc4f991acd3accf", - "https://esm.sh/v131/@octokit/app@14.0.0/denonext/app.mjs": "802fb60005c8617e350e8956c54c2d757392cd3858d7a3e353d9eb328800b63f", - "https://esm.sh/v131/@octokit/auth-app@6.0.0/denonext/auth-app.mjs": "8af51a079933dcd74f67c006ac6c849ca57cf3edc7e710e190c9f9b5d12089dd", - "https://esm.sh/v131/@octokit/auth-oauth-app@7.0.0/denonext/auth-oauth-app.mjs": "f3963d0afdeab1a1ac80a420854a87da12cbf0bc3b8d04d6a519afe146e67824", - "https://esm.sh/v131/@octokit/auth-oauth-device@6.0.0/denonext/auth-oauth-device.mjs": "094900f0571b6f84ab8adf5555f318513fdcfac0eb5034b1ef761acb1cfae3c8", - "https://esm.sh/v131/@octokit/auth-oauth-user@4.0.0/denonext/auth-oauth-user.mjs": "65da6d1b6c192d759dd5729de97ddb6ff6fa77b6e2ca07137df708d07975c45d", - "https://esm.sh/v131/@octokit/auth-token@4.0.0/denonext/auth-token.mjs": "ab9285959f2bc3ca7942bfb81df3e2f15f5895c829455156647faa403b75703b", - "https://esm.sh/v131/@octokit/auth-unauthenticated@5.0.0/denonext/auth-unauthenticated.mjs": "5c2690a2af409c0e9abe13b6188fee74bd157f787ebbe8d2377813b696b2a74e", - "https://esm.sh/v131/@octokit/core@5.0.0/denonext/core.mjs": "65bf2e6e8a899b7477709dec263b2fd1006990aad6fae3634f810ff071d54c79", - "https://esm.sh/v131/@octokit/endpoint@9.0.0/denonext/endpoint.mjs": "c83e5f7683a69d74c64c375007bba69e8c7a9c9de45ffbf498cb8f11ee8bae51", - "https://esm.sh/v131/@octokit/graphql@7.0.1/denonext/graphql.mjs": "74fc4150249928b0553ceb0a9d1ea1b86863310dfa465c34a0dc05e1f7c7b45a", - "https://esm.sh/v131/@octokit/oauth-app@6.0.0/denonext/oauth-app.mjs": "8e3ffbf8810e241f6a22787534a908eacf5795bfbad3e650b41b2815fce1b55a", - "https://esm.sh/v131/@octokit/oauth-authorization-url@6.0.2/denonext/oauth-authorization-url.mjs": "c4a3809c1092ab4135bbb65ba82e885b915a3e0b68e8c9554c98766388baa399", - "https://esm.sh/v131/@octokit/oauth-methods@4.0.0/denonext/oauth-methods.mjs": "ac79f182d20e3a9674baa95c43212a68cb293a08c00c43dfee622d4e474c8c03", - "https://esm.sh/v131/@octokit/plugin-paginate-graphql@4.0.0/denonext/plugin-paginate-graphql.mjs": "6d2abafdadec31dc3afb9308c18a44b51b834357011d67dce611817196ac032f", - "https://esm.sh/v131/@octokit/plugin-paginate-rest@8.0.0/denonext/plugin-paginate-rest.mjs": "8ed6e17dcb65d460c99fe3c3133c20b566fa2c7c4aedcf931e795ea2ca46e24f", - "https://esm.sh/v131/@octokit/plugin-rest-endpoint-methods@9.0.0/denonext/plugin-rest-endpoint-methods.mjs": "84a5baa44ee16c3ffe9347291fbc106aefa5e57c48b31eacf6bb0ca60b7ad5cd", - "https://esm.sh/v131/@octokit/plugin-retry@6.0.0/denonext/plugin-retry.mjs": "c07c97c7a3bdac552ca6eab8b0881b267897420d3e1c599304eca59b6207049a", - "https://esm.sh/v131/@octokit/plugin-throttling@7.0.0/denonext/plugin-throttling.mjs": "345a4ad667b5a139366f6de7b97fa1d888d21a64118569c3a478685f4ee3427c", - "https://esm.sh/v131/@octokit/request-error@5.0.0/denonext/request-error.mjs": "22169fddec3a5bc16e8a321d54d3f079524bf195804396f5d3193594e6284d30", - "https://esm.sh/v131/@octokit/request@8.1.1/denonext/request.mjs": "a9d816c04c86782a4e42695b693fadeadda41344eef6516c245694d9a1938453", - "https://esm.sh/v131/@octokit/webhooks-methods@4.0.0/denonext/webhooks-methods.mjs": "b44d80a07e6e698c95a2fc2789e2caf10b4ff821300e947b2e79c449453a7a19", - "https://esm.sh/v131/@octokit/webhooks@12.0.3/denonext/webhooks.mjs": "a14357c0187081c9c9b54e921fe136824758978b15630d5930325e06613cf6cb", - "https://esm.sh/v131/aggregate-error@3.1.0/denonext/aggregate-error.mjs": "fa6fa5d0f61af7afe0773f1a720f476a86db978629aa4fcd74b6cce0edd41730", - "https://esm.sh/v131/before-after-hook@2.2.3/denonext/before-after-hook.mjs": "f4262d059d899d7fcaa8d903bcf352df38ac1c040bb45273d79de200ffdad267", - "https://esm.sh/v131/bottleneck@2.19.5/denonext/light.js": "964cbaaa1bf999d34a2410023ae269f921c82c72009c707a1fd02fb6abad5b1d", - "https://esm.sh/v131/btoa-lite@1.0.0/denonext/btoa-lite.mjs": "5f8ecdf77c8824225e30cf84b62ded0fa667ef51fe1a8b772b1ddf46410bf78f", - "https://esm.sh/v131/clean-stack@2.2.0/denonext/clean-stack.mjs": "8a2732fd195c0663d9f8a3957932215f3d4cb45dbe2f4747c9f39a966a4f067b", - "https://esm.sh/v131/deprecation@2.3.1/denonext/deprecation.mjs": "0bf7139d1068345709e59dddb4daea315691d290a8c896a6e076dea02dd66eaf", - "https://esm.sh/v131/indent-string@4.0.0/denonext/indent-string.mjs": "de4038b836a42fe2a7c453bd0b44cdae706a9560bbef99b1857c13f9d55ace14", - "https://esm.sh/v131/is-plain-object@5.0.0/denonext/is-plain-object.mjs": "6d9568ddc8b90de99a46c63e14984810280b6b021dc4e478803b3c240811985f", - "https://esm.sh/v131/lru-cache@10.0.0/denonext/lru-cache.mjs": "07c4092705d4cd15c57cd7c04de101373d67c2b2440ff668644e73fa46e443a1", - "https://esm.sh/v131/octokit@3.1.0/denonext/octokit.mjs": "e36ee9c7bfdc09ae975b0b0f9f2f4bf08e3297e928ced199375491aa94224cf1", - "https://esm.sh/v131/once@1.4.0/denonext/once.mjs": "b4eb5beddf7f0f8ab4db5e56987d53e5f0fd77961eac5dd554ab75aa79ef0202", - "https://esm.sh/v131/universal-github-app-jwt@1.1.1/denonext/universal-github-app-jwt.mjs": "546280ef9d50e167172bc039c0c2f4348a728ae1732f467af726b08491d2ea18", - "https://esm.sh/v131/universal-user-agent@6.0.0/denonext/universal-user-agent.mjs": "2969647abd054007e6d838dd2ecc7de9c513c18c43322dfa3de57eec8d2d6447", - "https://esm.sh/v131/wrappy@1.0.2/denonext/wrappy.mjs": "3c31e4782e0307cf56b319fcec6110f925dafe6cb47a8fa23350d480f5fa8b06", - "https://raw.githubusercontent.com/catppuccin/catppuccin/cad3fe6c9eb2476f9787c386a6b9c70de8e6d468/resources/ports.schema.json": "f1bfc1f4c68af258cd2f1a254d70069b7d254ab0cfe298b9b52bcd78299d8e40", - "https://raw.githubusercontent.com/catppuccin/catppuccin/main/resources/ports.schema.json": "f1bfc1f4c68af258cd2f1a254d70069b7d254ab0cfe298b9b52bcd78299d8e40" - }, - "npm": { - "specifiers": { - "@octokit/rest": "@octokit/rest@20.0.1_@octokit+core@5.0.0", - "ajv@8.12.0": "ajv@8.12.0", - "octokit@3.1.0": "octokit@3.1.0_@octokit+core@5.0.0" - }, - "packages": { - "@octokit/app@14.0.0_@octokit+core@5.0.0": { - "integrity": "sha512-g/zDXttroZ9Se08shK0d0d/j0cgSA+h4WV7qGUevNEM0piNBkIlfb4Fm6bSwCNAZhNf72mBgERmYOoxicPkqdw==", - "dependencies": { - "@octokit/auth-app": "@octokit/auth-app@6.0.0", - "@octokit/auth-unauthenticated": "@octokit/auth-unauthenticated@5.0.0", - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/oauth-app": "@octokit/oauth-app@6.0.0", - "@octokit/plugin-paginate-rest": "@octokit/plugin-paginate-rest@8.0.0_@octokit+core@5.0.0", - "@octokit/types": "@octokit/types@11.1.0", - "@octokit/webhooks": "@octokit/webhooks@12.0.3" - } - }, - "@octokit/auth-app@6.0.0": { - "integrity": "sha512-OKct7Rukf3g9DjpzcpdacQsdmd6oPrJ7fZND22JkjzhDvfhttUOnmh+qPS4kHhaNNyTxqSThnfrUWvkqNLd1nw==", - "dependencies": { - "@octokit/auth-oauth-app": "@octokit/auth-oauth-app@7.0.0", - "@octokit/auth-oauth-user": "@octokit/auth-oauth-user@4.0.0", - "@octokit/request": "@octokit/request@8.1.1", - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/types": "@octokit/types@11.1.0", - "deprecation": "deprecation@2.3.1", - "lru-cache": "lru-cache@10.0.1", - "universal-github-app-jwt": "universal-github-app-jwt@1.1.1", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/auth-oauth-app@7.0.0": { - "integrity": "sha512-8JvJEXGoEqrbzLwt3SwIUvkDd+1wrM8up0KawvDIElB8rbxPbvWppGO0SLKAWSJ0q8ILcVq+mWck6pDcZ3a9KA==", - "dependencies": { - "@octokit/auth-oauth-device": "@octokit/auth-oauth-device@6.0.0", - "@octokit/auth-oauth-user": "@octokit/auth-oauth-user@4.0.0", - "@octokit/request": "@octokit/request@8.1.1", - "@octokit/types": "@octokit/types@11.1.0", - "@types/btoa-lite": "@types/btoa-lite@1.0.0", - "btoa-lite": "btoa-lite@1.0.0", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/auth-oauth-device@6.0.0": { - "integrity": "sha512-Zgf/LKhwWk54rJaTGYVYtbKgUty+ouil6VQeRd+pCw7Gd0ECoSWaZuHK6uDGC/HtnWHjpSWFhzxPauDoHcNRtg==", - "dependencies": { - "@octokit/oauth-methods": "@octokit/oauth-methods@4.0.0", - "@octokit/request": "@octokit/request@8.1.1", - "@octokit/types": "@octokit/types@11.1.0", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/auth-oauth-user@4.0.0": { - "integrity": "sha512-VOm5aIkVGHaOhIvsF/4YmSjoYDzzrKbbYkdSEO0KqHK7I8SlO3ZndSikQ1fBlNPUEH0ve2BOTxLrVvI1qBf9/Q==", - "dependencies": { - "@octokit/auth-oauth-device": "@octokit/auth-oauth-device@6.0.0", - "@octokit/oauth-methods": "@octokit/oauth-methods@4.0.0", - "@octokit/request": "@octokit/request@8.1.1", - "@octokit/types": "@octokit/types@11.1.0", - "btoa-lite": "btoa-lite@1.0.0", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/auth-token@4.0.0": { - "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==", - "dependencies": {} - }, - "@octokit/auth-unauthenticated@5.0.0": { - "integrity": "sha512-AjOI6FNB2dweJ85p6rf7D4EhE4y6VBcwYfX/7KJkR5Q9fD9ET6NABAjajUTSNFfCxmNIaQgISggZ3pkgwtTqsA==", - "dependencies": { - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/types": "@octokit/types@11.1.0" - } - }, - "@octokit/core@5.0.0": { - "integrity": "sha512-YbAtMWIrbZ9FCXbLwT9wWB8TyLjq9mxpKdgB3dUNxQcIVTf9hJ70gRPwAcqGZdY6WdJPZ0I7jLaaNDCiloGN2A==", - "dependencies": { - "@octokit/auth-token": "@octokit/auth-token@4.0.0", - "@octokit/graphql": "@octokit/graphql@7.0.1", - "@octokit/request": "@octokit/request@8.1.1", - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/types": "@octokit/types@11.1.0", - "before-after-hook": "before-after-hook@2.2.3", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/endpoint@9.0.0": { - "integrity": "sha512-szrQhiqJ88gghWY2Htt8MqUDO6++E/EIXqJ2ZEp5ma3uGS46o7LZAzSLt49myB7rT+Hfw5Y6gO3LmOxGzHijAQ==", - "dependencies": { - "@octokit/types": "@octokit/types@11.1.0", - "is-plain-object": "is-plain-object@5.0.0", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/graphql@7.0.1": { - "integrity": "sha512-T5S3oZ1JOE58gom6MIcrgwZXzTaxRnxBso58xhozxHpOqSTgDS6YNeEUvZ/kRvXgPrRz/KHnZhtb7jUMRi9E6w==", - "dependencies": { - "@octokit/request": "@octokit/request@8.1.1", - "@octokit/types": "@octokit/types@11.1.0", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/oauth-app@6.0.0": { - "integrity": "sha512-bNMkS+vJ6oz2hCyraT9ZfTpAQ8dZNqJJQVNaKjPLx4ue5RZiFdU1YWXguOPR8AaSHS+lKe+lR3abn2siGd+zow==", - "dependencies": { - "@octokit/auth-oauth-app": "@octokit/auth-oauth-app@7.0.0", - "@octokit/auth-oauth-user": "@octokit/auth-oauth-user@4.0.0", - "@octokit/auth-unauthenticated": "@octokit/auth-unauthenticated@5.0.0", - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/oauth-authorization-url": "@octokit/oauth-authorization-url@6.0.2", - "@octokit/oauth-methods": "@octokit/oauth-methods@4.0.0", - "@types/aws-lambda": "@types/aws-lambda@8.10.119", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/oauth-authorization-url@6.0.2": { - "integrity": "sha512-CdoJukjXXxqLNK4y/VOiVzQVjibqoj/xHgInekviUJV73y/BSIcwvJ/4aNHPBPKcPWFnd4/lO9uqRV65jXhcLA==", - "dependencies": {} - }, - "@octokit/oauth-methods@4.0.0": { - "integrity": "sha512-dqy7BZLfLbi3/8X8xPKUKZclMEK9vN3fK5WF3ortRvtplQTszFvdAGbTo71gGLO+4ZxspNiLjnqdd64Chklf7w==", - "dependencies": { - "@octokit/oauth-authorization-url": "@octokit/oauth-authorization-url@6.0.2", - "@octokit/request": "@octokit/request@8.1.1", - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/types": "@octokit/types@11.1.0", - "btoa-lite": "btoa-lite@1.0.0" - } - }, - "@octokit/openapi-types@18.0.0": { - "integrity": "sha512-V8GImKs3TeQRxRtXFpG2wl19V7444NIOTDF24AWuIbmNaNYOQMWRbjcGDXV5B+0n887fgDcuMNOmlul+k+oJtw==", - "dependencies": {} - }, - "@octokit/plugin-paginate-graphql@4.0.0_@octokit+core@5.0.0": { - "integrity": "sha512-7HcYW5tP7/Z6AETAPU14gp5H5KmCPT3hmJrS/5tO7HIgbwenYmgw4OY9Ma54FDySuxMwD+wsJlxtuGWwuZuItA==", - "dependencies": { - "@octokit/core": "@octokit/core@5.0.0" - } - }, - "@octokit/plugin-paginate-rest@8.0.0_@octokit+core@5.0.0": { - "integrity": "sha512-2xZ+baZWUg+qudVXnnvXz7qfrTmDeYPCzangBVq/1gXxii/OiS//4shJp9dnCCvj1x+JAm9ji1Egwm1BA47lPQ==", - "dependencies": { - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/types": "@octokit/types@11.1.0" - } - }, - "@octokit/plugin-request-log@4.0.0_@octokit+core@5.0.0": { - "integrity": "sha512-2uJI1COtYCq8Z4yNSnM231TgH50bRkheQ9+aH8TnZanB6QilOnx8RMD2qsnamSOXtDj0ilxvevf5fGsBhBBzKA==", - "dependencies": { - "@octokit/core": "@octokit/core@5.0.0" - } - }, - "@octokit/plugin-rest-endpoint-methods@9.0.0_@octokit+core@5.0.0": { - "integrity": "sha512-KquMF/VB1IkKNiVnzJKspY5mFgGyLd7HzdJfVEGTJFzqu9BRFNWt+nwTCMuUiWc72gLQhRWYubTwOkQj+w/1PA==", - "dependencies": { - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/types": "@octokit/types@11.1.0" - } - }, - "@octokit/plugin-retry@6.0.0_@octokit+core@5.0.0": { - "integrity": "sha512-a1/A4A+PB1QoAHQfLJxGHhLfSAT03bR1jJz3GgQJZvty2ozawFWs93MiBQXO7SL2YbO7CIq0Goj4qLOBj8JeMQ==", - "dependencies": { - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/types": "@octokit/types@11.1.0", - "bottleneck": "bottleneck@2.19.5" - } - }, - "@octokit/plugin-throttling@7.0.0_@octokit+core@5.0.0": { - "integrity": "sha512-KL2k/d0uANc8XqP5S64YcNFCudR3F5AaKO39XWdUtlJIjT9Ni79ekWJ6Kj5xvAw87udkOMEPcVf9xEge2+ahew==", - "dependencies": { - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/types": "@octokit/types@11.1.0", - "bottleneck": "bottleneck@2.19.5" - } - }, - "@octokit/request-error@5.0.0": { - "integrity": "sha512-1ue0DH0Lif5iEqT52+Rf/hf0RmGO9NWFjrzmrkArpG9trFfDM/efx00BJHdLGuro4BR/gECxCU2Twf5OKrRFsQ==", - "dependencies": { - "@octokit/types": "@octokit/types@11.1.0", - "deprecation": "deprecation@2.3.1", - "once": "once@1.4.0" - } - }, - "@octokit/request@8.1.1": { - "integrity": "sha512-8N+tdUz4aCqQmXl8FpHYfKG9GelDFd7XGVzyN8rc6WxVlYcfpHECnuRkgquzz+WzvHTK62co5di8gSXnzASZPQ==", - "dependencies": { - "@octokit/endpoint": "@octokit/endpoint@9.0.0", - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/types": "@octokit/types@11.1.0", - "is-plain-object": "is-plain-object@5.0.0", - "universal-user-agent": "universal-user-agent@6.0.0" - } - }, - "@octokit/rest@20.0.1_@octokit+core@5.0.0": { - "integrity": "sha512-wROV21RwHQIMNb2Dgd4+pY+dVy1Dwmp85pBrgr6YRRDYRBu9Gb+D73f4Bl2EukZSj5hInq2Tui9o7gAQpc2k2Q==", - "dependencies": { - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/plugin-paginate-rest": "@octokit/plugin-paginate-rest@8.0.0_@octokit+core@5.0.0", - "@octokit/plugin-request-log": "@octokit/plugin-request-log@4.0.0_@octokit+core@5.0.0", - "@octokit/plugin-rest-endpoint-methods": "@octokit/plugin-rest-endpoint-methods@9.0.0_@octokit+core@5.0.0" - } - }, - "@octokit/types@11.1.0": { - "integrity": "sha512-Fz0+7GyLm/bHt8fwEqgvRBWwIV1S6wRRyq+V6exRKLVWaKGsuy6H9QFYeBVDV7rK6fO3XwHgQOPxv+cLj2zpXQ==", - "dependencies": { - "@octokit/openapi-types": "@octokit/openapi-types@18.0.0" - } - }, - "@octokit/webhooks-methods@4.0.0": { - "integrity": "sha512-M8mwmTXp+VeolOS/kfRvsDdW+IO0qJ8kYodM/sAysk093q6ApgmBXwK1ZlUvAwXVrp/YVHp6aArj4auAxUAOFw==", - "dependencies": {} - }, - "@octokit/webhooks-types@7.1.0": { - "integrity": "sha512-y92CpG4kFFtBBjni8LHoV12IegJ+KFxLgKRengrVjKmGE5XMeCuGvlfRe75lTRrgXaG6XIWJlFpIDTlkoJsU8w==", - "dependencies": {} - }, - "@octokit/webhooks@12.0.3": { - "integrity": "sha512-8iG+/yza7hwz1RrQ7i7uGpK2/tuItZxZq1aTmeg2TNp2xTUB8F8lZF/FcZvyyAxT8tpDMF74TjFGCDACkf1kAQ==", - "dependencies": { - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/webhooks-methods": "@octokit/webhooks-methods@4.0.0", - "@octokit/webhooks-types": "@octokit/webhooks-types@7.1.0", - "aggregate-error": "aggregate-error@3.1.0" - } - }, - "@types/aws-lambda@8.10.119": { - "integrity": "sha512-Vqm22aZrCvCd6I5g1SvpW151jfqwTzEZ7XJ3yZ6xaZG31nUEOEyzzVImjRcsN8Wi/QyPxId/x8GTtgIbsy8kEw==", - "dependencies": {} - }, - "@types/btoa-lite@1.0.0": { - "integrity": "sha512-wJsiX1tosQ+J5+bY5LrSahHxr2wT+uME5UDwdN1kg4frt40euqA+wzECkmq4t5QbveHiJepfdThgQrPw6KiSlg==", - "dependencies": {} - }, - "@types/jsonwebtoken@9.0.2": { - "integrity": "sha512-drE6uz7QBKq1fYqqoFKTDRdFCPHd5TCub75BM+D+cMx7NU9hUz7SESLfC2fSCXVFMO5Yj8sOWHuGqPgjc+fz0Q==", - "dependencies": { - "@types/node": "@types/node@18.16.19" - } - }, - "@types/node@18.16.19": { - "integrity": "sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA==", - "dependencies": {} - }, - "aggregate-error@3.1.0": { - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dependencies": { - "clean-stack": "clean-stack@2.2.0", - "indent-string": "indent-string@4.0.0" - } - }, - "ajv@8.12.0": { - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dependencies": { - "fast-deep-equal": "fast-deep-equal@3.1.3", - "json-schema-traverse": "json-schema-traverse@1.0.0", - "require-from-string": "require-from-string@2.0.2", - "uri-js": "uri-js@4.4.1" - } - }, - "before-after-hook@2.2.3": { - "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", - "dependencies": {} - }, - "bottleneck@2.19.5": { - "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", - "dependencies": {} - }, - "btoa-lite@1.0.0": { - "integrity": "sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA==", - "dependencies": {} - }, - "buffer-equal-constant-time@1.0.1": { - "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", - "dependencies": {} - }, - "clean-stack@2.2.0": { - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "dependencies": {} - }, - "deprecation@2.3.1": { - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", - "dependencies": {} - }, - "ecdsa-sig-formatter@1.0.11": { - "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "dependencies": { - "safe-buffer": "safe-buffer@5.2.1" - } - }, - "fast-deep-equal@3.1.3": { - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dependencies": {} - }, - "indent-string@4.0.0": { - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dependencies": {} - }, - "is-plain-object@5.0.0": { - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "dependencies": {} - }, - "json-schema-traverse@1.0.0": { - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dependencies": {} - }, - "jsonwebtoken@9.0.1": { - "integrity": "sha512-K8wx7eJ5TPvEjuiVSkv167EVboBDv9PZdDoF7BgeQnBLVvZWW9clr2PsQHVJDTKaEIH5JBIwHujGcHp7GgI2eg==", - "dependencies": { - "jws": "jws@3.2.2", - "lodash": "lodash@4.17.21", - "ms": "ms@2.1.3", - "semver": "semver@7.5.4" - } - }, - "jwa@1.4.1": { - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "dependencies": { - "buffer-equal-constant-time": "buffer-equal-constant-time@1.0.1", - "ecdsa-sig-formatter": "ecdsa-sig-formatter@1.0.11", - "safe-buffer": "safe-buffer@5.2.1" - } - }, - "jws@3.2.2": { - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "dependencies": { - "jwa": "jwa@1.4.1", - "safe-buffer": "safe-buffer@5.2.1" - } - }, - "lodash@4.17.21": { - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dependencies": {} - }, - "lru-cache@10.0.1": { - "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", - "dependencies": {} - }, - "lru-cache@6.0.0": { - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "yallist@4.0.0" - } - }, - "ms@2.1.3": { - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dependencies": {} - }, - "octokit@3.1.0_@octokit+core@5.0.0": { - "integrity": "sha512-dmIH5D+edpb4/ASd6ZGo6BiRR1g4ytu8lG4f+6XN/2AW+CSuTsT0nj1d6rv/HKgoflMQ1+rb3KlVWcvrmgQZhw==", - "dependencies": { - "@octokit/app": "@octokit/app@14.0.0_@octokit+core@5.0.0", - "@octokit/core": "@octokit/core@5.0.0", - "@octokit/oauth-app": "@octokit/oauth-app@6.0.0", - "@octokit/plugin-paginate-graphql": "@octokit/plugin-paginate-graphql@4.0.0_@octokit+core@5.0.0", - "@octokit/plugin-paginate-rest": "@octokit/plugin-paginate-rest@8.0.0_@octokit+core@5.0.0", - "@octokit/plugin-rest-endpoint-methods": "@octokit/plugin-rest-endpoint-methods@9.0.0_@octokit+core@5.0.0", - "@octokit/plugin-retry": "@octokit/plugin-retry@6.0.0_@octokit+core@5.0.0", - "@octokit/plugin-throttling": "@octokit/plugin-throttling@7.0.0_@octokit+core@5.0.0", - "@octokit/request-error": "@octokit/request-error@5.0.0", - "@octokit/types": "@octokit/types@11.1.0" - } - }, - "once@1.4.0": { - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "wrappy@1.0.2" - } - }, - "punycode@2.3.0": { - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "dependencies": {} - }, - "require-from-string@2.0.2": { - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dependencies": {} - }, - "safe-buffer@5.2.1": { - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dependencies": {} - }, - "semver@7.5.4": { - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dependencies": { - "lru-cache": "lru-cache@6.0.0" - } - }, - "universal-github-app-jwt@1.1.1": { - "integrity": "sha512-G33RTLrIBMFmlDV4u4CBF7dh71eWwykck4XgaxaIVeZKOYZRAAxvcGMRFTUclVY6xoUPQvO4Ne5wKGxYm/Yy9w==", - "dependencies": { - "@types/jsonwebtoken": "@types/jsonwebtoken@9.0.2", - "jsonwebtoken": "jsonwebtoken@9.0.1" - } - }, - "universal-user-agent@6.0.0": { - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dependencies": {} - }, - "uri-js@4.4.1": { - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "punycode@2.3.0" - } - }, - "wrappy@1.0.2": { - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dependencies": {} - }, - "yallist@4.0.0": { - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dependencies": {} - } - } - } -} diff --git a/src/generate/deps.ts b/src/generate/deps.ts index f9198ef2..d0347a37 100644 --- a/src/generate/deps.ts +++ b/src/generate/deps.ts @@ -1,15 +1,6 @@ -export type { Categories as PortCategories } from "https://raw.githubusercontent.com/catppuccin/catppuccin/cad3fe6c9eb2476f9787c386a6b9c70de8e6d468/resources/generate/types.d.ts"; - -export * as path from "https://deno.land/std@0.198.0/path/mod.ts"; -export * as assert from "https://deno.land/std@0.198.0/assert/mod.ts"; -export { walkSync } from "https://deno.land/std@0.198.0/fs/walk.ts"; -export { parse as parseYaml } from "https://deno.land/std@0.198.0/yaml/parse.ts"; -export * from "npm:@octokit/rest"; - -import Ajv from "npm:ajv@8.12.0"; import schema from "../userstyles.schema.json" assert { type: "json" }; -import portsSchema from "https://raw.githubusercontent.com/catppuccin/catppuccin/cad3fe6c9eb2476f9787c386a6b9c70de8e6d468/resources/ports.schema.json" assert { +import portsSchema from "catppuccin-repo/resources/ports.schema.json" assert { type: "json", }; -export { Ajv, portsSchema, schema }; +export { portsSchema, schema }; diff --git a/src/generate/generate.ts b/src/generate/generate.ts index 91393e30..1dc34691 100755 --- a/src/generate/generate.ts +++ b/src/generate/generate.ts @@ -1,18 +1,17 @@ #!/usr/bin/env -S deno run --allow-env --allow-read --allow-write --allow-net -import { - Ajv, - parseYaml, - path, - PortCategories, - portsSchema, - schema, -} from "./deps.ts"; +import * as path from "std/path/mod.ts"; +import { parse as parseYaml } from "std/yaml/mod.ts"; +import Ajv from "ajv"; + +import { portsSchema, schema } from "./deps.ts"; + import { ApplicationLink, CurrentMaintainers, FAQ, Name, PastMaintainers, + PortCategories, Usage, Userstyle, Userstyles, @@ -31,7 +30,7 @@ type PortMetadata = { }; type CollaboratorsData = { - collaborators: CurrentMaintainers | PastMaintainers; + collaborators: CurrentMaintainers | PastMaintainers | undefined; heading: string; }; @@ -42,7 +41,7 @@ const validate = ajv.compile(schema); const validatePorts = ajv.compile(portsSchema); const userstylesYaml = Deno.readTextFileSync( - path.join(ROOT, "../userstyles.yml") + path.join(ROOT, "../userstyles.yml"), ); const userstylesData = parseYaml(userstylesYaml); if (!validate(userstylesData)) { @@ -51,7 +50,7 @@ if (!validate(userstylesData)) { } const portsYaml = await fetch( - "https://raw.githubusercontent.com/catppuccin/catppuccin/main/resources/ports.yml" + "https://raw.githubusercontent.com/catppuccin/catppuccin/main/resources/ports.yml", ); const portsData = parseYaml(await portsYaml.text()); if (!validatePorts(portsData)) { @@ -61,7 +60,7 @@ if (!validatePorts(portsData)) { const categorized = Object.entries(userstylesData.userstyles).reduce( (acc, [slug, { category, ...port }]) => { - acc[category] ||= []; + acc[category] ??= []; acc[category].push({ path: `styles/${slug}`, category, ...port }); acc[category].sort((a, b) => { const aName = typeof a.name === "string" ? a.name : a.name.join(", "); @@ -70,7 +69,7 @@ const categorized = Object.entries(userstylesData.userstyles).reduce( }); return acc; }, - {} as Record + {} as Record, ); const portListData = portsData.categories @@ -88,14 +87,18 @@ const portContent = portListData `
${data.meta.emoji} ${data.meta.name} -${data.ports - .map((port) => { - const name = Array.isArray(port.name) ? port.name.join(", ") : port.name; - return `- [${name}](${port.path})`; - }) - .join("\n")} +${ + data.ports + .map((port) => { + const name = Array.isArray(port.name) + ? port.name.join(", ") + : port.name; + return `- [${name}](${port.path})`; + }) + .join("\n") + } -
` +`, ) .join("\n"); @@ -157,7 +160,7 @@ const syncLabelsContent = Object.entries(userstylesData.userstyles) ([key, style]) => `- name: ${key} description: ${style.name} - color: "#8aadf4"` + color: "#8aadf4"`, ) .join("\n"); updateFile(syncLabels, syncLabelsContent); @@ -183,13 +186,15 @@ const userstyleIssuePath = path.join(ROOT, "templates/userstyle-issue.yml"); const userstyleIssueContent = Deno.readTextFileSync(userstyleIssuePath); const replacedUserstyleIssueContent = userstyleIssueContent.replace( "$PORTS", - `${Object.entries(userstylesData.userstyles) - .map(([key]) => `'${ISSUE_PREFIX + key}'`) - .join(", ")}` + `${ + Object.entries(userstylesData.userstyles) + .map(([key]) => `'${ISSUE_PREFIX + key}'`) + .join(", ") + }`, ); Deno.writeTextFileSync( path.join(REPO_ROOT, ".github/ISSUE_TEMPLATE/userstyle.yml"), - replacedUserstyleIssueContent + replacedUserstyleIssueContent, ); const heading = (name: Name, link: ApplicationLink) => { @@ -198,13 +203,15 @@ const heading = (name: Name, link: ApplicationLink) => { if (nameArray.length !== linkArray.length) { throw new Error( - 'The "name" and "app-link" arrays must have the same length' + 'The "name" and "app-link" arrays must have the same length', ); } - return `Catppuccin for ${nameArray - .map((name, index) => `${name}`) - .join(", ")}`; + return `Catppuccin for ${ + nameArray + .map((name, index) => `${name}`) + .join(", ") + }`; }; const usageContent = (usage?: Usage) => { @@ -216,9 +223,11 @@ const faqContent = (faq?: FAQ) => { return ""; } return `## 🙋 FAQ -${faq - .map(({ question, answer }) => `- Q: ${question} \n\tA: ${answer}`) - .join("\n")}`; +${ + faq + .map(({ question, answer }) => `- Q: ${question} \n\tA: ${answer}`) + .join("\n") + }`; }; const collaboratorsContent = (allCollaborators: CollaboratorsData[]) => { @@ -226,7 +235,7 @@ const collaboratorsContent = (allCollaborators: CollaboratorsData[]) => { .filter(({ collaborators }) => collaborators !== undefined) .map(({ collaborators, heading }) => { const collaboratorBody = collaborators - .map(({ name, url }) => `- [${name ?? url.split("/").pop()}](${url})`) + ?.map(({ name, url }) => `- [${name ?? url.split("/").pop()}](${url})`) .join("\n"); return `${heading}\n${collaboratorBody}`; }) @@ -236,7 +245,7 @@ const collaboratorsContent = (allCollaborators: CollaboratorsData[]) => { const updateStylesReadmeContent = ( readme: string, key: string, - userstyle: Userstyle + userstyle: Userstyle, ) => { return readme .replace("$TITLE", heading(userstyle.name, userstyle.readme["app-link"])) @@ -254,7 +263,7 @@ const updateStylesReadmeContent = ( collaborators: userstyle.readme["past-maintainers"], heading: "## 💖 Past Maintainer(s)", }, - ]) + ]), ); }; @@ -266,11 +275,11 @@ for (const [key, userstyle] of Object.entries(userstylesData.userstyles)) { readmeContent = updateStylesReadmeContent( stylesReadmeContent, key, - userstyle + userstyle, ); Deno.writeTextFileSync( path.join(REPO_ROOT, "styles", key, "README.md"), - readmeContent + readmeContent, ); } catch (e) { console.log(`Failed to update ${userstyle} README:`, e); diff --git a/src/generate/syncMaintainers.ts b/src/generate/syncMaintainers.ts index c6f7afeb..a8c3a617 100755 --- a/src/generate/syncMaintainers.ts +++ b/src/generate/syncMaintainers.ts @@ -1,5 +1,11 @@ #!/usr/bin/env -S deno run --allow-read --allow-net --allow-env -import { Ajv, assert, Octokit, parseYaml, path, schema } from "./deps.ts"; +import * as assert from "std/assert/mod.ts"; +import * as path from "std/path/mod.ts"; +import { parse as parseYaml } from "std/yaml/mod.ts"; +import Ajv from "ajv"; +import { Octokit } from "octokit"; + +import { schema } from "./deps.ts"; import { Userstyle, UserstylesSchema } from "./types.d.ts"; const octokit = new Octokit({ auth: Deno.env.get("GITHUB_TOKEN") }); @@ -18,27 +24,31 @@ if (!validate(userstylesData)) { console.error(validate.errors); Deno.exit(1); } +if (userstylesData.userstyles === undefined) { + Deno.exit(1); +} // lowercase usernames of all the "current-maintainers" in the file const maintainers = [ ...new Set( Object.values(userstylesData.userstyles).flatMap((style: Userstyle) => style.readme["current-maintainers"].map((m) => { - const username = m.url.split("github.com/")?.pop(); - // check that they follow github.com/username pattern - assert.assertExists(username); - return username.toLowerCase(); - } - ) - ) - ) + const username = m.url.split("github.com/")?.pop(); + // check that they follow github.com/username pattern + assert.assertExists(username); + return username.toLowerCase(); + }) + ), + ), ]; // lowercase usernames of all maintainers in the current GH team -const teamMembers = await octokit.teams.listMembersInOrg({ - ...team, - per_page: 100, -}).then((res) => res.data.map((m) => m.login.toLowerCase())); +const teamMembers = await octokit.teams + .listMembersInOrg({ + ...team, + per_page: 100, + }) + .then((res) => res.data.map((m) => m.login.toLowerCase())); const syncMaintainers = async () => { if (!maintainers) return; @@ -65,4 +75,4 @@ const syncMaintainers = async () => { } }; -await syncMaintainers(); \ No newline at end of file +await syncMaintainers(); diff --git a/src/generate/types.d.ts b/src/generate/types.d.ts index 806e590c..a4b9deb1 100644 --- a/src/generate/types.d.ts +++ b/src/generate/types.d.ts @@ -1,180 +1,2 @@ -/* eslint-disable */ -/** - * This file was automatically generated by json-schema-to-typescript. - * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, - * and run json-schema-to-typescript to regenerate this file. - */ - -/** - * The name of the userstyle(s). - */ -export type Name = [string, string, ...string[]] | string; -/** - * The category that fits the port the most. - */ -export type Category = - | "browser" - | "browser_extension" - | "cli" - | "code_editor" - | "development" - | "game" - | "leisure" - | "library" - | "messaging" - | "note_taking" - | "productivity" - | "search_engine" - | "social" - | "system" - | "terminal"; -/** - * The fill color for the icon on the Catppuccin website. - */ -export type Color = - | "rosewater" - | "flamingo" - | "pink" - | "mauve" - | "red" - | "maroon" - | "peach" - | "yellow" - | "green" - | "teal" - | "sky" - | "sapphire" - | "blue" - | "lavender" - | "text"; -/** - * The icon to use on the website. This should be the same name as the SVG file on https://simpleicons.org/. If a `.svg` suffix is present, it's taken from the local website repository resources. - */ -export type Icon = string; -/** - * The hyperlink of the app that is being themed. - */ -export type ApplicationLink = [string, string, ...string[]] | string; -/** - * The Usage section of the userstyle README. - */ -export type Usage = string; -/** - * The FAQ section of the userstyle README. - * - * @minItems 1 - */ -export type FAQ = [ - { - question: Question; - answer: Answer; - [k: string]: unknown; - }, - ...{ - question: Question; - answer: Answer; - [k: string]: unknown; - }[], -]; -/** - * A question that a user may have about the userstyle. - */ -export type Question = string; -/** - * An answer to the question about the userstyle. - */ -export type Answer = string; -/** - * List of all active maintainers for this userstyle. - * - * @minItems 1 - */ -export type CurrentMaintainers = [ - { - name?: DisplayName; - url: GitHubProfile; - [k: string]: unknown; - }, - ...{ - name?: DisplayName; - url: GitHubProfile; - [k: string]: unknown; - }[], -]; -/** - * The display name of the collaborator to show in the userstyle README. - */ -export type DisplayName = string; -/** - * The GitHub profile link of the collaborator to show in the userstyle README. - */ -export type GitHubProfile = string; -/** - * List of all maintainers that have maintained on this userstyle in the past. - * - * @minItems 1 - */ -export type PastMaintainers = [ - { - name?: DisplayName; - url: GitHubProfile; - [k: string]: unknown; - }, - ...{ - name?: DisplayName; - url: GitHubProfile; - [k: string]: unknown; - }[], -]; -/** - * Represents all maintainers and contributors to all userstyles. - * - * @minItems 1 - */ -export type AllCollaborators = [ - { - name?: DisplayName; - url: GitHubProfile; - [k: string]: unknown; - }, - ...{ - name?: DisplayName; - url: GitHubProfile; - [k: string]: unknown; - }[], -]; - -export interface UserstylesSchema { - userstyles?: Userstyles; - collaborators?: AllCollaborators; -} -/** - * All userstyles in the Catppuccin org. - */ -export interface Userstyles { - [k: string]: Userstyle; -} -/** - * The directory of the userstyle. - * - * This interface was referenced by `Userstyles`'s JSON-Schema definition - * via the `patternProperty` "[A-Za-z0-9_\-]". - */ -export interface Userstyle { - name: Name; - category: Category; - color?: Color; - icon?: Icon; - readme: README; -} -/** - * Options to help in the auto-generation of the userstyle README. - */ -export interface README { - "app-link": ApplicationLink; - usage?: Usage; - faq?: FAQ; - "current-maintainers": CurrentMaintainers; - "past-maintainers"?: PastMaintainers; - [k: string]: unknown; -} +export * from "../types/userstyles.d.ts"; +export type { Categories as PortCategories } from "catppuccin-repo/resources/generate/types.d.ts"; diff --git a/src/types/userstyles.d.ts b/src/types/userstyles.d.ts new file mode 100644 index 00000000..806e590c --- /dev/null +++ b/src/types/userstyles.d.ts @@ -0,0 +1,180 @@ +/* eslint-disable */ +/** + * This file was automatically generated by json-schema-to-typescript. + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, + * and run json-schema-to-typescript to regenerate this file. + */ + +/** + * The name of the userstyle(s). + */ +export type Name = [string, string, ...string[]] | string; +/** + * The category that fits the port the most. + */ +export type Category = + | "browser" + | "browser_extension" + | "cli" + | "code_editor" + | "development" + | "game" + | "leisure" + | "library" + | "messaging" + | "note_taking" + | "productivity" + | "search_engine" + | "social" + | "system" + | "terminal"; +/** + * The fill color for the icon on the Catppuccin website. + */ +export type Color = + | "rosewater" + | "flamingo" + | "pink" + | "mauve" + | "red" + | "maroon" + | "peach" + | "yellow" + | "green" + | "teal" + | "sky" + | "sapphire" + | "blue" + | "lavender" + | "text"; +/** + * The icon to use on the website. This should be the same name as the SVG file on https://simpleicons.org/. If a `.svg` suffix is present, it's taken from the local website repository resources. + */ +export type Icon = string; +/** + * The hyperlink of the app that is being themed. + */ +export type ApplicationLink = [string, string, ...string[]] | string; +/** + * The Usage section of the userstyle README. + */ +export type Usage = string; +/** + * The FAQ section of the userstyle README. + * + * @minItems 1 + */ +export type FAQ = [ + { + question: Question; + answer: Answer; + [k: string]: unknown; + }, + ...{ + question: Question; + answer: Answer; + [k: string]: unknown; + }[], +]; +/** + * A question that a user may have about the userstyle. + */ +export type Question = string; +/** + * An answer to the question about the userstyle. + */ +export type Answer = string; +/** + * List of all active maintainers for this userstyle. + * + * @minItems 1 + */ +export type CurrentMaintainers = [ + { + name?: DisplayName; + url: GitHubProfile; + [k: string]: unknown; + }, + ...{ + name?: DisplayName; + url: GitHubProfile; + [k: string]: unknown; + }[], +]; +/** + * The display name of the collaborator to show in the userstyle README. + */ +export type DisplayName = string; +/** + * The GitHub profile link of the collaborator to show in the userstyle README. + */ +export type GitHubProfile = string; +/** + * List of all maintainers that have maintained on this userstyle in the past. + * + * @minItems 1 + */ +export type PastMaintainers = [ + { + name?: DisplayName; + url: GitHubProfile; + [k: string]: unknown; + }, + ...{ + name?: DisplayName; + url: GitHubProfile; + [k: string]: unknown; + }[], +]; +/** + * Represents all maintainers and contributors to all userstyles. + * + * @minItems 1 + */ +export type AllCollaborators = [ + { + name?: DisplayName; + url: GitHubProfile; + [k: string]: unknown; + }, + ...{ + name?: DisplayName; + url: GitHubProfile; + [k: string]: unknown; + }[], +]; + +export interface UserstylesSchema { + userstyles?: Userstyles; + collaborators?: AllCollaborators; +} +/** + * All userstyles in the Catppuccin org. + */ +export interface Userstyles { + [k: string]: Userstyle; +} +/** + * The directory of the userstyle. + * + * This interface was referenced by `Userstyles`'s JSON-Schema definition + * via the `patternProperty` "[A-Za-z0-9_\-]". + */ +export interface Userstyle { + name: Name; + category: Category; + color?: Color; + icon?: Icon; + readme: README; +} +/** + * Options to help in the auto-generation of the userstyle README. + */ +export interface README { + "app-link": ApplicationLink; + usage?: Usage; + faq?: FAQ; + "current-maintainers": CurrentMaintainers; + "past-maintainers"?: PastMaintainers; + [k: string]: unknown; +}