Clean up bower setup

This commit is contained in:
datalets 2021-02-20 13:55:55 +01:00
parent 75ddc7aa22
commit 58c5a29f0c
5 changed files with 2 additions and 9 deletions

View file

@ -1,3 +0,0 @@
{
"directory": "publichealth/static/libs"
}

View file

@ -1,3 +0,0 @@
https://github.com/heroku/heroku-buildpack-nodejs
https://github.com/ejholmes/heroku-buildpack-bower
https://github.com/heroku/heroku-buildpack-python

View file

@ -6,5 +6,4 @@
- role: geerlingguy.nodejs - role: geerlingguy.nodejs
nodejs_install_npm_user: ansible nodejs_install_npm_user: ansible
nodejs_npm_global_packages: nodejs_npm_global_packages:
- name: bower
- name: grunt-cli - name: grunt-cli

View file

@ -47,7 +47,7 @@
path: "{{ release_dir }}/publichealth/static/libs/" path: "{{ release_dir }}/publichealth/static/libs/"
state: directory state: directory
- name: Copy bower components to libs - name: Copy npm components to libs
copy: copy:
src: "{{ release_dir }}/node_modules/@bower_components/" src: "{{ release_dir }}/node_modules/@bower_components/"
dest: "{{ release_dir }}/publichealth/static/libs/" dest: "{{ release_dir }}/publichealth/static/libs/"

View file

@ -75,7 +75,7 @@ $headings-color: #444 !default;
//== Iconography //== Iconography
// //
//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower. //## Specify custom location and filename of the included Glyphicons icon font.
//** Load fonts from this directory. //** Load fonts from this directory.
$icon-font-path: "../libs/bootstrap-sass/assets/fonts/bootstrap/" !default; $icon-font-path: "../libs/bootstrap-sass/assets/fonts/bootstrap/" !default;