Skip to content

Commit

Permalink
chore: new version with nextjs (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
thedaviddias authored Aug 7, 2023
1 parent 2a5b938 commit 33536c8
Show file tree
Hide file tree
Showing 171 changed files with 19,643 additions and 21,463 deletions.
14 changes: 0 additions & 14 deletions .all-contributorsrc

This file was deleted.

12 changes: 0 additions & 12 deletions .browserslistrc

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ out
config
data
wallaby.js
gatsby-*
62 changes: 0 additions & 62 deletions .eslintrc

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"
}
1 change: 1 addition & 0 deletions .frontmatter/database/mediaDb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
58 changes: 6 additions & 52 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,61 +12,15 @@ jobs:

steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Caching Node Modules
uses: actions/cache@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
path: |
**/node_modules
**/.cache
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Use Node.js 15.x
uses: actions/setup-node@v1
with:
node-version: 15.x
node-version: 18.x

- name: 🧰 Install dependencies
run: yarn install --frozen-lockfile
run: npm install

- name: 📦 Build app
run: yarn build

# - name: 🧹 Run lint
# run: yarn lint

# - name: 🐛 Run tests
# run: yarn test:coverage

# - name: 🔥 Upload test coverage report
# uses: codecov/codecov-action@v1
# with:
# files: ./coverage/lcov.info
# token: ${{ secrets.CODECOV_TOKEN }} # only necessary for private repo

# - name: 🚀 Deploy to Netlify
# uses: netlify/actions/cli@master
# with:
# args: deploy
# env:
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

# - name: 💬 Send Message to Slack
# uses: 8398a7/action-slack@v3
# with:
# status: custom
# fields: workflow,job,commit,repo,ref,author,took
# custom_payload: |
# {
# username: 'development-workflow',
# icon_emoji: ':octocat:',
# attachments: [{
# color: '${{ job.status }}' === 'success' ? 'good' : '${{ job.status }}' === 'failure' ? 'danger' : 'warning',
# text: `${process.env.AS_WORKFLOW}\n${process.env.AS_JOB}`
# }]
# }
# env:
# GITHUB_TOKEN: ${{ github.token }}
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
run: npm run build
19 changes: 0 additions & 19 deletions .github/workflows/episodes.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/production.yml

This file was deleted.

90 changes: 28 additions & 62 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,72 +1,38 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/
# dependencies
/node_modules
/.pnp
.pnp.js

# Optional npm cache directory
.npm
# testing
/coverage

# Optional eslint cache
.eslintcache
# next.js
/.next/
/out/

# Optional REPL history
.node_repl_history
# production
/build

# Output of 'npm pack'
*.tgz
# misc
.DS_Store
*.pem

# dotenv environment variable files
.env*
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# gatsby files
.cache/
public
# local env files
.env*.local

# Mac files
.DS_Store
# vercel
.vercel

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity
# typescript
*.tsbuildinfo
next-env.d.ts

# Local Netlify folder
.netlify
# contentlayer
.contentlayer
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.5.1
18
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

Loading

0 comments on commit 33536c8

Please sign in to comment.