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
46 changes: 0 additions & 46 deletions .babelrc

This file was deleted.

4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,7 @@ deploy/eb/

# tox
./.tox

# Backend
backend
!backend/schema.graphql
7 changes: 0 additions & 7 deletions .env.example

This file was deleted.

8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

123 changes: 0 additions & 123 deletions .eslintrc.js

This file was deleted.

44 changes: 27 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,37 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
submodules: true

- name: Install pnpm
uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '17.x'
cache: 'yarn'
node-version: 20
cache: 'pnpm'

- name: 🤞 Install dependencies 🧪
run: yarn install --frozen-lockfile --prefer-offline
- name: Install dependencies
run: pnpm install

- name: Generate typings
run: pnpm generate:type
env:
APP_GRAPHQL_CODEGEN_ENDPOINT: './backend/schema.graphql'

- name: 🤞 Run Lint 🧪
run: yarn lint
- name: Lint CSS
run: pnpm lint:css

- name: 🤞 Run Test 🧪
run: yarn test --passWithNoTests
- name: Lint JS
run: pnpm lint:js

- name: 🤞 Run Build 🧪
run: yarn build
- name: Build
run: pnpm build
env:
REACT_APP_SENTRY_DSN: 'https://random-token@sentry.io'
REACT_APP_SENTRY_TRACES_SAMPLE_RATE: 0.2
REACT_APP_ENVIRONMENT: 'ci'
GRAPHQL_CODEGEN_ENDPOINT: 'https://random-domain.com/graphql/'
REACT_APP_GRAPHQL_ENDPOINT: 'https://random-domain.com/graphql/'
REACT_APP_MAPSWIPE_WEBSITE: 'https://random-website-domain.com'
APP_ENVIRONMENT: 'ci'
APP_SENTRY_DSN: 'https://random-token@sentry.io'
APP_GRAPHQL_CODEGEN_ENDPOINT: 'https://random-domain.com/graphql/'
APP_GRAPHQL_ENDPOINT: 'https://random-domain.com/graphql/'
APP_BACKEND_ENDPOINT: 'https://random-domain.com/'
25 changes: 25 additions & 0 deletions .github/workflows/publish-web-app-serve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish web app serve

on:
workflow_dispatch:
push:
branches:
- develop
- feature/add-web-app-serve

permissions:
packages: write

jobs:
publish_image:
name: Publish Docker Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Publish web-app-serve
uses: toggle-corp/web-app-serve-action@v0.1.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
52 changes: 39 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,48 @@
/node_modules

/build
/coverage
/generated

.env

.vscode

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
build
build-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
*.tmp
*.bak
*.swp

# Env
.env*
!.env.example

.eslintcache
tsconfig.tsbuildinfo

.DS_Store
# Custom ignores
stats.html
generated/
coverage/

# storybook build
storybook-static/

# Helm
.helm-charts/

# Pnpm
.pnpm-store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "backend"]
path = backend
url = git@github.com:mapswipe/mapswipe-backend.git
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable-pre-post-scripts=true
24 changes: 0 additions & 24 deletions .unimportedrc.json

This file was deleted.

Loading
Loading