Skip to content

Commit

Permalink
🚚 move to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
craigary committed Mar 16, 2023
1 parent 86a6ef0 commit b56c643
Show file tree
Hide file tree
Showing 7 changed files with 3,660 additions and 3,931 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Created by Vercel CLI
NOTION_PAGE_ID="866916e3b939468b9b6f1d47dce99f9c"
27 changes: 0 additions & 27 deletions .eslintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
4 changes: 3 additions & 1 deletion lib/cjk.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const BLOG = require('../blog.config')

module.exports = function () {
function cjk() {
switch (BLOG.lang.toLowerCase()) {
case 'zh-cn':
case 'zh-sg':
Expand All @@ -19,3 +19,5 @@ module.exports = function () {
return null
}
}

module.exports = cjk
3 changes: 1 addition & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
module.exports = {
webpack5: true,
images: {
domains: ['gravatar.com']
},
eslint: {
dirs: ['components', 'layouts', 'lib', 'pages']
// dirs: ['components', 'layouts', 'lib', 'pages']
},
async headers() {
return [
Expand Down
Loading

0 comments on commit b56c643

Please sign in to comment.