Skip to content

Releases: f0rmat1k/bemy

CLI simplification

22 Mar 11:23
Compare
Choose a tag to compare

-f is no more required. Now by default used current directory;
— Bemy isn't require -t and -p for Create task.

Examples:

bemy

runs autotask by current directory and creates node file (by default is css).

bemy c j

runs Create by current directory and creates css and js files.

Important note: you should set file types before single keys, e.g. bemy j c -o -g.
Or so:

bemy -f some-block j c -o -g

Webstorm external tools is requiered to set -f.

Task of renaming

21 Mar 19:10
Compare
Choose a tag to compare

It's a major release.
— [new] task of renaming;
— [changed] new config.json format. If you using own config you should rewrite it;
— improved custom files support;
— bugfix.

See readme and config.json for details.

Custom separators and more

19 Mar 09:34
Compare
Choose a tag to compare

— now you can set own BEM separators (by default '__' and '_' ). See bem section at config.json;
— bugfix. Added more tests;
— new template placeholder {{cursor}} (see more at readme);
— new key -o and relevant config section editor-open-command (see more at readme);
— added english description;
— shortcut for bemy. So now call bemy with just bemy command. Don't forget install with -g.

Auto-openning created files in your editor

12 Mar 12:16
Compare
Choose a tag to compare

Added new option -o, which execute 'open editor' command;
Command forming from two parts: 1. command from config.json, key editor-open-command (default value is webstorm macOS opener – /Applications/WebStorm.app/Contents/MacOS/webide) + 2. file path.

Default command will /Applications/WebStorm.app/Contents/MacOS/webide path/to/last/created/file.css.

1.3.1

05 Mar 07:48
Compare
Choose a tag to compare

ru
— Возможность указывать в качестве пути задачи создания файлы. Таким образом, если, например, при создании js-файла целью является somePath/block.css, то js файлы появится рядом: somePath/block.js.
— Покрыта тестами некоторая часть функциональности
— Корректная работа с deps-файлами элементов.

en
— Possibility to set files path for create task (not only folders now). So if path is somePath/block.css and selected js-file, js file will be created next to block.css: somePath/block.js;
— Correct working with elems deps files;
— Added test for some important functionality;