Skip to content

Commit

Permalink
bower-removed-from-project
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Alan Silvestri committed May 21, 2020
1 parent 72d4f14 commit 621567c
Show file tree
Hide file tree
Showing 18 changed files with 2,783 additions and 2,637 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

# dependencies
/node_modules
/bower_components

# misc
/.sass-cache
Expand All @@ -20,5 +19,4 @@ testem.log

# ember-try
.node_modules.ember-try/
bower.json.ember-try
package.json.ember-try
Empty file removed .gitmodules
Empty file.
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@
/tests
/tmp
**/.gitkeep
.bowerrc
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.watchmanconfig
.travis.yml
bower.json
ember-cli-build.js
testem.js

# ember-try
.node_modules.ember-try/
bower.json.ember-try
package.json.ember-try
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/dubnium
23 changes: 7 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
---
language: node_js
node_js:
- 'node'

sudo: false
dist: trusty

addons:
chrome: stable

os:
- linux

env:
matrix:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
addons:
firefox: latest
apt:
Expand All @@ -20,6 +9,10 @@ addons:
packages:
- g++-4.9
- gcc-4.9
language: node_js
os:
- linux
- osx

cache:
directories:
Expand Down Expand Up @@ -51,9 +44,7 @@ before_install:
- npm install -g surge

install:
- npm install -g bower
- npm install
- bower install

after_success:
- ember build --environment=development
Expand Down
675 changes: 0 additions & 675 deletions LICENSE.md

This file was deleted.

1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ init:
$(call task, "Iniciando el proyecto.")
$(call log, "Instalando dependencias.")
@npm install
@bower install

version:
npm version patch
Expand Down
Empty file removed addon/.gitkeep
Empty file.
Empty file removed app/.gitkeep
Empty file.
12 changes: 0 additions & 12 deletions blueprints/ember-blockly/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions bower.json

This file was deleted.

8 changes: 4 additions & 4 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

const EmberAddon = require('ember-cli/lib/broccoli/ember-addon');

module.exports = function(defaults) {
module.exports = function (defaults) {
var app = new EmberAddon(defaults, {
fingerprint: {
exclude: ['media', 'iconos'],
}
});

app.import("bower_components/blockly-package/blockly_compressed.js");
app.import("bower_components/blockly-package/blocks_compressed.js");
app.import("bower_components/blockly-package/es.js");
app.import("node_modules/blockly-package/blockly_compressed.js");
app.import("node_modules/blockly-package/blocks_compressed.js");
app.import("node_modules/blockly-package/es.js");
app.import("vendor/beautify.js");

return app.toTree();
Expand Down
48 changes: 23 additions & 25 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,28 @@
module.exports = {
name: 'ember-blockly',

included: function(app) {
included: function (app) {
this._super.included(app);

app.import(app.bowerDirectory + "/blockly-package/blockly_compressed.js");
app.import(app.bowerDirectory + "/blockly-package/blocks_compressed.js");
app.import(app.bowerDirectory + "/blockly-package/es.js");
app.import(app.bowerDirectory + "/blockly-package/javascript_compressed.js");

app.import(app.bowerDirectory + "/blockly-package/media/1x1.gif");
app.import(app.bowerDirectory + "/blockly-package/media/click.mp3");
app.import(app.bowerDirectory + "/blockly-package/media/click.ogg");
app.import(app.bowerDirectory + "/blockly-package/media/click.wav");
app.import(app.bowerDirectory + "/blockly-package/media/delete.mp3");
app.import(app.bowerDirectory + "/blockly-package/media/delete.ogg");
app.import(app.bowerDirectory + "/blockly-package/media/delete.wav");
app.import(app.bowerDirectory + "/blockly-package/media/disconnect.mp3");
app.import(app.bowerDirectory + "/blockly-package/media/disconnect.ogg");
app.import(app.bowerDirectory + "/blockly-package/media/disconnect.wav");
app.import(app.bowerDirectory + "/blockly-package/media/handclosed.cur");
app.import(app.bowerDirectory + "/blockly-package/media/handdelete.cur");
app.import(app.bowerDirectory + "/blockly-package/media/handopen.cur");
app.import(app.bowerDirectory + "/blockly-package/media/quote0.png");
app.import(app.bowerDirectory + "/blockly-package/media/quote1.png");
app.import(app.bowerDirectory + "/blockly-package/media/sprites.png");
app.import(app.bowerDirectory + "/blockly-package/media/sprites.svg");
app.import("node_modules/blockly-package/blockly_compressed.js");
app.import("node_modules/blockly-package/blocks_compressed.js");
app.import("node_modules/blockly-package/es.js");
app.import("node_modules/blockly-package/javascript_compressed.js");
app.import("node_modules/blockly-package/media/1x1.gif");
app.import("node_modules/blockly-package/media/click.mp3");
app.import("node_modules/blockly-package/media/click.ogg");
app.import("node_modules/blockly-package/media/click.wav");
app.import("node_modules/blockly-package/media/delete.mp3");
app.import("node_modules/blockly-package/media/delete.ogg");
app.import("node_modules/blockly-package/media/delete.wav");
app.import("node_modules/blockly-package/media/disconnect.mp3");
app.import("node_modules/blockly-package/media/disconnect.ogg");
app.import("node_modules/blockly-package/media/disconnect.wav");
app.import("node_modules/blockly-package/media/handclosed.cur");
app.import("node_modules/blockly-package/media/handdelete.cur");
app.import("node_modules/blockly-package/media/handopen.cur");
app.import("node_modules/blockly-package/media/quote0.png");
app.import("node_modules/blockly-package/media/quote1.png");
app.import("node_modules/blockly-package/media/sprites.png");
app.import("node_modules/blockly-package/media/sprites.svg");
},
};
};
Loading

0 comments on commit 621567c

Please sign in to comment.