@fontoxml/fontoxml-development-tools
Development tools for Fonto.
Last updated 21 days ago by evandervalk .
MIT · Original npm · Tarball · package.json
$ cnpm install @fontoxml/fontoxml-development-tools -g
SYNC missed versions from official npm registry.

fontoxml-development-tools NPM version

The Fonto Development Tools are command-line tools which offer support for developers when configuring Fonto Editor instances and its complementary products, and facilitate running them locally for testing purposes. They act as a gateway to the Fonto SDK and can be used for creating and updating editor instances, and preparing XML schemas for use with Fonto.

Installation

The development tools require NPM on Node.jsĀ® version 8.11 or higher which are freely available. After installing Node.js you can install the Fonto Development Tools using the following command:

npm i -g @fontoxml/fontoxml-development-tools

tip: You can use Node Version Manager on Linux/MacOS or its Windows counterpart to install and use multiple version of Node.js on a single system. This is useful if you develop different projects with different versions of Node.js.

Usage

Get help for the available commands:

fontoxml-development-tools --help

Get help for a specific command, detailing all its arguments:

fontoxml-development-tools <command> --help

Use the fdt shorthand instead of fontoxml-development-tools:

fdt <command> --help

Development license

Certain commands, like editor, connectors and content-quality, require a valid developer license file on your system and the permissions to run them. A license file fonto.lic can be stored in either of these locations:

  • In your user home directory ($HOME on linux/MacOS, or %homepath% on Windows).
  • In an ancestor folder of where you are running the fdt command.

Verify that your license file is installed correctly by running the fdt license validate command.

To obtain a license file, or to obtain additional permissions, please contact us at https://fontoxml.com/contact-us/ or reach out to your Fonto contact if you have one available. License files are personal and we disadvice to store them in any version control system you might have.

Usage examples

Licensing

Validate and update the currently installed license file:

fdt license validate

Schema

Output a table with information about all attributes in a schema:

fdt attributes [--schema <schemaPath>] [--columns name ns use defaultvalue ...]

Output schema information about a specific attribute, including all its definitions:

fdt attribute <attributeName> [--schema <schemaPath>]

Output a table with information about all elements in a schema:

fdt elements [--schema <schemaPath>] [--columns name ns local desc atts ...]

Output schema information about a specific element, including detailed content model info:

fdt element <elementName> [--schema <schemaPath>]

Output a table with information about all schemas:

fdt schemas [--columns package locations path]

Output a table with information about all simple types in a schema:

fdt simpletypes [--columns name variety format]

Operations

Output a table with information about all operations in a repository:

fdt operations [--columns name file label desc key ...]

Output information about a specific operation:

fdt operation <operationName>

Localization

Extract messages from packages and save them in a message bundle template:

fdt localization extract [<output>] [--paths <package1> [<package2> ...]]

Merge multiple message bundles into a single bundle:

fdt localization merge [<output>] --bundles <bundle1> <bundle2> [<bundle3> ...]

Update message bundle with a new template bundle:

fdt localization update <output> <bundle> [--output-to-stdout]

Output a table with information about all messages in a message (template) bundle:

fdt localization messages <bundle> [--search-in <search text>] [--search-out <search text>] [--search-package <search text>] [--search-file <search text>] [--with-conflicts] [--without-conflicts] [--with-out] [--without-out] [--no-table]

Editor

Create a new instance of Fonto Editor:

fdt editor init [<output>] [--name <name>] [--favicon <path>] [--schema <path>] [--addons <addonName> [<addonName> ...]] [--non-interactive] [--version <latest|acceptance|nightly>]

Upgrade an instance of Fonto Editor, and/or add or remove add-ons:

fdt editor upgrade [--addons <addonName> [<addonName> ...]] [--add-addons <addonName> [<addonName> ...]] [--remove-addons <addonName> [<addonName> ...]] [--non-interactive] [--remove-backup] [--version <latest|acceptance|nightly>]

Start a development server for running a Fonto Editor instance:

fdt editor run [--body-parser-limit <limit>] [--cache-control-disabled] [--cache-control-max-age <maxAge>] [--delay <delay>] [--disable-dist-authentication] [--dist] [--lock-not-acquired] [--lock-not-available] [--memory-store-ttl <seconds>] [--open] [--port] [--release-locks-on-state-request] [--savemode <savemode>] [--verbose]

Create a build version of a Fonto Editor instance for production usage:

fdt editor build [--no-mangle]

Compile a XSD schema to a schema format which can be used by Fonto Editor:

fdt editor schema compile [<input>] [--overwrite] [--version <latest|acceptance|nightly>]

Connectors

Initialize a Fonto Connectors instance in an empty or non-existent directory:

fdt connectors init [--location <path>] --version <version>

Run a Fonto Connectors instance with a self-signed certificate to test your configuration:

fdt connectors run [--location <path>] [--config-location <path>]

Build a Fonto Connectors docker image for production use:

fdt connectors build [--location <path>] [--image-name <image-name>] [--image-tag <image-tag>]

Upgrade an existing Fonto Connectors instance to the specified version:

fdt connectors upgrade [--location <path>] --version <version>

Download a self-contained build:

fdt connectors download-self-contained --version <version> --runtime <runtime> [--location <path>]

Content Quality

Initialize a Fonto Content Quality instance in an empty or non-existent directory:

fdt content-quality init [--location <path>] --version <version>

Run a Fonto Content Quality instance to test your configuration:

fdt content-quality run [--location <path>] [--config-location <path>] [--port]

Build a Fonto Content Quality docker image for production use:

fdt content-quality build [--location <path>] [--image-name <image-name>] [--image-tag <tag>]

Upgrade an existing Fonto Content Quality instance to the specified version:

fdt content-quality upgrade [--location <path>] --version <version>

Download a self-contained build:

fdt content-quality download-self-contained --version <version> --runtime <runtime> [--location <path>]

Document History

Download a self-contained build:

fdt document-history download-self-contained --version <version> --runtime <runtime> [--location <path>]

Review

Download a self-contained build:

fdt review download-self-contained --version <version> --runtime <runtime> [--location <path>]

Schema Compiler

Download a self-contained build:

fdt schema-compiler download-self-contained --version <version> --runtime <runtime> [--location <path>]

Spell Checker

Download a self-contained build:

fdt spell-checker download-self-contained --version <version> --runtime <runtime> [--location <path>]

Current Tags

  • 2.6.0-beta.1                                ...           beta (13 days ago)
  • 2.5.0                                ...           latest (21 days ago)

71 Versions

  • 2.6.0-beta.1                                ...           13 days ago
  • 2.5.0                                ...           21 days ago
  • 2.5.0-rc.6                                ...           22 days ago
  • 2.5.0-rc.5                                ...           22 days ago
  • 2.5.0-rc.4                                ...           23 days ago
  • 2.5.0-rc.3                                ...           a month ago
  • 2.5.0-rc.2                                ...           a month ago
  • 2.5.0-rc.1                                ...           a month ago
  • 2.5.0-beta.8                                ...           a month ago
  • 2.5.0-beta.7                                ...           2 months ago
  • 2.5.0-beta.6                                ...           2 months ago
  • 2.5.0-beta.5                                ...           2 months ago
  • 2.5.0-beta.4                                ...           2 months ago
  • 2.5.0-beta.3                                ...           2 months ago
  • 2.5.0-beta.2                                ...           3 months ago
  • 2.5.0-beta.1                                ...           3 months ago
  • 2.4.2                                ...           3 months ago
  • 2.4.1                                ...           4 months ago
  • 2.4.1-rc.1                                ...           4 months ago
  • 2.4.0                                ...           4 months ago
  • 2.4.0-rc.7                                ...           4 months ago
  • 2.4.0-rc6                                ...           4 months ago
  • 2.4.0-rc5                                ...           4 months ago
  • 2.4.0-rc4                                ...           4 months ago
  • 2.4.0-rc3                                ...           4 months ago
  • 2.4.0-rc2                                ...           4 months ago
  • 2.4.0-rc1                                ...           4 months ago
  • 2.3.1                                ...           7 months ago
  • 2.3.1-rc6                                ...           7 months ago
  • 2.3.1-rc5                                ...           7 months ago
  • 2.3.1-rc4                                ...           7 months ago
  • 2.3.1-rc3                                ...           7 months ago
  • 2.3.1-rc2                                ...           7 months ago
  • 2.3.1-rc1                                ...           7 months ago
  • 2.3.0                                ...           7 months ago
  • 2.2.0                                ...           8 months ago
  • 2.1.0                                ...           10 months ago
  • 2.1.0-rc10                                ...           10 months ago
  • 2.1.0-rc9                                ...           10 months ago
  • 2.1.0-rc8                                ...           10 months ago
  • 2.1.0-rc7                                ...           10 months ago
  • 2.1.0-rc6                                ...           10 months ago
  • 2.1.0-rc5                                ...           10 months ago
  • 2.1.0-rc4                                ...           10 months ago
  • 2.1.0-rc3                                ...           10 months ago
  • 2.1.0-rc2                                ...           10 months ago
  • 2.1.0-rc1                                ...           10 months ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-rc11                                ...           a year ago
  • 2.0.0-rc10                                ...           a year ago
  • 2.0.0-rc9                                ...           a year ago
  • 2.0.0-rc8                                ...           a year ago
  • 2.0.0-rc7                                ...           a year ago
  • 2.0.0-rc6                                ...           a year ago
  • 2.0.0-rc5                                ...           a year ago
  • 2.0.0-rc4                                ...           a year ago
  • 2.0.0-rc3                                ...           a year ago
  • 2.0.0-rc2                                ...           a year ago
  • 2.0.0-rc1                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.0                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1-rc1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 1
This Week 3
This Month 26
Last Day 0
Last Week 0
Last Month 210
Dev Dependencies (7)

Copyright 2014 - 2016 © taobao.org |