Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
m-mohr committed Mar 15, 2023
2 parents ad3aa7a + d4c2b1e commit ddfc32d
Show file tree
Hide file tree
Showing 152 changed files with 15,416 additions and 2,987 deletions.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
npm-debug.log
Dockerfile*
.dockerignore
.git
.gitignore
README.md
LICENSE
.vscode
44 changes: 44 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"globals": {
"STAC_BROWSER_VERSION": "readonly",
"CONFIG_PATH": "readonly",
"CONFIG_CLI": "readonly",
"require": "readonly"
},
"extends": [
"plugin:vue/strongly-recommended",
"eslint:recommended"
],
"ignorePatterns": [
"**/stac-fields",
"**/stac-migrate",
"**/stac-layer",
"config.js",
"*.config.js"
],
"rules": {
"curly": [1, "all"],
"semi": [1, "always"],
"vue/multi-word-component-names": "off",
"vue/singleline-html-element-content-newline": "off",
"vue/attribute-hyphenation": "off",
"vue/max-attributes-per-line": ["error", {
"singleline": {
"max": 6
},
"multiline": {
"max": 4
}
}],
"vue/component-tags-order": ["error", {
"order": ["template", "script", "style"]
}],
"vue/order-in-components": "error",
"vue/this-in-template": "error",
"vue/match-component-file-name": "error"
}
}
10 changes: 10 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
* @m-mohr
Dockerfile @waystilos @geospatial-jeff
src/locales/de-CH @p1d1d1
src/locales/es @rnanclares
src/locales/fr @jfbourgon
src/locales/fr-CA @jfbourgon
src/locales/fr-CH @p1d1d1
src/locales/it @p1d1d1
src/locales/it-CH @p1d1d1
src/locales/ro @mneagul
22 changes: 22 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy
on:
push:
branches:
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- uses: actions/checkout@v3
- run: npm install
- run: npm run build -- --pathPrefix="/stac-browser" --historyMode=hash
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
exclude_assets: 'report.html'
user_name: 'STAC Browser CI'
user_email: matthias.mohr@radiant.earth
5 changes: 0 additions & 5 deletions .npmignore

This file was deleted.

3 changes: 0 additions & 3 deletions .posthtmlrc

This file was deleted.

22 changes: 0 additions & 22 deletions .vscode/settings.json

This file was deleted.

19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:lts-alpine

ARG catalogURL

RUN npm install -g serve

WORKDIR /app

COPY package*.json ./

RUN npm install

COPY . .

RUN npm run build -- --catalogUrl=$catalogURL

EXPOSE 8080

CMD [ "serve", "-s", "dist", "-l", "8080" ]
Loading

0 comments on commit ddfc32d

Please sign in to comment.