this repo has no description
0
fork

Configure Feed

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

Replace npm-run-all2 with vite-plugin-run

- Upgrade dependencies
- remove dayjs

+202 -204
+186 -197
package-lock.json
··· 19 19 "@lingui/react": "~4.11.3", 20 20 "@szhsin/react-menu": "~4.2.2", 21 21 "compare-versions": "~6.1.1", 22 - "dayjs": "~1.11.12", 23 22 "fast-blurhash": "~1.1.4", 24 23 "fast-equals": "~5.0.1", 25 24 "fuse.js": "~7.0.0", ··· 31 30 "masto": "~6.8.0", 32 31 "moize": "~6.1.6", 33 32 "p-retry": "~6.2.0", 34 - "p-throttle": "~6.1.0", 33 + "p-throttle": "~6.2.0", 35 34 "preact": "~10.23.2", 36 35 "punycode": "~2.3.1", 37 36 "react-hotkeys-hook": "~4.5.0", ··· 54 53 "@lingui/vite-plugin": "~4.11.3", 55 54 "@preact/preset-vite": "~2.9.0", 56 55 "babel-plugin-macros": "~3.1.0", 57 - "npm-run-all2": "~6.2.2", 58 56 "postcss": "~8.4.41", 59 57 "postcss-dark-theme-class": "~1.3.0", 60 - "postcss-preset-env": "~10.0.0", 58 + "postcss-preset-env": "~10.0.1", 61 59 "twitter-text": "~3.1.0", 62 - "vite": "~5.4.0", 60 + "vite": "~5.4.1", 63 61 "vite-plugin-generate-file": "~0.2.0", 64 62 "vite-plugin-html-config": "~1.0.11", 65 63 "vite-plugin-pwa": "~0.20.1", 66 64 "vite-plugin-remove-console": "~2.2.0", 65 + "vite-plugin-run": "~0.5.2", 67 66 "workbox-cacheable-response": "~7.1.0", 68 67 "workbox-expiration": "~7.1.0", 69 68 "workbox-routing": "~7.1.0", ··· 82 81 }, 83 82 "engines": { 84 83 "node": ">=6.0.0" 84 + } 85 + }, 86 + "node_modules/@antfu/utils": { 87 + "version": "0.7.10", 88 + "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.10.tgz", 89 + "integrity": "sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==", 90 + "dev": true, 91 + "funding": { 92 + "url": "https://github.com/sponsors/antfu" 85 93 } 86 94 }, 87 95 "node_modules/@apideck/better-ajv-errors": { ··· 1881 1889 } 1882 1890 }, 1883 1891 "node_modules/@csstools/color-helpers": { 1884 - "version": "4.2.1", 1885 - "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-4.2.1.tgz", 1886 - "integrity": "sha512-CEypeeykO9AN7JWkr1OEOQb0HRzZlPWGwV0Ya6DuVgFdDi6g3ma/cPZ5ZPZM4AWQikDpq/0llnGGlIL+j8afzw==", 1892 + "version": "5.0.1", 1893 + "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.0.1.tgz", 1894 + "integrity": "sha512-MKtmkA0BX87PKaO1NFRTFH+UnkgnmySQOvNxJubsadusqPEC2aJ9MOQiMceZJJ6oitUl/i0L6u0M1IrmAOmgBA==", 1887 1895 "dev": true, 1888 1896 "funding": [ 1889 1897 { ··· 1896 1904 } 1897 1905 ], 1898 1906 "engines": { 1899 - "node": "^14 || ^16 || >=18" 1907 + "node": ">=18" 1900 1908 } 1901 1909 }, 1902 1910 "node_modules/@csstools/css-calc": { ··· 1923 1931 } 1924 1932 }, 1925 1933 "node_modules/@csstools/css-color-parser": { 1926 - "version": "3.0.0", 1927 - "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.0.0.tgz", 1928 - "integrity": "sha512-F/A1Z3ZXH4fU6+29Up4QAZtewLmWLI4hVz6hyODMFvorx4AEC/03tu+gFq0nMZSDafC0lmapNOj9f4ctHMNaqQ==", 1934 + "version": "3.0.1", 1935 + "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.0.1.tgz", 1936 + "integrity": "sha512-++7I+Z7S/BWedPlR4z8aW1zsvtJFufFbpdPwdx5+W50dq5EYLV3sulitSNMry0BNmNMzeczdQij/f4C+ch01vQ==", 1929 1937 "dev": true, 1930 1938 "funding": [ 1931 1939 { ··· 1938 1946 } 1939 1947 ], 1940 1948 "dependencies": { 1941 - "@csstools/color-helpers": "^4.2.1", 1949 + "@csstools/color-helpers": "^5.0.1", 1942 1950 "@csstools/css-calc": "^2.0.0" 1943 1951 }, 1944 1952 "engines": { ··· 2040 2048 } 2041 2049 }, 2042 2050 "node_modules/@csstools/postcss-color-function": { 2043 - "version": "4.0.0", 2044 - "resolved": "https://registry.npmjs.org/@csstools/postcss-color-function/-/postcss-color-function-4.0.0.tgz", 2045 - "integrity": "sha512-e0RohXUxMsSzIS5s4xh218NiOYXAfby17L8KYe/6ITI8i4BiSFLpywMvpA/d6xPUGUfT20O+7JLBDHF3heYZRA==", 2051 + "version": "4.0.1", 2052 + "resolved": "https://registry.npmjs.org/@csstools/postcss-color-function/-/postcss-color-function-4.0.1.tgz", 2053 + "integrity": "sha512-nRnwVdqdMUIsE7cGbI+La4fxME6tT9bVDRYfBHW/0QTLwCVJN4+DC/3kqiU6AdTne31hUBGPwcH1uzkuc4fO5A==", 2046 2054 "dev": true, 2047 2055 "funding": [ 2048 2056 { ··· 2055 2063 } 2056 2064 ], 2057 2065 "dependencies": { 2058 - "@csstools/css-color-parser": "^3.0.0", 2066 + "@csstools/css-color-parser": "^3.0.1", 2059 2067 "@csstools/css-parser-algorithms": "^3.0.0", 2060 2068 "@csstools/css-tokenizer": "^3.0.0", 2061 2069 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 2069 2077 } 2070 2078 }, 2071 2079 "node_modules/@csstools/postcss-color-mix-function": { 2072 - "version": "3.0.0", 2073 - "resolved": "https://registry.npmjs.org/@csstools/postcss-color-mix-function/-/postcss-color-mix-function-3.0.0.tgz", 2074 - "integrity": "sha512-MWuSfaLKe1By/hSnjH/Hj7ZOIRZaLMNshCTkVuuqtZ0nfp+QRGUwf9nb2uPVKySYjKqNERANdA9Q0citA9hK1Q==", 2080 + "version": "3.0.1", 2081 + "resolved": "https://registry.npmjs.org/@csstools/postcss-color-mix-function/-/postcss-color-mix-function-3.0.1.tgz", 2082 + "integrity": "sha512-RRdu3CppF9dTn3AvDkeEkOL8ZDpDh/TF6YLV1JKl768BQk0XJ026xWfttoL911k0g8yprES3wFujjLsK0XhsEg==", 2075 2083 "dev": true, 2076 2084 "funding": [ 2077 2085 { ··· 2084 2092 } 2085 2093 ], 2086 2094 "dependencies": { 2087 - "@csstools/css-color-parser": "^3.0.0", 2095 + "@csstools/css-color-parser": "^3.0.1", 2088 2096 "@csstools/css-parser-algorithms": "^3.0.0", 2089 2097 "@csstools/css-tokenizer": "^3.0.0", 2090 2098 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 2179 2187 } 2180 2188 }, 2181 2189 "node_modules/@csstools/postcss-gamut-mapping": { 2182 - "version": "2.0.0", 2183 - "resolved": "https://registry.npmjs.org/@csstools/postcss-gamut-mapping/-/postcss-gamut-mapping-2.0.0.tgz", 2184 - "integrity": "sha512-JftxHVGt6PFfV/vWTDVKrrO0XyUA8OtuVykXhhMxue9qCzCCTSWqMHjZOvaOCCbxG1v2tGKV2FxBLQhzsZZPJg==", 2190 + "version": "2.0.1", 2191 + "resolved": "https://registry.npmjs.org/@csstools/postcss-gamut-mapping/-/postcss-gamut-mapping-2.0.1.tgz", 2192 + "integrity": "sha512-bCQ609PZsGUmrTVeGaPgYF27DFQ7gg2no3j6qXY3MOAVjfPRvMIlGdpLejhgYra1VUoTNA1SUqHLNgFWoJ/pRA==", 2185 2193 "dev": true, 2186 2194 "funding": [ 2187 2195 { ··· 2194 2202 } 2195 2203 ], 2196 2204 "dependencies": { 2197 - "@csstools/css-color-parser": "^3.0.0", 2205 + "@csstools/css-color-parser": "^3.0.1", 2198 2206 "@csstools/css-parser-algorithms": "^3.0.0", 2199 2207 "@csstools/css-tokenizer": "^3.0.0" 2200 2208 }, ··· 2206 2214 } 2207 2215 }, 2208 2216 "node_modules/@csstools/postcss-gradients-interpolation-method": { 2209 - "version": "5.0.0", 2210 - "resolved": "https://registry.npmjs.org/@csstools/postcss-gradients-interpolation-method/-/postcss-gradients-interpolation-method-5.0.0.tgz", 2211 - "integrity": "sha512-jmgh7C6ANVRPdFNMNIp426UFNuy01XXYwxbbyYV2fZBbmZleVLp6imxjw2XoaeHMdSiYoq8vOeX+GVzCyC7oOQ==", 2217 + "version": "5.0.1", 2218 + "resolved": "https://registry.npmjs.org/@csstools/postcss-gradients-interpolation-method/-/postcss-gradients-interpolation-method-5.0.1.tgz", 2219 + "integrity": "sha512-ZINUsXxFrJ5bpfpq772BQzu5K23dDFoQwvyeQRHHQpDOS8hMIoBMmjDjtZV5fGJ/gtL/blKUvytAyrgBzaqvUQ==", 2212 2220 "dev": true, 2213 2221 "funding": [ 2214 2222 { ··· 2221 2229 } 2222 2230 ], 2223 2231 "dependencies": { 2224 - "@csstools/css-color-parser": "^3.0.0", 2232 + "@csstools/css-color-parser": "^3.0.1", 2225 2233 "@csstools/css-parser-algorithms": "^3.0.0", 2226 2234 "@csstools/css-tokenizer": "^3.0.0", 2227 2235 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 2235 2243 } 2236 2244 }, 2237 2245 "node_modules/@csstools/postcss-hwb-function": { 2238 - "version": "4.0.0", 2239 - "resolved": "https://registry.npmjs.org/@csstools/postcss-hwb-function/-/postcss-hwb-function-4.0.0.tgz", 2240 - "integrity": "sha512-Swb2CK/wKnsXEgT5GNlIO2C2h3lePn0Nmbsy48Z6yAht1XwQiDcxDAhqojg9LfonJVics+pzLM+IEQjPdgICNg==", 2246 + "version": "4.0.1", 2247 + "resolved": "https://registry.npmjs.org/@csstools/postcss-hwb-function/-/postcss-hwb-function-4.0.1.tgz", 2248 + "integrity": "sha512-1SluTV2F2WiWPw5CHQ/UOsUrO5y89VDQlOICzHIF3Mx50YdTf0qYZ/dTXL/Fa+1AgzSn4IYt51XXjgxI7pe/jw==", 2241 2249 "dev": true, 2242 2250 "funding": [ 2243 2251 { ··· 2250 2258 } 2251 2259 ], 2252 2260 "dependencies": { 2253 - "@csstools/css-color-parser": "^3.0.0", 2261 + "@csstools/css-color-parser": "^3.0.1", 2254 2262 "@csstools/css-parser-algorithms": "^3.0.0", 2255 2263 "@csstools/css-tokenizer": "^3.0.0", 2256 2264 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 2339 2347 } 2340 2348 }, 2341 2349 "node_modules/@csstools/postcss-light-dark-function": { 2342 - "version": "2.0.0", 2343 - "resolved": "https://registry.npmjs.org/@csstools/postcss-light-dark-function/-/postcss-light-dark-function-2.0.0.tgz", 2344 - "integrity": "sha512-1CHfwwckSJ4xYZYOgJD5u1NNlP85/6VqsQPL1geagvfpwm47hcGRDW+O3CD7KdexWGL45E5qKmL1bC2siqjmkg==", 2350 + "version": "2.0.1", 2351 + "resolved": "https://registry.npmjs.org/@csstools/postcss-light-dark-function/-/postcss-light-dark-function-2.0.1.tgz", 2352 + "integrity": "sha512-RHliBdalIg7KZNwv5B1VwF1qFEhmz3ZIbZXyxOH1g7W72S0oazMKIvYVgHenCxHCxWOxSR0ipZ+8kHa+fm4O5A==", 2345 2353 "dev": true, 2346 2354 "funding": [ 2347 2355 { ··· 2590 2598 } 2591 2599 }, 2592 2600 "node_modules/@csstools/postcss-oklab-function": { 2593 - "version": "4.0.0", 2594 - "resolved": "https://registry.npmjs.org/@csstools/postcss-oklab-function/-/postcss-oklab-function-4.0.0.tgz", 2595 - "integrity": "sha512-4dwot1KLiFRFbYZV2XeeNoXQETK/3MaNCi4BpDlJ5J4XHF+VRwcppfCcqCC+TRucWanPFFlbt+X53nIuK7JVNg==", 2601 + "version": "4.0.1", 2602 + "resolved": "https://registry.npmjs.org/@csstools/postcss-oklab-function/-/postcss-oklab-function-4.0.1.tgz", 2603 + "integrity": "sha512-hEJ83YhqNII3/TBGcJLjSkNx65p4Zbz6YFm6ww2BRRO223/GTFOHT2ElicWmnBtoZWKORgysI4wtLv3p6LZSFQ==", 2596 2604 "dev": true, 2597 2605 "funding": [ 2598 2606 { ··· 2605 2613 } 2606 2614 ], 2607 2615 "dependencies": { 2608 - "@csstools/css-color-parser": "^3.0.0", 2616 + "@csstools/css-color-parser": "^3.0.1", 2609 2617 "@csstools/css-parser-algorithms": "^3.0.0", 2610 2618 "@csstools/css-tokenizer": "^3.0.0", 2611 2619 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 2644 2652 } 2645 2653 }, 2646 2654 "node_modules/@csstools/postcss-relative-color-syntax": { 2647 - "version": "3.0.0", 2648 - "resolved": "https://registry.npmjs.org/@csstools/postcss-relative-color-syntax/-/postcss-relative-color-syntax-3.0.0.tgz", 2649 - "integrity": "sha512-iE/mgtuUeFMpMJhhrze9pu5xSEaueCTijs7lTnJ6MoTL50H9fquQp3bFVd2haAb/fDhO/nXTu67tzsm+zXsFzA==", 2655 + "version": "3.0.1", 2656 + "resolved": "https://registry.npmjs.org/@csstools/postcss-relative-color-syntax/-/postcss-relative-color-syntax-3.0.1.tgz", 2657 + "integrity": "sha512-GbcQPmfBOjKomHuOVB6troujQg65ykCMt4OGot75Bdev7jAHC9hd0AX5qMprpG9AF0dA012curAVqY0ehmdYwQ==", 2650 2658 "dev": true, 2651 2659 "funding": [ 2652 2660 { ··· 2659 2667 } 2660 2668 ], 2661 2669 "dependencies": { 2662 - "@csstools/css-color-parser": "^3.0.0", 2670 + "@csstools/css-color-parser": "^3.0.1", 2663 2671 "@csstools/css-parser-algorithms": "^3.0.0", 2664 2672 "@csstools/css-tokenizer": "^3.0.0", 2665 2673 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 2725 2733 } 2726 2734 }, 2727 2735 "node_modules/@csstools/postcss-text-decoration-shorthand": { 2728 - "version": "4.0.0", 2729 - "resolved": "https://registry.npmjs.org/@csstools/postcss-text-decoration-shorthand/-/postcss-text-decoration-shorthand-4.0.0.tgz", 2730 - "integrity": "sha512-vyJpbr2emWy8AOmBT+41LcAaaS8Q3jOMiMZRzrdV8uZgKI1I0NiB+UM7vJuwkFPhC3oXl7XPIPtajsyEAvI3kw==", 2736 + "version": "4.0.1", 2737 + "resolved": "https://registry.npmjs.org/@csstools/postcss-text-decoration-shorthand/-/postcss-text-decoration-shorthand-4.0.1.tgz", 2738 + "integrity": "sha512-xPZIikbx6jyzWvhms27uugIc0I4ykH4keRvoa3rxX5K7lEhkbd54rjj/dv60qOCTisoS+3bmwJTeyV1VNBrXaw==", 2731 2739 "dev": true, 2732 2740 "funding": [ 2733 2741 { ··· 2740 2748 } 2741 2749 ], 2742 2750 "dependencies": { 2743 - "@csstools/color-helpers": "^4.2.1", 2751 + "@csstools/color-helpers": "^5.0.1", 2744 2752 "postcss-value-parser": "^4.2.0" 2745 2753 }, 2746 2754 "engines": { ··· 5788 5796 "url": "https://github.com/sponsors/kossnocorp" 5789 5797 } 5790 5798 }, 5791 - "node_modules/dayjs": { 5792 - "version": "1.11.12", 5793 - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.12.tgz", 5794 - "integrity": "sha512-Rt2g+nTbLlDWZTwwrIXjy9MeiZmSDI375FvZs72ngxx8PDC6YXOeR3q5LAuPzjZQxhiWdRKac7RKV+YyQYfYIg==" 5795 - }, 5796 5799 "node_modules/debug": { 5797 5800 "version": "4.3.4", 5798 5801 "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", ··· 6196 6199 "integrity": "sha512-RtnLYrMbXp4JkZIoZu+3VTqV21bNVBlJBZ4NmtwvMNqSE3qouhxv2gvLE4JJDaQc54ioPkrX74V6x+hp/hqjkQ==", 6197 6200 "license": "MIT" 6198 6201 }, 6202 + "node_modules/execa": { 6203 + "version": "5.1.1", 6204 + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", 6205 + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", 6206 + "dev": true, 6207 + "dependencies": { 6208 + "cross-spawn": "^7.0.3", 6209 + "get-stream": "^6.0.0", 6210 + "human-signals": "^2.1.0", 6211 + "is-stream": "^2.0.0", 6212 + "merge-stream": "^2.0.0", 6213 + "npm-run-path": "^4.0.1", 6214 + "onetime": "^5.1.2", 6215 + "signal-exit": "^3.0.3", 6216 + "strip-final-newline": "^2.0.0" 6217 + }, 6218 + "engines": { 6219 + "node": ">=10" 6220 + }, 6221 + "funding": { 6222 + "url": "https://github.com/sindresorhus/execa?sponsor=1" 6223 + } 6224 + }, 6199 6225 "node_modules/external-editor": { 6200 6226 "version": "3.1.0", 6201 6227 "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", ··· 6442 6468 "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", 6443 6469 "dev": true 6444 6470 }, 6471 + "node_modules/get-stream": { 6472 + "version": "6.0.1", 6473 + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", 6474 + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", 6475 + "dev": true, 6476 + "engines": { 6477 + "node": ">=10" 6478 + }, 6479 + "funding": { 6480 + "url": "https://github.com/sponsors/sindresorhus" 6481 + } 6482 + }, 6445 6483 "node_modules/get-symbol-description": { 6446 6484 "version": "1.0.2", 6447 6485 "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", ··· 6651 6689 "resolved": "https://registry.npmjs.org/html-prettify/-/html-prettify-1.0.7.tgz", 6652 6690 "integrity": "sha512-99pRsP2PV2DyWnrVibNyad7gNmzCP7AANO8jw7Z9yanWyXH9dPdqdMXGefySplroqCNdk95u7j5TLxfyJ1Cbbg==" 6653 6691 }, 6692 + "node_modules/human-signals": { 6693 + "version": "2.1.0", 6694 + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", 6695 + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", 6696 + "dev": true, 6697 + "engines": { 6698 + "node": ">=10.17.0" 6699 + } 6700 + }, 6654 6701 "node_modules/iconv-lite": { 6655 6702 "version": "0.4.24", 6656 6703 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", ··· 7722 7769 "ws": "^8.17.0" 7723 7770 } 7724 7771 }, 7725 - "node_modules/memorystream": { 7726 - "version": "0.3.1", 7727 - "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", 7728 - "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", 7729 - "dev": true, 7730 - "engines": { 7731 - "node": ">= 0.10.0" 7732 - } 7772 + "node_modules/merge-stream": { 7773 + "version": "2.0.0", 7774 + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", 7775 + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", 7776 + "dev": true 7733 7777 }, 7734 7778 "node_modules/micro-memoize": { 7735 7779 "version": "4.1.2", ··· 7890 7934 "node": ">=0.10.0" 7891 7935 } 7892 7936 }, 7893 - "node_modules/npm-normalize-package-bin": { 7894 - "version": "3.0.1", 7895 - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", 7896 - "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", 7897 - "dev": true, 7898 - "engines": { 7899 - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" 7900 - } 7901 - }, 7902 - "node_modules/npm-run-all2": { 7903 - "version": "6.2.2", 7904 - "resolved": "https://registry.npmjs.org/npm-run-all2/-/npm-run-all2-6.2.2.tgz", 7905 - "integrity": "sha512-Q+alQAGIW7ZhKcxLt8GcSi3h3ryheD6xnmXahkMRVM5LYmajcUrSITm8h+OPC9RYWMV2GR0Q1ntTUCfxaNoOJw==", 7937 + "node_modules/npm-run-path": { 7938 + "version": "4.0.1", 7939 + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", 7940 + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", 7906 7941 "dev": true, 7907 7942 "dependencies": { 7908 - "ansi-styles": "^6.2.1", 7909 - "cross-spawn": "^7.0.3", 7910 - "memorystream": "^0.3.1", 7911 - "minimatch": "^9.0.0", 7912 - "pidtree": "^0.6.0", 7913 - "read-package-json-fast": "^3.0.2", 7914 - "shell-quote": "^1.7.3" 7915 - }, 7916 - "bin": { 7917 - "npm-run-all": "bin/npm-run-all/index.js", 7918 - "npm-run-all2": "bin/npm-run-all/index.js", 7919 - "run-p": "bin/run-p/index.js", 7920 - "run-s": "bin/run-s/index.js" 7943 + "path-key": "^3.0.0" 7921 7944 }, 7922 7945 "engines": { 7923 - "node": "^14.18.0 || ^16.13.0 || >=18.0.0", 7924 - "npm": ">= 8" 7925 - } 7926 - }, 7927 - "node_modules/npm-run-all2/node_modules/ansi-styles": { 7928 - "version": "6.2.1", 7929 - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 7930 - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 7931 - "dev": true, 7932 - "engines": { 7933 - "node": ">=12" 7934 - }, 7935 - "funding": { 7936 - "url": "https://github.com/chalk/ansi-styles?sponsor=1" 7937 - } 7938 - }, 7939 - "node_modules/npm-run-all2/node_modules/brace-expansion": { 7940 - "version": "2.0.1", 7941 - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 7942 - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 7943 - "dev": true, 7944 - "dependencies": { 7945 - "balanced-match": "^1.0.0" 7946 - } 7947 - }, 7948 - "node_modules/npm-run-all2/node_modules/minimatch": { 7949 - "version": "9.0.5", 7950 - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 7951 - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 7952 - "dev": true, 7953 - "dependencies": { 7954 - "brace-expansion": "^2.0.1" 7955 - }, 7956 - "engines": { 7957 - "node": ">=16 || 14 >=14.17" 7958 - }, 7959 - "funding": { 7960 - "url": "https://github.com/sponsors/isaacs" 7946 + "node": ">=8" 7961 7947 } 7962 7948 }, 7963 7949 "node_modules/nth-check": { ··· 8208 8194 } 8209 8195 }, 8210 8196 "node_modules/p-throttle": { 8211 - "version": "6.1.0", 8212 - "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.1.0.tgz", 8213 - "integrity": "sha512-eQMdGTxk2+047La67wefUtt0tEHh7D+C8Jl7QXoFCuIiNYeQ9zWs2AZiJdIAs72rSXZ06t11me2bgalRNdy3SQ==", 8197 + "version": "6.2.0", 8198 + "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", 8199 + "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", 8214 8200 "engines": { 8215 8201 "node": ">=18" 8216 8202 }, ··· 8350 8336 "url": "https://github.com/sponsors/jonschlinkert" 8351 8337 } 8352 8338 }, 8353 - "node_modules/pidtree": { 8354 - "version": "0.6.0", 8355 - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", 8356 - "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", 8357 - "dev": true, 8358 - "bin": { 8359 - "pidtree": "bin/pidtree.js" 8360 - }, 8361 - "engines": { 8362 - "node": ">=0.10" 8363 - } 8364 - }, 8365 8339 "node_modules/pkg-up": { 8366 8340 "version": "3.1.0", 8367 8341 "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", ··· 8459 8433 } 8460 8434 }, 8461 8435 "node_modules/postcss-color-functional-notation": { 8462 - "version": "7.0.0", 8463 - "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-7.0.0.tgz", 8464 - "integrity": "sha512-WjOCE1FJb2xIeFvF40CISn9yUMtzwkgjdbjXmWjbrC1wAgQiB763h7bsip9piGtAkbeM5Pi9hVIDSmtbWrlqLw==", 8436 + "version": "7.0.1", 8437 + "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-7.0.1.tgz", 8438 + "integrity": "sha512-8/wf01pTH3XHT37wre+E2GNcsttZ62PWSJ0DE66GO+Uzk+uyr9DH+V3cdJG+BqezCD/T5lBC1s5/t7Y12ps8QQ==", 8465 8439 "dev": true, 8466 8440 "funding": [ 8467 8441 { ··· 8474 8448 } 8475 8449 ], 8476 8450 "dependencies": { 8477 - "@csstools/css-color-parser": "^3.0.0", 8451 + "@csstools/css-color-parser": "^3.0.1", 8478 8452 "@csstools/css-parser-algorithms": "^3.0.0", 8479 8453 "@csstools/css-tokenizer": "^3.0.0", 8480 8454 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 8810 8784 } 8811 8785 }, 8812 8786 "node_modules/postcss-lab-function": { 8813 - "version": "7.0.0", 8814 - "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-7.0.0.tgz", 8815 - "integrity": "sha512-Qyrlog4fAJcbwiWHiwkpDLlSRnvk2dFYqygQ29sMbhCoq6B/Jtj89u89VFNaAatW8KkDDAeNzVvabK9NBD9hJA==", 8787 + "version": "7.0.1", 8788 + "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-7.0.1.tgz", 8789 + "integrity": "sha512-G9ecsdU+TtdHJvaTrfbIyOa3iHHJMZXdvsLXJSN8IP4cfg3XraozacAt6P7xzaILIC3XPGMM149oKhf2tjPubg==", 8816 8790 "dev": true, 8817 8791 "funding": [ 8818 8792 { ··· 8825 8799 } 8826 8800 ], 8827 8801 "dependencies": { 8828 - "@csstools/css-color-parser": "^3.0.0", 8802 + "@csstools/css-color-parser": "^3.0.1", 8829 8803 "@csstools/css-parser-algorithms": "^3.0.0", 8830 8804 "@csstools/css-tokenizer": "^3.0.0", 8831 8805 "@csstools/postcss-progressive-custom-properties": "^4.0.0", ··· 8974 8948 } 8975 8949 }, 8976 8950 "node_modules/postcss-preset-env": { 8977 - "version": "10.0.0", 8978 - "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-10.0.0.tgz", 8979 - "integrity": "sha512-zoLkIGK30hkLhHVD6jNqcO6gDVDzyo10s42XG++Gsy9z6gk1X/UpI2Zn28ylGD9VnQSSdQMzuk535rRq2JmWkg==", 8951 + "version": "10.0.1", 8952 + "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-10.0.1.tgz", 8953 + "integrity": "sha512-I8m4pBJWcUmPLu1z8HySEiAROKIMA0nwUYCGr1gJOGFP9BdwPWPBSYvA2KGH0VjUZ8AAAvwwXXWnxHTWq3f7UQ==", 8980 8954 "dev": true, 8981 8955 "funding": [ 8982 8956 { ··· 8990 8964 ], 8991 8965 "dependencies": { 8992 8966 "@csstools/postcss-cascade-layers": "^5.0.0", 8993 - "@csstools/postcss-color-function": "^4.0.0", 8994 - "@csstools/postcss-color-mix-function": "^3.0.0", 8967 + "@csstools/postcss-color-function": "^4.0.1", 8968 + "@csstools/postcss-color-mix-function": "^3.0.1", 8995 8969 "@csstools/postcss-content-alt-text": "^2.0.0", 8996 8970 "@csstools/postcss-exponential-functions": "^2.0.0", 8997 8971 "@csstools/postcss-font-format-keywords": "^4.0.0", 8998 - "@csstools/postcss-gamut-mapping": "^2.0.0", 8999 - "@csstools/postcss-gradients-interpolation-method": "^5.0.0", 9000 - "@csstools/postcss-hwb-function": "^4.0.0", 8972 + "@csstools/postcss-gamut-mapping": "^2.0.1", 8973 + "@csstools/postcss-gradients-interpolation-method": "^5.0.1", 8974 + "@csstools/postcss-hwb-function": "^4.0.1", 9001 8975 "@csstools/postcss-ic-unit": "^4.0.0", 9002 8976 "@csstools/postcss-initial": "^2.0.0", 9003 8977 "@csstools/postcss-is-pseudo-class": "^5.0.0", 9004 - "@csstools/postcss-light-dark-function": "^2.0.0", 8978 + "@csstools/postcss-light-dark-function": "^2.0.1", 9005 8979 "@csstools/postcss-logical-float-and-clear": "^3.0.0", 9006 8980 "@csstools/postcss-logical-overflow": "^2.0.0", 9007 8981 "@csstools/postcss-logical-overscroll-behavior": "^2.0.0", ··· 9011 8985 "@csstools/postcss-media-queries-aspect-ratio-number-values": "^3.0.0", 9012 8986 "@csstools/postcss-nested-calc": "^4.0.0", 9013 8987 "@csstools/postcss-normalize-display-values": "^4.0.0", 9014 - "@csstools/postcss-oklab-function": "^4.0.0", 8988 + "@csstools/postcss-oklab-function": "^4.0.1", 9015 8989 "@csstools/postcss-progressive-custom-properties": "^4.0.0", 9016 - "@csstools/postcss-relative-color-syntax": "^3.0.0", 8990 + "@csstools/postcss-relative-color-syntax": "^3.0.1", 9017 8991 "@csstools/postcss-scope-pseudo-class": "^4.0.0", 9018 8992 "@csstools/postcss-stepped-value-functions": "^4.0.0", 9019 - "@csstools/postcss-text-decoration-shorthand": "^4.0.0", 8993 + "@csstools/postcss-text-decoration-shorthand": "^4.0.1", 9020 8994 "@csstools/postcss-trigonometric-functions": "^4.0.0", 9021 8995 "@csstools/postcss-unset-value": "^4.0.0", 9022 8996 "autoprefixer": "^10.4.19", ··· 9027 9001 "cssdb": "^8.1.0", 9028 9002 "postcss-attribute-case-insensitive": "^7.0.0", 9029 9003 "postcss-clamp": "^4.1.0", 9030 - "postcss-color-functional-notation": "^7.0.0", 9004 + "postcss-color-functional-notation": "^7.0.1", 9031 9005 "postcss-color-hex-alpha": "^10.0.0", 9032 9006 "postcss-color-rebeccapurple": "^10.0.0", 9033 9007 "postcss-custom-media": "^11.0.0", ··· 9040 9014 "postcss-font-variant": "^5.0.0", 9041 9015 "postcss-gap-properties": "^6.0.0", 9042 9016 "postcss-image-set-function": "^7.0.0", 9043 - "postcss-lab-function": "^7.0.0", 9017 + "postcss-lab-function": "^7.0.1", 9044 9018 "postcss-logical": "^8.0.0", 9045 9019 "postcss-nesting": "^13.0.0", 9046 9020 "postcss-opacity-percentage": "^2.0.0", ··· 9391 9365 "react-dom": ">=16.8.0" 9392 9366 } 9393 9367 }, 9394 - "node_modules/read-package-json-fast": { 9395 - "version": "3.0.2", 9396 - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", 9397 - "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", 9398 - "dev": true, 9399 - "dependencies": { 9400 - "json-parse-even-better-errors": "^3.0.0", 9401 - "npm-normalize-package-bin": "^3.0.0" 9402 - }, 9403 - "engines": { 9404 - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" 9405 - } 9406 - }, 9407 - "node_modules/read-package-json-fast/node_modules/json-parse-even-better-errors": { 9408 - "version": "3.0.2", 9409 - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", 9410 - "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", 9411 - "dev": true, 9412 - "engines": { 9413 - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" 9414 - } 9415 - }, 9416 9368 "node_modules/readable-stream": { 9417 9369 "version": "3.6.2", 9418 9370 "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", ··· 9791 9743 "node": ">=8" 9792 9744 } 9793 9745 }, 9794 - "node_modules/shell-quote": { 9795 - "version": "1.8.1", 9796 - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", 9797 - "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", 9798 - "dev": true, 9799 - "funding": { 9800 - "url": "https://github.com/sponsors/ljharb" 9801 - } 9802 - }, 9803 9746 "node_modules/side-channel": { 9804 9747 "version": "1.0.6", 9805 9748 "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", ··· 10057 10000 "node": ">=10" 10058 10001 } 10059 10002 }, 10003 + "node_modules/strip-final-newline": { 10004 + "version": "2.0.0", 10005 + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", 10006 + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", 10007 + "dev": true, 10008 + "engines": { 10009 + "node": ">=6" 10010 + } 10011 + }, 10060 10012 "node_modules/supports-color": { 10061 10013 "version": "5.5.0", 10062 10014 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", ··· 10598 10550 } 10599 10551 }, 10600 10552 "node_modules/vite": { 10601 - "version": "5.4.0", 10602 - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.0.tgz", 10603 - "integrity": "sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==", 10553 + "version": "5.4.1", 10554 + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.1.tgz", 10555 + "integrity": "sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==", 10604 10556 "dev": true, 10605 10557 "dependencies": { 10606 10558 "esbuild": "^0.21.3", 10607 - "postcss": "^8.4.40", 10559 + "postcss": "^8.4.41", 10608 10560 "rollup": "^4.13.0" 10609 10561 }, 10610 10562 "bin": { ··· 10716 10668 "resolved": "https://registry.npmjs.org/vite-plugin-remove-console/-/vite-plugin-remove-console-2.2.0.tgz", 10717 10669 "integrity": "sha512-qgjh5pz75MdE9Kzs8J0kBwaCfifHV0ezRbB9rpGsIOxam+ilcGV7WOk91vFJXquzRmiKrFh3Hxlh0JJWAmXTbQ==", 10718 10670 "dev": true 10671 + }, 10672 + "node_modules/vite-plugin-run": { 10673 + "version": "0.5.2", 10674 + "resolved": "https://registry.npmjs.org/vite-plugin-run/-/vite-plugin-run-0.5.2.tgz", 10675 + "integrity": "sha512-ZrbdZ2gNJwvW4MMQr6a4Udioq6+06VgBytviYi/hgRQnz3SCQAcRJu7QKqlIbH229/lNyYTdvkglottfkUlNyQ==", 10676 + "dev": true, 10677 + "dependencies": { 10678 + "@antfu/utils": "^0.7.6", 10679 + "debug": "^4.3.4", 10680 + "execa": "5.1", 10681 + "minimatch": "^9.0.3", 10682 + "picocolors": "^1.0.0" 10683 + } 10684 + }, 10685 + "node_modules/vite-plugin-run/node_modules/brace-expansion": { 10686 + "version": "2.0.1", 10687 + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 10688 + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 10689 + "dev": true, 10690 + "dependencies": { 10691 + "balanced-match": "^1.0.0" 10692 + } 10693 + }, 10694 + "node_modules/vite-plugin-run/node_modules/minimatch": { 10695 + "version": "9.0.5", 10696 + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 10697 + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 10698 + "dev": true, 10699 + "dependencies": { 10700 + "brace-expansion": "^2.0.1" 10701 + }, 10702 + "engines": { 10703 + "node": ">=16 || 14 >=14.17" 10704 + }, 10705 + "funding": { 10706 + "url": "https://github.com/sponsors/isaacs" 10707 + } 10719 10708 }, 10720 10709 "node_modules/wcwidth": { 10721 10710 "version": "1.0.1",
+5 -7
package.json
··· 3 3 "version": "0.1.0", 4 4 "type": "module", 5 5 "scripts": { 6 - "dev:vite": "vite", 7 - "dev": "run-p dev:vite \"messages:extract:clean -- --watch\"", 6 + "dev": "vite", 8 7 "build": "vite build", 9 8 "preview": "vite preview", 10 9 "fetch-instances": "env $(cat .env.local | grep -v \"#\" | xargs) node scripts/fetch-instances-list.js", ··· 26 25 "@lingui/react": "~4.11.3", 27 26 "@szhsin/react-menu": "~4.2.2", 28 27 "compare-versions": "~6.1.1", 29 - "dayjs": "~1.11.12", 30 28 "fast-blurhash": "~1.1.4", 31 29 "fast-equals": "~5.0.1", 32 30 "fuse.js": "~7.0.0", ··· 38 36 "masto": "~6.8.0", 39 37 "moize": "~6.1.6", 40 38 "p-retry": "~6.2.0", 41 - "p-throttle": "~6.1.0", 39 + "p-throttle": "~6.2.0", 42 40 "preact": "~10.23.2", 43 41 "punycode": "~2.3.1", 44 42 "react-hotkeys-hook": "~4.5.0", ··· 61 59 "@lingui/vite-plugin": "~4.11.3", 62 60 "@preact/preset-vite": "~2.9.0", 63 61 "babel-plugin-macros": "~3.1.0", 64 - "npm-run-all2": "~6.2.2", 65 62 "postcss": "~8.4.41", 66 63 "postcss-dark-theme-class": "~1.3.0", 67 - "postcss-preset-env": "~10.0.0", 64 + "postcss-preset-env": "~10.0.1", 68 65 "twitter-text": "~3.1.0", 69 - "vite": "~5.4.0", 66 + "vite": "~5.4.1", 70 67 "vite-plugin-generate-file": "~0.2.0", 71 68 "vite-plugin-html-config": "~1.0.11", 72 69 "vite-plugin-pwa": "~0.20.1", 73 70 "vite-plugin-remove-console": "~2.2.0", 71 + "vite-plugin-run": "~0.5.2", 74 72 "workbox-cacheable-response": "~7.1.0", 75 73 "workbox-expiration": "~7.1.0", 76 74 "workbox-routing": "~7.1.0",
+11
vite.config.js
··· 10 10 import htmlPlugin from 'vite-plugin-html-config'; 11 11 import { VitePWA } from 'vite-plugin-pwa'; 12 12 import removeConsole from 'vite-plugin-remove-console'; 13 + import { run } from 'vite-plugin-run'; 13 14 14 15 const allowedEnvPrefixes = ['VITE_', 'PHANPY_']; 15 16 const { NODE_ENV } = process.env; ··· 61 62 }, 62 63 }), 63 64 lingui(), 65 + run({ 66 + silent: false, 67 + input: [ 68 + { 69 + name: 'messages:extract:clean', 70 + run: ['npm', 'run', 'messages:extract:clean'], 71 + pattern: 'src/**/*.{js,jsx,ts,tsx}', 72 + }, 73 + ], 74 + }), 64 75 splitVendorChunkPlugin(), 65 76 removeConsole({ 66 77 includes: ['log', 'debug', 'info', 'warn', 'error'],