Skip to content

Commit

Permalink
fix broken script
Browse files Browse the repository at this point in the history
  • Loading branch information
samualtnorman committed Dec 21, 2024
1 parent 6bb389b commit 208efec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/emit-package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { mkdirSync as makeDirectorySync, writeFileSync } from "fs"
import packageJson_ from "../package.json" with { type: "json" }

const { private: _0, devDependencies: _1, pnpm: _2, scripts: _3, engines: { pnpm, ...engines }, ...packageJson } = packageJson_
const { private: _0, devDependencies: _1, pnpm: _2, engines: { pnpm, ...engines }, ...packageJson } = packageJson_

makeDirectorySync("dist", { recursive: true })
writeFileSync("dist/package.json", JSON.stringify({ ...packageJson, engines }, undefined, "\t"))
Expand Down

0 comments on commit 208efec

Please sign in to comment.