diff --git a/.stylelintrc.js b/.stylelintrc.js index 4f974092..922edf17 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -5,7 +5,7 @@ */ export default { extends: "stylelint-config-standard", - plugins: ["./scripts/lint/stylelint-custom/optimizedSvgs.js"], + plugins: ["./scripts/lint/stylelint-custom/optimized-svgs.js"], customSyntax: "postcss-less", rules: { "catppuccin/optimized-svgs": true, diff --git a/deno.json b/deno.json index 2abf4854..3c64378e 100644 --- a/deno.json +++ b/deno.json @@ -1,23 +1,28 @@ { "imports": { "@/": "./scripts/", - "std/": "https://deno.land/std@0.206.0/", - "catppuccin-repo/": "https://raw.githubusercontent.com/catppuccin/catppuccin/d4f2666c2b04337f0a8632713de0889d9a7d332d/", - "@catppuccin/palette": "npm:@catppuccin/palette@1.2.0", "@actions/core": "npm:@actions/core@1.10.1", + "@catppuccin/palette": "npm:@catppuccin/palette@1.2.0", "@octokit/rest": "npm:@octokit/rest@20.0.2", + "@std/assert": "jsr:@std/assert@^1.0.0", + "@std/cli": "jsr:@std/cli@^1.0.0", + "@std/fmt": "jsr:@std/fmt@^0.225.6", + "@std/fs": "jsr:@std/fs@^0.229.3", + "@std/path": "jsr:@std/path@^1.0.1", + "@std/yaml": "jsr:@std/yaml@^0.224.3", "ajv": "npm:ajv@8.17.1", - "type-fest": "npm:type-fest@4.22.1", + "catppuccin-repo/": "https://raw.githubusercontent.com/catppuccin/catppuccin/d4f2666c2b04337f0a8632713de0889d9a7d332d/", "handlebars": "npm:handlebars@4.7.8", - "less": "npm:less@4.2.0", - "usercss-meta": "npm:usercss-meta@0.12.0", "json-schema-to-typescript": "npm:json-schema-to-typescript@14.1.0", + "less": "npm:less@4.2.0", "postcss-less": "npm:postcss-less@6.0.0", - "stylelint": "npm:stylelint@16.7.0", - "stylelint-config-standard": "npm:stylelint-config-standard@36.0.1", - "stylelint-config-recommended": "npm:stylelint-config-recommended@14.0.1", "postcss-value-parser": "npm:postcss-value-parser@4.2.0", - "svgo": "npm:svgo@3.3.2" + "stylelint": "npm:stylelint@16.7.0", + "stylelint-config-recommended": "npm:stylelint-config-recommended@14.0.1", + "stylelint-config-standard": "npm:stylelint-config-standard@36.0.1", + "svgo": "npm:svgo@3.3.2", + "type-fest": "npm:type-fest@4.22.1", + "usercss-meta": "npm:usercss-meta@0.12.0" }, "tasks": { "ci:generate": "deno run -A ./scripts/generate/main.ts", diff --git a/deno.lock b/deno.lock index d0f6238d..6dad7ef7 100644 --- a/deno.lock +++ b/deno.lock @@ -2,16 +2,25 @@ "version": "3", "packages": { "specifiers": { + "jsr:@std/assert@^0.224.0": "jsr:@std/assert@0.224.0", + "jsr:@std/assert@^1.0.0": "jsr:@std/assert@1.0.0", + "jsr:@std/cli@^1.0.0": "jsr:@std/cli@1.0.0", + "jsr:@std/fmt@^0.225.6": "jsr:@std/fmt@0.225.6", + "jsr:@std/fs@^0.229.3": "jsr:@std/fs@0.229.3", + "jsr:@std/internal@^1.0.1": "jsr:@std/internal@1.0.1", + "jsr:@std/path@1.0.0-rc.1": "jsr:@std/path@1.0.0-rc.1", + "jsr:@std/path@^1.0.1": "jsr:@std/path@1.0.1", + "jsr:@std/yaml@^0.224.3": "jsr:@std/yaml@0.224.3", "npm:@actions/core@1.10.1": "npm:@actions/core@1.10.1", "npm:@catppuccin/palette@1.2.0": "npm:@catppuccin/palette@1.2.0", "npm:@octokit/rest@20.0.2": "npm:@octokit/rest@20.0.2_@octokit+core@5.2.0", "npm:@types/less": "npm:@types/less@3.0.6", - "npm:ajv@8.16.0": "npm:ajv@8.16.0", + "npm:@types/node": "npm:@types/node@18.16.19", "npm:ajv@8.17.1": "npm:ajv@8.17.1", "npm:handlebars@4.7.8": "npm:handlebars@4.7.8", "npm:json-schema-to-typescript@14.1.0": "npm:json-schema-to-typescript@14.1.0", "npm:less@4.2.0": "npm:less@4.2.0", - "npm:postcss-less@6.0.0": "npm:postcss-less@6.0.0_postcss@8.4.38", + "npm:postcss-less@6.0.0": "npm:postcss-less@6.0.0_postcss@8.4.39", "npm:postcss-value-parser@4.2.0": "npm:postcss-value-parser@4.2.0", "npm:prettier@3.2.4": "npm:prettier@3.2.4", "npm:stylelint": "npm:stylelint@16.7.0_@csstools+css-tokenizer@2.4.1_@csstools+css-parser-algorithms@2.7.1__@csstools+css-tokenizer@2.4.1_postcss-selector-parser@6.1.1_postcss@8.4.39", @@ -22,6 +31,41 @@ "npm:type-fest@4.22.1": "npm:type-fest@4.22.1", "npm:usercss-meta@0.12.0": "npm:usercss-meta@0.12.0" }, + "jsr": { + "@std/assert@0.224.0": { + "integrity": "8643233ec7aec38a940a8264a6e3eed9bfa44e7a71cc6b3c8874213ff401967f" + }, + "@std/assert@1.0.0": { + "integrity": "0e4f6d873f7f35e2a1e6194ceee39686c996b9e5d134948e644d35d4c4df2008", + "dependencies": [ + "jsr:@std/internal@^1.0.1" + ] + }, + "@std/cli@1.0.0": { + "integrity": "3c38f1da21bff0d25a9e6d97139ef2eb9ba334b5910da92c0169b44f38655f08" + }, + "@std/fmt@0.225.6": { + "integrity": "aba6aea27f66813cecfd9484e074a9e9845782ab0685c030e453a8a70b37afc8" + }, + "@std/fs@0.229.3": { + "integrity": "783bca21f24da92e04c3893c9e79653227ab016c48e96b3078377ebd5222e6eb", + "dependencies": [ + "jsr:@std/path@1.0.0-rc.1" + ] + }, + "@std/internal@1.0.1": { + "integrity": "6f8c7544d06a11dd256c8d6ba54b11ed870aac6c5aeafff499892662c57673e6" + }, + "@std/path@1.0.0-rc.1": { + "integrity": "b8c00ae2f19106a6bb7cbf1ab9be52aa70de1605daeb2dbdc4f87a7cbaf10ff6" + }, + "@std/path@1.0.1": { + "integrity": "e061ff02c28481ca49e3a14981875c345e9fc7e973190672782cd0ac8af70428" + }, + "@std/yaml@0.224.3": { + "integrity": "9da1ed0094f42ba24570b4d88a094b44a793ac7f2bc085c1939d3ac7e11cc0bb" + } + }, "npm": { "@actions/core@1.10.1": { "integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==", @@ -246,18 +290,13 @@ "integrity": "sha512-PecSzorDGdabF57OBeQO/xFbAkYWo88g4Xvnsx7LRwqLC17I7OoKtA3bQB9uXkY6UkMWCOsA8HSVpaoitscdXw==", "dependencies": {} }, - "@types/lodash@4.17.5": { - "integrity": "sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw==", + "@types/lodash@4.17.7": { + "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==", "dependencies": {} }, - "ajv@8.16.0": { - "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", - "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" - } + "@types/node@18.16.19": { + "integrity": "sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA==", + "dependencies": {} }, "ajv@8.17.1": { "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", @@ -668,12 +707,12 @@ "is-glob": "is-glob@4.0.3" } }, - "glob@10.4.2": { - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "glob@10.4.5": { + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dependencies": { "foreground-child": "foreground-child@3.2.1", - "jackspeak": "jackspeak@3.4.0", - "minimatch": "minimatch@9.0.4", + "jackspeak": "jackspeak@3.4.3", + "minimatch": "minimatch@9.0.5", "minipass": "minipass@7.1.2", "package-json-from-dist": "package-json-from-dist@1.0.0", "path-scurry": "path-scurry@1.11.1" @@ -718,7 +757,7 @@ "minimist": "minimist@1.2.8", "neo-async": "neo-async@2.6.2", "source-map": "source-map@0.6.1", - "uglify-js": "uglify-js@3.18.0", + "uglify-js": "uglify-js@3.19.0", "wordwrap": "wordwrap@1.0.0" } }, @@ -801,8 +840,8 @@ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dependencies": {} }, - "jackspeak@3.4.0": { - "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", + "jackspeak@3.4.3": { + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", "dependencies": { "@isaacs/cliui": "@isaacs/cliui@8.0.2", "@pkgjs/parseargs": "@pkgjs/parseargs@0.11.0" @@ -831,16 +870,16 @@ "dependencies": { "@apidevtools/json-schema-ref-parser": "@apidevtools/json-schema-ref-parser@11.6.4", "@types/json-schema": "@types/json-schema@7.0.15", - "@types/lodash": "@types/lodash@4.17.5", + "@types/lodash": "@types/lodash@4.17.7", "cli-color": "cli-color@2.0.4", - "glob": "glob@10.4.2", + "glob": "glob@10.4.5", "is-glob": "is-glob@4.0.3", "js-yaml": "js-yaml@4.1.0", "lodash": "lodash@4.17.21", "minimist": "minimist@1.2.8", "mkdirp": "mkdirp@3.0.1", "node-fetch": "node-fetch@3.3.2", - "prettier": "prettier@3.3.2" + "prettier": "prettier@3.3.3" } }, "json-schema-traverse@1.0.0": { @@ -888,8 +927,8 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dependencies": {} }, - "lru-cache@10.2.2": { - "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", + "lru-cache@10.4.3": { + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dependencies": {} }, "lru-queue@0.1.0": { @@ -949,8 +988,8 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dependencies": {} }, - "minimatch@9.0.4": { - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "minimatch@9.0.5": { + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dependencies": { "brace-expansion": "brace-expansion@2.0.1" } @@ -1048,7 +1087,7 @@ "path-scurry@1.11.1": { "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", "dependencies": { - "lru-cache": "lru-cache@10.2.2", + "lru-cache": "lru-cache@10.4.3", "minipass": "minipass@7.1.2" } }, @@ -1068,10 +1107,10 @@ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dependencies": {} }, - "postcss-less@6.0.0_postcss@8.4.38": { + "postcss-less@6.0.0_postcss@8.4.39": { "integrity": "sha512-FPX16mQLyEjLzEuuJtxA8X3ejDLNGGEG503d2YGZR5Ask1SpDN8KmZUMpzCvyalWRywAn1n1VOA5dcqfCLo5rg==", "dependencies": { - "postcss": "postcss@8.4.38" + "postcss": "postcss@8.4.39" } }, "postcss-resolve-nested-selector@0.1.1": { @@ -1095,14 +1134,6 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dependencies": {} }, - "postcss@8.4.38": { - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", - "dependencies": { - "nanoid": "nanoid@3.3.7", - "picocolors": "picocolors@1.0.1", - "source-map-js": "source-map-js@1.2.0" - } - }, "postcss@8.4.39": { "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", "dependencies": { @@ -1115,18 +1146,14 @@ "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", "dependencies": {} }, - "prettier@3.3.2": { - "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", + "prettier@3.3.3": { + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dependencies": {} }, "prr@1.0.1": { "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", "dependencies": {} }, - "punycode@2.3.1": { - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dependencies": {} - }, "queue-microtask@1.2.3": { "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dependencies": {} @@ -1322,7 +1349,7 @@ "table@6.8.2": { "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", "dependencies": { - "ajv": "ajv@8.16.0", + "ajv": "ajv@8.17.1", "lodash.truncate": "lodash.truncate@4.4.2", "slice-ansi": "slice-ansi@4.0.0", "string-width": "string-width@4.2.3", @@ -1358,8 +1385,8 @@ "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==", "dependencies": {} }, - "uglify-js@3.18.0": { - "integrity": "sha512-SyVVbcNBCk0dzr9XL/R/ySrmYf0s372K6/hFklzgcp2lBFyXtw4I7BOdDjlLhE1aVqaI/SHWXWmYdlZxuyF38A==", + "uglify-js@3.19.0": { + "integrity": "sha512-wNKHUY2hYYkf6oSFfhwwiHo4WCHzHmzcXsqXYTN9ja3iApYIFbb2U6ics9hBcYLHcYGQoAlwnZlTrf3oF+BL/Q==", "dependencies": {} }, "undici@5.28.4": { @@ -1372,12 +1399,6 @@ "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==", "dependencies": {} }, - "uri-js@4.4.1": { - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "punycode@2.3.1" - } - }, "usercss-meta@0.12.0": { "integrity": "sha512-zKrXCKdpeIwtVe87omxGo9URf+7mbozduMZEg79dmT4KB3XJwfIkEi/Uk0PcTwR/nZLtAK1+k7isgbGB/g6E7Q==", "dependencies": {} @@ -1440,170 +1461,16 @@ } }, "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/flags/mod.ts": "0948466fc437f017f00c0b972a422b3dc3317a790bcf326429d23182977eaf9f", - "https://deno.land/std@0.206.0/fmt/colors.ts": "c51c4642678eb690dcf5ffee5918b675bf01a33fba82acf303701ae1a4f8c8d9", - "https://deno.land/std@0.206.0/fmt/printf.ts": "b4ca7dc4b2323b2614c7d11b3e6dc80442e5d56c33665cdf9b9de0dabb80f9ec", - "https://deno.land/std@0.206.0/fs/_util.ts": "fbf57dcdc9f7bc8128d60301eece608246971a7836a3bb1e78da75314f08b978", - "https://deno.land/std@0.206.0/fs/copy.ts": "ca19e4837965914471df38fbd61e16f9e8adfe89f9cffb0c83615c83ea3fc2bf", - "https://deno.land/std@0.206.0/fs/empty_dir.ts": "0b4a2508232446eed232ad1243dd4b0f07ac503a281633ae1324d1528df70964", - "https://deno.land/std@0.206.0/fs/ensure_dir.ts": "dc64c4c75c64721d4e3fb681f1382f803ff3d2868f08563ff923fdd20d071c40", - "https://deno.land/std@0.206.0/fs/ensure_file.ts": "39ac83cc283a20ec2735e956adf5de3e8a3334e0b6820547b5772f71c49ae083", - "https://deno.land/std@0.206.0/fs/ensure_link.ts": "c15e69c48556d78aae31b83e0c0ece04b7b8bc0951412f5b759aceb6fde7f0ac", - "https://deno.land/std@0.206.0/fs/ensure_symlink.ts": "b389c8568f0656d145ac7ece472afe710815cccbb2ebfd19da7978379ae143fe", - "https://deno.land/std@0.206.0/fs/eol.ts": "f1f2eb348a750c34500741987b21d65607f352cf7205f48f4319d417fff42842", - "https://deno.land/std@0.206.0/fs/exists.ts": "cb59a853d84871d87acab0e7936a4dac11282957f8e195102c5a7acb42546bb8", - "https://deno.land/std@0.206.0/fs/expand_glob.ts": "4f98c508fc9e40d6311d2f7fd88aaad05235cc506388c22dda315e095305811d", - "https://deno.land/std@0.206.0/fs/mod.ts": "bc3d0acd488cc7b42627044caf47d72019846d459279544e1934418955ba4898", - "https://deno.land/std@0.206.0/fs/move.ts": "b4f8f46730b40c32ea3c0bc8eb0fd0e8139249a698883c7b3756424cf19785c9", - "https://deno.land/std@0.206.0/fs/walk.ts": "c1e6b43f72a46e89b630140308bd51a4795d416a416b4cfb7cd4bd1e25946723", - "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.ts": "b8333cbb4aaaeb54ca6d6c43e0b69fb13c9481c69ed7a3c64a3d0d9daf2af769", - "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/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/d4f2666c2b04337f0a8632713de0889d9a7d332d/resources/ports.schema.json": "39ce3bcd2dabd033010684df7caa82cc69c25584174eba0922e6435dce53f06a" }, "workspace": { "dependencies": [ + "jsr:@std/assert@^1.0.0", + "jsr:@std/cli@^1.0.0", + "jsr:@std/fmt@^0.225.6", + "jsr:@std/fs@^0.229.3", + "jsr:@std/path@^1.0.1", + "jsr:@std/yaml@^0.224.3", "npm:@actions/core@1.10.1", "npm:@catppuccin/palette@1.2.0", "npm:@octokit/rest@20.0.2", diff --git a/scripts/deps.ts b/scripts/deps.ts index d7504204..295b92de 100644 --- a/scripts/deps.ts +++ b/scripts/deps.ts @@ -5,7 +5,7 @@ import userStylesSchema from "@/userstyles.schema.json" with { type: "json", }; -import { join } from "std/path/mod.ts"; +import { join } from "@std/path"; const ROOT = import.meta.dirname; if (!ROOT) { diff --git a/scripts/generate/labels.ts b/scripts/generate/labels.ts index e0ca0899..56bed9a3 100644 --- a/scripts/generate/labels.ts +++ b/scripts/generate/labels.ts @@ -1,9 +1,9 @@ -import { join } from "std/path/mod.ts"; +import { join } from "@std/path"; import { REPO_ROOT } from "@/deps.ts"; import { updateFile } from "@/generate/utils.ts"; import { UserStylesSchema } from "@/types/mod.ts"; -import { stringify } from "std/yaml/stringify.ts"; +import { stringify } from "@std/yaml"; import { type ColorName, flavors } from "@catppuccin/palette"; /** diff --git a/scripts/generate/main.ts b/scripts/generate/main.ts index 68729c3b..48e58f6b 100755 --- a/scripts/generate/main.ts +++ b/scripts/generate/main.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A -import { join } from "std/path/mod.ts"; +import { join } from "@std/path"; import { portsSchema, REPO_ROOT, userStylesSchema } from "@/deps.ts"; import type { PortsSchema, UserStylesSchema } from "@/types/mod.ts"; @@ -53,7 +53,7 @@ await syncIssueLabels(userstylesData.userstyles); * Keep `.github/CODEOWNERS` in sync with the userstyle metadata. */ const maintainersCodeOwners = () => { - return Object.entries(userstylesData.userstyles) + return Object.entries(userstylesData.userstyles!) .filter(([_, { "current-maintainers": currentMaintainers }]) => currentMaintainers.length > 0 ) diff --git a/scripts/generate/readme-repo.ts b/scripts/generate/readme-repo.ts index f9c955a0..652322d2 100644 --- a/scripts/generate/readme-repo.ts +++ b/scripts/generate/readme-repo.ts @@ -1,4 +1,4 @@ -import { join } from "std/path/mod.ts"; +import { join } from "@std/path"; import Handlebars from "handlebars"; import { REPO_ROOT } from "@/deps.ts"; @@ -52,13 +52,15 @@ export const generateMainReadme = async ( return { emoji: meta.emoji, name: meta.name, - ports: ports.map(({ name, path, "current-maintainers": currentMaintainers }) => { - return { - name: [name].flat(), - maintained: currentMaintainers.length > 0, - path, - }; - }), + ports: ports.map( + ({ name, path, "current-maintainers": currentMaintainers }) => { + return { + name: [name].flat(), + maintained: currentMaintainers.length > 0, + path, + }; + }, + ), }; }), }); diff --git a/scripts/generate/readme-styles.ts b/scripts/generate/readme-styles.ts index 8ca1b39f..a9e38432 100644 --- a/scripts/generate/readme-styles.ts +++ b/scripts/generate/readme-styles.ts @@ -1,5 +1,5 @@ import { UserStylesSchema } from "@/types/mod.ts"; -import { join } from "std/path/mod.ts"; +import { join } from "@std/path"; import { REPO_ROOT } from "@/deps.ts"; import Handlebars from "handlebars"; @@ -53,21 +53,33 @@ export const generateStyleReadmes = ( ); const stylesReadmeContent = Deno.readTextFileSync(stylesReadmePath); - Object.entries(userstyles).map(([slug, { name, readme, "current-maintainers": currentMaintainers, "past-maintainers": pastMaintainers }]) => { - console.log(`Generating README for ${slug}`); - const readmeContent = Handlebars.compile(stylesReadmeContent)({ - heading: heading(name, readme["app-link"]), - slug, - usage: readme.usage, - faq: readme.faq, - collaborators: { - currentMaintainers: extractName(currentMaintainers), - pastMaintainers: extractName(pastMaintainers), - }, - }); - Deno.writeTextFile( - join(REPO_ROOT, "styles", slug.toString(), "README.md"), - readmeContent, - ).catch((e) => console.error(e)); - }); + Object.entries(userstyles).map( + ( + [ + slug, + { + name, + readme, + "current-maintainers": currentMaintainers, + "past-maintainers": pastMaintainers, + }, + ], + ) => { + console.log(`Generating README for ${slug}`); + const readmeContent = Handlebars.compile(stylesReadmeContent)({ + heading: heading(name, readme["app-link"]), + slug, + usage: readme.usage, + faq: readme.faq, + collaborators: { + currentMaintainers: extractName(currentMaintainers), + pastMaintainers: extractName(pastMaintainers), + }, + }); + Deno.writeTextFile( + join(REPO_ROOT, "styles", slug.toString(), "README.md"), + readmeContent, + ).catch((e) => console.error(e)); + }, + ); }; diff --git a/scripts/import-styles/main.ts b/scripts/import-styles/main.ts index 35310ccf..56480edc 100644 --- a/scripts/import-styles/main.ts +++ b/scripts/import-styles/main.ts @@ -1,8 +1,7 @@ #!/usr/bin/env -S deno run -A import usercssMeta from "usercss-meta"; -import { ensureDir } from "std/fs/mod.ts"; -import { walk } from "std/fs/walk.ts"; -import { join } from "std/path/mod.ts"; +import { ensureDir, walk } from "@std/fs"; +import { join } from "@std/path"; import { REPO_ROOT } from "@/deps.ts"; diff --git a/scripts/lint/file-checker.ts b/scripts/lint/file-checker.ts index d2e10312..84c8893d 100644 --- a/scripts/lint/file-checker.ts +++ b/scripts/lint/file-checker.ts @@ -1,10 +1,10 @@ -import { exists } from "std/fs/exists.ts"; -import { join, relative } from "std/path/mod.ts"; +import { exists } from "@std/fs"; +import { join, relative } from "@std/path"; import core from "@actions/core"; import { REPO_ROOT } from "@/deps.ts"; import { log } from "@/lint/logger.ts"; -import * as color from "std/fmt/colors.ts"; +import * as color from "@std/fmt/colors"; const requiredFiles = [ "catppuccin.user.css", diff --git a/scripts/lint/logger.ts b/scripts/lint/logger.ts index 12851e97..bdd9f913 100644 --- a/scripts/lint/logger.ts +++ b/scripts/lint/logger.ts @@ -1,5 +1,5 @@ -import { sprintf } from "std/fmt/printf.ts"; -import * as color from "std/fmt/colors.ts"; +import { sprintf } from "@std/fmt/printf"; +import * as color from "@std/fmt/colors"; import core from "@actions/core"; export type LoggerProps = core.AnnotationProperties & { content?: string }; diff --git a/scripts/lint/main.ts b/scripts/lint/main.ts index 43d4b7aa..74a7f6a5 100755 --- a/scripts/lint/main.ts +++ b/scripts/lint/main.ts @@ -1,8 +1,8 @@ #!/usr/bin/env -S deno run -A -import { walk } from "std/fs/walk.ts"; -import { parse as parseFlags } from "std/flags/mod.ts"; -import { basename, dirname, join, relative } from "std/path/mod.ts"; -// @deno-types="npm:@types/less"; +import { walk } from "@std/fs"; +import { parseArgs } from "@std/cli"; +import { basename, dirname, join, relative } from "@std/path"; +// @ts-types="npm:@types/less"; import less from "less"; import { REPO_ROOT } from "@/deps.ts"; @@ -13,8 +13,8 @@ import { lint } from "@/lint/stylelint.ts"; import { getUserstylesData } from "@/utils.ts"; import stylelintConfig from "../../.stylelintrc.js"; -const flags = parseFlags(Deno.args, { boolean: ["fix"] }); -const subDir = flags._[0]?.toString() ?? ""; +const args = parseArgs(Deno.args, { boolean: ["fix"] }); +const subDir = args._[0]?.toString() ?? ""; const stylesheets = walk(join(REPO_ROOT, "styles", subDir), { includeFiles: true, includeDirs: false, @@ -37,7 +37,7 @@ for await (const entry of stylesheets) { content, dir, userstyles, - flags.fix, + args.fix, ); content = fixed; @@ -58,7 +58,7 @@ for await (const entry of stylesheets) { ); // Lint with Stylelint. - await lint(entry, content, flags.fix, stylelintConfig).catch(() => + await lint(entry, content, args.fix, stylelintConfig).catch(() => failed = true ); } diff --git a/scripts/lint/metadata.ts b/scripts/lint/metadata.ts index 97dc1baa..3d367840 100644 --- a/scripts/lint/metadata.ts +++ b/scripts/lint/metadata.ts @@ -1,9 +1,9 @@ -// @deno-types="@/types/usercss-meta.d.ts"; +// @ts-types="@/types/usercss-meta.d.ts"; import usercssMeta from "usercss-meta"; -import * as color from "std/fmt/colors.ts"; -import { sprintf } from "std/fmt/printf.ts"; -import type { WalkEntry } from "std/fs/walk.ts"; -import { join, relative } from "std/path/mod.ts"; +import * as color from "@std/fmt/colors"; +import { sprintf } from "@std/fmt/printf"; +import type { WalkEntry } from "@std/fs"; +import { join, relative } from "@std/path"; import { REPO_ROOT } from "@/deps.ts"; import { log } from "@/lint/logger.ts"; @@ -47,7 +47,10 @@ export const verifyMetadata = async ( .findIndex((line) => line.includes(key)) + 1; const message = current === undefined - ? sprintf("Metadata `%s` should not be undefined", color.bold(key)) + ? sprintf( + "Metadata `%s` should not be undefined", + color.bold(key), + ) : sprintf( 'Metadata `%s` should be "%s" but is "%s"', color.bold(key), @@ -63,9 +66,10 @@ export const verifyMetadata = async ( } } - const template = - (await Deno.readTextFile(join(REPO_ROOT, "template/catppuccin.user.css"))) - .split("\n"); + const template = (await Deno.readTextFile( + join(REPO_ROOT, "template/catppuccin.user.css"), + )) + .split("\n"); for (const variable of ["darkFlavor", "lightFlavor", "accentColor"]) { const declaration = `@var select ${variable}`; diff --git a/scripts/lint/stylelint-custom/optimizedSvgs.js b/scripts/lint/stylelint-custom/optimized-svgs.js similarity index 98% rename from scripts/lint/stylelint-custom/optimizedSvgs.js rename to scripts/lint/stylelint-custom/optimized-svgs.js index c74b6483..3b1ef50c 100644 --- a/scripts/lint/stylelint-custom/optimizedSvgs.js +++ b/scripts/lint/stylelint-custom/optimized-svgs.js @@ -54,7 +54,7 @@ const ruleFunction = (primary, _secondary, context) => { "mergePaths", "removeComments", "removeUselessDefs", - "removeScriptElement" + "removeScriptElement", ], }).data; diff --git a/scripts/lint/stylelint.ts b/scripts/lint/stylelint.ts index f6258596..bd67df83 100644 --- a/scripts/lint/stylelint.ts +++ b/scripts/lint/stylelint.ts @@ -1,6 +1,6 @@ -import * as color from "std/fmt/colors.ts"; -import type { WalkEntry } from "std/fs/walk.ts"; -import { relative } from "std/path/mod.ts"; +import * as color from "@std/fmt/colors"; +import type { WalkEntry } from "@std/fs"; +import { relative } from "@std/path"; import "postcss-less"; import stylelint from "stylelint"; diff --git a/scripts/sync-maintainers/main.ts b/scripts/sync-maintainers/main.ts index 767fcbc0..b5945c1f 100755 --- a/scripts/sync-maintainers/main.ts +++ b/scripts/sync-maintainers/main.ts @@ -1,5 +1,5 @@ #!/usr/bin/env -S deno run -A -import * as assert from "std/assert/mod.ts"; +import * as assert from "@std/assert"; import { Octokit } from "@octokit/rest"; import type { UserStylesSchema } from "@/types/mod.ts"; diff --git a/scripts/update-types.ts b/scripts/update-types.ts index 1a4ac245..a3303e96 100755 --- a/scripts/update-types.ts +++ b/scripts/update-types.ts @@ -1,6 +1,6 @@ #!/usr/bin/env -S deno run -A // deno-lint-ignore-file no-explicit-any -import { join } from "std/path/mod.ts"; +import { join } from "@std/path"; import { compile, Options } from "json-schema-to-typescript"; import { REPO_ROOT, userStylesSchema } from "@/deps.ts"; diff --git a/scripts/utils.ts b/scripts/utils.ts index 283d29c8..37b94d0a 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -1,13 +1,12 @@ import Ajv, { Schema } from "ajv"; -import { parse } from "std/yaml/parse.ts"; -import { join } from "std/path/join.ts"; +import { parse } from "@std/yaml"; +import { join } from "@std/path"; import { SetRequired } from "type-fest/source/set-required.d.ts"; import { REPO_ROOT, userStylesSchema } from "@/deps.ts"; import { UserstylesSchema } from "@/types/userstyles.d.ts"; -import { YAMLError } from "std/yaml/_error.ts"; import { log } from "@/lint/logger.ts"; -import { sprintf } from "std/fmt/printf.ts"; +import { sprintf } from "@std/fmt/printf"; /** * @param content A string of YAML content @@ -64,7 +63,7 @@ export const getUserstylesData = (): Userstyles => { return data as Userstyles; } catch (err) { - if (err instanceof YAMLError) { + if (err.name === "YAMLError") { const groups = /(?.*) at line (?\d+), column (?\d+):[\S\s]*/ .exec(err.message)?.groups;