diff --git a/package-lock.json b/package-lock.json index 4d7f2a7c7f..4bdaab3c45 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8631,33 +8631,34 @@ } }, "node_modules/@schematics/angular": { - "version": "15.2.7", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-15.2.7.tgz", - "integrity": "sha512-5fC6Es6HWpvmCnpPwTxHQq6KQuxtPaheFgoElHJM6uBgJDTr993MIw/3FsZvqLkO9hv/yWbr4gilqjEoesJSWg==", + "version": "17.1.3", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-17.1.3.tgz", + "integrity": "sha512-hmeasOvzmniy6urtzUKhEqGO67iPuLX/dVtkF4nWp2NTtcEKlvcJobNDMc+CTlX4+ZMPVOvmhDMQqrlfekZ+NQ==", "dependencies": { - "@angular-devkit/core": "15.2.7", - "@angular-devkit/schematics": "15.2.7", + "@angular-devkit/core": "17.1.3", + "@angular-devkit/schematics": "17.1.3", "jsonc-parser": "3.2.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^18.13.0 || >=20.9.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, "node_modules/@schematics/angular/node_modules/@angular-devkit/core": { - "version": "15.2.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-15.2.7.tgz", - "integrity": "sha512-k2MKUm4ygTD9+89neqMmBphDr0o8Tp9RtgfzbS8VHgGkGYlbu0KPsxHyHB3Mvzl1EkSz6EHyrU3t89m+Rcj1lw==", + "version": "17.1.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-17.1.3.tgz", + "integrity": "sha512-iuVK4hyW3YhusxIi8zGBvvVA9pWtDT3H6LQbWdVk9D3jXCZBIrEMklvAiJErqficKnUurf6gtFOeA8Fop6GotA==", "dependencies": { "ajv": "8.12.0", "ajv-formats": "2.1.1", "jsonc-parser": "3.2.0", - "rxjs": "6.6.7", + "picomatch": "3.0.1", + "rxjs": "7.8.1", "source-map": "0.7.4" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^18.13.0 || >=20.9.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, @@ -8671,49 +8672,33 @@ } }, "node_modules/@schematics/angular/node_modules/@angular-devkit/schematics": { - "version": "15.2.7", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-15.2.7.tgz", - "integrity": "sha512-umQ+SgEMjqPHimHOBVhDn5NNGVoMLKQkI2fwbENXV72BqQqdh1K3D4QSNlUXitTaH0NEZZaAawE1vZHzzeAoNA==", + "version": "17.1.3", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-17.1.3.tgz", + "integrity": "sha512-zKoWG1hDfvi1vR9Hqoca9hWo9vDg8evmQvGcBW5jXR5ndZi5Oit/uDcGdA8WUKvBd1EG7WMqp0FgcDR9EA9WCw==", "dependencies": { - "@angular-devkit/core": "15.2.7", + "@angular-devkit/core": "17.1.3", "jsonc-parser": "3.2.0", - "magic-string": "0.29.0", + "magic-string": "0.30.5", "ora": "5.4.1", - "rxjs": "6.6.7" + "rxjs": "7.8.1" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^18.13.0 || >=20.9.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, - "node_modules/@schematics/angular/node_modules/magic-string": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", - "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, + "node_modules/@schematics/angular/node_modules/picomatch": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz", + "integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==", "engines": { - "node": ">=12" - } - }, - "node_modules/@schematics/angular/node_modules/rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", - "dependencies": { - "tslib": "^1.9.0" + "node": ">=10" }, - "engines": { - "npm": ">=2.0.0" + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/@schematics/angular/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/@sideway/address": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", @@ -35259,7 +35244,7 @@ "@angular/cdk": "^17.0.0", "@angular/cli": "^17.0.0", "@coveo/search-token-server": "1.35.29", - "@schematics/angular": "^15.0.0", + "@schematics/angular": "^17.0.0", "jest-config": "29.5.0" }, "devDependencies": { diff --git a/packages/cli/core/src/commands/ui/create/angular.ts b/packages/cli/core/src/commands/ui/create/angular.ts index 7f74077936..f374898b9c 100644 --- a/packages/cli/core/src/commands/ui/create/angular.ts +++ b/packages/cli/core/src/commands/ui/create/angular.ts @@ -33,7 +33,7 @@ export default class Angular extends CLICommand { */ public static requiredNodeVersion = '^18.18.1 || ^20.9.0'; public static requiredNpmVersion = '^9.8.1 || ^10.1.0'; - public static requiredNgVersion = '^15.0.0'; + public static requiredNgVersion = '^17.0.0'; public static description = 'Create a Coveo Headless-powered search page with the Angular web framework. See and .'; diff --git a/packages/ui/angular/package.json b/packages/ui/angular/package.json index b032094337..5fc93875f6 100644 --- a/packages/ui/angular/package.json +++ b/packages/ui/angular/package.json @@ -28,7 +28,7 @@ "@angular/cdk": "^17.0.0", "@angular/cli": "^17.0.0", "@coveo/search-token-server": "1.35.29", - "@schematics/angular": "^15.0.0", + "@schematics/angular": "^17.0.0", "jest-config": "29.5.0" }, "devDependencies": {