Skip to content

Commit 75b6041

Browse files
committed
📦 Update package references from next-runtime-env to next-dynenv
Complete the package rename by updating remaining references throughout the codebase that were missed in the initial rebrand. Changes include: - Update log suffix from (next-runtime-env) to (next-dynenv) - Fix repository URLs in package.json (hyperb1iss/next-dynenv) - Update npm links in release workflow and semantic-release config - Update import paths in test-app components - Update GitHub links in README, CHANGELOG, and examples
1 parent 2deeacb commit 75b6041

16 files changed

Lines changed: 42 additions & 24 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
echo "**Channel:** \`${{ steps.semantic.outputs.new_release_channel }}\`" >> $GITHUB_STEP_SUMMARY
8080
echo "**Git Tag:** \`${{ steps.semantic.outputs.new_release_git_tag }}\`" >> $GITHUB_STEP_SUMMARY
8181
echo "" >> $GITHUB_STEP_SUMMARY
82-
echo "📦 [View on npm](https://www.npmjs.com/package/@hyperb1iss/next-runtime-env/v/${{ steps.semantic.outputs.new_release_version }})" >> $GITHUB_STEP_SUMMARY
82+
echo "📦 [View on npm](https://www.npmjs.com/package/next-dynenv/v/${{ steps.semantic.outputs.new_release_version }})" >> $GITHUB_STEP_SUMMARY
8383
echo "📝 [View Release Notes](https://github.com/${{ github.repository }}/releases/tag/${{ steps.semantic.outputs.new_release_git_tag }})" >> $GITHUB_STEP_SUMMARY
8484
8585
- name: 📭 No Release

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
# See https://help.github.com/ignore-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
4+
node_modules
55

66
# testing
77
/coverage
88

99
# production
1010
/build
11+
.next
12+
13+
# docs
14+
docs/.vitepress/dist
15+
docs/.vitepress/cache
1116

1217
# misc
1318
.DS_Store
1419
.env
20+
.claude/settings.local.json
1521
npm-debug.log*
1622
yarn-debug.log*
1723
yarn-error.log*

.releaserc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ plugins:
8787
### 🎉 This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version}
8888
8989
The release is available on:
90-
- 📦 [npm package (@latest dist-tag)](https://www.npmjs.com/package/@hyperb1iss/next-runtime-env/v/${nextRelease.version})
90+
- 📦 [npm package (@latest dist-tag)](https://www.npmjs.com/package/next-dynenv/v/${nextRelease.version})
9191
- 📝 [GitHub release](${releases[0].url})
9292
9393
Your **${issue.pull_request ? 'pull request' : 'issue'}** is in ${nextRelease.channel ? `**${nextRelease.channel}** channel` : '**production**'}!

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
> **Fork Notice:** This is the changelog for the Next.js 15 compatible fork maintained at
9-
> [@hyperb1iss/next-runtime-env](https://github.com/hyperb1iss/next-runtime-env). For the original project history
10-
> (versions 3.x and below), see the [original repository](https://github.com/expatfile/next-runtime-env).
9+
> [next-dynenv](https://github.com/hyperb1iss/next-dynenv). For the original project history (versions 3.x and below),
10+
> see the [original repository](https://github.com/expatfile/next-runtime-env).
1111
1212
---
1313

@@ -60,7 +60,7 @@ represents a comprehensive modernization of the package while maintaining backwa
6060

6161
- **Minimum Requirements:** Requires Next.js 15+ and React 19+ (use `next-runtime-env@3.x` for Next.js 14)
6262
- **Server Components:** All server-side usage must now use async/await patterns
63-
- **Package Name:** New scoped package name `@hyperb1iss/next-runtime-env` (migration required)
63+
- **Package Name:** New package name `next-dynenv` (migration required)
6464
- **Node.js Version:** Updated minimum Node.js version requirements per Next.js 15 specifications
6565

6666
---
@@ -89,4 +89,4 @@ credit for the original implementation, core concepts, and foundational work goe
8989

9090
**Original Authors:** [Expatfile.tax LLC](https://expatfile.tax)
9191

92-
[4.0.0]: https://github.com/hyperb1iss/next-runtime-env/releases/tag/v4.0.0
92+
[4.0.0]: https://github.com/hyperb1iss/next-dynenv/releases/tag/v4.0.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![License](https://img.shields.io/badge/License-MIT-f1fa8c?style=for-the-badge&logo=opensourceinitiative&logoColor=white)](https://opensource.org/licenses/MIT)
99

1010
[![npm version](https://img.shields.io/npm/v/next-dynenv?style=for-the-badge&logo=npm&logoColor=white&color=50fa7b)](https://www.npmjs.com/package/next-dynenv)
11-
[![CI](https://img.shields.io/github/actions/workflow/status/hyperb1iss/next-runtime-env/ci.yml?branch=development&style=for-the-badge&logo=github&logoColor=white&label=CI)](https://github.com/hyperb1iss/next-runtime-env/actions)
11+
[![CI](https://img.shields.io/github/actions/workflow/status/hyperb1iss/next-dynenv/ci.yml?branch=development&style=for-the-badge&logo=github&logoColor=white&label=CI)](https://github.com/hyperb1iss/next-dynenv/actions)
1212
[![Downloads](https://img.shields.io/npm/dm/next-dynenv?style=for-the-badge&logo=npm&logoColor=white&color=ffb86c)](https://www.npmjs.com/package/next-dynenv)
1313

1414
**Effortlessly populate your environment at runtime, not just at build time.**

biome.jsonc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,18 @@
159159
// ◆ FILE-SPECIFIC OVERRIDES
160160
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
161161
"overrides": [
162+
{
163+
// ────────────────────────────────────────────────────────────────
164+
// → VitePress Theme (skip linting - uses non-standard CSS)
165+
// ────────────────────────────────────────────────────────────────
166+
"includes": ["docs/.vitepress/theme/**"],
167+
"linter": {
168+
"enabled": false
169+
},
170+
"formatter": {
171+
"enabled": false
172+
}
173+
},
162174
{
163175
// ────────────────────────────────────────────────────────────────
164176
// → JSON Configuration Files

examples/with-pages-router/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default function Page() {
108108

109109
For questions or issues:
110110

111-
- **App Router (this package):** [GitHub Issues](https://github.com/hyperb1iss/next-runtime-env/issues)
111+
- **App Router (this package):** [GitHub Issues](https://github.com/hyperb1iss/next-dynenv/issues)
112112
- **Pages Router (original):** [Original Repository](https://github.com/expatfile/next-runtime-env)
113113

114114
---

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@
4444
"license": "MIT",
4545
"repository": {
4646
"type": "git",
47-
"url": "https://github.com/hyperb1iss/next-runtime-env.git"
47+
"url": "https://github.com/hyperb1iss/next-dynenv.git"
4848
},
4949
"bugs": {
50-
"url": "https://github.com/hyperb1iss/next-runtime-env/issues"
50+
"url": "https://github.com/hyperb1iss/next-dynenv/issues"
5151
},
52-
"homepage": "https://github.com/hyperb1iss/next-runtime-env#readme",
52+
"homepage": "https://github.com/hyperb1iss/next-dynenv#readme",
5353
"dependencies": {
5454
"next": "^15",
5555
"react": "^19"

src/helpers/log.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,30 @@ describe('error', () => {
3535
it('should log an error message', () => {
3636
error('foo')
3737

38-
expect(errorSpy).toHaveBeenCalledWith(` ${prefixes.error}`, 'foo', '(next-runtime-env)')
38+
expect(errorSpy).toHaveBeenCalledWith(` ${prefixes.error}`, 'foo', '(next-dynenv)')
3939
})
4040
})
4141

4242
describe('warn', () => {
4343
it('should log a warning message', () => {
4444
warn('foo')
4545

46-
expect(warnSpy).toHaveBeenCalledWith(` ${prefixes.warn}`, 'foo', '(next-runtime-env)')
46+
expect(warnSpy).toHaveBeenCalledWith(` ${prefixes.warn}`, 'foo', '(next-dynenv)')
4747
})
4848
})
4949

5050
describe('info', () => {
5151
it('should log an info message', () => {
5252
info('foo')
5353

54-
expect(logSpy).toHaveBeenCalledWith(` ${prefixes.info}`, 'foo', '(next-runtime-env)')
54+
expect(logSpy).toHaveBeenCalledWith(` ${prefixes.info}`, 'foo', '(next-dynenv)')
5555
})
5656
})
5757

5858
describe('event', () => {
5959
it('should log an event message', () => {
6060
event('foo')
6161

62-
expect(logSpy).toHaveBeenCalledWith(` ${prefixes.event}`, 'foo', '(next-runtime-env)')
62+
expect(logSpy).toHaveBeenCalledWith(` ${prefixes.event}`, 'foo', '(next-dynenv)')
6363
})
6464
})

src/helpers/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const prefixLevels = {
2626
event: 10,
2727
} as const satisfies Record<keyof typeof prefixes | 'silent', number>
2828

29-
const suffix = '(next-runtime-env)'
29+
const suffix = '(next-dynenv)'
3030

3131
const LOGGING_METHOD = {
3232
log: 'log',

0 commit comments

Comments
 (0)