diff --git a/CHANGELOG.md b/CHANGELOG.md index 62ff288a4d..4a98125021 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# release-18 (2023-08-24) + +### Bug Fixes + +- **cli:** remove deploy.example ([#1321](https://github.com/coveo/cli/issues/1321)) ([a79e335](https://github.com/coveo/cli/commits/a79e335a4b476c011945b56f417e13cbd295cf0d)) + # release-17 (2023-07-26) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index e5a8bfc0a7..3789e67408 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cli-tools", - "version": "1.0.0-17", + "version": "1.0.0-18", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cli-tools", - "version": "1.0.0-17", + "version": "1.0.0-18", "hasInstallScript": true, "license": "Apache-2.0", "workspaces": [ @@ -30562,7 +30562,7 @@ "@babel/core": "7.21.5", "@babel/preset-env": "7.21.5", "@babel/preset-typescript": "7.21.5", - "@coveo/cli": "2.6.1", + "@coveo/cli": "2.6.2", "@coveo/platform-client": "44.1.0", "abortcontroller-polyfill": "1.7.5", "async-retry": "1.3.3", @@ -30603,73 +30603,6 @@ "node": ">=18" } }, - "packages/cli-e2e/node_modules/@coveo/cli-commons": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@coveo/cli-commons/-/cli-commons-2.5.0.tgz", - "integrity": "sha512-kCoyEKOJ6qobdnFyQ/jMJigBT4cctVICZ1hmWR+6TJfzc6FWc4xxszT5d8rhJoqgewkAY4CLwjxlzDXEL9nX6w==", - "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", - "isomorphic-fetch": "3.0.0", - "npm-package-arg": "10.1.0", - "semver": "7.5.0", - "ts-dedent": "2.2.0" - } - }, - "packages/cli-e2e/node_modules/@coveo/cli-plugin-source": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@coveo/cli-plugin-source/-/cli-plugin-source-2.0.11.tgz", - "integrity": "sha512-l+MHeE0gzb1n2MBjGF6Oe/z5lSs7LRNiOvX8njePxk5qYOXgqLvsVHUrujYwH8oiORXrxHWg/KgtiNPCYTTwhA==", - "dependencies": { - "@coveo/cli-commons": "2.5.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/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "packages/cli-e2e/node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "packages/cli-e2e/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "packages/cli/commons": { "name": "@coveo/cli-commons", "version": "2.6.0", @@ -30725,7 +30658,7 @@ }, "packages/cli/core": { "name": "@coveo/cli", - "version": "2.6.1", + "version": "2.6.2", "license": "Apache-2.0", "dependencies": { "@amplitude/identify": "^1.9.0", @@ -30767,13 +30700,13 @@ "@amplitude/types": "1.10.2", "@babel/core": "7.21.5", "@coveo/angular": "1.36.0", - "@coveo/atomic-component-health-check": "2.1.1", + "@coveo/atomic-component-health-check": "2.1.2", "@coveo/cli-commons-dev": "6.0.6", "@coveo/cra-template": "1.37.0", - "@coveo/create-atomic": "1.38.0", - "@coveo/create-atomic-component": "1.1.1", + "@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.1", + "@coveo/create-atomic-result-component": "1.1.2", "@coveo/create-headless-vue": "1.2.0", "@oclif/test": "2.2.21", "@types/archiver": "5.3.2", @@ -30882,7 +30815,7 @@ }, "packages/ui/atomic/create-atomic": { "name": "@coveo/create-atomic", - "version": "1.38.0", + "version": "1.38.1", "license": "Apache-2.0", "dependencies": { "@coveo/platform-client": "44.1.0", @@ -30906,7 +30839,7 @@ }, "packages/ui/atomic/create-atomic-component": { "name": "@coveo/create-atomic-component", - "version": "1.1.1", + "version": "1.1.2", "license": "Apache-2.0", "dependencies": { "@coveo/create-atomic-component-project": "1.1.0" @@ -30962,7 +30895,7 @@ }, "packages/ui/atomic/create-atomic-result-component": { "name": "@coveo/create-atomic-result-component", - "version": "1.1.1", + "version": "1.1.2", "license": "Apache-2.0", "dependencies": { "@coveo/create-atomic-component-project": "1.1.0" @@ -31241,7 +31174,7 @@ }, "packages/ui/atomic/health-check": { "name": "@coveo/atomic-component-health-check", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { "chalk": "4.1.2", @@ -31265,7 +31198,7 @@ }, "packages/ui/atomic/template": { "name": "@coveo/create-atomic-template", - "version": "1.39.0", + "version": "1.39.1", "dependencies": { "@coveo/atomic": "2.25.2", "@coveo/headless": "2.13.1", diff --git a/package.json b/package.json index 7bd34dfc6a..8eeca0e518 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cli-tools", "private": true, - "version": "1.0.0-17", + "version": "1.0.0-18", "author": "Coveo", "bin": { "coveo": "./bin/run" diff --git a/packages/cli-e2e/package.json b/packages/cli-e2e/package.json index 7afc350819..b883f17f3c 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.1", + "@coveo/cli": "2.6.2", "@coveo/platform-client": "44.1.0", "abortcontroller-polyfill": "1.7.5", "async-retry": "1.3.3", diff --git a/packages/cli/core/CHANGELOG.md b/packages/cli/core/CHANGELOG.md index 4d9d5dc813..79659019d1 100644 --- a/packages/cli/core/CHANGELOG.md +++ b/packages/cli/core/CHANGELOG.md @@ -1,3 +1,9 @@ +## 2.6.2 (2023-08-24) + +### Bug Fixes + +- **cli:** remove deploy.example ([#1321](https://github.com/coveo/cli/issues/1321)) ([a79e335](https://github.com/coveo/cli/commits/a79e335a4b476c011945b56f417e13cbd295cf0d)) + ## 2.6.1 (2023-07-26) ### Bug Fixes diff --git a/packages/cli/core/README.md b/packages/cli/core/README.md index 65993b3ab7..901b806d95 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.1 linux-x64 node-v18.17.0 +@coveo/cli/2.6.2 linux-x64 node-v18.17.1 $ coveo --help [COMMAND] USAGE $ coveo COMMAND @@ -85,12 +85,6 @@ 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) @@ -155,7 +149,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.1/packages/cli/core/src/commands/atomic/component.ts)_ +_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)_ ## `coveo atomic:deploy` @@ -252,7 +246,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.1/packages/cli/core/src/commands/atomic/init.ts)_ +_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)_ ## `coveo auth:login` @@ -280,7 +274,7 @@ EXAMPLES $ coveo auth:login ``` -_See code: [src/commands/auth/login.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/auth/login.ts)_ +_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)_ ## `coveo auth:token` @@ -306,7 +300,7 @@ EXAMPLES $ coveo auth:token ``` -_See code: [src/commands/auth/token.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/auth/token.ts)_ +_See code: [src/commands/auth/token.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/auth/token.ts)_ ## `coveo config:get [KEY]` @@ -336,7 +330,7 @@ EXAMPLES $ coveo config:get accessToken ``` -_See code: [src/commands/config/get.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/config/get.ts)_ +_See code: [src/commands/config/get.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/config/get.ts)_ ## `coveo config:set` @@ -359,7 +353,7 @@ EXAMPLES $ coveo config:set --organization myOrgId ``` -_See code: [src/commands/config/set.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/config/set.ts)_ +_See code: [src/commands/config/set.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/config/set.ts)_ ## `coveo help [COMMAND]` @@ -399,7 +393,7 @@ DESCRIPTION Create a new test Coveo organization. ``` -_See code: [src/commands/org/create.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/create.ts)_ +_See code: [src/commands/org/create.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/create.ts)_ ## `coveo org:list` @@ -425,7 +419,7 @@ DESCRIPTION List Coveo organizations. ``` -_See code: [src/commands/org/list.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/list.ts)_ +_See code: [src/commands/org/list.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/list.ts)_ ## `coveo org:resources:list` @@ -456,7 +450,7 @@ EXAMPLES $ coveo org:resources:list -o=myOrgId ``` -_See code: [src/commands/org/resources/list.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/resources/list.ts)_ +_See code: [src/commands/org/resources/list.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/resources/list.ts)_ ## `coveo org:resources:model:create` @@ -470,7 +464,7 @@ DESCRIPTION Create a Snapshot Pull Model ``` -_See code: [src/commands/org/resources/model/create.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/resources/model/create.ts)_ +_See code: [src/commands/org/resources/model/create.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/resources/model/create.ts)_ ## `coveo org:resources:monitor SNAPSHOTID` @@ -499,7 +493,7 @@ EXAMPLES $ coveo org:resources:monitor --organization myorgid --snapshotId mysnapshotid ``` -_See code: [src/commands/org/resources/monitor.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/resources/monitor.ts)_ +_See code: [src/commands/org/resources/monitor.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/resources/monitor.ts)_ ## `coveo org:resources:preview` @@ -535,7 +529,7 @@ EXAMPLES $ coveo org:resources:preview -o=myOrgId -d ``` -_See code: [src/commands/org/resources/preview.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/resources/preview.ts)_ +_See code: [src/commands/org/resources/preview.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/resources/preview.ts)_ ## `coveo org:resources:pull` @@ -590,7 +584,7 @@ EXAMPLES $ coveo org:resources:pull --resourceTypes QUERY_PIPELINE FIELD, ``` -_See code: [src/commands/org/resources/pull.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/resources/pull.ts)_ +_See code: [src/commands/org/resources/pull.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/resources/pull.ts)_ ## `coveo org:resources:push` @@ -634,7 +628,7 @@ EXAMPLES $ coveo org:resources:push --deleteMissingResources ``` -_See code: [src/commands/org/resources/push.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/resources/push.ts)_ +_See code: [src/commands/org/resources/push.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/resources/push.ts)_ ## `coveo org:search:dump` @@ -684,7 +678,7 @@ EXAMPLES $ coveo org:search:dump --fieldsToExclude ec_description ec_summary ``` -_See code: [src/commands/org/search/dump.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.1/packages/cli/core/src/commands/org/search/dump.ts)_ +_See code: [src/commands/org/search/dump.ts](https://github.com/coveo/cli/blob/@coveo/cli@2.6.2/packages/cli/core/src/commands/org/search/dump.ts)_ ## `coveo plugins` @@ -926,189 +920,6 @@ DESCRIPTION _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.12/src/commands/plugins/update.ts)_ -## `coveo source:catalog:add SOURCEID` - -Index a JSON document into a Coveo Catalog source. See https://docs.coveo.com/en/2956 for more information. - -``` -USAGE - $ coveo source:catalog:add [SOURCEID] [-f ] [-c | ] [-m] [-n] [--fullUpload] [--skipFullUploadCheck] - -ARGUMENTS - SOURCEID The identifier of the Catalog source on which to perform the add operation. See `source:list` to obtain the - identifier. - -FLAGS - -c, --maxConcurrent= - [default: 10] The maximum number of requests to send concurrently. Increasing this value increases the speed at - which documents are indexed to the Coveo platform. However, if you run into memory or throttling issues, consider - reducing this value. - - -f, --files=myfile.json... - Combinaison of JSON files and folders (containing JSON files) to push. Can be repeated. - - -m, --[no-]createMissingFields - Analyse documents to detect and automatically create missing fields in the destination organization. When enabled, - an error will be thrown if a field is used to store data of inconsistent type across documents. - - -n, --[no-]normalizeInvalidFields - Whether to normalize invalid fields detected from the documents. If set to `false`, an error will be thrown when - invalid fields are detected. - - --fullUpload - Controls the way your items are added to your catalog source. - - Setting this option to false will trigger a document update (Default operation). Useful to perform incremental - updates for smaller adjustments to your catalog that do not require pushing the entire catalog. A document update - must only be performed after a full catalog upload. - See https://docs.coveo.com/en/l62e0540 - - Setting this option to true will trigger a full catalog upload. This process acts as a full rebuild of your catalog - source. Therefore, previous items that are not included in the new payload will be deleted. - See https://docs.coveo.com/en/lb4a0344 - - --skipFullUploadCheck - Do not check whether a full catalog upload was triggered on the target source. - -DESCRIPTION - Index a JSON document into a Coveo Catalog source. See https://docs.coveo.com/en/2956 for more information. -``` - -_See code: [@coveo/cli-plugin-source](https://github.com/coveo/cli/blob/@coveo/cli@2.0.12/packages/cli/source/src/commands/source/catalog/add.ts)_ - -## `coveo source:catalog:new NAME` - -Create a new catalog source in a Coveo organization - -``` -USAGE - $ coveo source:catalog:new [NAME] [-v PRIVATE|SECURED|SHARED] - -ARGUMENTS - NAME The name of the source to create. - -FLAGS - -v, --sourceVisibility=(PRIVATE|SECURED|SHARED) [default: SECURED] Controls the content security option that should - be applied to the items in a source. See - https://docs.coveo.com/en/1779/index-content/content-security - -DESCRIPTION - Create a new catalog source in a Coveo organization -``` - -_See code: [@coveo/cli-plugin-source](https://github.com/coveo/cli/blob/@coveo/cli@2.0.12/packages/cli/source/src/commands/source/catalog/new.ts)_ - -## `coveo source:list` - -List all available push sources in your Coveo organization - -``` -USAGE - $ coveo source:list [--columns | -x] [--sort ] [--filter ] [--output csv|json|yaml | | - [--csv | --no-truncate]] [--no-header | ] - -FLAGS - -x, --extended show extra columns - --columns= only show provided columns (comma-separated) - --csv output is csv format [alias: --output=csv] - --filter= filter property by partial string matching, ex: name=foo - --no-header hide table header from output - --no-truncate do not truncate output to fit screen - --output=