diff --git a/.changeset/selfish-teachers-report.md b/.changeset/selfish-teachers-report.md new file mode 100644 index 000000000..39ed9951b --- /dev/null +++ b/.changeset/selfish-teachers-report.md @@ -0,0 +1,5 @@ +--- +"@ponder/core": patch +--- + +Pinned vite version. Some newer versions were known to cause hot reloading bugs. diff --git a/packages/core/package.json b/packages/core/package.json index 6f240ccb1..025f53068 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -71,9 +71,9 @@ "prom-client": "^15.0.0", "react": "^18.2.0", "stacktrace-parser": "^0.1.10", - "vite": "^5.0.7", - "vite-node": "^1.0.2", - "vite-tsconfig-paths": "^4.3.1" + "vite": "5.0.7", + "vite-node": "1.0.2", + "vite-tsconfig-paths": "4.3.1" }, "devDependencies": { "@types/babel__code-frame": "^7.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0eb556c0..e504dabfe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -752,14 +752,14 @@ importers: specifier: ^0.1.10 version: 0.1.10 vite: - specifier: ^5.0.7 - version: 5.0.10(@types/node@20.11.24) + specifier: 5.0.7 + version: 5.0.7(@types/node@20.11.24) vite-node: - specifier: ^1.0.2 - version: 1.1.1(@types/node@20.11.24) + specifier: 1.0.2 + version: 1.0.2(@types/node@20.11.24) vite-tsconfig-paths: - specifier: ^4.3.1 - version: 4.3.1(typescript@5.3.3)(vite@5.0.10(@types/node@20.11.24)) + specifier: 4.3.1 + version: 4.3.1(typescript@5.3.3)(vite@5.0.7(@types/node@20.11.24)) devDependencies: '@types/babel__code-frame': specifier: ^7.0.6 @@ -7178,6 +7178,7 @@ packages: shikiji@0.6.10: resolution: {integrity: sha512-WE+A5Y2ntM5hL3iJQujk97qr5Uj7PSIRXpQfrZ6h+JWPXZ8KBEDhFXc4lqNriaRq1WGOVPUT83XMOzmHiH3W8A==} + deprecated: Shikiji is merged back to Shiki v1.0, please migrate over to get the latest updates side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} @@ -7978,11 +7979,6 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite-node@1.1.1: - resolution: {integrity: sha512-2bGE5w4jvym5v8llF6Gu1oBrmImoNSs4WmRVcavnG2me6+8UQntTqLiAMFyiAobp+ZXhj5ZFhI7SmLiFr/jrow==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - vite-tsconfig-paths@4.3.1: resolution: {integrity: sha512-cfgJwcGOsIxXOLU/nELPny2/LUD/lcf1IbfyeKTv2bsupVbTH/xpFtdQlBmIP1GEK2CjjLxYhFfB+QODFAx5aw==} peerDependencies: @@ -7991,8 +7987,8 @@ packages: vite: optional: true - vite@5.0.10: - resolution: {integrity: sha512-2P8J7WWgmc355HUMlFrwofacvr98DAjoE52BfdbwQtyLH06XKwaL/FMnmKM2crF0iX4MpmMKoDlNCB1ok7zHCw==} + vite@5.0.7: + resolution: {integrity: sha512-B4T4rJCDPihrQo2B+h1MbeGL/k/GMAHzhQ8S0LjQ142s6/+l3hHTT095ORvsshj4QCkoWu3Xtmob5mazvakaOw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -16856,24 +16852,7 @@ snapshots: debug: 4.3.4(supports-color@8.1.1) pathe: 1.1.1 picocolors: 1.0.0 - vite: 5.0.10(@types/node@20.11.24) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - - vite-node@1.1.1(@types/node@20.11.24): - dependencies: - cac: 6.7.14 - debug: 4.3.4(supports-color@8.1.1) - pathe: 1.1.1 - picocolors: 1.0.0 - vite: 5.0.10(@types/node@20.11.24) + vite: 5.0.7(@types/node@20.11.24) transitivePeerDependencies: - '@types/node' - less @@ -16884,18 +16863,18 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@4.3.1(typescript@5.3.3)(vite@5.0.10(@types/node@20.11.24)): + vite-tsconfig-paths@4.3.1(typescript@5.3.3)(vite@5.0.7(@types/node@20.11.24)): dependencies: debug: 4.3.4(supports-color@8.1.1) globrex: 0.1.2 tsconfck: 3.0.1(typescript@5.3.3) optionalDependencies: - vite: 5.0.10(@types/node@20.11.24) + vite: 5.0.7(@types/node@20.11.24) transitivePeerDependencies: - supports-color - typescript - vite@5.0.10(@types/node@20.11.24): + vite@5.0.7(@types/node@20.11.24): dependencies: esbuild: 0.19.11 postcss: 8.4.32 @@ -16924,7 +16903,7 @@ snapshots: strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.8.1 - vite: 5.0.10(@types/node@20.11.24) + vite: 5.0.7(@types/node@20.11.24) vite-node: 1.0.2(@types/node@20.11.24) why-is-node-running: 2.2.2 optionalDependencies: