Skip to content

Commit b93d81e

Browse files
feat: update Node.js version to 22.16.0, enhance package versions, and improve changelogs
1 parent fb2154b commit b93d81e

9 files changed

Lines changed: 32 additions & 21 deletions

File tree

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.14.2
1+
v22.16.0

package-lock.json

Lines changed: 9 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Requirements
77

8-
**You’ll need to have Node 18.14.2 or later on your local development machine** (but it’s not required on the server). You can use [fnm](https://github.com/Schniz/fnm) to easily switch Node versions between different projects.
8+
**You’ll need to have Node 22.16.0 or later on your local development machine** (but it’s not required on the server). You can use [fnm](https://github.com/Schniz/fnm) to easily switch Node versions between different projects.
99

1010
```sh
1111
git clone https://github.com/Create-Node-App/create-node-app

packages/create-awesome-node-app/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# create-awesome-node-app
22

3+
## 0.6.2
4+
5+
### Patch Changes
6+
7+
- Fix deps
8+
- Updated dependencies
9+
- @create-node-app/core@0.5.2
10+
311
## 0.6.0
412

513
### Minor Changes

packages/create-awesome-node-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-awesome-node-app",
3-
"version": "0.6.0",
3+
"version": "0.6.2",
44
"type": "module",
55
"description": "Command line tool to create Node apps with a lot of different templates and extensions.",
66
"license": "MIT",

packages/create-node-app-core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @create-node-app/core
22

3+
## 0.5.2
4+
5+
### Patch Changes
6+
7+
- Fix deps
8+
39
## 0.5.0
410

511
### Minor Changes

packages/create-node-app-core/git.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import os from "os";
22
import path from "path";
33
import fs from "fs";
44
import debug from "debug";
5-
import simpleGit, { SimpleGit, CloneOptions } from "simple-git";
5+
import { simpleGit, type SimpleGit, type CloneOptions } from "simple-git";
66
import * as fse from "fs-extra"; // Import fs-extra for advanced file operations
77

88
const log = debug("cna:git");
@@ -18,7 +18,7 @@ export type DownloadRepositoryOptions = {
1818
url?: string;
1919
target: string;
2020
cacheDir?: string;
21-
branch?: string;
21+
branch?: string | undefined;
2222
offline?: boolean;
2323
targetId?: string;
2424
};

packages/create-node-app-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@create-node-app/core",
3-
"version": "0.5.0",
3+
"version": "0.5.2",
44
"type": "module",
55
"main": "./dist/index.cjs",
66
"types": "./dist/index.d.ts",
@@ -44,7 +44,6 @@
4444
"eslint": "^9.35.0",
4545
"eslint-config-turbo": "^2.5.6",
4646
"eslint-plugin-turbo": "^2.5.6",
47-
"simple-git": "^3.28.0",
4847
"tsconfig": "*",
4948
"typescript": "^5.9.2"
5049
},
@@ -53,6 +52,7 @@
5352
"cross-spawn": "^7.0.6",
5453
"debug": "^4.4.3",
5554
"envinfo": "^7.14.0",
55+
"simple-git": "^3.28.0",
5656
"lodash.merge": "^4.6.2",
5757
"readdirp": "^4.1.2",
5858
"semver": "^7.7.2",

packages/create-node-app-core/paths.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from "fs";
22
import os from "os";
33
import path from "path";
4-
import { downloadRepository } from "./git";
4+
import { downloadRepository } from "./git.js";
55

66
/**
77
* solveValuesFromTemplateOrExtensionUrl solves values from templateOrExtension url
@@ -55,7 +55,7 @@ const solveRepositoryPath = async ({
5555
try {
5656
await downloadRepository({
5757
url,
58-
branch,
58+
branch: branch || "",
5959
target,
6060
targetId,
6161
});

0 commit comments

Comments
 (0)