From 12fccae15d08bc11168fe6b462d978a6787b5c7c Mon Sep 17 00:00:00 2001 From: swyckoff Date: Mon, 4 Nov 2024 00:09:55 -0800 Subject: [PATCH 1/2] fix: crypto not defined in cli envVars.ts. t3-oss/create-t3-app#2009 (#2010) --- .changeset/strange-sheep-argue.md | 5 +++++ cli/src/installers/envVars.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/strange-sheep-argue.md diff --git a/.changeset/strange-sheep-argue.md b/.changeset/strange-sheep-argue.md new file mode 100644 index 0000000000..3d592e88c1 --- /dev/null +++ b/.changeset/strange-sheep-argue.md @@ -0,0 +1,5 @@ +--- +"create-t3-app": patch +--- + +Added an import for crypto in the cli envVars.ts to support older node versions. diff --git a/cli/src/installers/envVars.ts b/cli/src/installers/envVars.ts index 6288fab1b5..d3108fc074 100644 --- a/cli/src/installers/envVars.ts +++ b/cli/src/installers/envVars.ts @@ -1,3 +1,4 @@ +import crypto from "node:crypto"; import path from "path"; import fs from "fs-extra"; From 72057e3ec092969fde9631c4f7c853a85440668a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:34:04 +0100 Subject: [PATCH 2/2] chore(release): version packages (#2011) Co-authored-by: github-actions[bot] --- .changeset/strange-sheep-argue.md | 5 ----- cli/CHANGELOG.md | 6 ++++++ cli/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/strange-sheep-argue.md diff --git a/.changeset/strange-sheep-argue.md b/.changeset/strange-sheep-argue.md deleted file mode 100644 index 3d592e88c1..0000000000 --- a/.changeset/strange-sheep-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-t3-app": patch ---- - -Added an import for crypto in the cli envVars.ts to support older node versions. diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index cb2f499e3d..fb49f76b41 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 7.38.1 + +### Patch Changes + +- [#2010](https://github.com/t3-oss/create-t3-app/pull/2010) [`12fccae15d08bc11168fe6b462d978a6787b5c7c`](https://github.com/t3-oss/create-t3-app/commit/12fccae15d08bc11168fe6b462d978a6787b5c7c) Thanks [@swyckoff](https://github.com/swyckoff)! - Added an import for crypto in the cli envVars.ts to support older node versions. + ## 7.38.0 ### Minor Changes diff --git a/cli/package.json b/cli/package.json index 194d6f3bf5..bce3f47c45 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "create-t3-app", - "version": "7.38.0", + "version": "7.38.1", "description": "Create web application with the t3 stack", "license": "MIT", "repository": {