Skip to content

Commit

Permalink
Nuxt (Vue) -> Next (React); new style entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsandersen committed Jul 11, 2024
1 parent a562d56 commit af3d12a
Show file tree
Hide file tree
Showing 92 changed files with 5,838 additions and 1,363 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_SITE_URL=https://jacobandersen.dev
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"
}
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# To get started with Nuxt see: https://nuxtjs.org/docs/get-started/installation
#
name: Deploy Nuxt site to Pages
name: Deploy Next site to Pages

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -38,8 +38,8 @@ jobs:
- name: Install dependencies
run: bun install

- name: Static HTML export with Nuxt
run: bun run generate
- name: Static HTML export with Next
run: bun run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down
108 changes: 26 additions & 82 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,91 +1,35 @@
# 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/
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# 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
# misc
.DS_Store
*.pem

# IDE / Editor
.idea
.editorconfig
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Service worker
sw.*
# local env files
.env*.local

# Mac OSX
.DS_Store
# vercel
.vercel

# Nuxt output directory
.output
# typescript
*.tsbuildinfo
next-env.d.ts
117 changes: 117 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# Changelog

## 2024-06-21

- Bump Headless UI dependency to v2.1
- Replaced `PopoverOverlay` with `PopoverBackdrop`
- Update to new data-attribute-based transition API

## 2024-06-18

- Update `prettier` and `prettier-plugin-tailwindcss` dependencies

## 2024-05-31

- Fix `npm audit` warnings

## 2024-05-07

- Bump Headless UI dependency to v2.0

## 2024-01-18

- Fix handling of `Image` component in MDX files

## 2024-01-17

- Fix `sharp` dependency issues ([#1549](https://github.com/tailwindlabs/tailwindui-issues/issues/1549))

## 2024-01-16

- Replace Twitter with X

## 2024-01-10

- Update Tailwind CSS, Next.js, Prettier, TypeScript, ESLint, and other dependencies
- Update Tailwind `darkMode` setting to new `selector` option

## 2023-09-07

- Added TypeScript version of template

## 2023-08-15

- Bump Next.js dependency

## 2023-07-31

- Port template to Next.js app router

## 2023-07-18

- Add 404 page
- Sort imports

## 2023-05-16

- Bump Next.js dependency

## 2023-05-11

- Improve footer nav on mobile ([#1454](https://github.com/tailwindlabs/tailwindui-issues/issues/1454))

## 2023-04-12

- Sort imports
- Move `0.6875rem` to a named `text-2xs` utility

## 2023-04-11

- Bump Next.js dependency

## 2023-03-29

- Bump Tailwind CSS and Prettier dependencies
- Sort classes

## 2023-03-23

- Fix RSS feed generation ([#1433](https://github.com/tailwindlabs/tailwindui-issues/issues/1433))

## 2023-03-22

- Bump Headless UI dependency

## 2023-02-15

- Remove `passive` option from `removeEventListener`

## 2023-02-02

- Bump Headless UI dependency
- Sort imports

## 2023-01-02

- Add missing `aria-hidden="true"` to `LinkedInIcon` ([#1397](https://github.com/tailwindlabs/tailwindui-issues/issues/1397))

## 2022-12-12

- Fix route handlers with `.js` extensions ([#1385](https://github.com/tailwindlabs/tailwindui-issues/issues/1385))

## 2022-11-04

- Bump Tailwind CSS and Next.js dependencies
- Add missing `@next/mdx` dependency

## 2022-09-27

- Update Headless UI, Next.js, and Autoprefixer dependencies

## 2022-09-09

- Update Next.js dependency

## 2022-09-07

- Initial release
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

Loading

0 comments on commit af3d12a

Please sign in to comment.