Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Commit

Permalink
Break it: Remove all bower deps, init package.json, update bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed May 7, 2017
1 parent e348c7d commit 974afe3
Show file tree
Hide file tree
Showing 394 changed files with 54 additions and 153,674 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@

/config
/TODO
/node_modules
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
source 'https://rubygems.org'

gem 'middleman', '~> 3.4'
gem 'middleman-bower'
gem 'uglifier'
gem 'sass'
gem 'rb-inotify', '~> 0.9.2' if RUBY_PLATFORM.downcase.include?("linux")
Expand Down
52 changes: 25 additions & 27 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.6)
activesupport (4.2.7)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
Expand All @@ -13,7 +13,7 @@ GEM
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
chunky_png (1.3.5)
chunky_png (1.3.6)
coffee-script (2.4.1)
coffee-script-source
execjs
Expand All @@ -31,20 +31,20 @@ GEM
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
erubis (2.7.0)
execjs (2.6.0)
ffi (1.9.10)
execjs (2.7.0)
ffi (1.9.14)
haml (4.0.7)
tilt
hike (1.2.3)
hooks (0.4.1)
uber (~> 0.0.14)
i18n (0.7.0)
json (1.8.3)
kramdown (1.10.0)
libv8 (3.16.14.13)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
kramdown (1.11.1)
libv8 (3.16.14.15)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
middleman (3.4.1)
coffee-script (~> 2.2)
compass (>= 1.0.0, < 2.0.0)
Expand All @@ -56,8 +56,6 @@ GEM
middleman-sprockets (>= 3.1.2)
sass (>= 3.4.0, < 4.0)
uglifier (~> 2.5)
middleman-bower (1.0.2)
sprockets-bower (>= 0.0.2)
middleman-core (3.4.1)
activesupport (~> 4.1)
bundler (~> 1.1)
Expand All @@ -75,37 +73,38 @@ GEM
sprockets (~> 2.12.1)
sprockets-helpers (~> 1.1.0)
sprockets-sass (~> 1.3.0)
mime-types (3.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0221)
mini_portile2 (2.0.0)
minitest (5.8.4)
multi_json (1.11.2)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
oj (2.14.6)
padrino-helpers (0.12.5)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.9.0)
multi_json (1.12.1)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
oj (2.17.1)
padrino-helpers (0.12.8)
i18n (~> 0.6, >= 0.6.7)
padrino-support (= 0.12.5)
padrino-support (= 0.12.8)
tilt (~> 1.4.1)
padrino-support (0.12.5)
padrino-support (0.12.8)
activesupport (>= 3.1)
pkg-config (1.1.7)
rack (1.6.4)
rack-rewrite (1.5.1)
rack-test (0.6.3)
rack (>= 1.0)
rake (11.1.1)
rake (11.2.2)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
ref (2.0.0)
sass (3.4.21)
sass (3.4.22)
sprockets (2.12.4)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-bower (0.0.2)
sprockets-helpers (1.1.0)
sprockets (~> 2.0)
sprockets-sass (1.3.1)
Expand Down Expand Up @@ -133,7 +132,6 @@ PLATFORMS

DEPENDENCIES
middleman (~> 3.4)
middleman-bower
oj
rack-rewrite
rb-inotify (~> 0.9.2)
Expand All @@ -143,4 +141,4 @@ DEPENDENCIES
whiskey_disk

BUNDLED WITH
1.11.2
1.12.5
25 changes: 0 additions & 25 deletions bower.json

This file was deleted.

56 changes: 2 additions & 54 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@

# - - -

activate :bower

# - - -

configure :build do
ignore 'assets/js/**/*'
ignore 'node_modules'
activate :asset_hash
activate :minify_css
activate(:minify_javascript,
ignore: ['assets/js/app', 'assets/js/bower', 'assets/js/lib', 'assets/js/palava'],
ignore: ['assets/js/app', 'node_modules', 'assets/js/lib', 'assets/js/palava'],
compressor: Uglifier.new(JSON(
File.read(File.dirname(__FILE__) + '/source/assets/js/palava/uglifier_options.json')
)),
Expand All @@ -39,52 +36,3 @@
rewrite %r{^\/(?!(html|assets|plv|favicon\.ico|robots\.txt|humans\.txt))(.+)$}, '/index.html'
end


###
# Page options, layouts, aliases and proxies
###

# Per-page layout changes:
#
# With no layout
# page "/path/to/file.html", :layout => false
#
# With alternative layout
# page "/path/to/file.html", :layout => :otherlayout
#
# A path which all have the same layout
# with_layout :admin do
# page "/admin/*"
# end

# Proxy (fake) files
# page "/this-page-has-no-template.html", :proxy => "/template-file.html" do
# @which_fake_page = "Rendering a fake page with a variable"
# end

###
# Compass
###

# Susy grids in Compass
# First: gem install susy
# require 'susy'

# Change Compass configuration
# compass_config do |config|
# config.output_style = :compact
# end

###
# Helpers
###

# Automatic image dimensions on image_tag helper
# activate :automatic_image_sizes

# Methods defined in the helpers block are available in templates
# helpers do
# def some_helper
# "Helping"
# end
# end
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "palava-portal",
"version": "2.0.0",
"description": "The web front-end of palava.tv",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/palavatv/palava-portal.git"
},
"keywords": [
"palava",
"webrtc"
],
"author": "palava e. V.",
"license": "MIT",
"bugs": {
"url": "https://github.com/palavatv/palava-portal/issues"
},
"homepage": "https://github.com/palavatv/palava-portal",
"dependencies": {
"jquery": "^3.1.0",
"react": "^15.3.0"
}
}
29 changes: 0 additions & 29 deletions source/assets/js/bower/angular-strap/.bower.json

This file was deleted.

21 changes: 0 additions & 21 deletions source/assets/js/bower/angular-strap/.editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion source/assets/js/bower/angular-strap/.gitattributes

This file was deleted.

7 changes: 0 additions & 7 deletions source/assets/js/bower/angular-strap/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions source/assets/js/bower/angular-strap/.jshintrc

This file was deleted.

14 changes: 0 additions & 14 deletions source/assets/js/bower/angular-strap/.travis.yml

This file was deleted.

Loading

0 comments on commit 974afe3

Please sign in to comment.