deps: drop bower

This commit is contained in:
Jeldrik Hanschke 2019-01-03 01:08:35 +01:00 committed by jelhan
parent 96f1990542
commit dad9fbddf0
6 changed files with 55 additions and 1103 deletions

View file

@ -28,12 +28,10 @@ before_install:
# provide yarn and bower if ember build is tested # provide yarn and bower if ember build is tested
- if $TEST_EMBER || $TEST_SAUCE; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi - if $TEST_EMBER || $TEST_SAUCE; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi
- if $TEST_EMBER || $TEST_SAUCE; then export PATH=$HOME/.yarn/bin:$PATH; fi - if $TEST_EMBER || $TEST_SAUCE; then export PATH=$HOME/.yarn/bin:$PATH; fi
- if $TEST_EMBER || $TEST_SAUCE; then yarn global add bower; fi
install: install:
# install dependencies for client # install dependencies for client
- if $TEST_EMBER || $TEST_SAUCE; then yarn install --no-interactive; fi - if $TEST_EMBER || $TEST_SAUCE; then yarn install --no-interactive; fi
- if $TEST_EMBER || $TEST_SAUCE; then bower install; fi
# install dependencies for api # install dependencies for api
- if $TEST_API; then cd api/ && composer install && cd ..; fi - if $TEST_API; then cd api/ && composer install && cd ..; fi

View file

@ -33,13 +33,12 @@ Due to security reasons you should have SSL encryption enabled and provide a val
Production builds are provided as github [release assets](https://github.com/jelhan/croodle/releases). Production builds are provided as github [release assets](https://github.com/jelhan/croodle/releases).
If you like to build yourself you have to install [yarn](https://yarnpkg.com/), [bower](http://bower.io/), [ember-cli](http://www.ember-cli.com/) and [composer](https://getcomposer.org/) before. If you like to build yourself you have to install [yarn](https://yarnpkg.com/), [ember-cli](http://www.ember-cli.com/) and [composer](https://getcomposer.org/) before.
```shell ```shell
git clone git@github.com:jelhan/croodle.git git clone git@github.com:jelhan/croodle.git
cd croodle cd croodle
yarn install yarn install
bower install
cd api/ && composer install --no-dev && cd .. cd api/ && composer install --no-dev && cd ..
ember build --prod ember build --prod
``` ```

View file

@ -1,7 +0,0 @@
{
"name": "croodle",
"dependencies": {
"sjcl": "~1.0.6",
"floatThead": "^1.4.3"
}
}

View file

@ -7,6 +7,9 @@ module.exports = function(defaults) {
'buildInfoOptions': { 'buildInfoOptions': {
'metaTemplate': 'version={SEMVER}' 'metaTemplate': 'version={SEMVER}'
}, },
'ember-auto-import': {
forbidEval: true,
},
'ember-bootstrap': { 'ember-bootstrap': {
importBootstrapCSS: false, importBootstrapCSS: false,
'bootstrapVersion': 3, 'bootstrapVersion': 3,
@ -40,11 +43,11 @@ module.exports = function(defaults) {
app.import('vendor/bootstrap-datepicker-locales/bootstrap-datepicker.it.min.js'); app.import('vendor/bootstrap-datepicker-locales/bootstrap-datepicker.it.min.js');
app.import({ app.import({
development: 'bower_components/floatThead/dist/jquery.floatThead.js', development: 'node_modules/floatthead/dist/jquery.floatThead.js',
production: 'bower_components/floatThead/dist/jquery.floatThead.min.js' production: 'node_modules/floatthead/dist/jquery.floatThead.min.js'
}); });
app.import('bower_components/sjcl/sjcl.js', { app.import('node_modules/sjcl/sjcl.js', {
using: [ using: [
{ transformation: 'amd', as: 'sjcl' } { transformation: 'amd', as: 'sjcl' }
] ]

View file

@ -25,7 +25,6 @@
"ember-awesome-macros": "^3.1.0", "ember-awesome-macros": "^3.1.0",
"ember-bootstrap": "^2.1.2", "ember-bootstrap": "^2.1.2",
"ember-bootstrap-cp-validations": "^1.0.0", "ember-bootstrap-cp-validations": "^1.0.0",
"ember-browserify": "^1.1.11",
"ember-cli": "~3.4.4", "ember-cli": "~3.4.4",
"ember-cli-acceptance-test-helpers": "^1.0.0", "ember-cli-acceptance-test-helpers": "^1.0.0",
"ember-cli-app-version": "^3.2.0", "ember-cli-app-version": "^3.2.0",
@ -72,9 +71,11 @@
"ember-transition-helper": "^1.0.0", "ember-transition-helper": "^1.0.0",
"ember-truth-helpers": "^2.1.0", "ember-truth-helpers": "^2.1.0",
"eslint-plugin-ember": "^5.2.0", "eslint-plugin-ember": "^5.2.0",
"floatthead": "^2.1.2",
"loader.js": "^4.7.0", "loader.js": "^4.7.0",
"qunit-dom": "^0.7.1", "qunit-dom": "^0.7.1",
"sass": "^1.15.2" "sass": "^1.15.2",
"sjcl": "^1.0.8"
}, },
"engines": { "engines": {
"node": "6.* || 8.* || >= 10.*" "node": "6.* || 8.* || >= 10.*"

1132
yarn.lock

File diff suppressed because it is too large Load diff