Skip to content

Commit 4b5f1c9

Browse files
committed
:shipit: initial commit
1 parent 0fb6043 commit 4b5f1c9

29 files changed

Lines changed: 3787 additions & 0 deletions
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
2+
charset = utf-8
3+
indent_size = 2
4+
indent_style = space
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
8+
end_of_line = lf
9+
max_line_length = 100
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
23+
.idea
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
30+
*.tsbuildinfo
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
{
3+
"$schema": "https://json.schemastore.org/prettierrc",
4+
"semi": false,
5+
"singleQuote": true,
6+
"printWidth": 100
7+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"Vue.volar",
4+
"dbaeumer.vscode-eslint",
5+
"EditorConfig.EditorConfig",
6+
"esbenp.prettier-vscode"
7+
]
8+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# dia-1
2+
3+
```
4+
pnpm create vue@latest ToDoList
5+
```
6+
7+
## Opciones
8+
9+
```
10+
Vue.js - The Progressive JavaScript Framework
11+
12+
✔ Package name: … todolist
13+
✔ Add TypeScript? … No / Yes
14+
✔ Add JSX Support? … No / Yes
15+
✔ Add Vue Router for Single Page Application development? … No / Yes
16+
✔ Add Pinia for state management? … No / Yes
17+
✔ Add Vitest for Unit Testing? … No / Yes
18+
✔ Add an End-to-End Testing Solution? › No
19+
✔ Add ESLint for code quality? › Yes
20+
✔ Add Prettier for code formatting? … No / Yes
21+
```
22+
23+
## Extensiones recomendadas
24+
25+
- Ver `.vscode/extensions.json`
26+
- En VS Code, aparecerá un mensaje para instalar las extensiones recomendadas
27+
al abrir el proyecto.
28+
29+
## Desarrollo
30+
31+
```
32+
cd todolist
33+
pnpm install
34+
pnpm dev
35+
```
36+
37+
## Compilación
38+
39+
```
40+
pnpm build
41+
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="vite/client" />
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import pluginVue from 'eslint-plugin-vue'
2+
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
3+
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
4+
5+
// To allow more languages other than `ts` in `.vue` files, uncomment the following lines:
6+
// import { configureVueProject } from '@vue/eslint-config-typescript'
7+
// configureVueProject({ scriptLangs: ['ts', 'tsx'] })
8+
// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup
9+
10+
export default defineConfigWithVueTs(
11+
{
12+
name: 'app/files-to-lint',
13+
files: ['**/*.{ts,mts,tsx,vue}'],
14+
},
15+
16+
{
17+
name: 'app/files-to-ignore',
18+
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
19+
},
20+
21+
pluginVue.configs['flat/essential'],
22+
vueTsConfigs.recommended,
23+
skipFormatting,
24+
)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="">
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel="icon" href="/favicon.ico">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Vite App</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.ts"></script>
12+
</body>
13+
</html>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "todolist",
3+
"version": "0.0.0",
4+
"private": true,
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "run-p type-check \"build-only {@}\" --",
9+
"preview": "vite preview",
10+
"build-only": "vite build",
11+
"type-check": "vue-tsc --build",
12+
"lint": "eslint . --fix",
13+
"format": "prettier --write src/"
14+
},
15+
"dependencies": {
16+
"vue": "^3.5.13"
17+
},
18+
"devDependencies": {
19+
"@tsconfig/node22": "^22.0.0",
20+
"@types/node": "^22.13.4",
21+
"@vitejs/plugin-vue": "^5.2.1",
22+
"@vue/eslint-config-prettier": "^10.2.0",
23+
"@vue/eslint-config-typescript": "^14.4.0",
24+
"@vue/tsconfig": "^0.7.0",
25+
"eslint": "^9.20.1",
26+
"eslint-plugin-vue": "^9.32.0",
27+
"jiti": "^2.4.2",
28+
"npm-run-all2": "^7.0.2",
29+
"prettier": "^3.5.1",
30+
"typescript": "~5.7.3",
31+
"vite": "^6.1.0",
32+
"vite-plugin-vue-devtools": "^7.7.2",
33+
"vue-tsc": "^2.2.2"
34+
}
35+
}

0 commit comments

Comments
 (0)