diff --git a/README.md b/README.md index e2adbd9..6b4945f 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,4 @@ https://www.npmjs.com/package/@risc0/ui | Statements | Branches | Functions | Lines | | --------------------------- | ----------------------- | ------------------------- | ----------------- | -| ![Statements](https://img.shields.io/badge/statements-47.04%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-74.19%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-52%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-47.04%25-red.svg?style=flat) | +| ![Statements](https://img.shields.io/badge/statements-47.01%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-74.19%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-52%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-47.01%25-red.svg?style=flat) | diff --git a/config/next.config.base.js b/config/next.config.base.js index 6445f8f..f75ff1e 100644 --- a/config/next.config.base.js +++ b/config/next.config.base.js @@ -1,4 +1,5 @@ -import packageJson from "../package.json" assert { type: "json" }; +import { readFileSync } from "fs"; +const packageJson = JSON.parse(readFileSync("./package.json")); /** @type {import("next").NextConfig} */ export const nextConfigBase = { diff --git a/package.json b/package.json index cd5e4fb..36d5d41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@risc0/ui", - "version": "0.0.88", + "version": "0.0.89", "sideEffects": false, "type": "module", "scripts": {