diff --git a/CHANGELOG.md b/CHANGELOG.md index de4560356f..47e4b3fa6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +# release-12 (2023-03-27) + +### Bug Fixes + +- **atomic:** add schemaVersion for deploy.json ([#1213](https://github.com/coveo/cli/issues/1213)) ([e7a6b2a](https://github.com/coveo/cli/commits/e7a6b2a02095522abdc25dc45544971956914e6d)) +- **atomic:** generate search/analytics API key instead of impersonate API key ([#1135](https://github.com/coveo/cli/issues/1135)) ([02d4ceb](https://github.com/coveo/cli/commits/02d4ceb400bc150882b1a3869a9a15603aa2efdc)) +- **cli-commons:** color orgId magenta only when on unix or WT ([#1143](https://github.com/coveo/cli/issues/1143)) ([82fd809](https://github.com/coveo/cli/commits/82fd809e43b36b9c160384b314abfe8b1ea76a75)) +- **deps:** update all dependencies and jest snaps j:cdx-227 ([#1137](https://github.com/coveo/cli/issues/1137)) ([b72dc31](https://github.com/coveo/cli/commits/b72dc314043174ef9afaadb03e066c8830d7acc1)), closes [#1103](https://github.com/coveo/cli/issues/1103) +- **deps:** update all dependencies and jest snaps j:cdx-227 ([#1149](https://github.com/coveo/cli/issues/1149)) ([2f2273c](https://github.com/coveo/cli/commits/2f2273c7d86f2a2a8414ebbdf8cddb800c888e96)), closes [#1144](https://github.com/coveo/cli/issues/1144) + +- chore!: forced major bump (#1190) ([ef0b861](https://github.com/coveo/cli/commits/ef0b86154beea6602746e8f7c5a70e017a2ef7c4)), closes [#1190](https://github.com/coveo/cli/issues/1190) + +### Features + +- add health-check as prepublish script ([#1169](https://github.com/coveo/cli/issues/1169)) ([bfcaf69](https://github.com/coveo/cli/commits/bfcaf69497a42c10a43c2dd0435a82313d04bcbc)), closes [#1190](https://github.com/coveo/cli/issues/1190) +- **cli-commons:** add beta decorators ([#1150](https://github.com/coveo/cli/issues/1150)) ([7b4c01f](https://github.com/coveo/cli/commits/7b4c01f8ec5e4dee7eecdeeb009c238c8f5c3e84)) +- **cli:** implement atomic topic ([#1141](https://github.com/coveo/cli/issues/1141)) ([8e3ddd6](https://github.com/coveo/cli/commits/8e3ddd63f4bfdce745c86e42a6ee213802f915b2)) +- **create-atomic:** adapt project to use ui:deploy instead of netlify ([#1131](https://github.com/coveo/cli/issues/1131)) ([97498ed](https://github.com/coveo/cli/commits/97498ed1ec2dcd4abfdbe992134cf5fcf18fd26b)) +- implement health-check pre-publish script ([#1155](https://github.com/coveo/cli/issues/1155)) ([5efc79a](https://github.com/coveo/cli/commits/5efc79a6d17c8754c05da65db2c2c5dea0f857b8)) +- improve custom component search page ([#1112](https://github.com/coveo/cli/issues/1112)) ([db1d2cb](https://github.com/coveo/cli/commits/db1d2cbf6bad6ecd3413e73d33d6ee400e5b8ade)) + +### BREAKING CHANGES + +- bump to v1 + # release-11 (2023-03-02) # release-10 (2023-03-01) diff --git a/package-lock.json b/package-lock.json index c072daf44a..c3e58a5508 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cli-tools", - "version": "1.0.0-11", + "version": "1.0.0-12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cli-tools", - "version": "1.0.0-11", + "version": "1.0.0-12", "hasInstallScript": true, "license": "Apache-2.0", "workspaces": [ @@ -413,6 +413,7 @@ "version": "15.2.1", "resolved": "https://registry.npmjs.org/@angular/core/-/core-15.2.1.tgz", "integrity": "sha512-CtN/cYDTGlELRcKBHxqnxmUhI9Euz2R+25dvjNtxB2tLzCehI6Fbmsb3NsC++jcAjL3QAmodpzzgULPtNJqs6A==", + "dev": true, "dependencies": { "tslib": "^2.3.0" }, @@ -6554,6 +6555,7 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz", "integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==", + "dev": true, "dependencies": { "@octokit/types": "^6.0.3" } @@ -6600,6 +6602,7 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz", "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==", + "dev": true, "dependencies": { "@octokit/auth-token": "^2.4.4", "@octokit/graphql": "^4.5.8", @@ -6614,6 +6617,7 @@ "version": "6.0.12", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", + "dev": true, "dependencies": { "@octokit/types": "^6.0.3", "is-plain-object": "^5.0.0", @@ -6624,6 +6628,7 @@ "version": "4.8.0", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", + "dev": true, "dependencies": { "@octokit/request": "^5.6.0", "@octokit/types": "^6.0.3", @@ -6826,7 +6831,8 @@ "node_modules/@octokit/openapi-types": { "version": "12.11.0", "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz", - "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==" + "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==", + "dev": true }, "node_modules/@octokit/plugin-paginate-rest": { "version": "2.21.3", @@ -6894,6 +6900,7 @@ "version": "5.6.3", "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz", "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==", + "dev": true, "dependencies": { "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.1.0", @@ -6907,6 +6914,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", + "dev": true, "dependencies": { "@octokit/types": "^6.0.3", "deprecation": "^2.0.0", @@ -6929,6 +6937,7 @@ "version": "6.41.0", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz", "integrity": "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==", + "dev": true, "dependencies": { "@octokit/openapi-types": "^12.11.0" } @@ -9129,7 +9138,7 @@ "version": "1.7.1", "resolved": "https://registry.npmjs.org/@vuetify/loader-shared/-/loader-shared-1.7.1.tgz", "integrity": "sha512-kLUvuAed6RCvkeeTNJzuy14pqnkur8lTuner7v7pNE/kVhPR97TuyXwBSBMR1cJeiLiOfu6SF5XlCYbXByEx1g==", - "devOptional": true, + "dev": true, "dependencies": { "find-cache-dir": "^3.3.2", "upath": "^2.0.1" @@ -10101,7 +10110,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "devOptional": true, + "dev": true, "engines": { "node": ">=8" } @@ -10616,7 +10625,7 @@ "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "devOptional": true, + "dev": true, "funding": [ { "type": "individual", @@ -11141,7 +11150,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "devOptional": true + "dev": true }, "node_modules/compare-func": { "version": "2.0.0", @@ -12394,6 +12403,7 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "optional": true, "dependencies": { "iconv-lite": "^0.6.2" } @@ -12402,6 +12412,7 @@ "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "optional": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -13596,7 +13607,7 @@ "version": "3.3.2", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "devOptional": true, + "dev": true, "dependencies": { "commondir": "^1.0.1", "make-dir": "^3.0.2", @@ -15611,7 +15622,7 @@ "version": "4.2.4", "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.2.4.tgz", "integrity": "sha512-WDxL3Hheb1JkRN3sQkyujNlL/xRjAo3rJtaU5xeufUauG66JdMr32bLj4gF+vWl84DIA3Zxw7tiAjneYzRRw+w==", - "devOptional": true + "dev": true }, "node_modules/import-fresh": { "version": "3.3.0", @@ -15824,7 +15835,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "devOptional": true, + "dev": true, "dependencies": { "binary-extensions": "^2.0.0" }, @@ -18088,7 +18099,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "devOptional": true, + "dev": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -25047,7 +25058,7 @@ "version": "18.2.0", "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", - "devOptional": true, + "dev": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -25336,7 +25347,7 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "devOptional": true, + "dev": true, "dependencies": { "picomatch": "^2.2.1" }, @@ -25783,7 +25794,7 @@ "version": "3.18.0", "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.18.0.tgz", "integrity": "sha512-J8C6VfEBjkvYPESMQYxKHxNOh4A5a3FlP+0BETGo34HEcE4eTlgCrO2+eWzlu2a/sHs2QUkZco+wscH7jhhgWg==", - "devOptional": true, + "dev": true, "bin": { "rollup": "dist/bin/rollup" }, @@ -25961,7 +25972,7 @@ "version": "1.58.3", "resolved": "https://registry.npmjs.org/sass/-/sass-1.58.3.tgz", "integrity": "sha512-Q7RaEtYf6BflYrQ+buPudKR26/lH+10EmO9bBqbmPh/KeLqv8bjpTNqxe71ocONqXq+jYiCbpPUmQMS+JJPk4A==", - "devOptional": true, + "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", "immutable": "^4.0.0", @@ -27893,7 +27904,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", - "devOptional": true, + "dev": true, "engines": { "node": ">=4", "yarn": "*" @@ -28339,7 +28350,7 @@ "version": "4.1.4", "resolved": "https://registry.npmjs.org/vite/-/vite-4.1.4.tgz", "integrity": "sha512-3knk/HsbSTKEin43zHu7jTwYWv81f8kgAL99G5NWBcA1LKvtvcVAC4JjBH1arBunO9kQka+1oGbrMKOjk4ZrBg==", - "devOptional": true, + "dev": true, "dependencies": { "esbuild": "^0.16.14", "postcss": "^8.4.21", @@ -28388,7 +28399,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/vite-plugin-vuetify/-/vite-plugin-vuetify-1.0.2.tgz", "integrity": "sha512-MubIcKD33O8wtgQXlbEXE7ccTEpHZ8nPpe77y9Wy3my2MWw/PgehP9VqTp92BLqr0R1dSL970Lynvisx3UxBFw==", - "devOptional": true, + "dev": true, "dependencies": { "@vuetify/loader-shared": "^1.7.1", "debug": "^4.3.3", @@ -28409,6 +28420,7 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "android" @@ -28424,6 +28436,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "android" @@ -28439,6 +28452,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "android" @@ -28454,6 +28468,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "darwin" @@ -28469,6 +28484,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "darwin" @@ -28484,6 +28500,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "freebsd" @@ -28499,6 +28516,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "freebsd" @@ -28514,6 +28532,7 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28529,6 +28548,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28544,6 +28564,7 @@ "cpu": [ "ia32" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28559,6 +28580,7 @@ "cpu": [ "loong64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28574,6 +28596,7 @@ "cpu": [ "mips64el" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28589,6 +28612,7 @@ "cpu": [ "ppc64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28604,6 +28628,7 @@ "cpu": [ "riscv64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28619,6 +28644,7 @@ "cpu": [ "s390x" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28634,6 +28660,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -28649,6 +28676,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "netbsd" @@ -28664,6 +28692,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "openbsd" @@ -28679,6 +28708,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "sunos" @@ -28694,6 +28724,7 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "win32" @@ -28709,6 +28740,7 @@ "cpu": [ "ia32" ], + "dev": true, "optional": true, "os": [ "win32" @@ -28724,6 +28756,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "win32" @@ -28736,7 +28769,7 @@ "version": "0.16.17", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz", "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==", - "devOptional": true, + "dev": true, "hasInstallScript": true, "bin": { "esbuild": "bin/esbuild" @@ -30586,6 +30619,150 @@ "node": ">=18" } }, + "packages/cli-e2e/node_modules/@coveo/cli": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@coveo/cli/-/cli-2.4.0.tgz", + "integrity": "sha512-/JyMkDiti56CdzHQFk7FckCgF7hgG42eZyAiZN3T+V5NbpU3Idm4VUQzJhZDeadDlhzaLoA2BxNcmVd/INs8QA==", + "dependencies": { + "@amplitude/identify": "^1.9.0", + "@amplitude/node": "^1.9.0", + "@coveo/cli-commons": "2.4.0", + "@coveo/cli-plugin-source": "2.0.6", + "@coveo/platform-client": "42.2.0", + "@oclif/core": "1.24.0", + "@oclif/plugin-help": "5.1.23", + "@oclif/plugin-plugins": "2.1.12", + "@oclif/plugin-update": "3.0.12", + "@oclif/plugin-version": "1.1.4", + "abortcontroller-polyfill": "^1.7.1", + "archiver": "^5.3.0", + "async-retry": "^1.3.1", + "chalk": "4.1.2", + "cli-progress": "^3.9.1", + "extract-zip": "^2.0.1", + "fetch-undici-polyfill": "1.2.1", + "fs-extra": "^11.0.0", + "get-port": "5.1.1", + "https-proxy-agent": "^5.0.0", + "inquirer": "8.2.5", + "is-unicode-supported": "^1.3.0", + "isomorphic-fetch": "^3.0.0", + "json2csv": "^5.0.6", + "jsonschema": "1.4.1", + "node-machine-id": "^1.1.12", + "open": "^8.4.0", + "semver": "^7.3.4", + "tmp": "^0.2.1", + "ts-dedent": "2.2.0", + "tslib": "2.5.0" + }, + "bin": { + "coveo": "bin/run" + }, + "engines": { + "node": "16.x || 18.x" + }, + "peerDependencies": { + "create-react-app": "*" + }, + "peerDependenciesMeta": { + "create-react-app": { + "optional": true + } + } + }, + "packages/cli-e2e/node_modules/@coveo/cli-commons": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@coveo/cli-commons/-/cli-commons-2.4.0.tgz", + "integrity": "sha512-Em5uDwfgTavbQgQ6hYeUJGw3lqsw1EoYflnpRrx6s33qb62JwYWMVKVYRXsCAqK41Iul0RKgeEqezJANB9fa7g==", + "dependencies": { + "@amplitude/node": "1.10.2", + "@coveo/platform-client": "42.2.0", + "@oclif/core": "1.24.0", + "abortcontroller-polyfill": "1.7.5", + "chalk": "4.1.2", + "fs-extra": "11.1.0", + "https-proxy-agent": "5.0.1", + "isomorphic-fetch": "3.0.0", + "semver": "7.3.8", + "ts-dedent": "2.2.0" + } + }, + "packages/cli-e2e/node_modules/@coveo/cli-commons/node_modules/@coveo/platform-client": { + "version": "42.2.0", + "resolved": "https://registry.npmjs.org/@coveo/platform-client/-/platform-client-42.2.0.tgz", + "integrity": "sha512-/7DxgPxUQQycqPZXf7/rJvj8Gq++PZx9W301OJ2CTRrBkIa8eqIz0NwBgZdSDJVfCMGop22odSfwq2sjTCa7MQ==", + "dependencies": { + "exponential-backoff": "^3.1.0", + "query-string-cjs": "npm:query-string@^7.0.0", + "query-string-esm": "npm:query-string@^8.0.0" + } + }, + "packages/cli-e2e/node_modules/@coveo/cli-plugin-source": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@coveo/cli-plugin-source/-/cli-plugin-source-2.0.6.tgz", + "integrity": "sha512-p8zM3Ma5D/s2yjRQ7inryZ1FyOmS0n9YRwp6Ow5ZQQwPRF+QfSmVAWGxlvHmBFDu+EzIgYHaHD+q8QI3slqqjA==", + "dependencies": { + "@coveo/cli-commons": "2.4.0", + "@coveo/platform-client": "42.2.0", + "@coveo/push-api-client": "3.1.0", + "@oclif/core": "1.24.0", + "@oclif/plugin-help": "5.1.23", + "@oclif/plugin-plugins": "2.1.12", + "chalk": "4.1.2", + "jsonschema": "1.4.1", + "ts-dedent": "2.2.0" + }, + "engines": { + "node": "16.x || 18.x" + } + }, + "packages/cli-e2e/node_modules/@coveo/cli-plugin-source/node_modules/@coveo/platform-client": { + "version": "42.2.0", + "resolved": "https://registry.npmjs.org/@coveo/platform-client/-/platform-client-42.2.0.tgz", + "integrity": "sha512-/7DxgPxUQQycqPZXf7/rJvj8Gq++PZx9W301OJ2CTRrBkIa8eqIz0NwBgZdSDJVfCMGop22odSfwq2sjTCa7MQ==", + "dependencies": { + "exponential-backoff": "^3.1.0", + "query-string-cjs": "npm:query-string@^7.0.0", + "query-string-esm": "npm:query-string@^8.0.0" + } + }, + "packages/cli-e2e/node_modules/@coveo/cli/node_modules/@coveo/platform-client": { + "version": "42.2.0", + "resolved": "https://registry.npmjs.org/@coveo/platform-client/-/platform-client-42.2.0.tgz", + "integrity": "sha512-/7DxgPxUQQycqPZXf7/rJvj8Gq++PZx9W301OJ2CTRrBkIa8eqIz0NwBgZdSDJVfCMGop22odSfwq2sjTCa7MQ==", + "dependencies": { + "exponential-backoff": "^3.1.0", + "query-string-cjs": "npm:query-string@^7.0.0", + "query-string-esm": "npm:query-string@^8.0.0" + } + }, + "packages/cli-e2e/node_modules/@coveo/push-api-client": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@coveo/push-api-client/-/push-api-client-3.1.0.tgz", + "integrity": "sha512-RCRxiEcyO1Py17AHmqQ03AsXyycL40+0w/Q3ftSws34mA/8Pi2qpTwVVjOKPs2lD1u+ENhtIdFNFiMm7GDvk6w==", + "dependencies": { + "@coveo/bueno": "^0.43.0", + "@coveo/platform-client": "40.11.3", + "dayjs": "^1.10.4", + "exponential-backoff": "^3.1.0", + "fetch-undici-polyfill": "1.2.1", + "zod": "^3.20.2" + }, + "engines": { + "node": ">=16.x" + } + }, + "packages/cli-e2e/node_modules/@coveo/push-api-client/node_modules/@coveo/platform-client": { + "version": "40.11.3", + "resolved": "https://registry.npmjs.org/@coveo/platform-client/-/platform-client-40.11.3.tgz", + "integrity": "sha512-MCqKm9EC8MtNKiM2yet7w5u1yd8jEerl7c/1LNQ39XF9yPflXpS+pOwulEWleh059c8joRuO9FL0g9MrTf5zQA==", + "dependencies": { + "exponential-backoff": "^3.1.0", + "query-string-cjs": "npm:query-string@^7.0.0", + "query-string-esm": "npm:query-string@^8.0.0" + } + }, "packages/cli-e2e/node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -30722,7 +30899,7 @@ }, "packages/cli/commons": { "name": "@coveo/cli-commons", - "version": "2.4.0", + "version": "2.4.1", "license": "Apache-2.0", "dependencies": { "@amplitude/node": "1.10.2", @@ -30737,7 +30914,7 @@ "ts-dedent": "2.2.0" }, "devDependencies": { - "@coveo/cli-commons-dev": "6.0.4", + "@coveo/cli-commons-dev": "6.0.5", "@types/jest": "29.4.0", "jest": "29.5.0", "jsonschema": "1.4.1", @@ -30747,7 +30924,7 @@ }, "packages/cli/commons-dev": { "name": "@coveo/cli-commons-dev", - "version": "6.0.4", + "version": "6.0.5", "license": "Apache-2.0", "dependencies": { "fancy-test": "2.0.13", @@ -30760,13 +30937,13 @@ }, "packages/cli/core": { "name": "@coveo/cli", - "version": "2.4.0", + "version": "2.4.1", "license": "Apache-2.0", "dependencies": { "@amplitude/identify": "^1.9.0", "@amplitude/node": "^1.9.0", - "@coveo/cli-commons": "2.4.0", - "@coveo/cli-plugin-source": "2.0.6", + "@coveo/cli-commons": "2.4.1", + "@coveo/cli-plugin-source": "2.0.7", "@coveo/platform-client": "42.5.0", "@oclif/core": "1.24.0", "@oclif/plugin-help": "5.1.23", @@ -30801,14 +30978,14 @@ "devDependencies": { "@amplitude/types": "1.10.2", "@babel/core": "7.21.0", - "@coveo/angular": "1.35.24", - "@coveo/cli-commons-dev": "6.0.4", - "@coveo/cra-template": "1.36.6", - "@coveo/create-atomic": "1.37.0", - "@coveo/create-atomic-component": "0.2.0", - "@coveo/create-atomic-component-project": "0.2.0", - "@coveo/create-atomic-result-component": "0.2.0", - "@coveo/create-headless-vue": "1.1.1", + "@coveo/angular": "1.35.25", + "@coveo/cli-commons-dev": "6.0.5", + "@coveo/cra-template": "1.36.7", + "@coveo/create-atomic": "1.37.1", + "@coveo/create-atomic-component": "0.2.1", + "@coveo/create-atomic-component-project": "0.2.1", + "@coveo/create-atomic-result-component": "0.2.1", + "@coveo/create-headless-vue": "1.1.2", "@oclif/test": "2.2.21", "@types/archiver": "5.3.2", "@types/async-retry": "1.4.5", @@ -30868,10 +31045,10 @@ }, "packages/cli/source": { "name": "@coveo/cli-plugin-source", - "version": "2.0.6", + "version": "2.0.7", "license": "Apache-2.0", "dependencies": { - "@coveo/cli-commons": "2.4.0", + "@coveo/cli-commons": "2.4.1", "@coveo/platform-client": "42.5.0", "@coveo/push-api-client": "3.1.6", "@oclif/core": "1.24.0", @@ -30882,7 +31059,7 @@ "ts-dedent": "2.2.0" }, "devDependencies": { - "@coveo/cli-commons-dev": "6.0.4", + "@coveo/cli-commons-dev": "6.0.5", "@oclif/test": "2.2.21", "@types/jest": "29.4.0", "@types/node": "18.15.1", @@ -30904,14 +31081,14 @@ }, "packages/ui/angular": { "name": "@coveo/angular", - "version": "1.35.24", + "version": "1.35.25", "license": "Apache-2.0", "dependencies": { "@angular-devkit/core": "^15.0.0", "@angular-devkit/schematics": "^15.0.0", "@angular/cdk": "^15.0.0", "@angular/cli": "^15.0.0", - "@coveo/search-token-server": "1.35.21", + "@coveo/search-token-server": "1.35.22", "@schematics/angular": "^15.0.0", "jest-config": "29.5.0" }, @@ -30934,7 +31111,7 @@ }, "packages/ui/atomic/create-atomic": { "name": "@coveo/create-atomic", - "version": "1.37.0", + "version": "1.37.1", "license": "Apache-2.0", "dependencies": { "@coveo/platform-client": "42.5.0", @@ -30958,10 +31135,10 @@ }, "packages/ui/atomic/create-atomic-component": { "name": "@coveo/create-atomic-component", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { - "@coveo/create-atomic-component-project": "0.2.0" + "@coveo/create-atomic-component-project": "0.2.1" }, "bin": { "create-atomic-component": "index.js" @@ -30984,7 +31161,7 @@ }, "packages/ui/atomic/create-atomic-component-project": { "name": "@coveo/create-atomic-component-project", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "bin": { "create-atomic-component-project": "index.js" @@ -31014,10 +31191,10 @@ }, "packages/ui/atomic/create-atomic-result-component": { "name": "@coveo/create-atomic-result-component", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { - "@coveo/create-atomic-component-project": "0.2.0" + "@coveo/create-atomic-component-project": "0.2.1" }, "bin": { "create-atomic-result-component": "index.js" @@ -31361,7 +31538,7 @@ }, "packages/ui/atomic/health-check": { "name": "@coveo/atomic-component-health-check", - "version": "1.0.0", + "version": "1.0.1", "license": "Apache-2.0", "dependencies": { "chalk": "4.1.2", @@ -31392,7 +31569,7 @@ }, "packages/ui/atomic/template": { "name": "@coveo/create-atomic-template", - "version": "1.37.1", + "version": "1.38.0", "dependencies": { "@coveo/atomic": "2.19.16", "@coveo/headless": "2.8.10", @@ -31421,14 +31598,14 @@ }, "packages/ui/cra-template": { "name": "@coveo/cra-template", - "version": "1.36.6", + "version": "1.36.7", "license": "Apache-2.0", "dependencies": { "fs-extra": "11.1.0" }, "devDependencies": { "@coveo/headless": "latest", - "@coveo/search-token-server": "1.35.21", + "@coveo/search-token-server": "1.35.22", "@emotion/react": "11.10.6", "@emotion/styled": "11.10.6", "@mui/material": "5.11.12", @@ -31456,7 +31633,7 @@ }, "packages/ui/search-token-server": { "name": "@coveo/search-token-server", - "version": "1.35.21", + "version": "1.35.22", "license": "Apache-2.0", "dependencies": { "@coveo/platform-client": "42.5.0", @@ -31491,7 +31668,7 @@ }, "packages/ui/vue/create-headless-vue": { "name": "@coveo/create-headless-vue", - "version": "1.1.1", + "version": "1.1.2", "license": "Apache-2.0", "bin": { "create-headless-vue": "index.js" diff --git a/package.json b/package.json index 5631141364..1da33bab22 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cli-tools", "private": true, - "version": "1.0.0-11", + "version": "1.0.0-12", "author": "Coveo", "bin": { "coveo": "./bin/run" diff --git a/packages/cli-e2e/package.json b/packages/cli-e2e/package.json index 3c975d5a8c..5d7b2a2097 100644 --- a/packages/cli-e2e/package.json +++ b/packages/cli-e2e/package.json @@ -61,7 +61,7 @@ "@babel/core": "7.21.0", "@babel/preset-env": "7.20.2", "@babel/preset-typescript": "7.21.0", - "@coveo/cli": "2.4.0", + "@coveo/cli": "2.4.1", "@coveo/platform-client": "42.5.0", "abortcontroller-polyfill": "1.7.5", "async-retry": "1.3.3", diff --git a/packages/cli/commons-dev/CHANGELOG.md b/packages/cli/commons-dev/CHANGELOG.md index 519bd187b3..2ebf0f1ab1 100644 --- a/packages/cli/commons-dev/CHANGELOG.md +++ b/packages/cli/commons-dev/CHANGELOG.md @@ -1,3 +1,9 @@ +## 6.0.5 (2023-03-27) + +### Bug Fixes + +- **deps:** update all dependencies and jest snaps j:cdx-227 ([#1137](https://github.com/coveo/cli/issues/1137)) ([b72dc31](https://github.com/coveo/cli/commits/b72dc314043174ef9afaadb03e066c8830d7acc1)), closes [#1103](https://github.com/coveo/cli/issues/1103) + ## 6.0.3 (2023-03-01) ### Bug Fixes diff --git a/packages/cli/commons-dev/package.json b/packages/cli/commons-dev/package.json index 900f6a7166..d06b982742 100644 --- a/packages/cli/commons-dev/package.json +++ b/packages/cli/commons-dev/package.json @@ -1,6 +1,6 @@ { "name": "@coveo/cli-commons-dev", - "version": "6.0.4", + "version": "6.0.5", "author": "Coveo", "description": "Common utils for @coveo/cli plugins development", "license": "Apache-2.0", diff --git a/packages/cli/commons/CHANGELOG.md b/packages/cli/commons/CHANGELOG.md index c934b3cb1e..f43183e522 100644 --- a/packages/cli/commons/CHANGELOG.md +++ b/packages/cli/commons/CHANGELOG.md @@ -1,3 +1,15 @@ +## 2.4.1 (2023-03-27) + +### Bug Fixes + +- **cli-commons:** color orgId magenta only when on unix or WT ([#1143](https://github.com/coveo/cli/issues/1143)) ([82fd809](https://github.com/coveo/cli/commits/82fd809e43b36b9c160384b314abfe8b1ea76a75)) +- **deps:** update all dependencies and jest snaps j:cdx-227 ([#1137](https://github.com/coveo/cli/issues/1137)) ([b72dc31](https://github.com/coveo/cli/commits/b72dc314043174ef9afaadb03e066c8830d7acc1)), closes [#1103](https://github.com/coveo/cli/issues/1103) +- **deps:** update all dependencies and jest snaps j:cdx-227 ([#1149](https://github.com/coveo/cli/issues/1149)) ([2f2273c](https://github.com/coveo/cli/commits/2f2273c7d86f2a2a8414ebbdf8cddb800c888e96)), closes [#1144](https://github.com/coveo/cli/issues/1144) + +### Features + +- **cli-commons:** add beta decorators ([#1150](https://github.com/coveo/cli/issues/1150)) ([7b4c01f](https://github.com/coveo/cli/commits/7b4c01f8ec5e4dee7eecdeeb009c238c8f5c3e84)) + # 2.3.0 (2023-03-01) ### Bug Fixes diff --git a/packages/cli/commons/package.json b/packages/cli/commons/package.json index 57614d2c5a..c8bbca0f6b 100644 --- a/packages/cli/commons/package.json +++ b/packages/cli/commons/package.json @@ -1,6 +1,6 @@ { "name": "@coveo/cli-commons", - "version": "2.4.0", + "version": "2.4.1", "author": "Coveo", "description": "Common utils for @coveo/cli plugins", "license": "Apache-2.0", @@ -14,7 +14,7 @@ } }, "devDependencies": { - "@coveo/cli-commons-dev": "6.0.4", + "@coveo/cli-commons-dev": "6.0.5", "@types/jest": "29.4.0", "jest": "29.5.0", "jsonschema": "1.4.1", diff --git a/packages/cli/core/CHANGELOG.md b/packages/cli/core/CHANGELOG.md index efef38c798..a94587c8cd 100644 --- a/packages/cli/core/CHANGELOG.md +++ b/packages/cli/core/CHANGELOG.md @@ -1,3 +1,16 @@ +## 2.4.1 (2023-03-27) + +### Bug Fixes + +- **atomic:** add schemaVersion for deploy.json ([#1213](https://github.com/coveo/cli/issues/1213)) ([e7a6b2a](https://github.com/coveo/cli/commits/e7a6b2a02095522abdc25dc45544971956914e6d)) +- **atomic:** generate search/analytics API key instead of impersonate API key ([#1135](https://github.com/coveo/cli/issues/1135)) ([02d4ceb](https://github.com/coveo/cli/commits/02d4ceb400bc150882b1a3869a9a15603aa2efdc)) +- **deps:** update all dependencies and jest snaps j:cdx-227 ([#1137](https://github.com/coveo/cli/issues/1137)) ([b72dc31](https://github.com/coveo/cli/commits/b72dc314043174ef9afaadb03e066c8830d7acc1)), closes [#1103](https://github.com/coveo/cli/issues/1103) +- **deps:** update all dependencies and jest snaps j:cdx-227 ([#1149](https://github.com/coveo/cli/issues/1149)) ([2f2273c](https://github.com/coveo/cli/commits/2f2273c7d86f2a2a8414ebbdf8cddb800c888e96)), closes [#1144](https://github.com/coveo/cli/issues/1144) + +### Features + +- **cli:** implement atomic topic ([#1141](https://github.com/coveo/cli/issues/1141)) ([8e3ddd6](https://github.com/coveo/cli/commits/8e3ddd63f4bfdce745c86e42a6ee213802f915b2)) + # 2.3.0 (2023-03-01) ### Bug Fixes diff --git a/packages/cli/core/README.md b/packages/cli/core/README.md index 5b13bc3d94..2da1e16334 100644 --- a/packages/cli/core/README.md +++ b/packages/cli/core/README.md @@ -23,7 +23,7 @@ $ npm install -g @coveo/cli $ coveo COMMAND running command... $ coveo (--version) -@coveo/cli/2.3.0 linux-x64 node-v18.14.2 +@coveo/cli/2.4.1 linux-x64 node-v18.15.0 $ coveo --help [COMMAND] USAGE $ coveo COMMAND @@ -58,6 +58,10 @@ The main config file of the Coveo CLI is stored in a JSON file in `configDir`. +- [`coveo atomic:cmp NAME`](#coveo-atomiccmp-name) +- [`coveo atomic:component NAME`](#coveo-atomiccomponent-name) +- [`coveo atomic:deploy`](#coveo-atomicdeploy) +- [`coveo atomic:init NAME`](#coveo-atomicinit-name) - [`coveo auth:login`](#coveo-authlogin) - [`coveo auth:token`](#coveo-authtoken) - [`coveo config:get [KEY]`](#coveo-configget-key) @@ -91,16 +95,169 @@ The main config file of the Coveo CLI is stored in a JSON file in `configDir`. - [`coveo ui:create:atomic NAME`](#coveo-uicreateatomic-name) - [`coveo ui:create:react NAME`](#coveo-uicreatereact-name) - [`coveo ui:create:vue NAME`](#coveo-uicreatevue-name) +- [`coveo ui:deploy`](#coveo-uideploy) - [`coveo update [CHANNEL]`](#coveo-update-channel) - [`coveo version`](#coveo-version) +## `coveo atomic:cmp NAME` + +Scaffold a new custom component in your Coveo Atomic Component Library + +``` +USAGE + $ coveo atomic:cmp [NAME] [--type page|result] + +ARGUMENTS + NAME the name of your component + +FLAGS + --type=