Skip to content

Commit 9a9c29d

Browse files
hyperb1issclaude
andcommitted
fix: 🔧 resolve Biome/Prettier JSON formatting conflict
- Biome now handles all JSON formatting (4-space indent) - Prettier only handles MD/MDX/YAML files - Fixed indentation drift in all JSON files Prevents format conflicts where Biome and Prettier compete. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent baa6b9d commit 9a9c29d

File tree

12 files changed

+229
-229
lines changed

12 files changed

+229
-229
lines changed

.audit-ci.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"moderate": true,
3-
"allowlist": [],
4-
"retry-count": 10,
5-
"skip-dev": true
2+
"moderate": true,
3+
"allowlist": [],
4+
"retry-count": 10,
5+
"skip-dev": true
66
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib"
2+
"typescript.tsdk": "node_modules/typescript/lib"
33
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "next/core-web-vitals"
2+
"extends": "next/core-web-vitals"
33
}
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "with-app-router",
3-
"version": "0.1.0",
4-
"private": true,
5-
"scripts": {
6-
"dev": "next dev",
7-
"build": "next build",
8-
"start": "next start",
9-
"lint": "next lint"
10-
},
11-
"dependencies": {
12-
"@types/node": "24.7.2",
13-
"@types/react": "19.2.2",
14-
"@types/react-dom": "19.2.2",
15-
"eslint": "9.37.0",
16-
"eslint-config-next": "15.5.5",
17-
"next": "15.5.5",
18-
"@hyperb1iss/next-runtime-env": "link:../..",
19-
"react": "19.2.0",
20-
"react-dom": "19.2.0",
21-
"typescript": "5.9.3"
22-
}
2+
"name": "with-app-router",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint"
10+
},
11+
"dependencies": {
12+
"@types/node": "24.7.2",
13+
"@types/react": "19.2.2",
14+
"@types/react-dom": "19.2.2",
15+
"eslint": "9.37.0",
16+
"eslint-config-next": "15.5.5",
17+
"next": "15.5.5",
18+
"@hyperb1iss/next-runtime-env": "link:../..",
19+
"react": "19.2.0",
20+
"react-dom": "19.2.0",
21+
"typescript": "5.9.3"
22+
}
2323
}
Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"compilerOptions": {
3-
"target": "es5",
4-
"lib": ["dom", "dom.iterable", "esnext"],
5-
"allowJs": true,
6-
"skipLibCheck": true,
7-
"strict": true,
8-
"forceConsistentCasingInFileNames": true,
9-
"noEmit": true,
10-
"esModuleInterop": true,
11-
"module": "esnext",
12-
"moduleResolution": "node",
13-
"resolveJsonModule": true,
14-
"isolatedModules": true,
15-
"jsx": "preserve",
16-
"incremental": true,
17-
"plugins": [
18-
{
19-
"name": "next"
20-
}
21-
],
22-
"paths": {
23-
"@/*": ["./src/*"]
24-
}
25-
},
26-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
27-
"exclude": ["node_modules"]
2+
"compilerOptions": {
3+
"target": "es5",
4+
"lib": ["dom", "dom.iterable", "esnext"],
5+
"allowJs": true,
6+
"skipLibCheck": true,
7+
"strict": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"noEmit": true,
10+
"esModuleInterop": true,
11+
"module": "esnext",
12+
"moduleResolution": "node",
13+
"resolveJsonModule": true,
14+
"isolatedModules": true,
15+
"jsx": "preserve",
16+
"incremental": true,
17+
"plugins": [
18+
{
19+
"name": "next"
20+
}
21+
],
22+
"paths": {
23+
"@/*": ["./src/*"]
24+
}
25+
},
26+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
27+
"exclude": ["node_modules"]
2828
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "next/core-web-vitals"
2+
"extends": "next/core-web-vitals"
33
}
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"name": "with-app-router",
3-
"version": "0.1.0",
4-
"private": true,
5-
"scripts": {
6-
"dev": "next dev",
7-
"build": "next build",
8-
"start": "next start",
9-
"lint": "next lint"
10-
},
11-
"dependencies": {
12-
"@hyperb1iss/next-runtime-env": "link:../..",
13-
"@types/node": "24.7.2",
14-
"@types/react": "19.2.2",
15-
"@types/react-dom": "19.2.2",
16-
"eslint": "9.37.0",
17-
"eslint-config-next": "15.5.5",
18-
"next": "15.5.5",
19-
"react": "19.2.0",
20-
"react-dom": "19.2.0",
21-
"typescript": "5.9.3"
22-
}
2+
"name": "with-app-router",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint"
10+
},
11+
"dependencies": {
12+
"@hyperb1iss/next-runtime-env": "link:../..",
13+
"@types/node": "24.7.2",
14+
"@types/react": "19.2.2",
15+
"@types/react-dom": "19.2.2",
16+
"eslint": "9.37.0",
17+
"eslint-config-next": "15.5.5",
18+
"next": "15.5.5",
19+
"react": "19.2.0",
20+
"react-dom": "19.2.0",
21+
"typescript": "5.9.3"
22+
}
2323
}
Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"compilerOptions": {
3-
"target": "es5",
4-
"lib": ["dom", "dom.iterable", "esnext"],
5-
"allowJs": true,
6-
"skipLibCheck": true,
7-
"strict": true,
8-
"forceConsistentCasingInFileNames": true,
9-
"noEmit": true,
10-
"esModuleInterop": true,
11-
"module": "esnext",
12-
"moduleResolution": "node",
13-
"resolveJsonModule": true,
14-
"isolatedModules": true,
15-
"jsx": "preserve",
16-
"incremental": true,
17-
"plugins": [
18-
{
19-
"name": "next"
20-
}
21-
],
22-
"paths": {
23-
"@/*": ["./src/*"]
24-
}
25-
},
26-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
27-
"exclude": ["node_modules"]
2+
"compilerOptions": {
3+
"target": "es5",
4+
"lib": ["dom", "dom.iterable", "esnext"],
5+
"allowJs": true,
6+
"skipLibCheck": true,
7+
"strict": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"noEmit": true,
10+
"esModuleInterop": true,
11+
"module": "esnext",
12+
"moduleResolution": "node",
13+
"resolveJsonModule": true,
14+
"isolatedModules": true,
15+
"jsx": "preserve",
16+
"incremental": true,
17+
"plugins": [
18+
{
19+
"name": "next"
20+
}
21+
],
22+
"paths": {
23+
"@/*": ["./src/*"]
24+
}
25+
},
26+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
27+
"exclude": ["node_modules"]
2828
}

package.json

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
{
2-
"name": "@hyperb1iss/next-runtime-env",
3-
"version": "4.0.0",
4-
"description": "Next.js Runtime Environment Configuration - Populates your environment at runtime rather than build time.",
5-
"main": "build/index.js",
6-
"scripts": {
7-
"lint": "biome check . && prettier --check \"**/*.{md,mdx,json,yml,yaml}\"",
8-
"lint:fix": "biome check --write . && prettier --write \"**/*.{md,mdx,json,yml,yaml}\"",
9-
"lint:all": "biome check --write --unsafe . && prettier --write \"**/*.{md,mdx,json,yml,yaml}\"",
10-
"test": "jest",
11-
"test:coverage": "pnpm test -- --coverage",
12-
"test:watch": "pnpm test -- --maxWorkers=50% --watchAll",
13-
"test:integration": "node test-app/integration-test.mjs",
14-
"build": "tsc -p .",
15-
"build:watch": "pnpm build --watch",
16-
"audit-ci": "audit-ci",
17-
"semantic-release": "semantic-release"
18-
},
19-
"keywords": [
20-
"nextjs",
21-
"runtime",
22-
"env",
23-
"runtime env",
24-
"next-runtime-env"
25-
],
26-
"author": "Stefanie Jane <hyperb1iss@gmail.com> (Forked from Expatfile.tax LLC)",
27-
"license": "MIT",
28-
"repository": {
29-
"type": "git",
30-
"url": "https://github.com/hyperb1iss/next-runtime-env.git"
31-
},
32-
"bugs": {
33-
"url": "https://github.com/hyperb1iss/next-runtime-env/issues"
34-
},
35-
"homepage": "https://github.com/hyperb1iss/next-runtime-env#readme",
36-
"dependencies": {
37-
"next": "^15",
38-
"react": "^19"
39-
},
40-
"devDependencies": {
41-
"@biomejs/biome": "^2.2.6",
42-
"@testing-library/jest-dom": "^6.6.3",
43-
"@testing-library/react": "^16.3.0",
44-
"@types/jest": "^29.5.14",
45-
"@types/node": "^24.7.2",
46-
"@types/react": "^19.2.2",
47-
"@types/react-dom": "^19.2.2",
48-
"audit-ci": "^7.1.0",
49-
"jest": "^30.2.0",
50-
"jest-environment-jsdom": "^30.2.0",
51-
"prettier": "^3.5.3",
52-
"react-dom": "19.2.0",
53-
"semantic-release": "^24.2.3",
54-
"ts-jest": "^29.4.5",
55-
"typescript": "^5.9.3"
56-
},
57-
"peerDependencies": {
58-
"next": "^15",
59-
"react": "^19"
60-
}
2+
"name": "@hyperb1iss/next-runtime-env",
3+
"version": "4.0.0",
4+
"description": "Next.js Runtime Environment Configuration - Populates your environment at runtime rather than build time.",
5+
"main": "build/index.js",
6+
"scripts": {
7+
"lint": "biome check . && prettier --check \"**/*.{md,mdx,yml,yaml}\"",
8+
"lint:fix": "biome check --write . && prettier --write \"**/*.{md,mdx,yml,yaml}\"",
9+
"lint:all": "biome check --write --unsafe . && prettier --write \"**/*.{md,mdx,yml,yaml}\"",
10+
"test": "jest",
11+
"test:coverage": "pnpm test -- --coverage",
12+
"test:watch": "pnpm test -- --maxWorkers=50% --watchAll",
13+
"test:integration": "node test-app/integration-test.mjs",
14+
"build": "tsc -p .",
15+
"build:watch": "pnpm build --watch",
16+
"audit-ci": "audit-ci",
17+
"semantic-release": "semantic-release"
18+
},
19+
"keywords": [
20+
"nextjs",
21+
"runtime",
22+
"env",
23+
"runtime env",
24+
"next-runtime-env"
25+
],
26+
"author": "Stefanie Jane <hyperb1iss@gmail.com> (Forked from Expatfile.tax LLC)",
27+
"license": "MIT",
28+
"repository": {
29+
"type": "git",
30+
"url": "https://github.com/hyperb1iss/next-runtime-env.git"
31+
},
32+
"bugs": {
33+
"url": "https://github.com/hyperb1iss/next-runtime-env/issues"
34+
},
35+
"homepage": "https://github.com/hyperb1iss/next-runtime-env#readme",
36+
"dependencies": {
37+
"next": "^15",
38+
"react": "^19"
39+
},
40+
"devDependencies": {
41+
"@biomejs/biome": "^2.2.6",
42+
"@testing-library/jest-dom": "^6.6.3",
43+
"@testing-library/react": "^16.3.0",
44+
"@types/jest": "^29.5.14",
45+
"@types/node": "^24.7.2",
46+
"@types/react": "^19.2.2",
47+
"@types/react-dom": "^19.2.2",
48+
"audit-ci": "^7.1.0",
49+
"jest": "^30.2.0",
50+
"jest-environment-jsdom": "^30.2.0",
51+
"prettier": "^3.5.3",
52+
"react-dom": "19.2.0",
53+
"semantic-release": "^24.2.3",
54+
"ts-jest": "^29.4.5",
55+
"typescript": "^5.9.3"
56+
},
57+
"peerDependencies": {
58+
"next": "^15",
59+
"react": "^19"
60+
}
6161
}

test-app/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "next-runtime-env-test-app",
3-
"version": "1.0.0",
4-
"private": true,
5-
"type": "module",
6-
"scripts": {
7-
"dev": "next dev",
8-
"build": "next build",
9-
"start": "node .next/standalone/test-app/server.js"
10-
},
11-
"dependencies": {
12-
"next": "15.5.5",
13-
"react": "19.2.0",
14-
"react-dom": "19.2.0",
15-
"@hyperb1iss/next-runtime-env": "file:.."
16-
}
2+
"name": "next-runtime-env-test-app",
3+
"version": "1.0.0",
4+
"private": true,
5+
"type": "module",
6+
"scripts": {
7+
"dev": "next dev",
8+
"build": "next build",
9+
"start": "node .next/standalone/test-app/server.js"
10+
},
11+
"dependencies": {
12+
"next": "15.5.5",
13+
"react": "19.2.0",
14+
"react-dom": "19.2.0",
15+
"@hyperb1iss/next-runtime-env": "file:.."
16+
}
1717
}

0 commit comments

Comments
 (0)