Skip to content

Commit

Permalink
chore: migrate to TS & upgrade NextJS to v14 (#127)
Browse files Browse the repository at this point in the history
* Migration from next 13 javascript to next 14 typescipt

* Update search and theme issues

* Fix vercel build issue

* Update module imports

* Update module resolution

* Update docker node image version

* Update base url

* Update base path

* fix: file names

* fix: file names

* Update comments

* update files

---------

Co-authored-by: Anurag Gupta <[email protected]>
  • Loading branch information
dhararaghu777 and anuragxxd authored Sep 2, 2024
1 parent f46a875 commit 544199f
Show file tree
Hide file tree
Showing 77 changed files with 4,695 additions and 6,793 deletions.
3 changes: 3 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# example .env.local file; replace values with your own
NOTION_TOKEN=secret_XXXXXXXX
GA_MEASUREMENT_ID=G-XXXXXXXX
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

93 changes: 0 additions & 93 deletions .eslintrc.js

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env*

# vercel
.vercel
.vercel
Empty file modified .husky/pre-commit
100755 → 100644
Empty file.
3 changes: 0 additions & 3 deletions .sample.env

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:18.8.0-alpine3.16 AS deps
FROM node:22-alpine3.19 AS deps

# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
Expand Down
153 changes: 0 additions & 153 deletions components/@ui/Select.jsx

This file was deleted.

Loading

0 comments on commit 544199f

Please sign in to comment.