Skip to content

Commit

Permalink
Gatsby > Next (#1715)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessbell authored Oct 17, 2022
1 parent 47e2a05 commit de12662
Show file tree
Hide file tree
Showing 205 changed files with 15,719 additions and 65,684 deletions.
63 changes: 0 additions & 63 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"
}
12 changes: 2 additions & 10 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Lint
on: [push]
jobs:
run:
Expand All @@ -20,14 +20,6 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14.16'
node-version: '16.18'
- run: npm ci
- run: npm run type-check
- run: npm run lint
- run: npm run test
env:
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
file: coverage/lcov.info
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Project dependencies
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
.cache/
# Build directory
public/
.cache
.DS_Store
yarn-error.log
.vscode
coverage
.next
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17
16
3 changes: 0 additions & 3 deletions .prettierrc

This file was deleted.

1 change: 0 additions & 1 deletion __mocks__/file-mock.ts

This file was deleted.

9 changes: 0 additions & 9 deletions __mocks__/gatsby-mdx.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions __mocks__/gatsby.ts

This file was deleted.

6 changes: 0 additions & 6 deletions __mocks__/react-flip-move.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions __tests__/components/footer.test.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions __tests__/components/header.test.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions __tests__/components/layout.test.tsx

This file was deleted.

24 changes: 0 additions & 24 deletions __tests__/components/seo.test.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions __tests__/components/shaders.test.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions __tests__/components/toggle.test.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions __tests__/config/jest-setup-test-framework.ts

This file was deleted.

17 changes: 0 additions & 17 deletions __tests__/config/metadata-mock.ts

This file was deleted.

22 changes: 0 additions & 22 deletions __tests__/pages/404.test.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions __tests__/pages/about.test.tsx

This file was deleted.

Loading

1 comment on commit de12662

@vercel
Copy link

@vercel vercel bot commented on de12662 Oct 17, 2022

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.