Skip to content

Commit d54f6c0

Browse files
committed
chore: update node & next version in interfaces
1 parent 8b9518c commit d54f6c0

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

src/services/get-platform-version.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,17 @@ function getPythonVersion(projectPath: string, debug: DebugLogger) {
168168
}
169169

170170
function getNodeVersion(projectPath: string, debug: DebugLogger) {
171-
const supportedNodeVersion = ['8', '10', '12', '14', '16', '18', '20'];
171+
const supportedNodeVersion = [
172+
'8',
173+
'10',
174+
'12',
175+
'14',
176+
'16',
177+
'18',
178+
'20',
179+
'22',
180+
'24',
181+
];
172182

173183
const packageJson = path.join(projectPath, 'package.json');
174184
const packageJsonData = fs.readJsonSync(packageJson);

src/utils/get-supported-versions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ const versions: IVersions = {
2323
defaultVersion: '20',
2424
allVersions: ['14', '16', '18', '20', '22', '24'],
2525
},
26-
next: { defaultVersion: '20', allVersions: ['20', '22'] },
26+
next: { defaultVersion: '22', allVersions: ['20', '22', '24'] },
2727
laravel: {
2828
defaultVersion: '7.4',
29-
allVersions: ['8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2'],
29+
allVersions: ['8.4', '8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2'],
3030
},
3131
php: {
3232
defaultVersion: '8.0',

0 commit comments

Comments
 (0)