@fontoxml/fontoxml-development-tools
Development tools for FontoXML.
Last updated 2 months 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 development tools for FontoXML are command-line tools which offer support for developers when configuring FontoXML Editor instances and their complementary apps, and facilitate running them locally for testing purposes. They act as a gateway to the FontoXML SDK and can be used for creating and updating editor instances, and preparing XML schemas for use with FontoXML.

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 FontoXML 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 FontoXML 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 a FontoXML Editor:

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

Upgrade an instance of a FontoXML Editor, and/or add or remove addons:

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 FontoXML Editor:

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 FontoXML Editor for production usage:

fdt editor build [--no-mangle]

Compile a XSD schema to a schema format which can be used by a FontoXML editor:

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

Connectors

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

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

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

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

Build a connectors docker image for production use:

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

Upgrade an existing FontoXML 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 Content Quality App instance in an empty or non-existent directory:

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

Run a Content Quality App instance to test your configuration:

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

Build a FontoXML Content Quality App docker image for production use:

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

Upgrade an existing FontoXML Content Quality App 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>]

Current Tags

  • 2.5.0-beta.5                                ...           beta (7 hours ago)
  • 2.4.2                                ...           latest (2 months ago)

60 Versions

  • 2.5.0-beta.5                                ...           7 hours ago
  • 2.5.0-beta.4                                ...           a day ago
  • 2.5.0-beta.3                                ...           4 days ago
  • 2.5.0-beta.2                                ...           a month ago
  • 2.5.0-beta.1                                ...           a month ago
  • 2.4.2                                ...           2 months ago
  • 2.4.1                                ...           2 months ago
  • 2.4.1-rc.1                                ...           2 months ago
  • 2.4.0                                ...           2 months ago
  • 2.4.0-rc.7                                ...           2 months ago
  • 2.4.0-rc6                                ...           2 months ago
  • 2.4.0-rc5                                ...           2 months ago
  • 2.4.0-rc4                                ...           2 months ago
  • 2.4.0-rc3                                ...           2 months ago
  • 2.4.0-rc2                                ...           2 months ago
  • 2.4.0-rc1                                ...           2 months ago
  • 2.3.1                                ...           5 months ago
  • 2.3.1-rc6                                ...           5 months ago
  • 2.3.1-rc5                                ...           5 months ago
  • 2.3.1-rc4                                ...           5 months ago
  • 2.3.1-rc3                                ...           5 months ago
  • 2.3.1-rc2                                ...           5 months ago
  • 2.3.1-rc1                                ...           5 months ago
  • 2.3.0                                ...           5 months ago
  • 2.2.0                                ...           6 months ago
  • 2.1.0                                ...           8 months ago
  • 2.1.0-rc10                                ...           8 months ago
  • 2.1.0-rc9                                ...           8 months ago
  • 2.1.0-rc8                                ...           8 months ago
  • 2.1.0-rc7                                ...           8 months ago
  • 2.1.0-rc6                                ...           8 months ago
  • 2.1.0-rc5                                ...           8 months ago
  • 2.1.0-rc4                                ...           8 months ago
  • 2.1.0-rc3                                ...           8 months ago
  • 2.1.0-rc2                                ...           8 months ago
  • 2.1.0-rc1                                ...           9 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                                ...           a year 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                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 18
This Week 38
This Month 61
Last Day 20
Last Week 23
Last Month 171
Dev Dependencies (6)

Copyright 2014 - 2016 © taobao.org |