this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update typescript

also remove tests from output

+159 -90
+10
eslint.config.js
··· 7 7 packageJson.configs.recommended, 8 8 packageJson.configs.stylistic, 9 9 ...xo.xoToEslintConfig([{prettier: 'compat'}]), 10 + { 11 + languageOptions: { 12 + parserOptions: { 13 + projectService: { 14 + // https://typescript-eslint.io/packages/parser/#allowdefaultproject 15 + allowDefaultProject: ['test/*.ts'], 16 + }, 17 + }, 18 + }, 19 + }, 10 20 ]);
+128 -83
package-lock.json
··· 10 10 "license": "MIT", 11 11 "devDependencies": { 12 12 "@ava/typescript": "^6.0.0", 13 - "@sindresorhus/tsconfig": "^8.1.0", 13 + "@tsconfig/strictest": "^2.0.8", 14 14 "ava": "^6.4.1", 15 15 "c8": "^11.0.0", 16 16 "del-cli": "^7.0.0", ··· 19 19 "knip": "^5.86.0", 20 20 "prettier": "^3.6.2", 21 21 "prettier-plugin-packagejson": "^3.0.2", 22 - "typescript": "^5.0.2", 22 + "typescript": "^6.0.2", 23 23 "xo": "^2.0.2" 24 24 } 25 25 }, ··· 1285 1285 "url": "https://opencollective.com/eslint" 1286 1286 } 1287 1287 }, 1288 + "node_modules/@tsconfig/strictest": { 1289 + "version": "2.0.8", 1290 + "resolved": "https://registry.npmjs.org/@tsconfig/strictest/-/strictest-2.0.8.tgz", 1291 + "integrity": "sha512-XnQ7vNz5HRN0r88GYf1J9JJjqtZPiHt2woGJOo2dYqyHGGcd6OLGqSlBB6p1j9mpzja6Oe5BoPqWmeDx6X9rLw==", 1292 + "dev": true, 1293 + "license": "MIT" 1294 + }, 1288 1295 "node_modules/@tybys/wasm-util": { 1289 1296 "version": "0.10.1", 1290 1297 "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", ··· 1347 1354 } 1348 1355 }, 1349 1356 "node_modules/@typescript-eslint/eslint-plugin": { 1350 - "version": "8.57.0", 1351 - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.57.0.tgz", 1352 - "integrity": "sha512-qeu4rTHR3/IaFORbD16gmjq9+rEs9fGKdX0kF6BKSfi+gCuG3RCKLlSBYzn/bGsY9Tj7KE/DAQStbp8AHJGHEQ==", 1357 + "version": "8.58.1", 1358 + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.1.tgz", 1359 + "integrity": "sha512-eSkwoemjo76bdXl2MYqtxg51HNwUSkWfODUOQ3PaTLZGh9uIWWFZIjyjaJnex7wXDu+TRx+ATsnSxdN9YWfRTQ==", 1353 1360 "dev": true, 1354 1361 "license": "MIT", 1355 1362 "dependencies": { 1356 1363 "@eslint-community/regexpp": "^4.12.2", 1357 - "@typescript-eslint/scope-manager": "8.57.0", 1358 - "@typescript-eslint/type-utils": "8.57.0", 1359 - "@typescript-eslint/utils": "8.57.0", 1360 - "@typescript-eslint/visitor-keys": "8.57.0", 1364 + "@typescript-eslint/scope-manager": "8.58.1", 1365 + "@typescript-eslint/type-utils": "8.58.1", 1366 + "@typescript-eslint/utils": "8.58.1", 1367 + "@typescript-eslint/visitor-keys": "8.58.1", 1361 1368 "ignore": "^7.0.5", 1362 1369 "natural-compare": "^1.4.0", 1363 - "ts-api-utils": "^2.4.0" 1370 + "ts-api-utils": "^2.5.0" 1364 1371 }, 1365 1372 "engines": { 1366 1373 "node": "^18.18.0 || ^20.9.0 || >=21.1.0" ··· 1370 1377 "url": "https://opencollective.com/typescript-eslint" 1371 1378 }, 1372 1379 "peerDependencies": { 1373 - "@typescript-eslint/parser": "^8.57.0", 1380 + "@typescript-eslint/parser": "^8.58.1", 1374 1381 "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", 1375 - "typescript": ">=4.8.4 <6.0.0" 1382 + "typescript": ">=4.8.4 <6.1.0" 1376 1383 } 1377 1384 }, 1378 1385 "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { ··· 1386 1393 } 1387 1394 }, 1388 1395 "node_modules/@typescript-eslint/parser": { 1389 - "version": "8.57.0", 1390 - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.0.tgz", 1391 - "integrity": "sha512-XZzOmihLIr8AD1b9hL9ccNMzEMWt/dE2u7NyTY9jJG6YNiNthaD5XtUHVF2uCXZ15ng+z2hT3MVuxnUYhq6k1g==", 1396 + "version": "8.58.1", 1397 + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.1.tgz", 1398 + "integrity": "sha512-gGkiNMPqerb2cJSVcruigx9eHBlLG14fSdPdqMoOcBfh+vvn4iCq2C8MzUB89PrxOXk0y3GZ1yIWb9aOzL93bw==", 1392 1399 "dev": true, 1393 1400 "license": "MIT", 1394 1401 "dependencies": { 1395 - "@typescript-eslint/scope-manager": "8.57.0", 1396 - "@typescript-eslint/types": "8.57.0", 1397 - "@typescript-eslint/typescript-estree": "8.57.0", 1398 - "@typescript-eslint/visitor-keys": "8.57.0", 1402 + "@typescript-eslint/scope-manager": "8.58.1", 1403 + "@typescript-eslint/types": "8.58.1", 1404 + "@typescript-eslint/typescript-estree": "8.58.1", 1405 + "@typescript-eslint/visitor-keys": "8.58.1", 1399 1406 "debug": "^4.4.3" 1400 1407 }, 1401 1408 "engines": { ··· 1407 1414 }, 1408 1415 "peerDependencies": { 1409 1416 "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", 1410 - "typescript": ">=4.8.4 <6.0.0" 1417 + "typescript": ">=4.8.4 <6.1.0" 1411 1418 } 1412 1419 }, 1413 1420 "node_modules/@typescript-eslint/project-service": { 1414 - "version": "8.57.0", 1415 - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.0.tgz", 1416 - "integrity": "sha512-pR+dK0BlxCLxtWfaKQWtYr7MhKmzqZxuii+ZjuFlZlIGRZm22HnXFqa2eY+90MUz8/i80YJmzFGDUsi8dMOV5w==", 1421 + "version": "8.58.1", 1422 + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.1.tgz", 1423 + "integrity": "sha512-gfQ8fk6cxhtptek+/8ZIqw8YrRW5048Gug8Ts5IYcMLCw18iUgrZAEY/D7s4hkI0FxEfGakKuPK/XUMPzPxi5g==", 1417 1424 "dev": true, 1418 1425 "license": "MIT", 1419 1426 "dependencies": { 1420 - "@typescript-eslint/tsconfig-utils": "^8.57.0", 1421 - "@typescript-eslint/types": "^8.57.0", 1427 + "@typescript-eslint/tsconfig-utils": "^8.58.1", 1428 + "@typescript-eslint/types": "^8.58.1", 1422 1429 "debug": "^4.4.3" 1423 1430 }, 1424 1431 "engines": { ··· 1429 1436 "url": "https://opencollective.com/typescript-eslint" 1430 1437 }, 1431 1438 "peerDependencies": { 1432 - "typescript": ">=4.8.4 <6.0.0" 1439 + "typescript": ">=4.8.4 <6.1.0" 1433 1440 } 1434 1441 }, 1435 1442 "node_modules/@typescript-eslint/scope-manager": { 1436 - "version": "8.57.0", 1437 - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.0.tgz", 1438 - "integrity": "sha512-nvExQqAHF01lUM66MskSaZulpPL5pgy5hI5RfrxviLgzZVffB5yYzw27uK/ft8QnKXI2X0LBrHJFr1TaZtAibw==", 1443 + "version": "8.58.1", 1444 + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.1.tgz", 1445 + "integrity": "sha512-TPYUEqJK6avLcEjumWsIuTpuYODTTDAtoMdt8ZZa93uWMTX13Nb8L5leSje1NluammvU+oI3QRr5lLXPgihX3w==", 1439 1446 "dev": true, 1440 1447 "license": "MIT", 1441 1448 "dependencies": { 1442 - "@typescript-eslint/types": "8.57.0", 1443 - "@typescript-eslint/visitor-keys": "8.57.0" 1449 + "@typescript-eslint/types": "8.58.1", 1450 + "@typescript-eslint/visitor-keys": "8.58.1" 1444 1451 }, 1445 1452 "engines": { 1446 1453 "node": "^18.18.0 || ^20.9.0 || >=21.1.0" ··· 1451 1458 } 1452 1459 }, 1453 1460 "node_modules/@typescript-eslint/tsconfig-utils": { 1454 - "version": "8.57.0", 1455 - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.0.tgz", 1456 - "integrity": "sha512-LtXRihc5ytjJIQEH+xqjB0+YgsV4/tW35XKX3GTZHpWtcC8SPkT/d4tqdf1cKtesryHm2bgp6l555NYcT2NLvA==", 1461 + "version": "8.58.1", 1462 + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.1.tgz", 1463 + "integrity": "sha512-JAr2hOIct2Q+qk3G+8YFfqkqi7sC86uNryT+2i5HzMa2MPjw4qNFvtjnw1IiA1rP7QhNKVe21mSSLaSjwA1Olw==", 1457 1464 "dev": true, 1458 1465 "license": "MIT", 1459 1466 "engines": { ··· 1464 1471 "url": "https://opencollective.com/typescript-eslint" 1465 1472 }, 1466 1473 "peerDependencies": { 1467 - "typescript": ">=4.8.4 <6.0.0" 1474 + "typescript": ">=4.8.4 <6.1.0" 1468 1475 } 1469 1476 }, 1470 1477 "node_modules/@typescript-eslint/type-utils": { 1471 - "version": "8.57.0", 1472 - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.57.0.tgz", 1473 - "integrity": "sha512-yjgh7gmDcJ1+TcEg8x3uWQmn8ifvSupnPfjP21twPKrDP/pTHlEQgmKcitzF/rzPSmv7QjJ90vRpN4U+zoUjwQ==", 1478 + "version": "8.58.1", 1479 + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.1.tgz", 1480 + "integrity": "sha512-HUFxvTJVroT+0rXVJC7eD5zol6ID+Sn5npVPWoFuHGg9Ncq5Q4EYstqR+UOqaNRFXi5TYkpXXkLhoCHe3G0+7w==", 1474 1481 "dev": true, 1475 1482 "license": "MIT", 1476 1483 "dependencies": { 1477 - "@typescript-eslint/types": "8.57.0", 1478 - "@typescript-eslint/typescript-estree": "8.57.0", 1479 - "@typescript-eslint/utils": "8.57.0", 1484 + "@typescript-eslint/types": "8.58.1", 1485 + "@typescript-eslint/typescript-estree": "8.58.1", 1486 + "@typescript-eslint/utils": "8.58.1", 1480 1487 "debug": "^4.4.3", 1481 - "ts-api-utils": "^2.4.0" 1488 + "ts-api-utils": "^2.5.0" 1482 1489 }, 1483 1490 "engines": { 1484 1491 "node": "^18.18.0 || ^20.9.0 || >=21.1.0" ··· 1489 1496 }, 1490 1497 "peerDependencies": { 1491 1498 "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", 1492 - "typescript": ">=4.8.4 <6.0.0" 1499 + "typescript": ">=4.8.4 <6.1.0" 1493 1500 } 1494 1501 }, 1495 1502 "node_modules/@typescript-eslint/types": { 1496 - "version": "8.57.0", 1497 - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.0.tgz", 1498 - "integrity": "sha512-dTLI8PEXhjUC7B9Kre+u0XznO696BhXcTlOn0/6kf1fHaQW8+VjJAVHJ3eTI14ZapTxdkOmc80HblPQLaEeJdg==", 1503 + "version": "8.58.1", 1504 + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.1.tgz", 1505 + "integrity": "sha512-io/dV5Aw5ezwzfPBBWLoT+5QfVtP8O7q4Kftjn5azJ88bYyp/ZMCsyW1lpKK46EXJcaYMZ1JtYj+s/7TdzmQMw==", 1499 1506 "dev": true, 1500 1507 "license": "MIT", 1501 1508 "engines": { ··· 1507 1514 } 1508 1515 }, 1509 1516 "node_modules/@typescript-eslint/typescript-estree": { 1510 - "version": "8.57.0", 1511 - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.0.tgz", 1512 - "integrity": "sha512-m7faHcyVg0BT3VdYTlX8GdJEM7COexXxS6KqGopxdtkQRvBanK377QDHr4W/vIPAR+ah9+B/RclSW5ldVniO1Q==", 1517 + "version": "8.58.1", 1518 + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.1.tgz", 1519 + "integrity": "sha512-w4w7WR7GHOjqqPnvAYbazq+Y5oS68b9CzasGtnd6jIeOIeKUzYzupGTB2T4LTPSv4d+WPeccbxuneTFHYgAAWg==", 1513 1520 "dev": true, 1514 1521 "license": "MIT", 1515 1522 "dependencies": { 1516 - "@typescript-eslint/project-service": "8.57.0", 1517 - "@typescript-eslint/tsconfig-utils": "8.57.0", 1518 - "@typescript-eslint/types": "8.57.0", 1519 - "@typescript-eslint/visitor-keys": "8.57.0", 1523 + "@typescript-eslint/project-service": "8.58.1", 1524 + "@typescript-eslint/tsconfig-utils": "8.58.1", 1525 + "@typescript-eslint/types": "8.58.1", 1526 + "@typescript-eslint/visitor-keys": "8.58.1", 1520 1527 "debug": "^4.4.3", 1521 1528 "minimatch": "^10.2.2", 1522 1529 "semver": "^7.7.3", 1523 1530 "tinyglobby": "^0.2.15", 1524 - "ts-api-utils": "^2.4.0" 1531 + "ts-api-utils": "^2.5.0" 1525 1532 }, 1526 1533 "engines": { 1527 1534 "node": "^18.18.0 || ^20.9.0 || >=21.1.0" ··· 1531 1538 "url": "https://opencollective.com/typescript-eslint" 1532 1539 }, 1533 1540 "peerDependencies": { 1534 - "typescript": ">=4.8.4 <6.0.0" 1541 + "typescript": ">=4.8.4 <6.1.0" 1535 1542 } 1536 1543 }, 1537 1544 "node_modules/@typescript-eslint/utils": { 1538 - "version": "8.57.0", 1539 - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.57.0.tgz", 1540 - "integrity": "sha512-5iIHvpD3CZe06riAsbNxxreP+MuYgVUsV0n4bwLH//VJmgtt54sQeY2GszntJ4BjYCpMzrfVh2SBnUQTtys2lQ==", 1545 + "version": "8.58.1", 1546 + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.1.tgz", 1547 + "integrity": "sha512-Ln8R0tmWC7pTtLOzgJzYTXSCjJ9rDNHAqTaVONF4FEi2qwce8mD9iSOxOpLFFvWp/wBFlew0mjM1L1ihYWfBdQ==", 1541 1548 "dev": true, 1542 1549 "license": "MIT", 1543 1550 "dependencies": { 1544 1551 "@eslint-community/eslint-utils": "^4.9.1", 1545 - "@typescript-eslint/scope-manager": "8.57.0", 1546 - "@typescript-eslint/types": "8.57.0", 1547 - "@typescript-eslint/typescript-estree": "8.57.0" 1552 + "@typescript-eslint/scope-manager": "8.58.1", 1553 + "@typescript-eslint/types": "8.58.1", 1554 + "@typescript-eslint/typescript-estree": "8.58.1" 1548 1555 }, 1549 1556 "engines": { 1550 1557 "node": "^18.18.0 || ^20.9.0 || >=21.1.0" ··· 1555 1562 }, 1556 1563 "peerDependencies": { 1557 1564 "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", 1558 - "typescript": ">=4.8.4 <6.0.0" 1565 + "typescript": ">=4.8.4 <6.1.0" 1559 1566 } 1560 1567 }, 1561 1568 "node_modules/@typescript-eslint/visitor-keys": { 1562 - "version": "8.57.0", 1563 - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.0.tgz", 1564 - "integrity": "sha512-zm6xx8UT/Xy2oSr2ZXD0pZo7Jx2XsCoID2IUh9YSTFRu7z+WdwYTRk6LhUftm1crwqbuoF6I8zAFeCMw0YjwDg==", 1569 + "version": "8.58.1", 1570 + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.1.tgz", 1571 + "integrity": "sha512-y+vH7QE8ycjoa0bWciFg7OpFcipUuem1ujhrdLtq1gByKwfbC7bPeKsiny9e0urg93DqwGcHey+bGRKCnF1nZQ==", 1565 1572 "dev": true, 1566 1573 "license": "MIT", 1567 1574 "dependencies": { 1568 - "@typescript-eslint/types": "8.57.0", 1575 + "@typescript-eslint/types": "8.58.1", 1569 1576 "eslint-visitor-keys": "^5.0.0" 1570 1577 }, 1571 1578 "engines": { ··· 1682 1689 "arm64" 1683 1690 ], 1684 1691 "dev": true, 1692 + "libc": [ 1693 + "glibc" 1694 + ], 1685 1695 "license": "MIT", 1686 1696 "optional": true, 1687 1697 "os": [ ··· 1696 1706 "arm64" 1697 1707 ], 1698 1708 "dev": true, 1709 + "libc": [ 1710 + "musl" 1711 + ], 1699 1712 "license": "MIT", 1700 1713 "optional": true, 1701 1714 "os": [ ··· 1710 1723 "ppc64" 1711 1724 ], 1712 1725 "dev": true, 1726 + "libc": [ 1727 + "glibc" 1728 + ], 1713 1729 "license": "MIT", 1714 1730 "optional": true, 1715 1731 "os": [ ··· 1724 1740 "riscv64" 1725 1741 ], 1726 1742 "dev": true, 1743 + "libc": [ 1744 + "glibc" 1745 + ], 1727 1746 "license": "MIT", 1728 1747 "optional": true, 1729 1748 "os": [ ··· 1738 1757 "riscv64" 1739 1758 ], 1740 1759 "dev": true, 1760 + "libc": [ 1761 + "musl" 1762 + ], 1741 1763 "license": "MIT", 1742 1764 "optional": true, 1743 1765 "os": [ ··· 1752 1774 "s390x" 1753 1775 ], 1754 1776 "dev": true, 1777 + "libc": [ 1778 + "glibc" 1779 + ], 1755 1780 "license": "MIT", 1756 1781 "optional": true, 1757 1782 "os": [ ··· 1766 1791 "x64" 1767 1792 ], 1768 1793 "dev": true, 1794 + "libc": [ 1795 + "glibc" 1796 + ], 1769 1797 "license": "MIT", 1770 1798 "optional": true, 1771 1799 "os": [ ··· 1780 1808 "x64" 1781 1809 ], 1782 1810 "dev": true, 1811 + "libc": [ 1812 + "musl" 1813 + ], 1783 1814 "license": "MIT", 1784 1815 "optional": true, 1785 1816 "os": [ ··· 2789 2820 "license": "MIT" 2790 2821 }, 2791 2822 "node_modules/comment-parser": { 2792 - "version": "1.4.5", 2793 - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.5.tgz", 2794 - "integrity": "sha512-aRDkn3uyIlCFfk5NUA+VdwMmMsh8JGhc4hapfV4yxymHGQ3BVskMQfoXGpCo5IoBuQ9tS5iiVKhCpTcB4pW4qw==", 2823 + "version": "1.4.6", 2824 + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.6.tgz", 2825 + "integrity": "sha512-ObxuY6vnbWTN6Od72xfwN9DbzC7Y2vv8u1Soi9ahRKL37gb6y1qk6/dgjs+3JWuXJHWvsg3BXIwzd/rkmAwavg==", 2795 2826 "dev": true, 2796 2827 "license": "MIT", 2797 2828 "engines": { ··· 8233 8264 "license": "MIT" 8234 8265 }, 8235 8266 "node_modules/ts-api-utils": { 8236 - "version": "2.4.0", 8237 - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.4.0.tgz", 8238 - "integrity": "sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==", 8267 + "version": "2.5.0", 8268 + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", 8269 + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", 8239 8270 "dev": true, 8240 8271 "license": "MIT", 8241 8272 "engines": { ··· 8384 8415 } 8385 8416 }, 8386 8417 "node_modules/typescript": { 8387 - "version": "5.9.3", 8388 - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", 8389 - "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", 8418 + "version": "6.0.2", 8419 + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz", 8420 + "integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==", 8390 8421 "dev": true, 8391 8422 "license": "Apache-2.0", 8392 8423 "bin": { ··· 8398 8429 } 8399 8430 }, 8400 8431 "node_modules/typescript-eslint": { 8401 - "version": "8.57.0", 8402 - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.57.0.tgz", 8403 - "integrity": "sha512-W8GcigEMEeB07xEZol8oJ26rigm3+bfPHxHvwbYUlu1fUDsGuQ7Hiskx5xGW/xM4USc9Ephe3jtv7ZYPQntHeA==", 8432 + "version": "8.58.1", 8433 + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.58.1.tgz", 8434 + "integrity": "sha512-gf6/oHChByg9HJvhMO1iBexJh12AqqTfnuxscMDOVqfJW3htsdRJI/GfPpHTTcyeB8cSTUY2JcZmVgoyPqcrDg==", 8404 8435 "dev": true, 8405 8436 "license": "MIT", 8406 8437 "dependencies": { 8407 - "@typescript-eslint/eslint-plugin": "8.57.0", 8408 - "@typescript-eslint/parser": "8.57.0", 8409 - "@typescript-eslint/typescript-estree": "8.57.0", 8410 - "@typescript-eslint/utils": "8.57.0" 8438 + "@typescript-eslint/eslint-plugin": "8.58.1", 8439 + "@typescript-eslint/parser": "8.58.1", 8440 + "@typescript-eslint/typescript-estree": "8.58.1", 8441 + "@typescript-eslint/utils": "8.58.1" 8411 8442 }, 8412 8443 "engines": { 8413 8444 "node": "^18.18.0 || ^20.9.0 || >=21.1.0" ··· 8418 8449 }, 8419 8450 "peerDependencies": { 8420 8451 "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", 8421 - "typescript": ">=4.8.4 <6.0.0" 8452 + "typescript": ">=4.8.4 <6.1.0" 8422 8453 } 8423 8454 }, 8424 8455 "node_modules/unbash": { ··· 8986 9017 "license": "MIT", 8987 9018 "engines": { 8988 9019 "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 9020 + } 9021 + }, 9022 + "node_modules/xo/node_modules/typescript": { 9023 + "version": "5.9.3", 9024 + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", 9025 + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", 9026 + "dev": true, 9027 + "license": "Apache-2.0", 9028 + "bin": { 9029 + "tsc": "bin/tsc", 9030 + "tsserver": "bin/tsserver" 9031 + }, 9032 + "engines": { 9033 + "node": ">=14.17" 8989 9034 } 8990 9035 }, 8991 9036 "node_modules/xo/node_modules/unicorn-magic": {
+5 -5
package.json
··· 19 19 "type": "module", 20 20 "exports": { 21 21 ".": { 22 - "types": "./distribution/source/index.d.ts", 23 - "default": "./distribution/source/index.js" 22 + "types": "./distribution/index.d.ts", 23 + "default": "./distribution/index.js" 24 24 } 25 25 }, 26 26 "files": [ 27 - "distribution/source" 27 + "distribution" 28 28 ], 29 29 "scripts": { 30 30 "build": "del-cli distribution && tsc", ··· 44 44 }, 45 45 "devDependencies": { 46 46 "@ava/typescript": "^6.0.0", 47 - "@sindresorhus/tsconfig": "^8.1.0", 47 + "@tsconfig/strictest": "^2.0.8", 48 48 "ava": "^6.4.1", 49 49 "c8": "^11.0.0", 50 50 "del-cli": "^7.0.0", ··· 53 53 "knip": "^5.86.0", 54 54 "prettier": "^3.6.2", 55 55 "prettier-plugin-packagejson": "^3.0.2", 56 - "typescript": "^5.0.2", 56 + "typescript": "^6.0.2", 57 57 "xo": "^2.0.2" 58 58 } 59 59 }
+16 -2
tsconfig.json
··· 1 1 { 2 - "extends": "@sindresorhus/tsconfig", 3 - "include": ["source", "test"] 2 + "extends": "@tsconfig/strictest", 3 + "include": ["source"], 4 + "compilerOptions": { 5 + "rootDir": "source", 6 + "outDir": "distribution", 7 + "declaration": true, 8 + 9 + // more strictness 10 + "forceConsistentCasingInFileNames": true, 11 + "noEmitOnError": true, 12 + "useDefineForClassFields": true, 13 + 14 + // https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly 15 + "erasableSyntaxOnly": true, 16 + "verbatimModuleSyntax": true 17 + } 4 18 }