Skip to content

Commit

Permalink
Nuxt3にする (#550)
Browse files Browse the repository at this point in the history
* reinstall nuxt

* migrate from axios to fetch

* migrate to @nuxt/proxy to routeRules

* remove buefy from dependencies

* https://nuxt.com/docs/migration/configuration#migration

* https://nuxt.com/docs/migration/configuration#esm-syntax

* https://nuxt.com/docs/migration/plugins-and-middleware#plugins

* update codemirror version

* nuxt/nuxt#15640

* Stop loading post css

* migrate codemirror from v5 to v6

* nuxt/nuxt#14952

* https://nuxt.com/docs/migration/bundling#steps

* https://nuxt.com/docs/migration/configuration#directory-changes

* npx nuxi prepare

* update lint setting and lint fix

* remove deps

* remove deps

* remove `--openssl-legacy-provider` options

* https://nuxt.com/docs/migration/server#steps

* install express

* remove nodemon

* install @types/express

* https://nuxt.com/docs/migration/meta#meta-tags

* config simplified

* https://nuxt.com/docs/migration/pages-and-layouts#migration-1

* https://nuxt.com/docs/migration/pages-and-layouts#example-nested-routes-and-definepagemeta

* https://nuxt.com/docs/migration/auto-imports#auto-imports

* https://nuxt.com/docs/api/utils/define-nuxt-component#definenuxtcomponent

* https://nuxt.com/docs/api/composables/use-route#useroute

* fix typos of plugins/nuxt-codemirror-plugin.ts

* reproduce the Style provided by buefy

* repair gist components as much as possible

* https://nuxt.com/docs/migration/pages-and-layouts#dynamic-routes

* SparqlResponseTable in vue3 format

* https://nuxt.com/docs/migration/component-options#using-composables

* https://nuxt.com/docs/migration/pages-and-layouts#migration-1

* https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.12#:~:text=more%20info.-,%E2%9A%97%EF%B8%8F%20Nitropack%200.6,-Nitropack%20upgraded%20to

* Get sparql results in json

* remove babel-eslint

* https://nuxt.com/docs/getting-started/deployment#entry-point

* lint

* enable typecheck

* use head of NuxtConfig

* https://github.com/nuxt/starter/blob/v3/.gitignore

* remove useHead of app.vue
  • Loading branch information
takanakahiko committed Oct 10, 2023
1 parent 11648c4 commit b8bbaa7
Show file tree
Hide file tree
Showing 45 changed files with 9,044 additions and 17,262 deletions.
5 changes: 2 additions & 3 deletions web/.eslintrc.js
@@ -1,5 +1,4 @@
module.exports = {
extends: [
'@nuxtjs/eslint-config-typescript'
]
root: true,
extends: ['@nuxt/eslint-config', '@nuxtjs/eslint-config-typescript']
}
97 changes: 17 additions & 80 deletions web/.gitignore
@@ -1,87 +1,24 @@
# 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

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# 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 dev/build outputs
.output
.data
.nuxt

# Nuxt generate
.nitro
.cache
dist

# vuepress build output
.vuepress/dist
# Node dependencies
node_modules

# Serverless directories
.serverless
# Logs
logs
*.log

# IDE
# Misc
.DS_Store
.fleet
.idea

# Service worker
sw.*


static/prism-schema.ttl
# Local env files
.env
.env.*
!.env.example
2 changes: 1 addition & 1 deletion web/Dockerfile
Expand Up @@ -14,4 +14,4 @@ ENV NODE_ENV=production
ENV HOST 0.0.0.0
ENV PORT 8080

CMD ["npm", "start"]
CMD ["node", ".output/server/index.mjs"]
90 changes: 0 additions & 90 deletions web/api/middleware/sparql.ts

This file was deleted.

20 changes: 0 additions & 20 deletions web/api/middleware/util.ts

This file was deleted.

26 changes: 0 additions & 26 deletions web/api/routes/character.ts

This file was deleted.

28 changes: 0 additions & 28 deletions web/api/routes/episode.ts

This file was deleted.

18 changes: 0 additions & 18 deletions web/api/routes/index.ts

This file was deleted.

26 changes: 0 additions & 26 deletions web/api/routes/live.ts

This file was deleted.

28 changes: 0 additions & 28 deletions web/api/routes/series.ts

This file was deleted.

26 changes: 0 additions & 26 deletions web/api/routes/shop.ts

This file was deleted.

0 comments on commit b8bbaa7

Please sign in to comment.