Skip to content

Commit

Permalink
fix(rari-npm): use version from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Oct 21, 2024
1 parent e6ba05b commit cf07c78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rari-npm/lib/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import { arch, platform } from "os";
import { join } from "path";

import { download, exists } from "./download.js";
import * as packageJson from "../package.json" with { type: "json" };

const VERSION = "v0.0.12";
const VERSION = packageJson.version;
const BIN_PATH = join(import.meta.dirname, "../bin");
const FORCE = JSON.parse(process.env.FORCE || "false");
const GITHUB_TOKEN = process.env.GITHUB_TOKEN;
Expand Down

0 comments on commit cf07c78

Please sign in to comment.