Skip to content

Commit fa67b44

Browse files
Merge pull request #27 from Tech-With-Tim/dependabot/npm_and_yarn/next-11.1.1
Bump next from 11.1.0 to 11.1.1
2 parents 504f6c0 + eb49aaa commit fa67b44

File tree

8 files changed

+4076
-3436
lines changed

8 files changed

+4076
-3436
lines changed

.devcontainer/docker-compose.yml

+27-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@ version: "3.7"
22

33
services:
44
api:
5-
image: techwithtim/twt_api:latest
5+
image: ghcr.io/tech-with-tim/api:latest
6+
ports:
7+
- 5000:5000
68
env_file: .env
79
restart: unless-stopped
810
environment:
911
SECRET_KEY: key
10-
DB_URI: postgres://api:api@api:5432/api
12+
POSTGRES_URI: postgresql://api:api@db:5432/api
1113

1214
cdn:
1315
image: techwithtim/cdn:latest
1416
env_file: .env
1517
restart: unless-stopped
18+
ports:
19+
- 8000:5000
1620
environment:
1721
POSTGRES_USER: api
1822
POSTGRES_PASSWORD: api
@@ -22,6 +26,26 @@ services:
2226
SECRET_KEY: key
2327
MAX_FILE_SIZE: "30"
2428

29+
redis:
30+
image: redis:6.2.5-alpine
31+
32+
websockets:
33+
image: techwithtim/websockets:latest
34+
restart: unless-stopped
35+
ports:
36+
- 5001:5000
37+
environment:
38+
POSTGRES_USER: api
39+
POSTGRES_PASSWORD: api
40+
DB_NAME: api
41+
DB_HOST: db
42+
DB_PORT: "5432"
43+
SECRET_KEY: key
44+
REDIS_HOST: redis
45+
REDIS_USERNAME: ""
46+
REDIS_PASS: ""
47+
REDIS_DB: "0"
48+
2549
workspace:
2650
build:
2751
context: .
@@ -31,7 +55,7 @@ services:
3155
- ..:/workspace
3256

3357
db:
34-
image: postgres
58+
image: postgres:13-alpine
3559
restart: unless-stopped
3660
environment:
3761
POSTGRES_USERNAME: api

.github/workflows/lint-and-test.yml

+3-25
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,9 @@ name: Lint & Test
22

33
on:
44
push:
5-
paths:
6-
- "src/**"
7-
- ".github/workflows/**"
8-
- "public/**"
9-
- ".eslintrc.json"
10-
- "prettierrc.json"
11-
- ".yarnrc.yml"
12-
- "next-env.d.ts"
13-
- "next.config.js"
14-
- "package.json"
15-
- "tsconfig.json"
16-
- "yarn.lock"
17-
pull_request:
18-
paths:
19-
- ".github/workflows/**"
20-
- "src/**"
21-
- "public/**"
22-
- ".eslintrc.json"
23-
- "prettierrc.json"
24-
- ".yarnrc.yml"
25-
- "next-env.d.ts"
26-
- "next.config.js"
27-
- "package.json"
28-
- "tsconfig.json"
29-
- "yarn.lock"
5+
branches:
6+
- main
7+
pull_request:
308

319
jobs:
3210
packages:

.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.yarn/releases/yarn-2.4.2.cjs

-55
This file was deleted.

.yarn/releases/yarn-3.0.2.cjs

+631
Large diffs are not rendered by default.

.yarnrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ plugins:
88
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
99
spec: "@yarnpkg/plugin-typescript"
1010

11-
yarnPath: .yarn/releases/yarn-2.4.2.cjs
11+
yarnPath: .yarn/releases/yarn-3.0.2.cjs

package.json

+7-11
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,22 @@
66
"@storybook/addons": "^6.2.7",
77
"@storybook/theming": "^6.2.7",
88
"@tailwindcss/jit": "^0.1.18",
9+
"autoprefixer": "^10.2.6",
910
"axios": "^0.21.1",
1011
"classnames": "^2.2.6",
1112
"eslint": "^7.11.0",
1213
"husky": "^6.0.0",
1314
"lint-staged": "^10.5.4",
14-
"next": "11.1.0",
15+
"next": "11.1.1",
16+
"postcss": "^8.3.0",
1517
"react": "^17.0.2",
1618
"react-dom": "^17.0.2",
1719
"react-is": "^17.0.2",
1820
"react-query": "^3.13.6",
1921
"sass": "^1.34.1",
2022
"styled-components": "^5.2.1",
23+
"tailwindcss": "^2.1.4",
24+
"typescript": "^4.4.2",
2125
"zustand": "^3.4.1"
2226
},
2327
"scripts": {
@@ -38,39 +42,31 @@
3842
}
3943
},
4044
"devDependencies": {
41-
"@babel/eslint-parser": "^7.14.5",
45+
"@babel/eslint-parser": "^7.15.4",
4246
"@storybook/addon-actions": "^6.2.7",
4347
"@storybook/addon-essentials": "^6.2.7",
4448
"@storybook/addon-links": "^6.2.7",
4549
"@storybook/node-logger": "^6.2.7",
4650
"@storybook/preset-create-react-app": "^3.1.7",
4751
"@storybook/react": "^6.2.7",
4852
"@tailwindcss/postcss7-compat": "^2.1.0",
49-
"@types/axios": "^0.14.0",
5053
"@types/classnames": "^2.2.11",
5154
"@types/jest": "^26.0.18",
5255
"@types/node": "^15.12.2",
5356
"@types/react": "^17.0.11",
5457
"@types/react-dom": "^17.0.0",
55-
"@types/react-router-dom": "^5.1.7",
5658
"@types/styled-components": "^5.1.7",
5759
"@typescript-eslint/eslint-plugin": "^4.5.0",
5860
"@typescript-eslint/parser": "^4.5.0",
59-
"autoprefixer": "^10.2.6",
6061
"eslint-config-prettier": "^8.2.0",
6162
"eslint-config-react-app": "^6.0.0",
62-
"eslint-loader": "^4.0.2",
6363
"eslint-plugin-flowtype": "^5.7.2",
6464
"eslint-plugin-import": "^2.22.1",
6565
"eslint-plugin-jsx-a11y": "^6.3.1",
6666
"eslint-plugin-prettier": "^3.4.0",
6767
"eslint-plugin-react": "^7.21.5",
6868
"eslint-plugin-react-hooks": "^4.2.0",
69-
"jest-dom": "^4.0.0",
70-
"postcss": "^8.3.0",
71-
"prettier": "^2.3.1",
72-
"tailwindcss": "^2.1.4",
73-
"typescript": "^4.3.2"
69+
"prettier": "^2.3.1"
7470
},
7571
"jest": {
7672
"collectCoverageFrom": [

0 commit comments

Comments
 (0)