🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@paroicms/converter

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paroicms/converter

CLI tool to migrate field data from Quill to Tiptap format in ParoiCMS databases

latest
Source
npmnpm
Version
0.3.4
Version published
Maintainers
2
Created
Source

@paroicms/converter

CLI tool to migrate field data from Quill format to Tiptap format in ParoiCMS main databases (SQLite).

Usage

Single Database Mode

npx @paroicms/converter \
  --database /path/to/main.sqlite \
  --quill-to-tiptap

This will:

  • Run a dry-run pass to detect errors
  • Run the actual conversion pass

Multisite Mode

npx @paroicms/converter \
  --multisite-data-dir /path/to/data \
  --quill-to-tiptap

This will process all databases matching the pattern ${dataDir}/*/main.sqlite:

  • Run a dry-run pass on all databases
  • If all databases pass without errors, run the actual conversion on all databases
  • If any database has errors in dry-run, abort the entire process

CLI Options

  • --database <path> (required*): Path to the SQLite database file
  • --multisite-data-dir <path> (required*): Path to the multisite data directory
  • --quill-to-tiptap (required): Activate Quill to Tiptap conversion
  • --dry-run (optional): Run in dry-run mode only (no database changes)
  • --backup (optional): Create a backup before conversion
  • --force (optional): Skip dry-run pass and convert immediately

*You must specify either --database or --multisite-data-dir, but not both.

Exit Codes

  • 0: All rows converted successfully
  • 1: One or more rows failed to convert (errors will be logged)

Error Handling

The tool will:

  • Skip failed rows and continue with others
  • Log all errors with field name, nodeId, and language
  • Return exit code 1 if any errors occurred
  • In multisite mode: abort if any database has errors during dry-run pass

FAQs

Package last updated on 05 Apr 2026

Did you know?

Socket

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.

Install

Related posts