Skip to content

Commit

Permalink
feat(cli): change node support to 18.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
olamothe committed Oct 12, 2023
1 parent ae1361a commit 91e26c7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/cli/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Coveo",
"description": "Coveo CLI",
"engines": {
"node": "^16.13.0 || ^18.12.0"
"node": ">=18.18.1"
},
"dependencies": {
"@amplitude/analytics-node": "^1.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/core/src/commands/ui/create/angular.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export default class Angular extends CLICommand {
* Requirements Based on https://angular.io/guide/setup-local
* and https://www.npmjs.com/package/@angular/cli package.json engines section.
*/
public static requiredNodeVersion = '^12.14.1 || >=14.0.0';
public static requiredNpmVersion = '^6.11.0 || ^7.5.6 || >=8.0.0';
public static requiredNodeVersion = '>=18.18.1';
public static requiredNpmVersion = '>=9.8.1';
public static requiredNgVersion = '^15.0.0';

public static description =
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/core/src/commands/ui/create/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class React extends CLICommand {
* "You’ll need to have Node 14.0.0 or later version on your local development machine"
* https://github.com/facebook/create-react-app#creating-an-app
*/
public static requiredNodeVersion = '>=14.0.0';
public static requiredNodeVersion = '>=18.1.1';

public static description =
'Create a Coveo Headless-powered search page with the React web framework. See <https://docs.coveo.com/headless> and <https://reactjs.org/>.';
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/core/src/commands/ui/create/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class Vue extends CLICommand {
* @see https://cli.vuejs.org/guide/installation.html for current requirements.
* @see https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md for upcoming requirements.
*/
public static requiredNodeVersion = '>=16';
public static requiredNodeVersion = '>=18.1.1';
public static description =
'Create a Coveo Headless-powered search page with the Vue3 and Vite. See <https://docs.coveo.com/headless> and <https://vuejs.org/>.';

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/core/src/lib/atomic/createAtomicProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const atomicAppInitializerPackage = '@coveo/create-atomic';
export const atomicLibInitializerPackage =
'@coveo/create-atomic-component-project';

const supportedNodeVersions = '16.x || 18.x';
const supportedNodeVersions = '>=18.1.1';

const transformPackageNameToNpmInitializer = (packageName: string) =>
packageName.replace('/create-', '/');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"prepublishOnly": "rimraf lib && npm run build && oclif manifest"
},
"engines": {
"node": "^16.13.0 || ^18.12.0"
"node": ">=18.18.1"
},
"bugs": "https://github.com/coveo/cli/issues",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/cra-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"license": "Apache-2.0",
"engines": {
"node": "^16.13.0 || ^18.12.0"
"node": ">=18.18.1"
},
"files": [
"template",
Expand Down

0 comments on commit 91e26c7

Please sign in to comment.