Skip to content

Commit

Permalink
Begin migration to Nuxt 3
Browse files Browse the repository at this point in the history
  • Loading branch information
RihanArfan committed May 7, 2023
1 parent 9ad5413 commit d891d88
Show file tree
Hide file tree
Showing 191 changed files with 5,701 additions and 6,111 deletions.
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
BEREAL_API_ENDPOINT = ""
BEREAL_AUTH_REQUEST_ENDPOINT = ""
BEREAL_AUTH_VERIFY_ENDPOINT = ""
GOOGLE_SECRET = ""
GOOGLE_CONVERT_ENDPOINT = ""
GOOGLE_REFRESH_ENDPOINT = ""

VITE_BING_MAPS_KEY = ""
1 change: 0 additions & 1 deletion .env.local.example

This file was deleted.

22 changes: 2 additions & 20 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: [
"plugin:@tanstack/eslint-plugin-query/recommended",
"plugin:vue/vue3-recommended",
"eslint:recommended",
"@vue/eslint-config-typescript",
"@vue/eslint-config-prettier",
"@nuxt/eslint-config",
"prettier",
],
overrides: [
{
files: ["cypress/e2e/**.{cy,spec}.{js,ts,jsx,tsx}"],
extends: ["plugin:cypress/recommended"],
},
],
parserOptions: {
ecmaVersion: "latest",
},
ignorePatterns: ["auto-imports.d.ts", "components.d.ts"],
rules: {
"no-undef": "off",
},
};
22 changes: 11 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
node_modules
*.log*
.nuxt
.nitro
.cache
.output
.env
dist
.DS_Store

# Logs
logs
*.log
Expand All @@ -7,17 +17,6 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
dev-dist
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
Expand All @@ -28,5 +27,6 @@ coverage
*.sln
*.sw?

# Environment variables
.dev.vars
.env
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
public-hoist-pattern[]=['*eslint*', '*prettier*', '@vue/runtime-core']
shamefully-hoist=true
7 changes: 6 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
"recommendations": [
"vue.volar",
"vue.vscode-typescript-vue-plugin",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
7 changes: 7 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<template>
<VitePwaManifest />
<NuxtLoadingIndicator />
<div>
<NuxtWelcome />
</div>
</template>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
79 changes: 0 additions & 79 deletions auto-imports.d.ts

This file was deleted.

35 changes: 0 additions & 35 deletions components.d.ts

This file was deleted.

8 changes: 0 additions & 8 deletions cypress.config.ts

This file was deleted.

8 changes: 0 additions & 8 deletions cypress/e2e/example.cy.ts

This file was deleted.

10 changes: 0 additions & 10 deletions cypress/e2e/tsconfig.json

This file was deleted.

5 changes: 0 additions & 5 deletions cypress/fixtures/example.json

This file was deleted.

39 changes: 0 additions & 39 deletions cypress/support/commands.ts

This file was deleted.

20 changes: 0 additions & 20 deletions cypress/support/e2e.ts

This file was deleted.

2 changes: 0 additions & 2 deletions env.d.ts

This file was deleted.

40 changes: 0 additions & 40 deletions functions/api/[[api]].ts

This file was deleted.

Loading

0 comments on commit d891d88

Please sign in to comment.