Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@kibocommerce/intra-tenant-catalog-clone
Advanced tools
This CLI tool provides utilities for syncing, managing, and validating configurations related to catalogs in a given tenant.
Ensure you have Node.js 16+ installed.
Install dependencies:
npm install @kibocommerce:intra-tenant-catalog-clone
Make sure the .env
file is set up with the required environment variables:
API_URL
: The API endpoint.CLIENT_ID
: Client ID for the API.CLIENT_SECRET
: Client secret for the API.CATALOG_PAIRS
: JSON array of source and destination catalog pairs.SITE_PAIRS
: JSON array of source and destination site pairs.PRIME_CATALOG
: Prime catalog number.MASTER_CATALOG
: Master catalog number.You can use the init-env
command to create an empty .env
file.
categories
: Sync categories.settings
: Sync site settings.entities
: Sync entities.search-settings
: Sync search settings.search-facets
: Sync search facets.search-merchandising
: Sync search merchandising settings.search-all
: Sync all search-related settings.products
: Sync products in catalogs.clean-category-prefixes
: Clean category prefixes.validate-config
: Validate the configuration settings.init-env
: Creates an empty .env
file.To use the CLI tool, run the following command:
npx @kibocommerce:intra-tenant-catalog-clone [command]
Replace [command]
with any of the available commands listed above.
Example:
npx @kibocommerce:intra-tenant-catalog-clone categories
Make sure you set up the following environment variables in your .env
file:
API_URL=https://t***.com/api
CLIENT_ID=YourClientID
CLIENT_SECRET=YourClientSecret
CATALOG_PAIRS='[{"source":5,"destination":7}, {"source":6,"destination":8}]'
SITE_PAIRS='[{"source":100148,"destination":100150}, {"source":100149,"destination":100151}]'
PRIME_CATALOG=5
MASTER_CATALOG=2
Please raise an issue or pull request on our GitHub repository if you have any fixes, enhancements, or suggestions.
This project is licensed under the MIT License. See the LICENSE
file for more details.
If you have any issues, please reach out to our support team or check our documentation for more details.
FAQs
Kibo Cross Catalog Clone
The npm package @kibocommerce/intra-tenant-catalog-clone receives a total of 0 weekly downloads. As such, @kibocommerce/intra-tenant-catalog-clone popularity was classified as not popular.
We found that @kibocommerce/intra-tenant-catalog-clone demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.