migrate to nuxt3 (#96)
Co-authored-by:
Sébastien Chopin <seb@nuxtjs.com>
Showing
.eslintrc
0 → 100644
.eslintrc.js
deleted
100644 → 0
.npmrc
0 → 100644
.vercelignore
deleted
100644 → 0
app.vue
0 → 100644
assets/logo.svg
deleted
100644 → 0
common/utils.js
deleted
100644 → 0
composables/store.ts
0 → 100644
composables/utils.ts
0 → 100644
middleware/feed.ts
0 → 100644
middleware/index.ts
0 → 100644
netlify.toml
0 → 100644
nuxt.config.js
deleted
100755 → 0
nuxt.config.ts
0 → 100755
| { | { | ||
| "private": true, | |||
| "name": "nuxt-hn", | "name": "nuxt-hn", | ||
| "private": true, | |||
| "packageManager": "pnpm@7.0.1", | |||
| "description": "Nuxt Hacker News", | "description": "Nuxt Hacker News", | ||
| "version": "1.0.0", | |||
| "author": "Evan You <yyx990803@gmail.com>", | "author": "Evan You <yyx990803@gmail.com>", | ||
| "contributors": [ | "contributors": [ | ||
| { | { | ||
| ... | @@ -13,37 +13,29 @@ | ... | @@ -13,37 +13,29 @@ |
| }, | }, | ||
| { | { | ||
| "name": "Pooya Parsa (@pi0)" | "name": "Pooya Parsa (@pi0)" | ||
| }, | |||
| { | |||
| "name": "Anthony Fu (@antfu)" | |||
| } | } | ||
| ], | ], | ||
| "scripts": { | "scripts": { | ||
| "dev": "nuxt dev", | "dev": "nuxi dev", | ||
| "build": "nuxt build", | "build": "nuxi build", | ||
| "start": "nuxt start", | "start": "nuxi start", | ||
| "dev-spa": "nuxt dev --spa", | "dev-spa": "nuxi dev --spa", | ||
| "build-spa": "nuxt build --spa", | "build-spa": "nuxi build --spa", | ||
| "start-spa": "nuxt start --spa", | "start-spa": "nuxi start --spa", | ||
| "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", | "lint": "eslint --ext .vue,.js,.ts --ignore-path .gitignore ." | ||
| "lintfix": "eslint --fix --ext .js,.vue --ignore-path .gitignore ." | |||
| }, | }, | ||
| "dependencies": { | "engines": { | ||
| "@nuxtjs/axios": "^5.13.6", | "node": ">=14.0" | ||
| "h3": "^0.2.10", | |||
| "nuxt": "^2.15.6", | |||
| "ohmyfetch": "^0.2.0" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@nuxtjs/eslint-config": "^6.0.1", | "@nuxtjs/eslint-config-typescript": "^10.0.0", | ||
| "@nuxtjs/pwa": "3.3.5", | "@nuxtjs/pwa": "3.3.5", | ||
| "babel-eslint": "^10.1.0", | "eslint": "^8.15.0", | ||
| "eslint": "^7.28.0", | "nuxt": "^3.0.0-rc.3", | ||
| "eslint-config-standard": "^16.0.3", | "postcss-nested": "^5.0.6", | ||
| "eslint-plugin-import": "^2.23.4", | "typescript": "^4.6.4" | ||
| "eslint-plugin-jest": "^24.3.6", | |||
| "eslint-plugin-node": "^11.1.0", | |||
| "eslint-plugin-promise": "^5.1.0", | |||
| "eslint-plugin-standard": "^5.0.0", | |||
| "eslint-plugin-vue": "^7.10.0", | |||
| "stylus": "^0.54.8", | |||
| "stylus-loader": "^4.3.3" | |||
| } | } | ||
| } | } |
pages/[feed]/[page].vue
0 → 100644
pages/[feed]/index.vue
0 → 100644
pages/index.vue
100755 → 100644
plugins/filters.js
deleted
100644 → 0
plugins/swr.js
deleted
100644 → 0
pnpm-lock.yaml
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/icon.png
0 → 100644
3.49 KB
public/logo.svg
0 → 100644
server/constants.ts
0 → 100644
static/favicon.ico
deleted
100644 → 0
1.36 KB
static/icon.png
deleted
100644 → 0
42.9 KB
store/index.js
deleted
100644 → 0
tsconfig.json
0 → 100644
types.ts
0 → 100644
vercel.json
deleted
100644 → 0
yarn.lock
deleted
100644 → 0
This source diff could not be displayed because it is too large.
You can
view the blob
instead.