Skip to content

Commit 7536762

Browse files
committed
Update next-template defaults & Biome config
Improve runtime defaults for create-sei's Next.js template and update Biome settings. Add a .changeset for a patch release. Changes include: - .env.example: clarify default chain behavior and example override (testnet). - biome.json: include *.json and *.md in includes and add ignore patterns (node_modules, dist, .next, .yarn). - Template adjustments: add a prebuild Biome check and include Biome in devDependencies; configure Next.js to allow Sei CDN images and skip ESLint during builds; update provider/shell setup and template docs/configs (README, Tailwind v4 config). These updates align the template with current defaults and improve developer/runtime experience.
1 parent edcb520 commit 7536762

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

.changeset/some-bags-tie.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@sei-js/create-sei": patch
3+
---
4+
5+
Improve the `next-template` runtime defaults generated by `create-sei`.
6+
7+
- Add a `prebuild` Biome check and include Biome in template dev dependencies.
8+
- Configure Next.js to allow Sei CDN images and skip ESLint during builds.
9+
- Update provider and shell setup for improved chain/image handling.
10+
- Align template config/docs with current defaults (`.env.example`, `README`, Biome, Tailwind v4 config).

packages/create-sei/templates/next-template/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Chain configuration
22
# Options: mainnet, testnet, devnet
3-
# Defaults to mainnet if not set
3+
# Defaults to mainnet if not set; this example overrides it to testnet
44
NEXT_PUBLIC_CHAIN=testnet
55

66
# WalletConnect Project ID (optional)

packages/create-sei/templates/next-template/biome.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
}
5151
},
5252
"files": {
53-
"includes": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.css"]
53+
"includes": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.css", "*.json", "*.md"],
54+
"ignore": ["node_modules/**", "dist/**", ".next/**", ".yarn/**"]
5455
}
5556
}

0 commit comments

Comments
 (0)