Skip to content

Commit a6fad80

Browse files
committed
Rename meta.json to build-metadata.json
1 parent e09b8db commit a6fad80

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/upload-artifact@v7
5757
with:
5858
name: bundle-metadata-${{ matrix.os }}-${{ matrix.node-version }}
59-
path: meta.json
59+
path: build-metadata.json
6060
retention-days: ${{ (github.ref_name == github.event.repository.default_branch && 90) || 7 }}
6161
if-no-files-found: error
6262

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ eslint.sarif
1212
# for local incremental compilation
1313
tsconfig.tsbuildinfo
1414
# esbuild metadata file
15-
meta.json
15+
build-metadata.json

build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ const context = await esbuild.context({
8282
});
8383

8484
const result = await context.rebuild();
85-
await writeFile(join(__dirname, "meta.json"), JSON.stringify(result.metafile));
85+
await writeFile(join(__dirname, "build-metadata.json"), JSON.stringify(result.metafile));
8686

8787
await context.dispose();

pr-checks/config.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ export const PR_CHECKS_DIR = __dirname;
1010
export const PR_CHECK_EXCLUDED_FILE = path.join(PR_CHECKS_DIR, "excluded.yml");
1111

1212
/** The path to the esbuild metadata file. */
13-
export const BUNDLE_METADATA_FILE = path.join(PR_CHECKS_DIR, "..", "meta.json");
13+
export const BUNDLE_METADATA_FILE = path.join(
14+
PR_CHECKS_DIR,
15+
"..",
16+
"build-metadata.json",
17+
);
1418

1519
/** The path of the baseline esbuild metadata file, once extracted from a workflow artifact. */
1620
export const BASELINE_BUNDLE_METADATA_FILE = path.join(
1721
PR_CHECKS_DIR,
18-
"meta.json",
22+
"build-metadata.json",
1923
);
2024

2125
/** The `src` directory. */

0 commit comments

Comments
 (0)