Skip to content

Commit

Permalink
fix: support node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Jun 6, 2024
1 parent 3b49c16 commit d52808c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
3 changes: 2 additions & 1 deletion config/next.config.base.js
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.88",
"version": "0.0.89",
"sideEffects": false,
"type": "module",
"scripts": {
Expand Down

0 comments on commit d52808c

Please sign in to comment.