Andrew Abramov

Results 57 issues of Andrew Abramov

This package should provide namespace instead of function. **Now:** ``` js const walk = require('bem-walk'); walk('path/to/level', opts); ``` **Need:** ``` js const walk = require('bem-walk'); walk.files('path/to/level', opts); ``` It's necessary...

I think we should leave only flex scheme (#18) in this package. - [ ] `bem-walk-nested-scheme` - [ ] `bem-walk-flat-scheme` - [ ] `bem-walk-flex-scheme` Scheme package should provide `walk` and...

priority:low
ready

`flex` scheme should support all states between `flat` and `nested`. ``` sh # original `flat` blocks/ ├── block.tech ├── block_mod.tech ├── block__elem.tech └── block__elem_mod.tech # blocks are divided into dirs...

priority:low
ready

Now we can get info about files that relate to entity parts. But we don't know anything about other files. **Example:** ``` blocks/ button/ button.css # file relate to button...

**Example:** ``` button/ __text/ button__text.css button__text.js ``` We can only test that stem (basename without extension) of the `button__text.css` file matches on `button` dirname. ``` js const stem = getStem('button__text.css');...

I think we can slightly speed up scanning if will cache parsing of file stem (basename without extension) for the same entity part. **Example:** ``` button/ __text/ button__text.examples/ button__text.tmpl-specs/ button__text.gemini-bundles/...

docs
prio:low
backlog