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

Commit

Permalink
Migrate to the bem-core library
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Konev committed Jun 16, 2015
1 parent 82170af commit c078b54
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bemongo-stub",
"version": "0.0.1",
"version": "0.0.2",
"description": "The test project on b_ with priv.js",
"author": "@evilj0e",
"email": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bemongo-stub",
"version": "0.0.1",
"version": "0.0.2",
"description": "The test project on b_ with priv.js",
"author": "@evilj0e",
"email": "[email protected]",
Expand Down
7 changes: 3 additions & 4 deletions static/.enb/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ module.exports = function(config) {
config.nodeMask(/desktop.bundles\/.*/, function(nodeConfig) {
function getLevels() {
return [
{"path":"vendors/bem-bl/blocks-common","check":false},
{"path":"vendors/bem-bl/blocks-desktop","check":false},
{"path":"vendors/bem-core/common.blocks","check":false},
{"path":"vendors/bem-core/desktop.blocks","check":false},

{"path":"vendors/bem-components/common.blocks","check":false},
{"path":"vendors/bem-components/desktop.blocks","check":false},
Expand All @@ -58,7 +58,6 @@ module.exports = function(config) {
[ require("enb/techs/file-provider"), { target: "?.bemdecl.js" } ],
require("enb/techs/deps-old"),
require("enb/techs/files"),
[ require('enb-xjst/techs/bemhtml'), { devMode: false } ],
[ require("./enb/techs/priv-i18n"), { lang: "{lang}" } ],
[ require("enb/techs/i18n-merge-keysets"), { lang: "all" }],
[ require("enb/techs/i18n-merge-keysets"), { lang: "{lang}" }],
Expand All @@ -72,6 +71,6 @@ module.exports = function(config) {
[ require("enb/techs/css-ie8"), { sourceSuffixes: ['css', 'ie.css', 'ie8.css'] }],
[ require("enb/techs/css-ie9"), { sourceSuffixes: ['css', 'ie9.css'] }]
]);
nodeConfig.addTargets(["_?.{lang}.js", "?.priv.js", "?.priv.{lang}.js", "?.bemhtml.js", "_?.css", "_?.ie6.css", "_?.ie7.css", "_?.ie8.css", "_?.ie9.css"]);
nodeConfig.addTargets(["_?.{lang}.js", "?.priv.js", "?.priv.{lang}.js", "_?.css", "_?.ie6.css", "_?.ie7.css", "_?.ie8.css", "_?.ie9.css"]);
});
};
4 changes: 2 additions & 2 deletions static/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "static",
"version": "0.0.1",
"version": "0.0.2",
"ignore": [
"**/.*",
"node_modules",
Expand All @@ -10,7 +10,7 @@
"tests"
],
"dependencies": {
"bem-bl": "git://github.com/bem/bem-bl.git",
"bem-core": "git://github.com/bem/bem-core.git",
"bem-components": "git://github.com/bem/bem-components.git"
}
}
1 change: 0 additions & 1 deletion static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"author": "Anton Konev <[email protected]>",
"dependencies": {
"enb": "~0.15.0",
"enb-xjst": "~1.2.0",
"bower": "~1.4.1",
"vow": "~0.4.9",
"vow-fs": "~0.3.4"
Expand Down

0 comments on commit c078b54

Please sign in to comment.