diff --git a/bun.lock b/bun.lock index 136c7ef..7845402 100644 --- a/bun.lock +++ b/bun.lock @@ -4,22 +4,31 @@ "": { "name": "configuration-eslint", "dependencies": { - "@eslint/js": "^9.36.0", "eslint-plugin-perfectionist": "^4.15.0", "globals": "^16.4.0", - "jiti": "^2.6.0", "typescript-eslint": "^8.44.1", }, "devDependencies": { - "@gcch/configuration-prettier": "^1.0.5", + "@arethetypeswrong/core": "^0.18.2", + "@gcch/configuration-eslint": "^0.0.1", + "@gcch/configuration-prettier": "^1.0.6", + "eslint": "^9.36.0", + "publint": "^0.3.13", "tsdown": "^0.15.4", + "typescript": "^5.9.2", + "unplugin-unused": "^0.5.3", }, "peerDependencies": { "eslint": "^9.36.0", + "jiti": "^2.6.0", }, }, }, "packages": { + "@andrewbranch/untar.js": ["@andrewbranch/untar.js@1.0.3", "http://localhost:4873/@andrewbranch/untar.js/-/untar.js-1.0.3.tgz", {}, "sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw=="], + + "@arethetypeswrong/core": ["@arethetypeswrong/core@0.18.2", "http://localhost:4873/@arethetypeswrong/core/-/core-0.18.2.tgz", { "dependencies": { "@andrewbranch/untar.js": "^1.0.3", "@loaderkit/resolve": "^1.0.2", "cjs-module-lexer": "^1.2.3", "fflate": "^0.8.2", "lru-cache": "^11.0.1", "semver": "^7.5.4", "typescript": "5.6.1-rc", "validate-npm-package-name": "^5.0.0" } }, "sha512-GiwTmBFOU1/+UVNqqCGzFJYfBXEytUkiI+iRZ6Qx7KmUVtLm00sYySkfe203C9QtPG11yOz1ZaMek8dT/xnlgg=="], + "@babel/code-frame": ["@babel/code-frame@7.27.1", "http://localhost:4873/@babel/code-frame/-/code-frame-7.27.1.tgz", { "dependencies": { "@babel/helper-validator-identifier": "^7.27.1", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg=="], "@babel/generator": ["@babel/generator@7.28.3", "http://localhost:4873/@babel/generator/-/generator-7.28.3.tgz", { "dependencies": { "@babel/parser": "^7.28.3", "@babel/types": "^7.28.2", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw=="], @@ -38,6 +47,8 @@ "@babel/types": ["@babel/types@7.28.4", "http://localhost:4873/@babel/types/-/types-7.28.4.tgz", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.27.1" } }, "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q=="], + "@braidai/lang": ["@braidai/lang@1.1.2", "http://localhost:4873/@braidai/lang/-/lang-1.1.2.tgz", {}, "sha512-qBcknbBufNHlui137Hft8xauQMTZDKdophmLFv05r2eNmdIv/MlPuP4TdUknHG68UdWLgVZwgxVe735HzJNIwA=="], + "@emnapi/core": ["@emnapi/core@1.5.0", "http://localhost:4873/@emnapi/core/-/core-1.5.0.tgz", { "dependencies": { "@emnapi/wasi-threads": "1.1.0", "tslib": "^2.4.0" } }, "sha512-sbP8GzB1WDzacS8fgNPpHlp6C9VZe+SJP3F90W9rLemaQj2PzIuTEl1qDOYQf58YIpyjViI24y9aPWCjEzY2cg=="], "@emnapi/runtime": ["@emnapi/runtime@1.5.0", "http://localhost:4873/@emnapi/runtime/-/runtime-1.5.0.tgz", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ=="], @@ -62,7 +73,9 @@ "@eslint/plugin-kit": ["@eslint/plugin-kit@0.3.5", "http://localhost:4873/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz", { "dependencies": { "@eslint/core": "^0.15.2", "levn": "^0.4.1" } }, "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w=="], - "@gcch/configuration-prettier": ["@gcch/configuration-prettier@1.0.5", "http://localhost:4873/@gcch/configuration-prettier/-/configuration-prettier-1.0.5.tgz", { "dependencies": { "@prettier/plugin-php": "^0.24.0", "@prettier/plugin-xml": "^3.4.2", "prettier-plugin-curly": "^0.3.2", "prettier-plugin-jsdoc": "^1.3.3", "prettier-plugin-pkg": "^0.21.2", "prettier-plugin-sh": "^0.18.0" }, "peerDependencies": { "prettier": "^4.0.0-alpha.12" } }, "sha512-kr/k9lRTVm0L3wfww4Pn5qiXnAt8PEC0Qa1MRYpM6prs1tS8YN3VjVdC37jtYRCd6CteJ40hiC6V7Gwrk6Xyxw=="], + "@gcch/configuration-eslint": ["@gcch/configuration-eslint@0.0.1", "http://localhost:4873/@gcch/configuration-eslint/-/configuration-eslint-0.0.1.tgz", { "dependencies": { "@eslint/js": "^9.36.0", "eslint-plugin-perfectionist": "^4.15.0", "globals": "^16.4.0", "jiti": "^2.6.0", "typescript-eslint": "^8.44.1" }, "peerDependencies": { "eslint": "^9.36.0" } }, "sha512-bNpo0VqSWlAo/+ds17vcBSVnWqepLmLd3ENtOK1ko3OHcIYiOVdlFRG4fIltzvdt4LR6QafOzXTX4hvFFTMbdQ=="], + + "@gcch/configuration-prettier": ["@gcch/configuration-prettier@1.0.6", "http://localhost:4873/@gcch/configuration-prettier/-/configuration-prettier-1.0.6.tgz", { "dependencies": { "@prettier/plugin-php": "^0.24.0", "@prettier/plugin-xml": "^3.4.2", "prettier-plugin-curly": "^0.3.2", "prettier-plugin-jsdoc": "^1.3.3", "prettier-plugin-pkg": "^0.21.2", "prettier-plugin-sh": "^0.18.0" }, "peerDependencies": { "prettier": "^4.0.0-alpha.12" } }, "sha512-uk6Nynw8axOD/pSreR519zyXTam5OQla1NsUoaLT5Wu8Hf6xKqfjPO8pduQ2BEf+wdrr+FD2s9dbc//LqRa15w=="], "@humanfs/core": ["@humanfs/core@0.19.1", "http://localhost:4873/@humanfs/core/-/core-0.19.1.tgz", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="], @@ -74,12 +87,16 @@ "@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.13", "http://localhost:4873/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="], + "@jridgewell/remapping": ["@jridgewell/remapping@2.3.5", "http://localhost:4873/@jridgewell/remapping/-/remapping-2.3.5.tgz", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="], + "@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "http://localhost:4873/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="], "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "http://localhost:4873/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "http://localhost:4873/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="], + "@loaderkit/resolve": ["@loaderkit/resolve@1.0.4", "http://localhost:4873/@loaderkit/resolve/-/resolve-1.0.4.tgz", { "dependencies": { "@braidai/lang": "^1.0.0" } }, "sha512-rJzYKVcV4dxJv+vW6jlvagF8zvGxHJ2+HTr1e2qOejfmGhAApgJHl8Aog4mMszxceTRiKTTbnpgmTO1bEZHV/A=="], + "@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.0.5", "http://localhost:4873/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.5.tgz", { "dependencies": { "@emnapi/core": "^1.5.0", "@emnapi/runtime": "^1.5.0", "@tybys/wasm-util": "^0.10.1" } }, "sha512-TBr9Cf9onSAS2LQ2+QHx6XcC6h9+RIzJgbqG3++9TUZSH204AwEy5jg3BTQ0VATsyoGj4ee49tN/y6rvaOOtcg=="], "@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "http://localhost:4873/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="], @@ -96,6 +113,8 @@ "@prettier/plugin-xml": ["@prettier/plugin-xml@3.4.2", "http://localhost:4873/@prettier/plugin-xml/-/plugin-xml-3.4.2.tgz", { "dependencies": { "@xml-tools/parser": "^1.0.11" }, "peerDependencies": { "prettier": "^3.0.0" } }, "sha512-/UyNlHfkuLXG6Ed85KB0WBF283xn2yavR+UtRibBRUcvEJId2DSLdGXwJ/cDa1X++SWDPzq3+GSFniHjkNy7yg=="], + "@publint/pack": ["@publint/pack@0.1.2", "http://localhost:4873/@publint/pack/-/pack-0.1.2.tgz", {}, "sha512-S+9ANAvUmjutrshV4jZjaiG8XQyuJIZ8a4utWmN/vW1sgQ9IfBnPndwkmQYw53QmouOIytT874u65HEmu6H5jw=="], + "@quansync/fs": ["@quansync/fs@0.1.5", "http://localhost:4873/@quansync/fs/-/fs-0.1.5.tgz", { "dependencies": { "quansync": "^0.2.11" } }, "sha512-lNS9hL2aS2NZgNW7BBj+6EBl4rOf8l+tQ0eRY6JWCI8jI2kc53gSoqbjojU0OnAWhzoXiOjFyGsHcDGePB3lhA=="], "@reteps/dockerfmt": ["@reteps/dockerfmt@0.3.6", "http://localhost:4873/@reteps/dockerfmt/-/dockerfmt-0.3.6.tgz", {}, "sha512-Tb5wIMvBf/nLejTQ61krK644/CEMB/cpiaIFXqGApfGqO3GwcR3qnI0DbmkFVCl2OyEp8LnLX3EkucoL0+tbFg=="], @@ -210,6 +229,8 @@ "chokidar": ["chokidar@4.0.3", "http://localhost:4873/chokidar/-/chokidar-4.0.3.tgz", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="], + "cjs-module-lexer": ["cjs-module-lexer@1.4.3", "http://localhost:4873/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz", {}, "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q=="], + "color-convert": ["color-convert@2.0.1", "http://localhost:4873/color-convert/-/color-convert-2.0.1.tgz", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], "color-name": ["color-name@1.1.4", "http://localhost:4873/color-name/-/color-name-1.1.4.tgz", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], @@ -218,6 +239,8 @@ "concat-map": ["concat-map@0.0.1", "http://localhost:4873/concat-map/-/concat-map-0.0.1.tgz", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="], + "confbox": ["confbox@0.2.2", "http://localhost:4873/confbox/-/confbox-0.2.2.tgz", {}, "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ=="], + "cross-spawn": ["cross-spawn@7.0.6", "http://localhost:4873/cross-spawn/-/cross-spawn-7.0.6.tgz", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], "debug": ["debug@4.4.3", "http://localhost:4873/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], @@ -260,6 +283,8 @@ "esutils": ["esutils@2.0.3", "http://localhost:4873/esutils/-/esutils-2.0.3.tgz", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="], + "exsolve": ["exsolve@1.0.7", "http://localhost:4873/exsolve/-/exsolve-1.0.7.tgz", {}, "sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw=="], + "fast-deep-equal": ["fast-deep-equal@3.1.3", "http://localhost:4873/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], "fast-glob": ["fast-glob@3.3.3", "http://localhost:4873/fast-glob/-/fast-glob-3.3.3.tgz", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.8" } }, "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg=="], @@ -278,6 +303,8 @@ "fdir": ["fdir@6.5.0", "http://localhost:4873/fdir/-/fdir-6.5.0.tgz", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], + "fflate": ["fflate@0.8.2", "http://localhost:4873/fflate/-/fflate-0.8.2.tgz", {}, "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A=="], + "file-entry-cache": ["file-entry-cache@8.0.0", "http://localhost:4873/file-entry-cache/-/file-entry-cache-8.0.0.tgz", { "dependencies": { "flat-cache": "^4.0.0" } }, "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ=="], "fill-range": ["fill-range@7.1.1", "http://localhost:4873/fill-range/-/fill-range-7.1.1.tgz", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="], @@ -334,7 +361,7 @@ "jiti": ["jiti@2.6.0", "http://localhost:4873/jiti/-/jiti-2.6.0.tgz", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-VXe6RjJkBPj0ohtqaO8vSWP3ZhAKo66fKrFNCll4BTcwljPLz03pCbaNKfzGP5MbrCYcbJ7v0nOYYwUzTEIdXQ=="], - "js-tokens": ["js-tokens@4.0.0", "http://localhost:4873/js-tokens/-/js-tokens-4.0.0.tgz", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], + "js-tokens": ["js-tokens@9.0.1", "http://localhost:4873/js-tokens/-/js-tokens-9.0.1.tgz", {}, "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ=="], "js-yaml": ["js-yaml@4.1.0", "http://localhost:4873/js-yaml/-/js-yaml-4.1.0.tgz", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA=="], @@ -364,6 +391,8 @@ "lomemo": ["lomemo@1.0.1", "http://localhost:4873/lomemo/-/lomemo-1.0.1.tgz", {}, "sha512-g8CnVp7UYypeQKpXpMzyrJoDzhOoqVQYSJApoq/cFI3vGxXoHQ+6lH5cApW9XwzVy5SL9/Owil7/JxbKckw0Lg=="], + "lru-cache": ["lru-cache@11.2.2", "http://localhost:4873/lru-cache/-/lru-cache-11.2.2.tgz", {}, "sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg=="], + "magic-string": ["magic-string@0.30.19", "http://localhost:4873/magic-string/-/magic-string-0.30.19.tgz", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw=="], "mdast-util-from-markdown": ["mdast-util-from-markdown@2.0.2", "http://localhost:4873/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", { "dependencies": { "@types/mdast": "^4.0.0", "@types/unist": "^3.0.0", "decode-named-character-reference": "^1.0.0", "devlop": "^1.0.0", "mdast-util-to-string": "^4.0.0", "micromark": "^4.0.0", "micromark-util-decode-numeric-character-reference": "^2.0.0", "micromark-util-decode-string": "^2.0.0", "micromark-util-normalize-identifier": "^2.0.0", "micromark-util-symbol": "^2.0.0", "micromark-util-types": "^2.0.0", "unist-util-stringify-position": "^4.0.0" } }, "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA=="], @@ -418,6 +447,8 @@ "minimatch": ["minimatch@3.1.2", "http://localhost:4873/minimatch/-/minimatch-3.1.2.tgz", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw=="], + "mri": ["mri@1.2.0", "http://localhost:4873/mri/-/mri-1.2.0.tgz", {}, "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA=="], + "ms": ["ms@2.1.3", "http://localhost:4873/ms/-/ms-2.1.3.tgz", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], "natural-compare": ["natural-compare@1.4.0", "http://localhost:4873/natural-compare/-/natural-compare-1.4.0.tgz", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="], @@ -430,6 +461,8 @@ "p-locate": ["p-locate@5.0.0", "http://localhost:4873/p-locate/-/p-locate-5.0.0.tgz", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="], + "package-manager-detector": ["package-manager-detector@1.3.0", "http://localhost:4873/package-manager-detector/-/package-manager-detector-1.3.0.tgz", {}, "sha512-ZsEbbZORsyHuO00lY1kV3/t72yp6Ysay6Pd17ZAlNGuGwmWDLCJxFpRs0IzfXfj1o4icJOkUEioexFHzyPurSQ=="], + "parent-module": ["parent-module@1.0.1", "http://localhost:4873/parent-module/-/parent-module-1.0.1.tgz", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="], "path-exists": ["path-exists@4.0.0", "http://localhost:4873/path-exists/-/path-exists-4.0.0.tgz", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="], @@ -446,6 +479,8 @@ "pioppo": ["pioppo@1.2.1", "http://localhost:4873/pioppo/-/pioppo-1.2.1.tgz", { "dependencies": { "dettle": "^1.0.5", "when-exit": "^2.1.4" } }, "sha512-1oErGVWD6wFDPmrJWEY1Cj2p829UGT6Fw9OItYFxLkWtBjCvQSMC8wA5IcAR5ms/6gqiY8pnJvIV/+/Imyobew=="], + "pkg-types": ["pkg-types@2.3.0", "http://localhost:4873/pkg-types/-/pkg-types-2.3.0.tgz", { "dependencies": { "confbox": "^0.2.2", "exsolve": "^1.0.7", "pathe": "^2.0.3" } }, "sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig=="], + "prelude-ls": ["prelude-ls@1.2.1", "http://localhost:4873/prelude-ls/-/prelude-ls-1.2.1.tgz", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], "prettier": ["prettier@4.0.0-alpha.12", "http://localhost:4873/prettier/-/prettier-4.0.0-alpha.12.tgz", { "dependencies": { "@prettier/cli": "^0.7.1" }, "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-wQ8RK48Io6nRr39OQFXZu+EALwTygXnstPgN9UplY+mqkg6P52ceGifo5gylIwX1X9lOuXxreUFrLxXsCbA+sg=="], @@ -464,6 +499,8 @@ "promise-resolve-timeout": ["promise-resolve-timeout@2.0.1", "http://localhost:4873/promise-resolve-timeout/-/promise-resolve-timeout-2.0.1.tgz", {}, "sha512-90Qzzu5SmR+ksmTPsc79121NZGtEiPvKACQLCl6yofknRx5xJI9kNj3oDVSX6dVTneF8Ju6+xpVFdDSzb7cNcg=="], + "publint": ["publint@0.3.13", "http://localhost:4873/publint/-/publint-0.3.13.tgz", { "dependencies": { "@publint/pack": "^0.1.2", "package-manager-detector": "^1.3.0", "picocolors": "^1.1.1", "sade": "^1.8.1" }, "bin": { "publint": "src/cli.js" } }, "sha512-NC+lph09+BRO9LJgKlIy3WQXyu6/6WDQ0dCA60KALUwdKVf3PfGuC6fY8I+oKB/5kEPh50aOSUz+6yWy1n4EfA=="], + "punycode": ["punycode@2.3.1", "http://localhost:4873/punycode/-/punycode-2.3.1.tgz", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="], "quansync": ["quansync@0.2.11", "http://localhost:4873/quansync/-/quansync-0.2.11.tgz", {}, "sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA=="], @@ -486,6 +523,8 @@ "run-parallel": ["run-parallel@1.2.0", "http://localhost:4873/run-parallel/-/run-parallel-1.2.0.tgz", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="], + "sade": ["sade@1.8.1", "http://localhost:4873/sade/-/sade-1.8.1.tgz", { "dependencies": { "mri": "^1.1.0" } }, "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A=="], + "semver": ["semver@7.7.2", "http://localhost:4873/semver/-/semver-7.7.2.tgz", { "bin": { "semver": "bin/semver.js" } }, "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="], "sh-syntax": ["sh-syntax@0.5.8", "http://localhost:4873/sh-syntax/-/sh-syntax-0.5.8.tgz", { "dependencies": { "tslib": "^2.8.1" } }, "sha512-JfVoxf4FxQI5qpsPbkHhZo+n6N9YMJobyl4oGEUBb/31oQYlgTjkXQD8PBiafS2UbWoxrTO0Z5PJUBXEPAG1Zw=="], @@ -556,8 +595,16 @@ "unist-util-stringify-position": ["unist-util-stringify-position@4.0.0", "http://localhost:4873/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ=="], + "unplugin": ["unplugin@2.3.10", "http://localhost:4873/unplugin/-/unplugin-2.3.10.tgz", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "acorn": "^8.15.0", "picomatch": "^4.0.3", "webpack-virtual-modules": "^0.6.2" } }, "sha512-6NCPkv1ClwH+/BGE9QeoTIl09nuiAt0gS28nn1PvYXsGKRwM2TCbFA2QiilmehPDTXIe684k4rZI1yl3A1PCUw=="], + + "unplugin-unused": ["unplugin-unused@0.5.3", "http://localhost:4873/unplugin-unused/-/unplugin-unused-0.5.3.tgz", { "dependencies": { "js-tokens": "^9.0.1", "picocolors": "^1.1.1", "pkg-types": "^2.3.0", "unplugin": "^2.3.10" } }, "sha512-YZ9xXe9UQDRwDg5X4nyptZgVQeHuT84GQBpf0tEap08XGwx5jCT29P1/LTuChqno/A9SFFG14LWE5Bg/YhKeBQ=="], + "uri-js": ["uri-js@4.4.1", "http://localhost:4873/uri-js/-/uri-js-4.4.1.tgz", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="], + "validate-npm-package-name": ["validate-npm-package-name@5.0.1", "http://localhost:4873/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", {}, "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ=="], + + "webpack-virtual-modules": ["webpack-virtual-modules@0.6.2", "http://localhost:4873/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz", {}, "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ=="], + "webworker-shim": ["webworker-shim@1.1.4", "http://localhost:4873/webworker-shim/-/webworker-shim-1.1.4.tgz", {}, "sha512-W/40L5W6ZQyGhYr3hJ7N/2SjdK5OdFtnYm94j6xlRyjckegXnIGwz0EdxdkQx6VGTglJjK8mqBhMz3fd3AY4bg=="], "when-exit": ["when-exit@2.1.4", "http://localhost:4873/when-exit/-/when-exit-2.1.4.tgz", {}, "sha512-4rnvd3A1t16PWzrBUcSDZqcAmsUIy4minDXT/CZ8F2mVDgd65i4Aalimgz1aQkRGU0iH5eT5+6Rx2TK8o443Pg=="], @@ -580,6 +627,10 @@ "zeptomatch-unescape": ["zeptomatch-unescape@1.0.1", "http://localhost:4873/zeptomatch-unescape/-/zeptomatch-unescape-1.0.1.tgz", {}, "sha512-xhSFkKV0aQ03e/eiN4VhOTwJhcqfH7SMiGHrWKw9gXi+0EVJAxJ8Gt4ehozYsYLhUXL1JFbP1g3EE6ZmkStB0g=="], + "@arethetypeswrong/core/typescript": ["typescript@5.6.1-rc", "http://localhost:4873/typescript/-/typescript-5.6.1-rc.tgz", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ=="], + + "@babel/code-frame/js-tokens": ["js-tokens@4.0.0", "http://localhost:4873/js-tokens/-/js-tokens-4.0.0.tgz", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], + "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "http://localhost:4873/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], "@eslint/eslintrc/globals": ["globals@14.0.0", "http://localhost:4873/globals/-/globals-14.0.0.tgz", {}, "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ=="], diff --git a/dist/index.js b/dist/index.js index 372a779..68dc5a4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1 +1 @@ -import e from"eslint-plugin-perfectionist";import{defineConfig as t}from"eslint/config";import n from"globals";import r from"typescript-eslint";const i=t(r.configs.strictTypeChecked,r.configs.stylisticTypeChecked,{languageOptions:{ecmaVersion:`latest`,globals:{...n.browser,...n.es2026},parserOptions:{ecmaVersion:`latest`,projectService:!0,sourceType:`module`,tsconfigRootDir:import.meta.dirname}}},e.configs[`recommended-natural`]);export{i as configTypescriptNavigateur}; \ No newline at end of file +import{Linter as e}from"eslint";import t from"eslint-plugin-perfectionist";import{defineConfig as n}from"eslint/config";import r from"globals";import i from"typescript-eslint";const a=n(i.configs.strictTypeChecked,i.configs.stylisticTypeChecked,{languageOptions:{ecmaVersion:`latest`,globals:{...r.browser,...r.es2026},parserOptions:{ecmaVersion:`latest`,projectService:!0,sourceType:`module`,tsconfigRootDir:import.meta.dirname}}},t.configs[`recommended-natural`]);export{a as configTypescriptNavigateur}; \ No newline at end of file diff --git a/eslint.config.ts b/eslint.config.ts index e613d96..418b21c 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -1,13 +1,10 @@ import perfectionist from "eslint-plugin-perfectionist"; -import { defineConfig } from "eslint/config"; +import { defineConfig, globalIgnores } from "eslint/config"; import globals from "globals"; import typescriptEslint from "typescript-eslint"; export default defineConfig( - { - ignores: ["dist"], - name: "fichiers", - }, + globalIgnores(["dist/**/*"], "Ignore le Dossier de Compilation"), typescriptEslint.configs.strictTypeChecked, typescriptEslint.configs.stylisticTypeChecked, { diff --git a/justfile b/justfile index d2fcdcd..1971408 100644 --- a/justfile +++ b/justfile @@ -1,8 +1,26 @@ +set shell := ["/usr/bin/fish", "-c"] + +# Formate le code. formate: - prettier -uw . && dprint fmt + bun prettier -uw . + dprint fmt +# Met à jour les dépendances NPM. +maj-dependances: + bun update + +# Analyse le code TypeScript avec ESLint. +analyse-code: + bun eslint + +# Compile le projet. compile: - bun tsdown + bun tsdown --attw --publint --unused +# Nettoie le dosiser de compilation. +nettoie: + rm -rfv dist + +# Publie le paquet sur le registre local. publie: npm publish --registry http://localhost:4873 diff --git a/package.json b/package.json index f336eb7..44bc954 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gcch/configuration-eslint", - "version": "0.0.1", + "version": "0.0.2", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -13,17 +13,22 @@ "dist" ], "peerDependencies": { - "eslint": "^9.36.0" + "eslint": "^9.36.0", + "jiti": "^2.6.0" }, "dependencies": { - "@eslint/js": "^9.36.0", "eslint-plugin-perfectionist": "^4.15.0", "globals": "^16.4.0", - "jiti": "^2.6.0", "typescript-eslint": "^8.44.1" }, "devDependencies": { - "@gcch/configuration-prettier": "^1.0.5", - "tsdown": "^0.15.4" + "@arethetypeswrong/core": "^0.18.2", + "@gcch/configuration-eslint": "^0.0.1", + "@gcch/configuration-prettier": "^1.0.6", + "eslint": "^9.36.0", + "publint": "^0.3.13", + "tsdown": "^0.15.4", + "typescript": "^5.9.2", + "unplugin-unused": "^0.5.3" } -} +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e5fbc95..e3d16ef 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "alwaysStrict": true, "checkJs": true, "downlevelIteration": false, + "erasableSyntaxOnly": true, "esModuleInterop": true, "exactOptionalPropertyTypes": true, "forceConsistentCasingInFileNames": true, @@ -33,6 +34,7 @@ "skipLibCheck": false, "strict": true, "strictBindCallApply": true, + "strictBuiltinIteratorReturn": true, "strictFunctionTypes": true, "strictNullChecks": true, "strictPropertyInitialization": true, @@ -41,6 +43,9 @@ "target": "ESNext", "types": ["node"], "useDefineForClassFields": true, - "useUnknownInCatchVariables": true - } + "useUnknownInCatchVariables": true, + "verbatimModuleSyntax": true + }, + "exclude": ["dist"], + "include": ["**/*.js", "**/*.ts"] } diff --git a/tsdown.config.ts b/tsdown.config.ts index 97a5f83..7e7b82e 100644 --- a/tsdown.config.ts +++ b/tsdown.config.ts @@ -7,6 +7,6 @@ export default defineConfig({ minify: true, platform: "node", sourcemap: false, - target: ["node24"], + target: "esnext", treeshake: true, });