destringify 1.0.0-beta.0
Install from the command line:
Learn more about npm packages
$ npm install @we-make-websites/destringify@1.0.0-beta.0
Install via package.json:
"@we-make-websites/destringify": "1.0.0-beta.0"
About this version
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.
- Clone down the Brush repo
- Navigate to the brush/destringify/ folder in terminal
- Run
yarn install
- Run
yarn destringify
and follow the prompts - Converted schema is exported to brush/destringify/dist/
-
--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
See CHANGELOG.md for a history of changes.
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
- destringify
- we-make-websites
- about 1 year ago
- MIT
- 6 dependencies
Assets
- destringify-1.0.0-beta.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0