Skip to content

Loading…

Project-level introspection and unified nodes identifiers #297

Closed
wants to merge 118 commits into from

9 participants

@arikon
Block, Element, Modifier member

No description provided.

arikon and others added some commits
@arikon arikon Add util.uniq() generator of callbacks for [].reduce() bbc1e24
@arikon arikon Add ability to customize build rules more flexibly by providing Arch.…
…createCustomNode() method
967fc34
@scf2k scf2k Tests bem-bl submodule is updated to 0.2 (close #264)
- tests bem-bl updated
- tests fixed to inherit i18n.js from js-i to build files with include directives (close #265)
d2c9378
@arikon arikon js+coffee and js+coffee-i tech modules
- Add `js+coffee` and `js+coffee-i` tech modules
- Refactor `js` and `js-i` tech modules
- BundleNode: Use `js+coffee` tech instead of `js` for `BorschikNode` of `js` techs by default
- package: Depends on `coffee-script` and `borschik ~0.0.13`
- tests: Update `bem-bl 0.2` (`i18n.js` tech module)
- tests: Use `js+coffee-i` as `js` tech to build bundles
6496475
@arikon arikon Some more tuning and jsdoc 38ad9fa
@arikon arikon Fix link e6c0472
@scf2k scf2k README is splat into several files 5188ada
@arikon arikon Add level config with `md` tech for `docs/` 900f375
@arikon arikon Merge pull request #273 from bem/doc-split
`README` is splat into several files in `docs/`
0862340
@banzalik banzalik Update README.ru.md
опечатка помошью -> помощью
6e4261c
@vithar vithar Merge pull request #275 from banzalik/patch-4
Update README.ru.md
ae962ab
@arikon arikon GitLibraryNode: Fix checkout of the last commit
There was an error checking out last commit of the branch:

- checkout of repos with only one commit didn't work
- checkout of branch was touching files from the last commit, it was affecting build processes, as these files was always updated
63085e5
@arikon arikon Refactor of require() function in `.bem/make.js` files, it is now ful…
…ly context aware
627a043
@arikon arikon Refactor of require() function in declaration files, it is now fully …
…context aware
957e6ba
@arikon arikon util: Introduce `isFileValid()` and `itTimeValid()` convenient utilit…
…y functions

The are used in `bem-www` `.bem/make.js`, for example
e661144
@apsavin apsavin Docs fix: bemhtml.js -> bemhtml dd04050
@arikon arikon Merge pull request #276 from apsavin/docs-fix
Docs fix: bemhtml.js -> bemhtml
1ae120b
@arikon arikon Create node_modules/bem -> .. symlink on module install (Close #277) 3465a50
@arikon arikon Do not make symlink on Travis build run a9df6d4
@arikon arikon Merge branch 'master' into bem-www 96ad172
@arikon arikon Add .editorconfig (Close #278) 76b2e3f
@arikon arikon Add .editorconfig: order is necessary 1a71658
@arikon arikon Refactor Tech: introduce getBuildSuffixesMap() 9437f53
@arikon arikon Add match*() methods to `simple` level prototype, add tests (Close #282) f71cfdf
@arikon arikon Merge pull request #279 from bem/suffixes-map
Refactor Tech: introduce getBuildSuffixesMap()
29a56f1
@arikon arikon Merge branch 'master' into js+coffee 544b332
@arikon arikon Simplify coffee+js.js tech (Ref bem/bem-tools#279) af3b367
@arikon arikon Use latest bem-bl with updated i18n.js.js tech to reflect changes in …
…coffee+js.js tech
d7b2463
@arikon arikon Use latest xjst and ometajs to fix tests
- Small cleanup of `js+coffee.js` code
- Use updated `bem-bl`
- Canonize new reference test results
3cf8e1c
@arikon arikon Merge pull request #268 from bem/js+coffee
js+coffee and js+coffee-i tech modules
1976f0a
@arikon arikon Fix recursion error when build target name contain trailing slash (Cl…
…ose #252)
0959280
@arikon arikon Merge pull request #272 from bem/bem-www
Arch: Add ability to customize build rules more flexibly
2e67364
@arikon arikon Add `dir` tech module 5576819
@arikon arikon Merge pull request #290 from bem/dir-tech
Tech module to create directories
c083230
@vithar vithar Simple index page added 507458a
@vithar vithar markdown list markup fixed 39e951d
@arikon arikon Replace own `util.extend()` implementation with `node.extend` module 07e5874
@tadatuta tadatuta combine bem commands documentation d30c80e
@tadatuta tadatuta Doc: Update index page to fit new doc structure f11c19d
@arikon arikon Fix jsdoc in util 98cd788
@arikon arikon Slightly refactor `bem create level` command
- Move validation of level prototype logic to the `COA.Opt.val()` method
- More promisy-based code
- Code cleanup
- Updated reference legacy-tests results
03c376a
@arikon arikon Use promisy function to write level .js module fdd8a64
@arikon arikon Add ability to `bem create level` command to create level .js modules ed29eef
@arikon arikon Use coa ~0.3.6 e46ebd2
@arikon arikon Fix jsdoc of util.exec(): `options` and `resolveWithOutput` are optio…
…nal arguments
9623bdd
@arikon arikon Fix jsdoc on util.relative(): mark `dot` argument as optional 0adab98
@arikon arikon Add util.bemParseKey() function and tests dbdf857
@arikon arikon Add `.bem` and `node_modules` to `Level.isIgnorablePath()` 97e13d4
@arikon arikon Fix jsdoc of `Tech.getPath()` and `Tech.getPaths()` methods: mark `su…
…ffix` and `suffixes` arguments as optional
f3f0935
@scf2k scf2k Inspector is improved
The graph is shown collapsed when snapshot is chosen. Click a node to expand/collapse it.
8f3d80b
@narqo narqo Описал пример поключения локализационных технологий сборки 42198f5
@narqo narqo Исправил замечания из #301 f7c5a50
@narqo narqo Добавил английский вариант описания 2d30504
@narqo narqo Исправил опечатку в описании 8587ec3
@scf2k scf2k Git library checkout fixed to work with commit hashes (close #302)
Parameter branch is added to specify branch name. Use treeish to specify
commit or tag.
9b3bd6b
@tadatuta tadatuta Doc: Fix techs link bf907d7
@scf2k scf2k Magic nodes doesn't link the nodes it creates with parent magic nodes
(reference #306)
f89d799
@narqo
Block, Element, Modifier member

А этот функционал еще не планируется отправить в 0.5.x?

Block, Element, Modifier member

@narqo Я думаю, что это будет в следующих версиях (0.6.x или 0.7.x).
А тебе для чего?

Block, Element, Modifier member

@arikon Нужно для демки в project-stub перед webconf.lv, а в ветке introspect нет патчей про q

arikon and others added some commits
@arikon arikon Merge branch '0.5.x'
Conflicts:
	package.json
e7939b7
@arikon arikon Fix scripts to use q 0.8.10 3721dbb
@arikon arikon Update npm-shrinkwrap.json 6b70590
@scf2k scf2k Fixed npmPackages check (close #300) d4b6fc4
@scf2k scf2k Little code clean up 9e3a66e
@scf2k scf2k Merge pull request #298 from bem/inspector-expand
Arch inspector allows to expand and collapse nodes
47f538d
@arikon arikon Merge branch '0.5.x' 23e27bd
@arikon arikon Merge pull request #301 from bem/documentation
Описал пример поключения локализационных технологий сборки
b2aa6be
@arikon arikon Merge branch '0.5.x' af31c64
@arikon arikon Merge branch '0.5.x' a709490
@arikon arikon Use istanbul as a test coverage tool (Close #287) 235aab7
@scf2k scf2k Comment added fcda91f
@narqo narqo Fixed typo in jsdoc 3f6a77a
@scf2k scf2k SvnLibraryNode: Ability to map checkout paths to custom directories (…
…reference #311)
456dcaf
@arikon arikon Update README.md and README.ru.md 2ca9f04
@arikon arikon bem create: Support b__e_m form of declaration of BEM-entities to create 809a36d
@arikon arikon Merge pull request #319 from bem/bem-create-ids
bem create: Support b__e_m form of declaration of BEM-entities to create
9c79caa
@arikon arikon css tech: Wrong selector for modifier without value in created file c68aa09
@arikon arikon Merge pull request #321 from bem/css-mod-selector
css tech: Wrong selector for modifier without value in created file
8a1917a
@arikon arikon bem create: Allow techs specifying using dot notation (block__elem.cs…
…s,js)
0716c2e
@arikon arikon Merge pull request #322 from bem/bem-create-techs
bem create: Allow techs specifying using dot notation
875cfbd
@arikon arikon Replace link to BEM methodology a35bd2a
@arikon arikon Depends on coa ~0.3.9 5620e65
@arikon arikon Depend on q ~0.8.11 60aca60
@tadatuta tadatuta docs: fix typo e2ec296
@arikon arikon Replace Q.nbind() with Q.nfbind() f4f5669
@arikon arikon Fix bug in util.bemType(); add tests for util.bemType() 94a0933
@arikon arikon Fix util.bemParseKey() to work with multicomponent tech extension 0a32f78
@arikon arikon Refactor SvnLibraryNode to avoid copy-paste 582d88b
@arikon arikon Merge pull request #311 from bem/i311
SvnLibraryNode: Ability to map checkout paths to custom directories
8be1737
@arikon arikon A bit more cleaner formatting in BundleNode 0b59a34
@arikon arikon Merge pull request #309 from bem/merged-issue306
Magic nodes doesn't link the nodes it creates with parent magic nodes
5a223cd
@arikon arikon Broken link at bem.info for techs (bem/bem-www#36) 6df7959
@tadatuta tadatuta ie6.css tech: Don't include bundle.css 52b8a26
@narqo
Block, Element, Modifier member
scf2k and others added some commits
@scf2k scf2k Refer correct npm version in the documentation. 3e40c3f
@scf2k scf2k Backport 0.5.x into dev
Conflicts:
	npm-shrinkwrap.json
	package.json
ad8fffc
@eprev eprev Fixed target for coverage eff483b
@scf2k scf2k Fix for bem server on windows (reference #211)
Conflicts:
	npm-shrinkwrap.json
5d3c94c
@scf2k scf2k Part of the default-arch is moved to standalone node (SeedNode) (close
…#87)

Libraries utilize the same build initialization as project - it's possible to build blocks levels within libraries (close #52)
8521793
@scf2k scf2k Merge branch 'i-87' into dev
Part of the default-arch is moved to standalone node (SeedNode) (close #87)
Libraries utilize the same build initialization as project - it's possible to build blocks levels within libraries (close #52)
7ef7eb3
@scf2k scf2k MergedBundle improvements
MergedBundle allows to override the list of the bundles to use.
The tech to merge (bemdecl.js, deps.js) can be overridden.
15d48dc
@scf2k scf2k Merge branch 'merged-bundle' into dev
MergedBundle allows to override the list of the bundles to use.
The tech to merge (bemdecl.js, deps.js) can be overridden.
26549bf
@tadatuta tadatuta Documentation: Update installation instructions 7d1bcec
@scf2k scf2k Merge pull request #351 from bem/docInstallationUpdate
Documentation: Update installation instructions
ea482fd
@eprev eprev Ability to specify source techs for BundlesLevelNode d757655
@eprev eprev Sync with bem:custom-bundle-source ebe9784
@eprev eprev Fixed function call e4bd20c
@eprev eprev jsdoc 3b7951a
@scf2k scf2k Merge pull request #349 from eprev/source-techs
Add method to BundlesLevelNode to specify source techs for bundles
4c32df3
@narqo narqo A typo in logging message 2332a79
@arikon arikon Merge branch 'typo' into dev 7ca1e29
@arikon arikon bem create: Ability to customize default techs list based on BEM-entity 078a3c4
@arikon arikon Merge branch 'bem-create-techs' into dev 3bd3bb1
@veged veged Merge pull request #347 from eprev/patch-1
Fixed target for coverage
a1cbfb8
@scf2k scf2k deps.js: don't swallow parsing errors 9b15506
@arikon arikon Add Level.matchPath() method to recursively match fs paths to array o…
…f BEM-entity objects; add path.split() helper function
7ee8225
@arikon arikon Level.createIntrospector(): add `stopFilter` callback to `opts`, `cre…
…ator` callback now receive `path` as a 3rd argument
3ebc585
@arikon arikon Add `util.serializeBemPath()` and `util.deserializeBemPath()` methods 8132fdf
@arikon arikon Add Level.resolveBemPath() and Level.resolveBemRelPath() methods and …
…a basic test for Level.resolveBemRelPath()
beabaa8
@arikon arikon Add a NOTE to Level.resolveBemPath() 1b53d33
@scf2k scf2k matchPath() fixed to stop recursion when nextPath is empty 08a6b5a
@arikon arikon closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 26, 2012
  1. @arikon
  2. @arikon

    Add ability to customize build rules more flexibly by providing Arch.…

    arikon committed
    …createCustomNode() method
Commits on Sep 27, 2012
  1. @scf2k

    Tests bem-bl submodule is updated to 0.2 (close #264)

    scf2k committed
    - tests bem-bl updated
    - tests fixed to inherit i18n.js from js-i to build files with include directives (close #265)
  2. @arikon

    js+coffee and js+coffee-i tech modules

    arikon committed
    - Add `js+coffee` and `js+coffee-i` tech modules
    - Refactor `js` and `js-i` tech modules
    - BundleNode: Use `js+coffee` tech instead of `js` for `BorschikNode` of `js` techs by default
    - package: Depends on `coffee-script` and `borschik ~0.0.13`
    - tests: Update `bem-bl 0.2` (`i18n.js` tech module)
    - tests: Use `js+coffee-i` as `js` tech to build bundles
Commits on Sep 29, 2012
  1. @arikon

    Some more tuning and jsdoc

    arikon committed
Commits on Oct 3, 2012
  1. @arikon

    Fix link

    arikon committed
  2. @scf2k
  3. @arikon
  4. @arikon

    Merge pull request #273 from bem/doc-split

    arikon committed
    `README` is splat into several files in `docs/`
Commits on Oct 5, 2012
  1. @banzalik

    Update README.ru.md

    banzalik committed
    опечатка помошью -> помощью
  2. @vithar

    Merge pull request #275 from banzalik/patch-4

    vithar committed
    Update README.ru.md
Commits on Oct 6, 2012
  1. @arikon

    GitLibraryNode: Fix checkout of the last commit

    arikon committed
    There was an error checking out last commit of the branch:
    
    - checkout of repos with only one commit didn't work
    - checkout of branch was touching files from the last commit, it was affecting build processes, as these files was always updated
  2. @arikon
  3. @arikon
  4. @arikon

    util: Introduce `isFileValid()` and `itTimeValid()` convenient utilit…

    arikon committed
    …y functions
    
    The are used in `bem-www` `.bem/make.js`, for example
Commits on Oct 7, 2012
  1. @apsavin
Commits on Oct 8, 2012
  1. @arikon

    Merge pull request #276 from apsavin/docs-fix

    arikon committed
    Docs fix: bemhtml.js -> bemhtml
  2. @arikon
Commits on Oct 9, 2012
  1. @arikon
  2. @arikon
Commits on Oct 15, 2012
  1. @arikon

    Add .editorconfig (Close #278)

    arikon committed
  2. @arikon
  3. @arikon
  4. @arikon
Commits on Oct 16, 2012
  1. @arikon

    Merge pull request #279 from bem/suffixes-map

    arikon committed
    Refactor Tech: introduce getBuildSuffixesMap()
  2. @arikon
  3. @arikon
  4. @arikon
  5. @arikon

    Use latest xjst and ometajs to fix tests

    arikon committed
    - Small cleanup of `js+coffee.js` code
    - Use updated `bem-bl`
    - Canonize new reference test results
  6. @arikon

    Merge pull request #268 from bem/js+coffee

    arikon committed
    js+coffee and js+coffee-i tech modules
  7. @arikon
Commits on Oct 17, 2012
  1. @arikon

    Merge pull request #272 from bem/bem-www

    arikon committed
    Arch: Add ability to customize build rules more flexibly
  2. @arikon

    Add `dir` tech module

    arikon committed
  3. @arikon

    Merge pull request #290 from bem/dir-tech

    arikon committed
    Tech module to create directories
  4. @vithar

    Simple index page added

    vithar committed
  5. @vithar

    markdown list markup fixed

    vithar committed
Commits on Oct 19, 2012
  1. @arikon
  2. @tadatuta
  3. @tadatuta
  4. @arikon

    Fix jsdoc in util

    arikon committed
  5. @arikon

    Slightly refactor `bem create level` command

    arikon committed
    - Move validation of level prototype logic to the `COA.Opt.val()` method
    - More promisy-based code
    - Code cleanup
    - Updated reference legacy-tests results
  6. @arikon
  7. @arikon
Commits on Oct 20, 2012
  1. @arikon

    Use coa ~0.3.6

    arikon committed
  2. @arikon
  3. @arikon
Commits on Oct 24, 2012
  1. @arikon
Commits on Oct 26, 2012
  1. @arikon
  2. @arikon

    Fix jsdoc of `Tech.getPath()` and `Tech.getPaths()` methods: mark `su…

    arikon committed
    …ffix` and `suffixes` arguments as optional
Commits on Oct 30, 2012
  1. @scf2k

    Inspector is improved

    scf2k committed
    The graph is shown collapsed when snapshot is chosen. Click a node to expand/collapse it.
Commits on Nov 2, 2012
  1. @narqo
  2. @narqo
  3. @narqo
  4. @narqo
Commits on Nov 5, 2012
  1. @scf2k

    Git library checkout fixed to work with commit hashes (close #302)

    scf2k committed
    Parameter branch is added to specify branch name. Use treeish to specify
    commit or tag.
Commits on Nov 7, 2012
  1. @tadatuta

    Doc: Fix techs link

    tadatuta committed
  2. @scf2k
Commits on Nov 8, 2012
  1. @arikon

    Merge branch '0.5.x'

    arikon committed
    Conflicts:
    	package.json
  2. @arikon

    Fix scripts to use q 0.8.10

    arikon committed
  3. @arikon

    Update npm-shrinkwrap.json

    arikon committed
  4. @scf2k
  5. @scf2k

    Little code clean up

    scf2k committed
  6. @scf2k

    Merge pull request #298 from bem/inspector-expand

    scf2k committed
    Arch inspector allows to expand and collapse nodes
  7. @arikon

    Merge branch '0.5.x'

    arikon committed
Commits on Nov 12, 2012
  1. @arikon

    Merge pull request #301 from bem/documentation

    arikon committed
    Описал пример поключения локализационных технологий сборки
  2. @arikon

    Merge branch '0.5.x'

    arikon committed
  3. @arikon

    Merge branch '0.5.x'

    arikon committed
Commits on Nov 13, 2012
  1. @arikon
Commits on Nov 15, 2012
  1. @scf2k

    Comment added

    scf2k committed
  2. @narqo

    Fixed typo in jsdoc

    narqo committed
Commits on Nov 19, 2012
  1. @scf2k
Commits on Nov 21, 2012
  1. @arikon
Commits on Nov 29, 2012
  1. @arikon
  2. @arikon

    Merge pull request #319 from bem/bem-create-ids

    arikon committed
    bem create: Support b__e_m form of declaration of BEM-entities to create
  3. @arikon
Commits on Nov 30, 2012
  1. @arikon

    Merge pull request #321 from bem/css-mod-selector

    arikon committed
    css tech: Wrong selector for modifier without value in created file
  2. @arikon
  3. @arikon

    Merge pull request #322 from bem/bem-create-techs

    arikon committed
    bem create: Allow techs specifying using dot notation
  4. @arikon
Commits on Dec 2, 2012
  1. @arikon

    Depends on coa ~0.3.9

    arikon committed
  2. @arikon

    Depend on q ~0.8.11

    arikon committed
Commits on Dec 3, 2012
  1. @tadatuta

    docs: fix typo

    tadatuta committed
  2. @arikon
  3. @arikon
Commits on Dec 4, 2012
  1. @arikon
Commits on Dec 15, 2012
  1. @arikon
  2. @arikon

    Merge pull request #311 from bem/i311

    arikon committed
    SvnLibraryNode: Ability to map checkout paths to custom directories
  3. @arikon
  4. @arikon

    Merge pull request #309 from bem/merged-issue306

    arikon committed
    Magic nodes doesn't link the nodes it creates with parent magic nodes
Commits on Dec 23, 2012
  1. @arikon
Commits on Dec 29, 2012
  1. @tadatuta
Commits on Jan 10, 2013
  1. @scf2k
Commits on Feb 5, 2013
  1. @scf2k

    Backport 0.5.x into dev

    scf2k committed
    Conflicts:
    	npm-shrinkwrap.json
    	package.json
Commits on Feb 14, 2013
  1. @eprev

    Fixed target for coverage

    eprev committed
  2. @scf2k

    Fix for bem server on windows (reference #211)

    scf2k committed
    Conflicts:
    	npm-shrinkwrap.json
  3. @scf2k

    Part of the default-arch is moved to standalone node (SeedNode) (close

    scf2k committed
    …#87)
    
    Libraries utilize the same build initialization as project - it's possible to build blocks levels within libraries (close #52)
  4. @scf2k

    Merge branch 'i-87' into dev

    scf2k committed
    Part of the default-arch is moved to standalone node (SeedNode) (close #87)
    Libraries utilize the same build initialization as project - it's possible to build blocks levels within libraries (close #52)
  5. @scf2k

    MergedBundle improvements

    scf2k committed
    MergedBundle allows to override the list of the bundles to use.
    The tech to merge (bemdecl.js, deps.js) can be overridden.
  6. @scf2k

    Merge branch 'merged-bundle' into dev

    scf2k committed
    MergedBundle allows to override the list of the bundles to use.
    The tech to merge (bemdecl.js, deps.js) can be overridden.
Commits on Feb 18, 2013
  1. @tadatuta
  2. @scf2k

    Merge pull request #351 from bem/docInstallationUpdate

    scf2k committed
    Documentation: Update installation instructions
Commits on Feb 19, 2013
  1. @eprev
  2. @eprev

    Sync with bem:custom-bundle-source

    eprev committed
  3. @eprev

    Fixed function call

    eprev committed
  4. @eprev

    jsdoc

    eprev committed
  5. @scf2k

    Merge pull request #349 from eprev/source-techs

    scf2k committed
    Add method to BundlesLevelNode to specify source techs for bundles
Commits on Feb 26, 2013
  1. @narqo @arikon

    A typo in logging message

    narqo committed with arikon
Commits on Feb 27, 2013
  1. @arikon

    Merge branch 'typo' into dev

    arikon committed
  2. @arikon
  3. @arikon
  4. @veged

    Merge pull request #347 from eprev/patch-1

    veged committed
    Fixed target for coverage
Commits on Mar 1, 2013
  1. @scf2k
Commits on Apr 2, 2013
  1. @arikon

    Add Level.matchPath() method to recursively match fs paths to array o…

    arikon committed
    …f BEM-entity objects; add path.split() helper function
  2. @arikon

    Level.createIntrospector(): add `stopFilter` callback to `opts`, `cre…

    arikon committed
    …ator` callback now receive `path` as a 3rd argument
  3. @arikon
  4. @arikon

    Add Level.resolveBemPath() and Level.resolveBemRelPath() methods and …

    arikon committed
    …a basic test for Level.resolveBemRelPath()
  5. @arikon
  6. @scf2k @arikon
Something went wrong with that request. Please try again.