Skip to content

destringify 1.1.0

Install from the command line:
Learn more about npm packages
$ npm install @we-make-websites/destringify@1.1.0
Install via package.json:
"@we-make-websites/destringify": "1.1.0"

About this version

🧡 Destringify

Destringify is a CLI tool for converting Dawn section setting locale strings into plain strings.

It expects the Dawn-based project to be in the same root folder as the Brush/Destringify repo.

Unlike other Brush packages, Destringify is not published to npm as Dawn projects do not come with a package.json file.

πŸ‘©β€πŸ’» Usage

  1. Clone down the Brush repo
  2. Navigate to the brush/destringify/ folder in terminal
  3. Run yarn install
  4. Run yarn destringify and follow the prompts
  5. Converted schema is exported to brush/destringify/dist/

Flags

  • --path=[path/to/root] - By default the tool looks in '../../' to build a list of project folders, use this flag to append a path onto '../../'
  • --all-sections - Convert all sections settings at once instead of a single section
  • --project=[project-folder] - Skip project folder question by providing project name
  • --section=[section-handle] - Skip section question by providing section handle
  • --language=[language-prefix] - By default Destringify uses en.default.schema.json, use this flag to use another language

πŸ“… Changelog

See CHANGELOG.md for a history of changes.

🀝 Contribution

Before making any updates to Destringify please talk to Craig Baldwin (craig@wemakewebsites.com)

Once any work is completed send a pull request to Craig for review.

Details


Assets

  • destringify-1.1.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all