-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2178 from dandi/vue3-migration
Vue 3 Migration
- Loading branch information
Showing
95 changed files
with
4,651 additions
and
1,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
> 1% | ||
last 2 versions | ||
not dead | ||
not ie 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}] | ||
charset = utf-8 | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
.vite | ||
components.d.ts | ||
typed-router.d.ts | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/// <reference types="vite/client" /> | ||
/// <reference types="unplugin-vue-router/client" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* .eslint.js | ||
* | ||
* ESLint configuration file. | ||
*/ | ||
|
||
import pluginVue from 'eslint-plugin-vue' | ||
import pluginVuetify from 'eslint-plugin-vuetify' | ||
import vueTsEslintConfig from '@vue/eslint-config-typescript' | ||
|
||
export default [ | ||
{ | ||
name: 'app/files-to-lint', | ||
files: ['**/*.{ts,mts,tsx,vue}'], | ||
}, | ||
|
||
{ | ||
name: 'app/files-to-ignore', | ||
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'], | ||
}, | ||
|
||
...pluginVue.configs['flat/recommended'], | ||
...pluginVuetify.configs['flat/recommended'], | ||
...vueTsEslintConfig(), | ||
|
||
{ | ||
rules: { | ||
'@typescript-eslint/no-unused-expressions': [ | ||
'error', | ||
{ | ||
allowShortCircuit: true, | ||
allowTernary: true, | ||
}, | ||
], | ||
'vue/multi-word-component-names': 'off', | ||
} | ||
} | ||
] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"name": "dandi-archive", | ||
"private": true, | ||
"type": "module", | ||
"engines": { | ||
"node": "20.x" | ||
}, | ||
"version": "0.0.0", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "run-p type-check \"build-only {@}\" --", | ||
"preview": "vite preview", | ||
"build-only": "vite build", | ||
"type-check": "vue-tsc --build --force", | ||
"lint": "eslint . --fix" | ||
}, | ||
"dependencies": { | ||
"@apidevtools/json-schema-ref-parser": "^11.7.3", | ||
"@mdi/font": "7.4.47", | ||
"@resonant/oauth-client": "^0.9.2", | ||
"axios": "^1.7.9", | ||
"core-js": "^3.37.1", | ||
"dompurify": "^3.2.3", | ||
"filesize": "^10.1.6", | ||
"marked": "^15.0.6", | ||
"moment": "^2.30.1", | ||
"pinia": "^2.3.0", | ||
"roboto-fontface": "*", | ||
"vue": "^3.4.31", | ||
"vuetify": "^3.6.14" | ||
}, | ||
"devDependencies": { | ||
"@eslint/js": "^9.14.0", | ||
"@tsconfig/node22": "^22.0.0", | ||
"@types/node": "^22.9.0", | ||
"@vitejs/plugin-vue": "^5.1.4", | ||
"@vue/eslint-config-typescript": "^14.1.3", | ||
"@vue/tsconfig": "^0.5.1", | ||
"eslint": "^9.14.0", | ||
"eslint-plugin-vue": "^9.30.0", | ||
"eslint-plugin-vuetify": "^2.5.1", | ||
"npm-run-all2": "^7.0.1", | ||
"sass": "1.77.8", | ||
"sass-embedded": "^1.77.8", | ||
"typescript": "~5.6.3", | ||
"unplugin-fonts": "^1.1.1", | ||
"unplugin-vue-components": "^0.27.2", | ||
"unplugin-vue-router": "^0.10.0", | ||
"vite": "^5.4.10", | ||
"vite-plugin-node-polyfills": "^0.22.0", | ||
"vite-plugin-vuetify": "^2.0.3", | ||
"vue-router": "^4.4.0", | ||
"vue-tsc": "^2.1.10" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.