Skip to content

Commit cfc2f31

Browse files
committed
Updated to latest version of deps
1 parent 33e7b3f commit cfc2f31

Some content is hidden

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

68 files changed

+11824
-1443
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ build/app
1212

1313
.DS_Store
1414
.vscode
15+
.log

docs/.HN-Demo.psd.icloud

-161 Bytes
Binary file not shown.

docs/.seal.jpg.icloud

-156 Bytes
Binary file not shown.

docs/HN-Demo.psd

2.19 MB
Binary file not shown.

docs/seal.jpg

6.8 KB
Loading

package-lock.json

+1,814-1,144
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+23-19
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,24 @@
66
"node": ">=10.15.3"
77
},
88
"scripts": {
9-
"clean": "rm -rf build/app && rm -rf dist",
10-
"build": "npm run clean && tsc && next build dist && cp -R src/static dist/static ",
9+
"clean": "rm -rf build/app && rm -rf dist && rm -rf src/.next",
10+
"build": "npm run clean && next build src && tsc --project tsconfig.server.json && cp -R src/static dist/static ",
11+
"build:2": "npm run clean && tsc && next build dist && cp -R src/static dist/static ",
1112
"build:docker": "docker build --tag 'clintonwoo/hackernews-react-graphql:latest' --rm . && docker run -p 80:3000 --name hackernews-react-graphql clintonwoo/hackernews-react-graphql",
1213
"build:static-website": "NODE_ENV=production rm -rf build/static && npm install --only=dev && next build src && next export src -o build/static",
1314
"debug": "DEBUG=app:* npm start",
14-
"debug:inspect": "DEBUG=app* ts-node --inspect src/server.js",
15+
"debug:inspect": "node --inspect -r ts-node/register src/server.ts",
16+
"debug:inspect-production": "NODE_ENV=production node --inspect dist/server.js",
17+
"debug:inspectr": "NODE_ENV=production DEBUG=app* ts-node --inspect dist/server.js",
1518
"debug:all": "DEBUG=* npm start",
19+
"lint": "tslint 'src/**/*.ts?(x)'",
1620
"nodemon": "nodemon src/server.ts --exec ts-node",
1721
"prettier:check": "prettier --check",
1822
"prettier:format": "prettier --write",
1923
"test": "jest --config jest.config.js",
2024
"tsc:check": "tsc --noEmit",
2125
"start": "ts-node src/server.ts",
22-
"start:production": "NODE_ENV=production node dist/server.js"
26+
"start:prod": "NODE_ENV=production node dist/server.js"
2327
},
2428
"author": "Clinton D'Annolfo",
2529
"license": "Apache-2.0",
@@ -31,7 +35,7 @@
3135
],
3236
"dependencies": {
3337
"apollo-cache-inmemory": "1.5.1",
34-
"apollo-client": "2.5.1",
38+
"apollo-client": "2.6.0",
3539
"apollo-fetch": "0.7.0",
3640
"apollo-link-http": "1.5.14",
3741
"apollo-server-express": "2.4.8",
@@ -48,55 +52,55 @@
4852
"graphql-tools": "4.0.4",
4953
"isomorphic-fetch": "2.2.1",
5054
"lru-cache": "5.1.1",
51-
"next": "8.0.3",
55+
"next": "8.1.0",
5256
"passport": "0.4.0",
5357
"passport-local": "1.0.0",
5458
"react": "16.8.6",
55-
"react-apollo": "2.5.3",
59+
"react-apollo": "2.5.6",
5660
"react-dom": "16.8.6",
5761
"react-render-html": "0.6.0",
5862
"url": "0.11.0"
5963
},
6064
"devDependencies": {
61-
"@types/async": "^2.4.1",
65+
"@types/async": "2.4.1",
6266
"@types/body-parser": "1.17.0",
6367
"@types/cookie": "0.3.2",
6468
"@types/cookie-parser": "1.4.1",
6569
"@types/debug": "4.1.3",
6670
"@types/enzyme": "3.9.1",
67-
"@types/enzyme-adapter-react-16": "^1.0.5",
71+
"@types/enzyme-adapter-react-16": "1.0.5",
6872
"@types/express": "4.16.1",
6973
"@types/express-session": "1.15.12",
7074
"@types/graphql": "14.2.0",
7175
"@types/isomorphic-fetch": "0.0.35",
72-
"@types/jest": "^24.0.11",
76+
"@types/jest": "24.0.11",
7377
"@types/lru-cache": "5.1.0",
74-
"@types/node": "^11.13.0",
78+
"@types/node": "11.13.0",
7579
"@types/passport": "1.0.0",
7680
"@types/passport-local": "1.0.33",
7781
"@types/react": "16.8.10",
7882
"@types/zeit__next-typescript": "0.1.2",
7983
"@zeit/next-css": "1.0.1",
8084
"@zeit/next-typescript": "1.1.1",
81-
"babel-loader": "^8.0.4",
82-
"babel-plugin-transform-define": "^1.3.0",
85+
"babel-loader": "8.0.4",
86+
"babel-plugin-transform-define": "1.3.0",
8387
"enzyme": "3.9.0",
8488
"enzyme-adapter-react-16": "1.11.2",
8589
"enzyme-to-json": "3.3.5",
86-
"jest": "24.5.0",
90+
"jest": "24.7.1",
8791
"jest-enzyme": "7.0.2",
8892
"mockdate": "2.0.2",
8993
"nodemon": "1.18.10",
9094
"postcss": "7.0.14",
9195
"postcss-preset-env": "6.6.0",
9296
"prettier": "1.16.4",
9397
"react-test-renderer": "16.8.5",
94-
"rimraf": "^2.6.3",
95-
"ts-jest": "^24.0.2",
98+
"rimraf": "2.6.3",
99+
"ts-jest": "24.0.2",
96100
"ts-node": "8.0.3",
97-
"tslint": "^5.15.0",
98-
"tslint-config-airbnb": "^5.11.1",
99-
"tslint-config-prettier": "^1.18.0",
101+
"tslint": "5.15.0",
102+
"tslint-config-airbnb": "5.11.1",
103+
"tslint-config-prettier": "1.18.0",
100104
"typescript": "3.4.1"
101105
},
102106
"nodemonConfig": {

0 commit comments

Comments
 (0)