Skip to content
Merged
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
27 changes: 27 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node

on:
pull_request:
push:
branches:
- master

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
npm ci
npm run build --if-present
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ build/
node_modules/
jspm_packages/
vendor/
composer.lock
package-lock.json
js/

# Typescript v1 declaration files
typings/
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ endif
.PHONY: npm
npm:
$(npm) install
$(npm) run build
sed -i.bak 's/L\.Browser\.touch/L.Browser.mobile/g' node_modules/leaflet.elevation/dist/Leaflet.Elevation-0.0.2.min.js && rm node_modules/leaflet.elevation/dist/Leaflet.Elevation-0.0.2.min.js.bak

# Removes the appstore build
.PHONY: clean
clean:
Expand Down Expand Up @@ -139,6 +140,7 @@ appstore:
--exclude=phpunit*xml \
--exclude=composer.* \
--exclude=js/node_modules \
--exclude=node_modules \
--exclude=js/tests \
--exclude=js/test \
--exclude=js/*.log \
Expand Down
11 changes: 11 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
plugins: ['@babel/plugin-syntax-dynamic-import'],
presets: [
[
'@babel/preset-env',
{
"modules": false
}
]
],
}
73 changes: 73 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions css/fontawesome/css/all.min.css

This file was deleted.

5 changes: 0 additions & 5 deletions css/fontawesome/css/brands.min.css

This file was deleted.

5 changes: 0 additions & 5 deletions css/fontawesome/css/fontawesome.min.css

This file was deleted.

5 changes: 0 additions & 5 deletions css/fontawesome/css/regular.min.css

This file was deleted.

5 changes: 0 additions & 5 deletions css/fontawesome/css/solid.min.css

This file was deleted.

5 changes: 0 additions & 5 deletions css/fontawesome/css/svg-with-js.min.css

This file was deleted.

5 changes: 0 additions & 5 deletions css/fontawesome/css/v4-shims.min.css

This file was deleted.

Binary file removed css/fontawesome/webfonts/fa-brands-400.eot
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-brands-400.woff
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-regular-400.eot
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-regular-400.woff
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-solid-900.eot
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-solid-900.woff
Binary file not shown.
Binary file removed css/fontawesome/webfonts/fa-solid-900.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion js/external/lrm-graphhopper-1.2.0.min.js

This file was deleted.

Loading