Skip to content

Commit

Permalink
Upgrade to Next.js 12; drop custom deploy tooling (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 committed Nov 12, 2021
1 parent c956f53 commit 213fee9
Show file tree
Hide file tree
Showing 13 changed files with 635 additions and 3,929 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -37,6 +37,3 @@ jobs:

- name: Build
run: yarn build

- name: Build API images
run: yarn build-api-images
48 changes: 0 additions & 48 deletions .github/workflows/deploy.yml

This file was deleted.

4 changes: 4 additions & 0 deletions next-env.d.ts
@@ -1,2 +1,6 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
15 changes: 0 additions & 15 deletions next.config.js

This file was deleted.

11 changes: 3 additions & 8 deletions package.json
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "tsc && next build && next export",
"build": "tsc && next build",
"next-build": "next build",
"build-api-images": "ts-node tools/build-api-images.ts",
"deploy": "ts-node tools/deploy.ts",
Expand All @@ -23,7 +23,7 @@
"gray-matter": "^4.0.2",
"image-size": "^0.9.3",
"katex": "^0.12.0",
"next": "^10.0.5",
"next": "12.0.4-canary.9",
"next-mdx-remote": "^2.0.1",
"node-fetch": "^2.6.1",
"prism-react-renderer": "^1.1.1",
Expand All @@ -40,17 +40,12 @@
"devDependencies": {
"@types/classnames": "^2.2.11",
"@types/gtag.js": "^0.0.4",
"@types/mime": "^2.0.3",
"@types/node": "^14.14.14",
"@types/node-fetch": "^2.5.8",
"@types/react": "^17.0.0",
"aws-sdk": "^2.828.0",
"execa": "^5.0.0",
"globby": "^11.0.2",
"mime": "^2.5.0",
"prettier": "2.2.1",
"sass": "^1.30.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
"typescript": "^4.4.4"
}
}
43 changes: 0 additions & 43 deletions tools/api-utils.ts

This file was deleted.

44 changes: 0 additions & 44 deletions tools/aws.ts

This file was deleted.

103 changes: 0 additions & 103 deletions tools/build-api-images.ts

This file was deleted.

1 comment on commit 213fee9

@vercel
Copy link

@vercel vercel bot commented on 213fee9 Nov 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.