Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Commit

Permalink
Attempting to fix babel/babel#8829.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdok committed Nov 16, 2019
1 parent 90f8da8 commit c0aa42c
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-throw-expressions"
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-transform-runtime"
]

}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.env

build/

# Logs
logs
*.log
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pipeline {
DEFAULT_EMAIL = credentials('rdok-email')
COMPOSE_PROJECT_NAME = 'graphql-blog-api'
POSTGRES_PASSWORD = credentials('database-password')
ENV = 'production'
NODE_ENV = 'production'
}
stages {
stage('Deploy') {
Expand Down
2 changes: 2 additions & 0 deletions build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
3 changes: 2 additions & 1 deletion docker/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ WORKDIR /app
COPY package.json package-lock.json ./

ARG environment
RUN npm install "$environment"

RUN npm install "${environment}"

COPY . /app

Expand Down
2 changes: 2 additions & 0 deletions docker/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:
volumes:
- ".:/app"
- "${DEV_NPM_CACHE}:/root/.npm"
environment:
- VIRTUAL_HOST

db:
ports:
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
environment:
- POSTGRES_PASSWORD
- VIRTUAL_PORT
- ENV
- NODE_ENV
command: sh -c "
./docker/wait-for-it.sh 'prisma:4466'
&& prisma deploy
Expand Down
22 changes: 20 additions & 2 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,16 @@
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/runtime": "^7.7.2",
"graphql-cli": "^3.0.14",
"graphql-yoga": "^1.18.3",
"marked": ">=0.6.1",
"node-uuid": "^1.4.8",
"open": ">=6.0.0",
"prisma": "^1.34.10",
"prisma-binding": "^2.3.16",
"validator": "^12.0.0",
"open": ">=6.0.0",
"marked": ">=0.6.1"
"validator": "^12.0.0"
}
}

0 comments on commit c0aa42c

Please sign in to comment.