-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
772c64f
commit 25f2095
Showing
5 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@t3-oss/env-nextjs": patch | ||
"@t3-oss/env-core": patch | ||
"@t3-oss/env-nuxt": patch | ||
--- | ||
|
||
fix: add a prepack to remove worksapce protocol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/// <reference types="bun-types" /> | ||
|
||
declare module "bun" { | ||
interface BunFile { | ||
json(): Promise<any>; | ||
} | ||
} | ||
|
||
/** | ||
* Hack to replace the workspace protocol with the actual version | ||
*/ | ||
|
||
const corePkg = await Bun.file("../core/package.json").json(); | ||
const version = corePkg.version; | ||
|
||
const workspacePkg = await Bun.file("package.json").json(); | ||
workspacePkg.dependencies["@t3-oss/env-core"] = version; | ||
await Bun.write("package.json", JSON.stringify(workspacePkg, null, 2)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25f2095
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
t3-env – ./docs
t3-env-t3-oss.vercel.app
t3-env-git-main-t3-oss.vercel.app
env.t3.gg
env.t3.wtf
t3-env.vercel.app
25f2095
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
t3-env-nextjs – ./examples/nextjs
t3-env-nextjs-git-main-t3-oss.vercel.app
t3-env-nextjs-t3-oss.vercel.app
t3-env-nextjs.vercel.app