From 909577554ada743587c2bddecc6e32598313d23a Mon Sep 17 00:00:00 2001 From: "developer-experience-bot[bot]" <91079284+developer-experience-bot[bot]@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:49:34 +0000 Subject: [PATCH] [version bump] chore(release): release release-19 [skip ci] @coveo/atomic-component-health-check@2.2.15 @coveo/create-atomic-component-project@1.2.15 @coveo/search-token-server@1.35.29 @coveo/cli-commons@2.7.15 @coveo/create-atomic-result-component@1.2.15 @coveo/create-atomic-component@1.2.15 @coveo/cra-template@1.38.15 @coveo/angular@1.36.6 @coveo/cli-plugin-source@2.1.15 @coveo/create-atomic@1.38.17 @coveo/cli@3.0.15 **/README.md **/CHANGELOG.md **/package.json **/*.snap README.md CHANGELOG.md package.json package-lock.json packages/ui/cra-template/template.json --- CHANGELOG.md | 24 ++ README.md | 2 +- .../tests/__snapshots__/test.spec.ts.snap | 391 ++++++++++++++++++ .../tests/__snapshots__/test.spec.ts.snap | 391 ++++++++++++++++++ .../src/e2e/__snapshots__/test.spec.ts.snap | 183 ++++++++ package-lock.json | 121 ++++-- package.json | 2 +- packages/cli-e2e/package.json | 2 +- packages/cli/commons/CHANGELOG.md | 6 + packages/cli/commons/package.json | 2 +- packages/cli/core/CHANGELOG.md | 23 ++ packages/cli/core/README.md | 242 +++++++++-- packages/cli/core/package.json | 20 +- packages/cli/source/CHANGELOG.md | 8 + packages/cli/source/package.json | 4 +- packages/ui/angular/CHANGELOG.md | 2 + packages/ui/angular/package.json | 4 +- .../CHANGELOG.md | 6 + .../package.json | 2 +- .../create-atomic-component/CHANGELOG.md | 6 + .../create-atomic-component/package.json | 4 +- .../components/sample-component/package.json | 2 +- .../CHANGELOG.md | 6 + .../package.json | 4 +- .../sample-result-component/package.json | 2 +- packages/ui/atomic/create-atomic/package.json | 2 +- packages/ui/atomic/health-check/CHANGELOG.md | 6 + packages/ui/atomic/health-check/package.json | 2 +- packages/ui/atomic/template/package.json | 2 +- packages/ui/cra-template/CHANGELOG.md | 8 + packages/ui/cra-template/package.json | 4 +- packages/ui/cra-template/template.json | 2 +- packages/ui/search-token-server/CHANGELOG.md | 2 + packages/ui/search-token-server/package.json | 2 +- utils/release/create-github-release.mjs | 0 utils/release/is-cli-release.mjs | 0 36 files changed, 1401 insertions(+), 88 deletions(-) create mode 100644 create-atomic-component/tests/__snapshots__/test.spec.ts.snap create mode 100644 create-atomic-result-component/tests/__snapshots__/test.spec.ts.snap create mode 100644 health-check/src/e2e/__snapshots__/test.spec.ts.snap mode change 100644 => 100755 utils/release/create-github-release.mjs mode change 100644 => 100755 utils/release/is-cli-release.mjs diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a98125021..d6a0497b74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +# release-19 (2023-10-27) + +### Bug Fixes + +- only diff json files ([#1323](https://github.com/coveo/cli/issues/1323)) ([ae1361a](https://github.com/coveo/cli/commits/ae1361a4ca0f553103349ca436a309c61aa56732)) + +### Features + +- add organization to event props ([#1325](https://github.com/coveo/cli/issues/1325)) ([3afcd0f](https://github.com/coveo/cli/commits/3afcd0f78112de9eae8f91218be3df01757f8d3e)) +- **cli:** change node support to 18.18.1 ([#1332](https://github.com/coveo/cli/issues/1332)) ([54c6937](https://github.com/coveo/cli/commits/54c6937829685e1af20949f082b2de484fa1f6c6)) +- **cli:** change node support to only 18-20 ([#1335](https://github.com/coveo/cli/issues/1335)) ([3e65207](https://github.com/coveo/cli/commits/3e6520737650901d2b176fadc8e2e56441a8d4da)) +- **cli:** deprecate config:set region and environment ([#1331](https://github.com/coveo/cli/issues/1331)) ([341d5a7](https://github.com/coveo/cli/commits/341d5a70ab92c492ff653242dabf50f154192710)) +- **cli:** node 20.9.0 lts ([#1337](https://github.com/coveo/cli/issues/1337)) ([af1c3ac](https://github.com/coveo/cli/commits/af1c3ac1796bdfd534b5d037f3a42e23aa3ab225)) +- **cli:** use hidden prompt or stdin for auth:token command ([#1334](https://github.com/coveo/cli/issues/1334)) ([012b6a4](https://github.com/coveo/cli/commits/012b6a45adc474f1d10a8adf5a881eb9faf5e6e8)) +- support imports from `/headless` ([#1326](https://github.com/coveo/cli/issues/1326)) ([d24bec4](https://github.com/coveo/cli/commits/d24bec48e5050ffdbba406fe130a7f7a83ca9b95)) + +### BREAKING CHANGES + +- **cli:** those flags are no longer supported by the cli and the + alternative is to re-execute a login flow with auth:login + +This change is part of the effort for the next major release of the CLI +(v3) + # release-18 (2023-08-24) ### Bug Fixes diff --git a/README.md b/README.md index 99362dfb17..705760fb62 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ $ npm install -g @coveo/cli $ coveo COMMAND running command... $ coveo (--version) -@coveo/cli/2.2.0 linux-x64 node-v18.12.1 +@coveo/cli/3.0.15 linux-x64 node-v20.9.0 $ coveo --help [COMMAND] USAGE $ coveo COMMAND diff --git a/create-atomic-component/tests/__snapshots__/test.spec.ts.snap b/create-atomic-component/tests/__snapshots__/test.spec.ts.snap new file mode 100644 index 0000000000..b56cab3e3a --- /dev/null +++ b/create-atomic-component/tests/__snapshots__/test.spec.ts.snap @@ -0,0 +1,391 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`@coveo/create-atomic-component when called in an existing project when initializing should ouptut a confirmation message upon success 1`] = ` +" + Project successfully configured + + We suggest that you begin by typing: + + $ npm install + $ npm start + + $ npm start + Starts the development server. + + $ npm run build + Builds your project in production mode. + + Happy coding! + + Further reading: + https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components + +" +`; + +exports[`@coveo/create-atomic-component when called in an existing project when initializing should setup a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "ewQGf3/bnIIj+Rv249cv7K7YGsg=", + "name": "stencil-docs.d.ts", + }, + ], + "hash": "OzYoobNX1XCpcFrvvtsD00f4Rwg=", + "name": "docs", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "/5yLi44o1uyQViLBqN4GTX4Wifo=", + "name": "cdn.js", + }, + HashedFile { + "hash": "/5yLi44o1uyQViLBqN4GTX4Wifo=", + "name": "index.cjs.js", + }, + HashedFile { + "hash": "BHkYREiqjkQizanFWrHUH+O5/HI=", + "name": "index.d.ts", + }, + HashedFile { + "hash": "AVg2xEIhlYFa1JdLuHECP4RcRwg=", + "name": "index.es2017.js", + }, + HashedFile { + "hash": "orpFM4J34T2gX7c3vGiovp0rdxM=", + "name": "index.js", + }, + HashedFile { + "hash": "WNqwx6y7/TKh0xE/ENZlA00Dy/g=", + "name": "package.json", + }, + ], + "hash": "sWhaIzdNtSJjLJC7gUXMjbEJdx0=", + "name": "loader", + }, + HashedFile { + "hash": "sPYtbu6I3ccGfKbCoXGFIB4KHTo=", + "name": "package.json", + }, + HashedFile { + "hash": "0paD+lp3fCIv4J/d+YrJ6gkGSbo=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "qJnWpbM0djxX/iTkEr7sFyWoEKE=", + "name": "components.d.ts", + }, + HashedFile { + "hash": "XemX7AoOihA4SgQsvWtcStjeiGo=", + "name": "oh-wow-another-component-can-you-believe-it.css", + }, + HashedFile { + "hash": "/LJZFrH80JVNAGsx3FvxhArXJss=", + "name": "oh-wow-another-component-can-you-believe-it.tsx", + }, + ], + "hash": "hn8xJ8lZaPPvjQFOUvWFX55LlDc=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "FrfYsEH74ln6VgpDwNHlSHLZMqA=", + "name": "oh-wow-another-component-can-you-believe-it", + }, + ], + "hash": "K7acc/8RH7arWHNePKbmHUcPJTs=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "dDomUvCRWep4ytwIQHxYFtOsQ3o=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "DNANdCMVjEkGCg0jZoJBiRE3pF8=", + "name": "no-args", +} +`; + +exports[`@coveo/create-atomic-component when called with a valid component name when initializing should ouptut a confirmation message upon success 1`] = ` +" + Project successfully configured + + We suggest that you begin by typing: + + $ npm install + $ npm start + + $ npm start + Starts the development server. + + $ npm run build + Builds your project in production mode. + + Happy coding! + + Further reading: + https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components + +" +`; + +exports[`@coveo/create-atomic-component when called with a valid component name when initializing should setup a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "WNXSePDB0rxKykx0pmIcvvXf8lY=", + "name": "package.json", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "XemX7AoOihA4SgQsvWtcStjeiGo=", + "name": "valid-component-name.css", + }, + HashedFile { + "hash": "mSEayrhdQLFyjWOgicX78wD8seE=", + "name": "valid-component-name.tsx", + }, + ], + "hash": "TLrPzQ215bJQgHPDj+8uidPXAqo=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "OdOjUj6sQOlaJZL0xMsHtkmhLEM=", + "name": "valid-component-name", + }, + ], + "hash": "pusjYN5OIG2nxlphCimdO2MRZoA=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "mfttHUbisEc5o1agWYdOGHcyMbM=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "SjnhBdGoPcwxrzS0znwq8DkPeKE=", + "name": "valid-arg", +} +`; + +exports[`@coveo/create-atomic-component when called without any args when initializing should ouptut a confirmation message upon success 1`] = ` +" + Project successfully configured + + We suggest that you begin by typing: + + $ npm install + $ npm start + + $ npm start + Starts the development server. + + $ npm run build + Builds your project in production mode. + + Happy coding! + + Further reading: + https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components + +" +`; + +exports[`@coveo/create-atomic-component when called without any args when initializing should setup a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "YtYrF1uzndR/VQF5Zq9TNFRZFaQ=", + "name": "package.json", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "XemX7AoOihA4SgQsvWtcStjeiGo=", + "name": "sample-component.css", + }, + HashedFile { + "hash": "aeXDp+lsWoSvRwNcTKnynVf/9bk=", + "name": "sample-component.tsx", + }, + ], + "hash": "1fEyvhZ1KbN3o1NA6j8h5U8u3EM=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "3NoNGgDXggN9aKRNQdioGEpwUas=", + "name": "sample-component", + }, + ], + "hash": "etih1u8llZ5RQYnPBgmJoGyNPr0=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "VL0oxdo/RF+Bjsa1as6+XaL+kyM=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "AgyflBDej8gMqDjYhorG5nuVSY4=", + "name": "no-args", +} +`; diff --git a/create-atomic-result-component/tests/__snapshots__/test.spec.ts.snap b/create-atomic-result-component/tests/__snapshots__/test.spec.ts.snap new file mode 100644 index 0000000000..4990a9932b --- /dev/null +++ b/create-atomic-result-component/tests/__snapshots__/test.spec.ts.snap @@ -0,0 +1,391 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`@coveo/create-atomic-result-component when called in an existing project when initializing should ouptut a confirmation message upon success 1`] = ` +" + Project successfully configured + + We suggest that you begin by typing: + + $ npm install + $ npm start + + $ npm start + Starts the development server. + + $ npm run build + Builds your project in production mode. + + Happy coding! + + Further reading: + https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components + +" +`; + +exports[`@coveo/create-atomic-result-component when called in an existing project when initializing should setup a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "ewQGf3/bnIIj+Rv249cv7K7YGsg=", + "name": "stencil-docs.d.ts", + }, + ], + "hash": "OzYoobNX1XCpcFrvvtsD00f4Rwg=", + "name": "docs", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "/5yLi44o1uyQViLBqN4GTX4Wifo=", + "name": "cdn.js", + }, + HashedFile { + "hash": "/5yLi44o1uyQViLBqN4GTX4Wifo=", + "name": "index.cjs.js", + }, + HashedFile { + "hash": "BHkYREiqjkQizanFWrHUH+O5/HI=", + "name": "index.d.ts", + }, + HashedFile { + "hash": "AVg2xEIhlYFa1JdLuHECP4RcRwg=", + "name": "index.es2017.js", + }, + HashedFile { + "hash": "orpFM4J34T2gX7c3vGiovp0rdxM=", + "name": "index.js", + }, + HashedFile { + "hash": "WNqwx6y7/TKh0xE/ENZlA00Dy/g=", + "name": "package.json", + }, + ], + "hash": "sWhaIzdNtSJjLJC7gUXMjbEJdx0=", + "name": "loader", + }, + HashedFile { + "hash": "y4kuWHgmKIIXIPP4Yeo6RNvl8Ss=", + "name": "package.json", + }, + HashedFile { + "hash": "xP4FebG8AhkGm5G5892sV4YgrI4=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "EpKK14CXyjrSNQsuEEKqSalxDxE=", + "name": "components.d.ts", + }, + HashedFile { + "hash": "0kZk+nhPZP6DNXEt1ds/y13pPn4=", + "name": "oh-wow-another-component-can-you-believe-it.css", + }, + HashedFile { + "hash": "I+1b5N1kyPbt/73pkZi5tRoAt68=", + "name": "oh-wow-another-component-can-you-believe-it.tsx", + }, + ], + "hash": "gYxTB9Ls/8KoSIKVfo4JXCBd0kA=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "cIH6wt4RyfxVF3Y6Dg5x1SRULBA=", + "name": "oh-wow-another-component-can-you-believe-it", + }, + ], + "hash": "5LvJ3rlfStpc5ImGjvcWBG5N1og=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "3ucePTtOG8Lq1ldJbu4QqwNWuWE=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "BdE/jZhm4dOj4jwBJ3nSA5Vvvys=", + "name": "no-args", +} +`; + +exports[`@coveo/create-atomic-result-component when called with a valid component name when initializing should ouptut a confirmation message upon success 1`] = ` +" + Project successfully configured + + We suggest that you begin by typing: + + $ npm install + $ npm start + + $ npm start + Starts the development server. + + $ npm run build + Builds your project in production mode. + + Happy coding! + + Further reading: + https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components + +" +`; + +exports[`@coveo/create-atomic-result-component when called with a valid component name when initializing should setup a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "TsYMWL2vEfN/Css0EnNr+FboO38=", + "name": "package.json", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "0kZk+nhPZP6DNXEt1ds/y13pPn4=", + "name": "valid-component-name.css", + }, + HashedFile { + "hash": "ShFXwot8XbCjD/A7x/1LQ0+hYI4=", + "name": "valid-component-name.tsx", + }, + ], + "hash": "pFuu6S9wb+y09faE9Lxub6t+cfY=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "5sJjww11rRZ4IWddpxlYramSviU=", + "name": "valid-component-name", + }, + ], + "hash": "Ch4M26OnLxd9fkyBZ07ynwGOb+8=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "wJTmvZEH0W87KuuNzKyuHp9lwaA=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "JhBae+scXj5VDo4lpqteAya9cHg=", + "name": "valid-arg", +} +`; + +exports[`@coveo/create-atomic-result-component when called without any args when initializing should ouptut a confirmation message upon success 1`] = ` +" + Project successfully configured + + We suggest that you begin by typing: + + $ npm install + $ npm start + + $ npm start + Starts the development server. + + $ npm run build + Builds your project in production mode. + + Happy coding! + + Further reading: + https://docs.coveo.com/en/atomic/latest/cc-search/create-custom-components + +" +`; + +exports[`@coveo/create-atomic-result-component when called without any args when initializing should setup a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "oUhPvSkp9OH95cFwZqdW7WycZ7Q=", + "name": "package.json", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "0kZk+nhPZP6DNXEt1ds/y13pPn4=", + "name": "sample-result-component.css", + }, + HashedFile { + "hash": "DMYROzP/GYB/aoia+R5JUflx37w=", + "name": "sample-result-component.tsx", + }, + ], + "hash": "zQmeniXwoag2rYtOWGtLO1oiwlQ=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "D35EqcZ0S4b3jLtwk1eQHmlViYc=", + "name": "sample-result-component", + }, + ], + "hash": "v0FhcXKGx+MykpZOkOq8iDv3+fo=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "yszWNJG5nNw0+tVvVumxLM5UTVQ=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "hr677eW1n629xuO9j0YJLdPNGRo=", + "name": "no-args", +} +`; diff --git a/health-check/src/e2e/__snapshots__/test.spec.ts.snap b/health-check/src/e2e/__snapshots__/test.spec.ts.snap new file mode 100644 index 0000000000..70cbd24386 --- /dev/null +++ b/health-check/src/e2e/__snapshots__/test.spec.ts.snap @@ -0,0 +1,183 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`@coveo/atomic-component-health-check @coveo/create-atomic-component should initialize a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "WNXSePDB0rxKykx0pmIcvvXf8lY=", + "name": "package.json", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "XemX7AoOihA4SgQsvWtcStjeiGo=", + "name": "valid-component-name.css", + }, + HashedFile { + "hash": "mSEayrhdQLFyjWOgicX78wD8seE=", + "name": "valid-component-name.tsx", + }, + ], + "hash": "TLrPzQ215bJQgHPDj+8uidPXAqo=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "OdOjUj6sQOlaJZL0xMsHtkmhLEM=", + "name": "valid-component-name", + }, + ], + "hash": "pusjYN5OIG2nxlphCimdO2MRZoA=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "mfttHUbisEc5o1agWYdOGHcyMbM=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "SjnhBdGoPcwxrzS0znwq8DkPeKE=", + "name": "create-atomic-component", +} +`; + +exports[`@coveo/atomic-component-health-check @coveo/create-atomic-result-component should initialize a base project and a component 1`] = ` +HashedFolder { + "children": [ + HashedFile { + "hash": "On2XOtGKsiCQNf3sl4iW9KMVbUE=", + "name": "package.json", + }, + HashedFile { + "hash": "dk1NzEu4Fb2ZY6TKzt21xMFvc2c=", + "name": "readme.md", + }, + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFolder { + "children": [ + HashedFile { + "hash": "TsYMWL2vEfN/Css0EnNr+FboO38=", + "name": "package.json", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "0kZk+nhPZP6DNXEt1ds/y13pPn4=", + "name": "valid-component-name.css", + }, + HashedFile { + "hash": "ShFXwot8XbCjD/A7x/1LQ0+hYI4=", + "name": "valid-component-name.tsx", + }, + ], + "hash": "pFuu6S9wb+y09faE9Lxub6t+cfY=", + "name": "src", + }, + HashedFile { + "hash": "DNTPZTeWJfCjTGqD+edK5gP5vUM=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "5sJjww11rRZ4IWddpxlYramSviU=", + "name": "valid-component-name", + }, + ], + "hash": "Ch4M26OnLxd9fkyBZ07ynwGOb+8=", + "name": "components", + }, + HashedFile { + "hash": "YVuwXfIZfjfeVyLQ6cMy3kUqC3A=", + "name": "html.d.ts", + }, + HashedFolder { + "children": [ + HashedFile { + "hash": "L08E7dMK5e0wD5P8meKHfkDDa3o=", + "name": "index.css", + }, + HashedFile { + "hash": "bFh3SmB411lXkJIWZnTDWhG9rfI=", + "name": "index.html", + }, + HashedFile { + "hash": "tGVlR0ig5LSS79ZPOfuAFDEvqMw=", + "name": "index.ts", + }, + ], + "hash": "qEEOwUr4MvYxD5CwMtkP/VqUL8Q=", + "name": "pages", + }, + ], + "hash": "wJTmvZEH0W87KuuNzKyuHp9lwaA=", + "name": "src", + }, + HashedFile { + "hash": "BVZfiCzL+2kulE12K4HLAIl3kJ8=", + "name": "stencil.config.ts", + }, + HashedFile { + "hash": "yMxJnSeOFw52ObOJrKQEh86v+HM=", + "name": "tsconfig.json", + }, + ], + "hash": "JhBae+scXj5VDo4lpqteAya9cHg=", + "name": "create-atomic-result-component", +} +`; diff --git a/package-lock.json b/package-lock.json index 83a30a4e08..14648387d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cli-tools", - "version": "1.0.0-18", + "version": "1.0.0-19", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cli-tools", - "version": "1.0.0-18", + "version": "1.0.0-19", "hasInstallScript": true, "license": "Apache-2.0", "workspaces": [ @@ -145,6 +145,20 @@ "node": ">=10" } }, + "node_modules/@amplitude/node": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/@amplitude/node/-/node-1.10.2.tgz", + "integrity": "sha512-E3xp8DOpkF5ThjrRlAmSocnrEYsTPpd3Zg4WdBLms0ackQSgQpw6z84+YMcoPerZHJJ/LEqdo4Cg4Z5Za3D+3Q==", + "dependencies": { + "@amplitude/identify": "^1.10.2", + "@amplitude/types": "^1.10.2", + "@amplitude/utils": "^1.10.2", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@amplitude/types": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/@amplitude/types/-/types-1.10.2.tgz", @@ -30572,7 +30586,7 @@ "@babel/core": "7.21.5", "@babel/preset-env": "7.21.5", "@babel/preset-typescript": "7.21.5", - "@coveo/cli": "2.6.2", + "@coveo/cli": "3.0.15", "@coveo/platform-client": "44.1.0", "abortcontroller-polyfill": "1.7.5", "async-retry": "1.3.3", @@ -30613,9 +30627,58 @@ "node": ">=18" } }, + "packages/cli-e2e/node_modules/@coveo/cli-commons": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@coveo/cli-commons/-/cli-commons-2.6.0.tgz", + "integrity": "sha512-fHO1RIQFkeCQxAoyMJtrICX3j3cEuf5khTEtG57hSLpK1P7ewmxC8+S+URivwKKGvvgJyRe2y76bsZR6uPod/w==", + "dependencies": { + "@amplitude/node": "1.10.2", + "@coveo/platform-client": "44.1.0", + "@oclif/core": "1.24.0", + "abortcontroller-polyfill": "1.7.5", + "chalk": "4.1.2", + "fs-extra": "11.1.1", + "https-proxy-agent": "5.0.1", + "is-ci": "3.0.1", + "isomorphic-fetch": "3.0.0", + "npm-package-arg": "10.1.0", + "semver": "7.5.2", + "ts-dedent": "2.2.0" + } + }, + "packages/cli-e2e/node_modules/@coveo/cli-plugin-source": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@coveo/cli-plugin-source/-/cli-plugin-source-2.0.12.tgz", + "integrity": "sha512-imjrAa73rNg6d99z74I//tzAE5aY5L2uZ/YDLSWUHW8NjCHXpwjdXEx9gu2+ozrLwTpoOp0IGnHYHI3mdNAq6w==", + "dependencies": { + "@coveo/cli-commons": "2.6.0", + "@coveo/platform-client": "44.1.0", + "@coveo/push-api-client": "3.1.15", + "@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.13.0 || ^18.12.0" + } + }, + "packages/cli-e2e/node_modules/is-ci": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz", + "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", + "dependencies": { + "ci-info": "^3.2.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, "packages/cli/commons": { "name": "@coveo/cli-commons", - "version": "2.6.0", + "version": "2.7.15", "license": "Apache-2.0", "dependencies": { "@amplitude/analytics-node": "^1.3.3", @@ -30674,13 +30737,13 @@ }, "packages/cli/core": { "name": "@coveo/cli", - "version": "2.6.2", + "version": "3.0.15", "license": "Apache-2.0", "dependencies": { "@amplitude/analytics-node": "^1.3.3", "@amplitude/identify": "^1.9.0", - "@coveo/cli-commons": "2.6.0", - "@coveo/cli-plugin-source": "2.0.12", + "@coveo/cli-commons": "2.7.15", + "@coveo/cli-plugin-source": "2.1.15", "@coveo/platform-client": "44.1.0", "@oclif/core": "1.24.0", "@oclif/plugin-help": "5.1.23", @@ -30716,14 +30779,14 @@ "@amplitude/analytics-types": "^2.1.2", "@amplitude/types": "1.10.2", "@babel/core": "7.21.5", - "@coveo/angular": "1.36.0", - "@coveo/atomic-component-health-check": "2.1.2", + "@coveo/angular": "1.36.6", + "@coveo/atomic-component-health-check": "2.2.15", "@coveo/cli-commons-dev": "6.0.6", - "@coveo/cra-template": "1.37.0", - "@coveo/create-atomic": "1.38.1", - "@coveo/create-atomic-component": "1.1.2", - "@coveo/create-atomic-component-project": "1.1.0", - "@coveo/create-atomic-result-component": "1.1.2", + "@coveo/cra-template": "1.38.15", + "@coveo/create-atomic": "1.38.17", + "@coveo/create-atomic-component": "1.2.15", + "@coveo/create-atomic-component-project": "1.2.15", + "@coveo/create-atomic-result-component": "1.2.15", "@coveo/create-headless-vue": "1.2.0", "@oclif/test": "2.2.21", "@types/archiver": "5.3.2", @@ -30771,10 +30834,10 @@ }, "packages/cli/source": { "name": "@coveo/cli-plugin-source", - "version": "2.0.12", + "version": "2.1.15", "license": "Apache-2.0", "dependencies": { - "@coveo/cli-commons": "2.6.0", + "@coveo/cli-commons": "2.7.15", "@coveo/platform-client": "44.1.0", "@coveo/push-api-client": "3.1.15", "@oclif/core": "1.24.0", @@ -30808,14 +30871,14 @@ }, "packages/ui/angular": { "name": "@coveo/angular", - "version": "1.36.0", + "version": "1.36.6", "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.23", + "@coveo/search-token-server": "1.35.29", "@schematics/angular": "^15.0.0", "jest-config": "29.5.0" }, @@ -30838,7 +30901,7 @@ }, "packages/ui/atomic/create-atomic": { "name": "@coveo/create-atomic", - "version": "1.38.1", + "version": "1.38.17", "license": "Apache-2.0", "dependencies": { "@coveo/platform-client": "44.1.0", @@ -30862,10 +30925,10 @@ }, "packages/ui/atomic/create-atomic-component": { "name": "@coveo/create-atomic-component", - "version": "1.1.2", + "version": "1.2.15", "license": "Apache-2.0", "dependencies": { - "@coveo/create-atomic-component-project": "1.1.0" + "@coveo/create-atomic-component-project": "1.2.15" }, "bin": { "create-atomic-component": "index.js" @@ -30888,7 +30951,7 @@ }, "packages/ui/atomic/create-atomic-component-project": { "name": "@coveo/create-atomic-component-project", - "version": "1.1.0", + "version": "1.2.15", "license": "Apache-2.0", "bin": { "create-atomic-component-project": "index.js" @@ -30918,10 +30981,10 @@ }, "packages/ui/atomic/create-atomic-result-component": { "name": "@coveo/create-atomic-result-component", - "version": "1.1.2", + "version": "1.2.15", "license": "Apache-2.0", "dependencies": { - "@coveo/create-atomic-component-project": "1.1.0" + "@coveo/create-atomic-component-project": "1.2.15" }, "bin": { "create-atomic-result-component": "index.js" @@ -31197,7 +31260,7 @@ }, "packages/ui/atomic/health-check": { "name": "@coveo/atomic-component-health-check", - "version": "2.1.2", + "version": "2.2.15", "license": "Apache-2.0", "dependencies": { "chalk": "4.1.2", @@ -31221,7 +31284,7 @@ }, "packages/ui/atomic/template": { "name": "@coveo/create-atomic-template", - "version": "1.39.1", + "version": "1.40.0", "dependencies": { "@coveo/atomic": "2.25.2", "@coveo/headless": "2.13.1", @@ -31238,14 +31301,14 @@ }, "packages/ui/cra-template": { "name": "@coveo/cra-template", - "version": "1.37.0", + "version": "1.38.15", "license": "Apache-2.0", "dependencies": { "fs-extra": "11.1.1" }, "devDependencies": { "@coveo/headless": "latest", - "@coveo/search-token-server": "1.35.23", + "@coveo/search-token-server": "1.35.29", "@emotion/react": "11.10.8", "@emotion/styled": "11.10.8", "@mui/material": "5.12.2", @@ -31273,7 +31336,7 @@ }, "packages/ui/search-token-server": { "name": "@coveo/search-token-server", - "version": "1.35.23", + "version": "1.35.29", "license": "Apache-2.0", "dependencies": { "@coveo/platform-client": "44.1.0", diff --git a/package.json b/package.json index 5fb3f97ed4..97b34c3264 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cli-tools", "private": true, - "version": "1.0.0-18", + "version": "1.0.0-19", "author": "Coveo", "bin": { "coveo": "./bin/run" diff --git a/packages/cli-e2e/package.json b/packages/cli-e2e/package.json index b883f17f3c..b145657ca6 100644 --- a/packages/cli-e2e/package.json +++ b/packages/cli-e2e/package.json @@ -61,7 +61,7 @@ "@babel/core": "7.21.5", "@babel/preset-env": "7.21.5", "@babel/preset-typescript": "7.21.5", - "@coveo/cli": "2.6.2", + "@coveo/cli": "3.0.15", "@coveo/platform-client": "44.1.0", "abortcontroller-polyfill": "1.7.5", "async-retry": "1.3.3", diff --git a/packages/cli/commons/CHANGELOG.md b/packages/cli/commons/CHANGELOG.md index d15edcb9df..e4a3c86491 100644 --- a/packages/cli/commons/CHANGELOG.md +++ b/packages/cli/commons/CHANGELOG.md @@ -1,3 +1,9 @@ +## 2.7.15 (2023-10-27) + +### Features + +- add organization to event props ([#1325](https://github.com/coveo/cli/issues/1325)) ([3afcd0f](https://github.com/coveo/cli/commits/3afcd0f78112de9eae8f91218be3df01757f8d3e)) + # 2.6.0 (2023-07-26) ### Bug Fixes diff --git a/packages/cli/commons/package.json b/packages/cli/commons/package.json index 709787404b..5856dfb89d 100644 --- a/packages/cli/commons/package.json +++ b/packages/cli/commons/package.json @@ -1,6 +1,6 @@ { "name": "@coveo/cli-commons", - "version": "2.6.0", + "version": "2.7.15", "author": "Coveo", "description": "Common utils for @coveo/cli plugins", "license": "Apache-2.0", diff --git a/packages/cli/core/CHANGELOG.md b/packages/cli/core/CHANGELOG.md index 79659019d1..0136bf2778 100644 --- a/packages/cli/core/CHANGELOG.md +++ b/packages/cli/core/CHANGELOG.md @@ -1,3 +1,26 @@ +## 3.0.15 (2023-10-27) + +### Bug Fixes + +- only diff json files ([#1323](https://github.com/coveo/cli/issues/1323)) ([ae1361a](https://github.com/coveo/cli/commits/ae1361a4ca0f553103349ca436a309c61aa56732)) + +### Features + +- add organization to event props ([#1325](https://github.com/coveo/cli/issues/1325)) ([3afcd0f](https://github.com/coveo/cli/commits/3afcd0f78112de9eae8f91218be3df01757f8d3e)) +- **cli:** change node support to 18.18.1 ([#1332](https://github.com/coveo/cli/issues/1332)) ([54c6937](https://github.com/coveo/cli/commits/54c6937829685e1af20949f082b2de484fa1f6c6)) +- **cli:** change node support to only 18-20 ([#1335](https://github.com/coveo/cli/issues/1335)) ([3e65207](https://github.com/coveo/cli/commits/3e6520737650901d2b176fadc8e2e56441a8d4da)) +- **cli:** deprecate config:set region and environment ([#1331](https://github.com/coveo/cli/issues/1331)) ([341d5a7](https://github.com/coveo/cli/commits/341d5a70ab92c492ff653242dabf50f154192710)) +- **cli:** node 20.9.0 lts ([#1337](https://github.com/coveo/cli/issues/1337)) ([af1c3ac](https://github.com/coveo/cli/commits/af1c3ac1796bdfd534b5d037f3a42e23aa3ab225)) +- **cli:** use hidden prompt or stdin for auth:token command ([#1334](https://github.com/coveo/cli/issues/1334)) ([012b6a4](https://github.com/coveo/cli/commits/012b6a45adc474f1d10a8adf5a881eb9faf5e6e8)) + +### BREAKING CHANGES + +- **cli:** those flags are no longer supported by the cli and the + alternative is to re-execute a login flow with auth:login + +This change is part of the effort for the next major release of the CLI +(v3) + ## 2.6.2 (2023-08-24) ### Bug Fixes diff --git a/packages/cli/core/README.md b/packages/cli/core/README.md index 901b806d95..c5f6748eb5 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.6.2 linux-x64 node-v18.17.1 +@coveo/cli/3.0.15 linux-x64 node-v20.9.0 $ coveo --help [COMMAND] USAGE $ coveo COMMAND @@ -85,6 +85,12 @@ The main config file of the Coveo CLI is stored in a JSON file in `configDir`. - [`coveo plugins:uninstall PLUGIN...`](#coveo-pluginsuninstall-plugin-1) - [`coveo plugins:uninstall PLUGIN...`](#coveo-pluginsuninstall-plugin-2) - [`coveo plugins:update`](#coveo-pluginsupdate) +- [`coveo source:catalog:add SOURCEID`](#coveo-sourcecatalogadd-sourceid) +- [`coveo source:catalog:new NAME`](#coveo-sourcecatalognew-name) +- [`coveo source:list`](#coveo-sourcelist) +- [`coveo source:push:add SOURCEID`](#coveo-sourcepushadd-sourceid) +- [`coveo source:push:delete SOURCEID`](#coveo-sourcepushdelete-sourceid) +- [`coveo source:push:new NAME`](#coveo-sourcepushnew-name) - [`coveo ui:create:angular NAME`](#coveo-uicreateangular-name) - [`coveo ui:create:atomic NAME`](#coveo-uicreateatomic-name) - [`coveo ui:create:react NAME`](#coveo-uicreatereact-name) @@ -149,7 +155,7 @@ EXAMPLES $ coveo atomic:component --type=result mySuperResultComponent ``` -_See code: [src/commands/atomic/component.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/atomic/component.ts)_ +_See code: [src/commands/atomic/component.ts](https://github.com/coveo/cli/blob/@coveo/cli@3.0.15/packages/cli/core/src/commands/atomic/component.ts)_ ## `coveo atomic:deploy` @@ -246,7 +252,7 @@ EXAMPLES $ coveo atomic:init --type=lib myCustomAtomicComponentsLibrary ``` -_See code: [src/commands/atomic/init.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/atomic/init.ts)_ +_See code: [src/commands/atomic/init.ts](https://github.com/coveo/cli/blob/@coveo/cli@3.0.15/packages/cli/core/src/commands/atomic/init.ts)_ ## `coveo auth:login` @@ -274,7 +280,7 @@ EXAMPLES $ coveo auth:login ``` -_See code: [src/commands/auth/login.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/auth/login.ts)_ +_See code: [src/commands/auth/login.ts](https://github.com/coveo/cli/blob/@coveo/cli@3.0.15/packages/cli/core/src/commands/auth/login.ts)_ ## `coveo auth:token` @@ -282,7 +288,7 @@ Log in to the Coveo Platform using an access token. ``` USAGE - $ coveo auth:token -t [-r US|us|EU|eu|AU|au|CA|ca] [-e dev|stg|hipaa|prod] + $ coveo auth:token [-r US|us|EU|eu|AU|au|CA|ca] [-e dev|stg|hipaa|prod] [-s] FLAGS -e, --environment=