Skip to content

Commit ffc3562

Browse files
authored
Merge branch 'develop' into akshat-patch-1
2 parents 80b09e4 + 050b447 commit ffc3562

File tree

82 files changed

+83446
-34096
lines changed

Some content is hidden

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

82 files changed

+83446
-34096
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/components/Nav.jsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,16 @@ class Nav extends React.PureComponent {
667667
हिन्दी
668668
</button>
669669
</li>
670+
<li className="nav__dropdown-item">
671+
<button
672+
onFocus={this.handleFocusForLang}
673+
onBlur={this.handleBlur}
674+
value="ko"
675+
onClick={(e) => this.handleLangSelection(e)}
676+
>
677+
한국어
678+
</button>
679+
</li>
670680
<li className="nav__dropdown-item">
671681
<button
672682
onFocus={this.handleFocusForLang}

0 commit comments

Comments
 (0)