Skip to content

Commit

Permalink
Switch to next.js. (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubhy committed Mar 28, 2018
1 parent 982ad33 commit 6e54ff0
Show file tree
Hide file tree
Showing 139 changed files with 5,029 additions and 11,391 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.git
.git
2 changes: 0 additions & 2 deletions .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ tasks:
command: drush -y cr
service: cli



environments:
master:
cronjobs:
Expand Down
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ x-drupal-volumes:
# Define all volumes you would like to have real-time mounted into the drupal docker containers
volumes:
- ./backend:/app:delegated
- ./frontend/app/shared/queries:/frontend/app/shared/queries:delegated # mount the frontend querries folder into the Drupal


x-environment:
&default-environment
Expand All @@ -22,9 +20,7 @@ x-environment:
# Uncomment to enable xdebug and then restart via `docker-compose up -d`
#XDEBUG_ENABLE: "true"


services:

frontend:
command: yarn run dev # this only applies for local development
build: # how to build the frontend
Expand Down Expand Up @@ -96,7 +92,6 @@ services:
environment:
<< : *default-environment # loads the defined environment variables from the top


mariadb:
image: amazeeio/mariadb-drupal
labels:
Expand All @@ -122,7 +117,6 @@ services:
# environment:
# << : *default-environment


drupal-varnish:
image: amazeeio/varnish-drupal
labels:
Expand Down
7 changes: 0 additions & 7 deletions frontend/.editorconfig

This file was deleted.

6 changes: 4 additions & 2 deletions frontend/.env.defaults
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copy this file to '.env' to specify environment specific configuration.
# Port to run this application on.
PORT = 3000

API="http://drupal-varnish-drupal-decoupled-app-$LAGOON_GIT_SAFE_BRANCH.ch.amazee.io/graphql"
# Url of the data endpoint.
API="http://drupal-varnish.drupal-decoupled-app.docker.amazee.io/graphql"
3 changes: 0 additions & 3 deletions frontend/.env.schema

This file was deleted.

19 changes: 0 additions & 19 deletions frontend/.flowconfig

This file was deleted.

23 changes: 16 additions & 7 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@

# Generated stuff
.happypack
coverage
styleguide
dlls
build
dist

# dependencies
node_modules
npm-debug.log
graphql.schema.json
graphql.config.json

# environment
.env*
!.env.defaults
!.env.schema

# logs
*.log*

# idea
.idea
*.iml
1 change: 0 additions & 1 deletion frontend/.nvmrc

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ENV NODE_ENV production
RUN yarn run build

EXPOSE 3000
CMD ["yarn", "start"]
CMD ["yarn", "start"]
21 changes: 0 additions & 21 deletions frontend/LICENSE.md

This file was deleted.

28 changes: 0 additions & 28 deletions frontend/app/components/App/index.js

This file was deleted.

Loading

0 comments on commit 6e54ff0

Please sign in to comment.