Skip to content

Commit

Permalink
🚧 limpiar configuraciones y package json
Browse files Browse the repository at this point in the history
  • Loading branch information
anattolia committed Sep 16, 2024
1 parent b3306f1 commit 64ce139
Show file tree
Hide file tree
Showing 9 changed files with 977 additions and 1,101 deletions.
15 changes: 0 additions & 15 deletions aplicaciones/www/cuenco-unal/.eslintrc.cjs

This file was deleted.

30 changes: 0 additions & 30 deletions aplicaciones/www/cuenco-unal/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions aplicaciones/www/cuenco-unal/.prettierrc.json

This file was deleted.

6 changes: 1 addition & 5 deletions aplicaciones/www/cuenco-unal/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"recommendations": [
"Vue.volar",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
"recommendations": ["Vue.volar", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
15 changes: 6 additions & 9 deletions aplicaciones/www/cuenco-unal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,24 @@
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/"
"type-check": "vue-tsc --build --force"
},
"dependencies": {
"mapbox-gl": "^3.6.0",
"pinia": "^2.1.7",
"vue": "^3.4.29",
"vue-router": "^4.3.3"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.8.0",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.14.5",
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"npm-run-all2": "^6.2.0",
"prettier": "^3.2.5",
"postcss": "^8.4.47",
"sass": "^1.78.0",
"typescript": "~5.4.0",
"vite": "^5.3.1",
"vue-tsc": "^2.0.21"
Expand Down
28 changes: 22 additions & 6 deletions aplicaciones/www/cuenco-unal/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",

"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "preserve",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
"@/*": ["src/*"],
"@/tipos/*": ["../../tipos/*"]
}
}
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "../../tipos/**/*"]
}
8 changes: 1 addition & 7 deletions aplicaciones/www/cuenco-unal/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"include": [
"vite.config.*",
"vitest.config.*",
"cypress.config.*",
"nightwatch.conf.*",
"playwright.config.*"
],
"include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "nightwatch.conf.*", "playwright.config.*"],
"compilerOptions": {
"composite": true,
"noEmit": true,
Expand Down
24 changes: 14 additions & 10 deletions aplicaciones/www/cuenco-unal/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import { fileURLToPath, URL } from 'node:url'
import { fileURLToPath, URL } from 'node:url';

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
],
plugins: [vue()],
build: {
outDir: 'publico',
assetsDir: 'estaticos',
sourcemap: true,
},
publicDir: 'estaticos',
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
});
Loading

0 comments on commit 64ce139

Please sign in to comment.