Skip to content

Commit 1b70884

Browse files
authored
Merge branch 'develop' into fix/light-mode-color-improvement
2 parents 8d0ea6a + a4a5742 commit 1b70884

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+69634
-21630
lines changed

.babelrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
],
4141
"@babel/plugin-proposal-nullish-coalescing-operator",
4242
"@babel/plugin-proposal-do-expressions",
43-
"@babel/plugin-proposal-function-bind"
43+
"@babel/plugin-proposal-function-bind",
44+
["@babel/plugin-proposal-private-methods", { "loose": true }]
4445
],
4546
"presets": [
4647
"@babel/preset-env",
@@ -85,6 +86,8 @@
8586
],
8687
"@babel/plugin-proposal-nullish-coalescing-operator",
8788
"@babel/plugin-proposal-do-expressions",
88-
"@babel/plugin-proposal-function-bind"
89+
"@babel/plugin-proposal-function-bind",
90+
["@babel/plugin-proposal-private-methods", { "loose": true }],
91+
["@babel/plugin-proposal-private-property-in-object", { "loose": true }]
8992
]
9093
}

.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": ["airbnb", "prettier"],
3-
"parser": "babel-eslint",
3+
"parser": "@babel/eslint-parser",
44
"env": {
55
"browser": true,
66
"node": true,
@@ -69,7 +69,7 @@
6969
"react", "jsx-a11y", "import", "prettier"
7070
],
7171
"settings": {
72-
"import/parser": "babel-eslint",
72+
"import/parser": "@babel/eslint-parser",
7373
"import/resolve": {
7474
"moduleDirectory": ["node_modules"]
7575
}

.github/workflows/deploy-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
- completed
99
env:
1010
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
11-
GKE_CLUSTER: p5js-web-editor-cluster
12-
GKE_ZONE: us-east1-c
11+
GKE_CLUSTER: p5-gke-cluster
12+
GKE_ZONE: us-east4
1313
DEPLOYMENT_NAME: web-editor-node
1414
IMAGE: ${{ secrets.DOCKER_USERNAME }}/p5.js-web-editor-staging
1515
jobs:

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
- completed
99
env:
1010
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
11-
GKE_CLUSTER: p5js-web-editor-cluster
12-
GKE_ZONE: us-east1-c
11+
GKE_CLUSTER: p5-gke-cluster
12+
GKE_ZONE: us-east4
1313
DEPLOYMENT_NAME: web-editor-node
1414
IMAGE: ${{ secrets.DOCKER_USERNAME }}/p5.js-web-editor
1515
jobs:
@@ -60,6 +60,6 @@ jobs:
6060
# Deploy the Docker image to the GKE cluster
6161
- name: Deploy
6262
run: |-
63-
kubectl set image deployment/$DEPLOYMENT_NAME web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA
63+
kubectl set image deployment/$DEPLOYMENT_NAME web-editor-app=index.docker.io/$IMAGE:$GITHUB_SHA --namespace=production
6464
kubectl get services -o wide
6565

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Use Node.js
1212
uses: actions/setup-node@v1
1313
with:
14-
node-version: '12.x'
14+
node-version: '16.14.x'
1515
- run: npm install
1616
- run: npm run test
1717
- run: npm run lint

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ cert_chain.crt
1616
localhost.crt
1717
localhost.key
1818
privkey.pem
19+
terraform/.terraform/
1920

2021
storybook-static
2122
duplicates.json

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.16.1
1+
16.14.2

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo: required
22
language: node_js
33
node_js:
4-
- "12.16.1"
4+
- "16.14.2"
55

66
cache:
77
directories:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12.16.1 as base
1+
FROM node:16.14.2 as base
22
ENV APP_HOME=/usr/src/app \
33
TERM=xterm
44
RUN mkdir -p $APP_HOME

client/index.integration.test.jsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,7 @@ import { rest } from 'msw';
33
import React from 'react';
44
import { Router, browserHistory } from 'react-router';
55

6-
import {
7-
reduxRender,
8-
act,
9-
waitFor,
10-
fireEvent,
11-
screen,
12-
within
13-
} from './test-utils';
6+
import { reduxRender, act, waitFor, screen, within } from './test-utils';
147
import configureStore from './store';
158
import routes from './routes';
169
import * as Actions from './modules/User/actions';

0 commit comments

Comments
 (0)