Skip to content

Commit

Permalink
Convert site to Next.JS
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellCash committed Sep 7, 2023
1 parent 1635970 commit bc855cf
Show file tree
Hide file tree
Showing 74 changed files with 5,840 additions and 15,377 deletions.
13 changes: 0 additions & 13 deletions .editorconfig

This file was deleted.

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

This file was deleted.

9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"],
"rules": {
"comma-dangle": "error",
"object-curly-spacing": ["error", "always"],
"quotes": ["error", "single"],
"semi": "error"
}
}
35 changes: 0 additions & 35 deletions .github/workflows/ci.yaml

This file was deleted.

108 changes: 26 additions & 82 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,90 +1,34 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# 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

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

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm
# dependencies
/node_modules
/.pnp
.pnp.js

# Optional eslint cache
.eslintcache
# testing
/coverage

# Optional REPL history
.node_repl_history
# next.js
/.next/
/out/

# Output of 'npm pack'
*.tgz
# production
/build

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# Nuxt generate
dist

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# IDE / Editor
# misc
.DS_Store
*.pem
.idea

# Service worker
sw.*
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# macOS
.DS_Store
# local env files
.env*.local

# vercel
.vercel

# Vim swap files
*.swp
# typescript
*.tsbuildinfo
next-env.d.ts
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "none"
}
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 18.17.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ npm run dev

## Production

Generate a static site (static files will be in the `dist/` dir):
Generate a static site (static files will be in the `out/` dir):

```sh
npm run generate
npm run build
```
6 changes: 0 additions & 6 deletions netlify.toml

This file was deleted.

7 changes: 7 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: { unoptimized: true },
output: 'export'
};

module.exports = nextConfig;
131 changes: 0 additions & 131 deletions nuxt.config.js

This file was deleted.

Loading

0 comments on commit bc855cf

Please sign in to comment.