-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project-types): updated project types to have latest eslint and …
…typedoc configurations ESLint now uses version 9.0 and the configuration files were updated to use a flat config file. The TypeDoc documentation now uses a custom thme and and fixes some bugs. BREAKING CHANGE: The task copy now has different arguments expected. fix #7
- Loading branch information
Showing
44 changed files
with
434 additions
and
331 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
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
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 |
---|---|---|
|
@@ -47,6 +47,7 @@ | |
"packageManager": "[email protected]", | ||
"scripts": { | ||
"prepare": "husky", | ||
"prepack": "npm start build", | ||
"start": "nps" | ||
}, | ||
"dependencies": { | ||
|
@@ -75,6 +76,7 @@ | |
"@storybook/react": "^8.2.8", | ||
"@storybook/react-vite": "^8.2.8", | ||
"@storybook/theming": "^8.2.8", | ||
"@testing-library/dom": "^10.4.0", | ||
"@testing-library/jest-dom": "^6.4.8", | ||
"@testing-library/react": "^16.0.0", | ||
"@types/command-exists": "^1.2.3", | ||
|
@@ -135,7 +137,6 @@ | |
"tsconfig.js": "^3.0.0", | ||
"tsx": "^4.17.0", | ||
"typedoc": "^0.26.5", | ||
"typedoc-plugin-mdn-links": "^3.2.7", | ||
"typescript": "^5.5.4", | ||
"typescript-eslint": "^8.0.1", | ||
"vite": "^5.4.0" | ||
|
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
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 |
---|---|---|
@@ -1,38 +1,18 @@ | ||
{ | ||
"descriptions": { | ||
"commands": { | ||
"create": "crea un nuevo proyecto en la carpeta con el nombre del mismo", | ||
"init": "inicializa un proyecto en la carpeta actual", | ||
"update": "actualiza los archivos de la raíz del proyecto", | ||
"eject": "extrae y presenta los archivos de configuración en la raíz del proyecto", | ||
"run": "ejecuta un comando con nps con la configuración de gobstones-scrips" | ||
}, | ||
"args": { | ||
"config": "muestra la configuración de la herramienta", | ||
"type": "el tipo de proyecto a crear, alguno de {{options}}\"", | ||
"packageManager": "el manejador de proyectos a utilizar, alguno de {{options}}", | ||
"silent": "correr silenciosamente, sin mostrar la cabecera de la herramienta", | ||
"debug": "correr en modo de depuración, imprimiendo toda la traza de ejecución del código", | ||
"test": "correr usando verdaccio como registro", | ||
"useLocalTsconfigJson": "usar el archivo de configuración tsconfig.json de la raíz del proyecto" | ||
} | ||
"language": "El idioma en el que corre la herramienta", | ||
"in": "El archivo de entrada", | ||
"out": "El archivo de salida", | ||
"tool": "La herraminta mas asombrosa", | ||
"version": "Muestra la versión", | ||
"help": "Muestra la ayuda" | ||
}, | ||
"messages": { | ||
"welcome": "Bienvenido a gobstones-scripts versión {{version}}", | ||
"creatingProject": "Creando un proyecto con el nombre '{{projectName}}' del tipo '{{projectType}}' usando el manejador '{{packageManager}}'.", | ||
"initializingProject": "Inicializando un proyecto en el directorio actual del tipo '{{projectType}}' usando el manejador '{{packageManager}}'.", | ||
"updatingFiles": "Actualizando archivos del proyecto actual del tipo '{{projectType}}' usando el manejador '{{packageManager}}'. Archivos a actualizar: {{files}}", | ||
"ejectingFiles": "Eyectando archivos del proyecto actual del tipo '{{projectType}}' usando el manejador '{{packageManager}}'. Archivos a eyectar: {{files}}", | ||
"presentingCommands": "Mostranso todos los comandos para el proyecto del tipo '{{projectType}}' usando el manejador '{{packageManager}}'.", | ||
"executingCommands": "Ejecutando comando '{{command}}' en proyecto del tipo '{{projectType}}' usando el manejador '{{packageManager}}'.", | ||
"configuration": "La configuración del proyecto es:\n\n\tTipo de proyecto: {{projectType}}\n\tManejador de proyecto: {{projectManager}}\n\tCorriendo en modo test: {{isTestMode}}\n\tCorriendo en modo depuración: {{isDebugMode}}\n\tUsando el archivo tsconfig.json: {{usingLocalTsConfig}}\n\tUsando rutas completas: {{usingFullPaths}}\n", | ||
"folders": "La carpeta raíz detectada es:\n\t{{- rootFolder}}\n\nLa carpeta raíz de gobstones-scripts es:\n\t{{- gobstonesScriptsFolder}}\n", | ||
"files": "Los archivos {{pathType}} para usar como configuración son:" | ||
"commands": { | ||
"awesome": "El comando awesome", | ||
"notcool": "El comando notCool" | ||
}, | ||
"errors": { | ||
"invalidOption": "El valor '{{optionValue}}' no es una opción válida para el argumento '{{optionName}}'\nPor favor, seleccione alguno de los siguientes: {{options}}", | ||
"unexpected": "Ocurrió un error inesperado. Ejecuta la herramienta en modo de depuración para ver el mensaje completo de error.", | ||
"emptyFolder": "La carpeta objetivo debe estar vacía (la carpeta actual en caso de init, o la del mismo nombre del proyecto en caso de create), sin embargo contiene elementos.\nAseguresé de que la carpeta está vacía y vuelva a intentar.", | ||
"undefinedTsConfig": "La configuración actual indica que se va a usar un archivo tsconfig.json en la raíz del proyecto, pero el archivo no existe." | ||
"file": "El archivo no existe", | ||
"language": "El idioma no existe" | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"ts-node": { | ||
"compilerOptions": { | ||
"module": "commonjs" | ||
} | ||
}, | ||
"compilerOptions": { | ||
"target": "es2015", | ||
"rootDir": "./src", | ||
"esModuleInterop": true, | ||
"allowJs": true, | ||
"sourceMap": true, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"declarationDir": "./dist/typings", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"stripInternal": true, | ||
"composite": false, | ||
"skipLibCheck": true, | ||
"jsx": "react", | ||
"module": "ESNext" | ||
}, | ||
"include": ["./src/**/*"] | ||
} |
2 changes: 1 addition & 1 deletion
2
project-types/Common/commitlint.config.js → project-types/Common/commitlint.config.mjs
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
export default { | ||
extends: ['@commitlint/config-conventional'] | ||
}; |
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
root=true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
charset=utf-8 | ||
end_of_line=lf | ||
indent_style=space | ||
indent_size=4 | ||
trim_trailing_whitespace=true | ||
insert_final_newline=true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
trim_trailing_whitespace=false | ||
|
||
# Use 2 spaces since npm does not respect custom indentation settings | ||
[package.json] | ||
indent_style = space | ||
indent_size = 2 | ||
indent_style=space | ||
indent_size=2 |
Oops, something went wrong.