Skip to content

Commit

Permalink
Make the extension public
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Dec 13, 2024
1 parent 9cb777d commit cba1928
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion esbuild.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { build } from "esbuild";
import { copy } from "esbuild-plugin-copy";
import fs from "node:fs";

await build({
const result = await build({
entryPoints: ["src/index.mts"],
bundle: true,
platform: "node",
format: "esm",
outfile: "dist/index.mjs",
minify: true,
metafile: true,
plugins: [
copy({
assets: {
Expand All @@ -17,3 +19,5 @@ await build({
}),
],
});

fs.writeFileSync("dist/meta.json", JSON.stringify(result.metafile, null, 2));
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id": "scorecard",
"name": "OSSF Scorecard",
"version": "0.0.0",
"public": false,
"public": true,
"publisher": "JamieMagee",
"targets": [
{
Expand Down

0 comments on commit cba1928

Please sign in to comment.