Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,12 @@ jobs:
keys:
- v2-dependencies-web-{{ checksum "omega-web/package.json" }}
- v2-dependencies-web
- restore_cache:
keys:
- v2-dependencies-webbower-{{ checksum "omega-web/bower.json" }}
- v2-dependencies-webbower
- restore_cache:
keys:
- v2-dependencies-targetchromium-{{ checksum "omega-target-chromium-extension/package.json" }}
- v2-dependencies-targetchromium

- run: sudo npm install -g grunt-cli@1.2.0 bower web-ext json
- run: sudo npm install -g grunt-cli@1.2.0 yarn web-ext json
- run: (cd omega-build && npm run deps)

- save_cache:
Expand All @@ -49,10 +45,6 @@ jobs:
paths:
- omega-web/node_modules
key: v2-dependencies-web-{{ checksum "omega-web/package.json" }}
- save_cache:
paths:
- omega-web/bower_components
key: v2-dependencies-webbower-{{ checksum "omega-web/bower.json" }}
- save_cache:
paths:
- omega-target-chromium-extension/node_modules
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules
bower_components
node_modules
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ To build the project:

# Install node and npm first (make sure npm --version > 2.0), then:

sudo npm install -g grunt-cli@1.2.0 bower
sudo npm install -g grunt-cli@1.2.0 yarn
# In the project folder:
cd omega-build
npm run deps # This runs npm install in every module.
Expand Down
2 changes: 1 addition & 1 deletion omega-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"grunt-hub": "^0.7.0"
},
"scripts": {
"deps": "npm install && (cd ../omega-pac && npm install) && (cd ../omega-target && npm install) && (cd ../omega-web && npm install && bower install) && (cd ../omega-target-chromium-extension/ && npm install)",
"deps": "npm install && (cd ../omega-pac && npm install) && (cd ../omega-target && npm install) && (cd ../omega-web && yarn) && (cd ../omega-target-chromium-extension/ && npm install)",
"dev": "(cd ../omega-pac && npm run dev) && (cd ../omega-target && npm run dev) && (cd ../omega-web && npm run dev) && (cd ../omega-target-chromium-extension/ && npm run dev)"
}
}
132 changes: 0 additions & 132 deletions omega-web/bower.json

This file was deleted.

3 changes: 2 additions & 1 deletion omega-web/grunt/aliases.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports =
'autoprefixer'
'coffeelint'
'coffee'
'bower'
'npmBower'
]
npm: ['npmBower']
test: ['mochaTest']
6 changes: 0 additions & 6 deletions omega-web/grunt/bower.coffee

This file was deleted.

5 changes: 5 additions & 0 deletions omega-web/grunt/npmBower.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports =
options:
cleanTargetDir: true
targetDir: 'build/lib'
verbose: true
119 changes: 117 additions & 2 deletions omega-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"coffeelint": "^1.16.0",
"grunt": "^0.4.5",
"grunt-autoprefixer": "^1.0.1",
"grunt-bower-task": "^0.5.0",
"grunt-coffeelint": "^0.0.13",
"grunt-contrib-coffee": "^0.11.1",
"grunt-contrib-concat": "^0.5.0",
Expand All @@ -17,10 +16,126 @@
"grunt-contrib-watch": "^0.6.1",
"grunt-mocha-test": "~0.11.0",
"grunt-ng-annotate": "^0.3.2",
"grunt-npm-bower": "0.0.4",
"load-grunt-config": "^0.13.1",
"omega-pac": "../omega-pac"
},
"scripts": {
"dev": "npm link omega-pac && npm link"
"dev": "npm link omega-pac && npm link",
"postinstall": "node -e \"try { require('fs').symlinkSync(require('path').resolve('node_modules/@bower_components'), 'bower_components', 'junction') } catch (e) { }\""
},
"dependencies": {
"@bower_components/angular": "angular/bower-angular#1.7.6",
"@bower_components/angular-animate": "angular/bower-angular-animate#~1.7.2",
"@bower_components/angular-bootstrap": "angular-ui/bootstrap-bower#~2.5.0",
"@bower_components/angular-i18n": "angular/bower-angular-i18n#~1.7.2",
"@bower_components/angular-ladda": "remotty/angular-ladda#~0.4.3",
"@bower_components/angular-loader": "angular/bower-angular-loader#~1.7.2",
"@bower_components/angular-sanitize": "angular/bower-angular-sanitize#~1.7.2",
"@bower_components/angular-spectrum-colorpicker": "Jimdo/angular-spectrum-colorpicker#~1.3.5",
"@bower_components/angular-ui-router": "angular-ui/angular-ui-router-bower#~1.0.20",
"@bower_components/angular-ui-sortable": "angular-ui/ui-sortable#~0.19.0",
"@bower_components/angular-ui-utils": "angular-ui/ui-utils#bower-validate",
"@bower_components/blob": "eligrey/Blob.js#*",
"@bower_components/bootstrap": "twbs/bootstrap#~3.4.0",
"@bower_components/FileSaver": "eligrey/FileSaver.js#~2.0.0",
"@bower_components/jquery": "jquery/jquery-dist#1.9.1 - 3",
"@bower_components/jquery-ui": "components/jqueryui#>=1.8",
"@bower_components/jqueryui-touch-punch": "furf/jquery-ui-touch-punch#*",
"@bower_components/jsondiffpatch": "benjamine/JsonDiffPatch#~0.3.11",
"@bower_components/ladda": "hakimel/Ladda#>=0.9.8",
"@bower_components/ngprogress": "VictorBjelkholm/ngProgress#~1.1.3",
"@bower_components/script.js": "ded/script.js#~2.5.3",
"@bower_components/shepherd.js": "HubSpot/shepherd#~2.3.2",
"@bower_components/spectrum": "bgrins/spectrum#1.6.0",
"@bower_components/spin.js": "fgnass/spin.js#~2.0.2",
"@bower_components/tether": "HubSpot/tether#~0.6.5"
},
"engines": {
"yarn": ">= 1.0.0"
},
"exportsOverride": {
"@bower_components/script.js": {
"": "dist/*.min.js"
},
"@bower_components/jquery": {
"": "dist/jquery.min.js"
},
"@bower_components/jquery-ui": {
"": []
},
"@bower_components/jqueryui-touch-punch": {
"": "jquery.ui.touch-punch.min.js"
},
"@bower_components/angular": {
"": "angular.min.js"
},
"@bower_components/angular-animate": {
"": "*.min.js"
},
"@bower_components/angular-bootstrap": {
"": "ui-bootstrap-tpls.min.js"
},
"@bower_components/angular-i18n": {
"": [
"angular-locale_en-us.js",
"angular-locale_zh-cn.js",
"angular-locale_zh-hk.js",
"angular-locale_zh-tw.js"
]
},
"@bower_components/angular-loader": {
"": "*.min.js"
},
"@bower_components/angular-sanitize": {
"": "*.min.js"
},
"@bower_components/angular-spectrum-colorpicker": {
"": "dist/*.min.js"
},
"@bower_components/angular-ui-router": {
"": "release/*.min.js"
},
"@bower_components/angular-ui-sortable": {
"": "*.min.js"
},
"@bower_components/angular-ui-utils": {
"": "*.min.js"
},
"@bower_components/bootstrap": {
"css": "dist/css/bootstrap.min.css",
"fonts": "dist/fonts/*",
"js": "js/dropdown.*"
},
"@bower_components/ngprogress": {
"": "build/*.min.js"
},
"@bower_components/jsondiffpatch": {
"": "public/build/jsondiffpatch.min.js"
},
"@bower_components/shepherd.js": {
"": [
"*.min.js",
"css/shepherd-theme-arrows.css"
]
},
"@bower_components/spectrum": {
"": [
"*.js",
"*.css"
]
},
"@bower_components/FileSaver": {
"": "*.min.js"
},
"@bower_components/blob": {
"": "*.js"
},
"@bower_components/ladda": {
"": [
"dist/ladda-themeless.min.css",
"dist/ladda.min.js"
]
}
}
}