Skip to content

Commit

Permalink
feat: change base configs
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed May 27, 2024
1 parent 768e9df commit 8a25204
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 5 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-48.16%25-red.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-75.4%25-red.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-54.16%25-red.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-48.16%25-red.svg?style=flat) |
| ![Statements](https://img.shields.io/badge/statements-47.38%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.38%25-red.svg?style=flat) |
2 changes: 1 addition & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["./biome.base.jsonc"]
"extends": ["./config/biome.base.jsonc"]
}
File renamed without changes.
20 changes: 20 additions & 0 deletions config/next.config.base.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import packageJson from "../package.json" assert { type: "json" };

/** @type {import("next").NextConfig} */
export const nextConfigBase = {
eslint: {
ignoreDuringBuilds: true,
},
swcMinify: true,
reactStrictMode: true,
transpilePackages: ["@risc0/ui"],
publicRuntimeConfig: {
version: packageJson.version,
},
experimental: {
caseSensitiveRoutes: true,
staleTimes: {
dynamic: 30,
},
},
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.84",
"version": "0.0.85",
"sideEffects": false,
"type": "module",
"scripts": {
Expand Down Expand Up @@ -41,7 +41,7 @@
"tailwind-merge": "2.3.0",
"tailwindcss": "3.4.3",
"tailwindcss-animate": "1.0.7",
"typescript": "5.5.0-dev.20240524"
"typescript": "5.5.0-dev.20240526"
},
"devDependencies": {
"@biomejs/biome": "1.7.4-nightly.125f34b",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.base.json",
"extends": "./config/tsconfig.base.json",
"compilerOptions": {
/* Path Aliases */
"baseUrl": ".",
Expand Down

0 comments on commit 8a25204

Please sign in to comment.