Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

0.6.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@arikon arikon released this 04 Jul 19:15
· 392 commits to support/0.10.x since this release
  • bem: Add bem bench command see docs
    (in russian) for more info

  • bem: Add ability to create level prototypes (js files) using bem create level command. See example:

    bem create level -l simple .bem/levels/docs.js
    
  • bem: Add project tech and project level prototype:

    This command will create my project:

    bem create -b my -T project
    
    my/
    ├── .bem/
    |   ├── levels/
    |   |   ├── blocks.js
    |   |   ├── bundles.js
    |   |   ├── docs.js
    |   |   ├── examples.js
    |   |   └── tech-docs.js
    |   ├── techs/
    |   └── level.js
    └── node_modules/
        ├── .bin/
        |   └── bem -> symplink/to/globally/installed/bem (executable)
        └── bem/ -> symplink/to/globally/installed/bem (module)
    
  • bem: Add docs tech and docs level prototype.

    This command will create new level based on docs:

    bem create level -l docs docs
    
    docs/
    └── .bem/
        └── level.js
    

    This command will create docs tech for block button:

    bem create -b button -T docs
    
    button/
    ├── button.docs/
    |   └── .bem/
    |       └── level.js
    └── ...
    
  • bem: Add tech-docs tech and tech-docs level prototype.

  • API: Introduce util.findLevel(path, [types]) function