Skip to content

Commit

Permalink
chore: 🤖 bump rolldown version
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Jun 26, 2024
1 parent c9e3c88 commit 900dad2
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 49 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"esbuild": "^0.21.5",
"glob": "^10.4.2",
"parcel": "^2.12.0",
"rolldown": "0.10.4-snapshot-0d15f0e-20240620002606",
"rolldown": "nightly",
"vite": "^5.3.1",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4"
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 2 additions & 11 deletions scripts/index.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
// export interface Entry {
// case: string;
// metric: string;
// timestamp: number;
// commit: string;
// unit: string;
// records: Record<string, number>;
// }

// load using import
import { glob, globSync, globStream, globStreamSync, Glob } from "glob";
import { glob } from "glob";
import * as fs from "fs";
import * as path from "path";

Expand Down Expand Up @@ -55,6 +46,6 @@ function toEntrys(recordMap, metric) {
function persistEntries(entries, filename) {
for (let entry of entries) {
fs.writeFileSync(filename, JSON.stringify(entry), { flag: "a" });
fs.writeFileSync(filename, "\n", { flag: "a" });
fs.writeFileSync(filename, "\n", { flag: "a" });
}
}

0 comments on commit 900dad2

Please sign in to comment.