Skip to content

Add rae-diccionario-raycast extension #18973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions extensions/rae-diccionario-raycast/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
1 change: 1 addition & 0 deletions extensions/rae-diccionario-raycast/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
3 changes: 3 additions & 0 deletions extensions/rae-diccionario-raycast/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ...existing ignore patterns...
src/api/__snapshots__/*.snap
# ...existing ignore patterns...
4 changes: 4 additions & 0 deletions extensions/rae-diccionario-raycast/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
3 changes: 3 additions & 0 deletions extensions/rae-diccionario-raycast/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Diccionario RAE Changelog

## [Initial Version] - {PR_MERGE_DATE}
21 changes: 21 additions & 0 deletions extensions/rae-diccionario-raycast/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 rae-api.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
28 changes: 28 additions & 0 deletions extensions/rae-diccionario-raycast/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Diccionario RAE

Busca palabras en el diccionario de la Real Academia Española directamente desde Raycast. Obtén definiciones, conjugaciones y expresiones de forma rápida y sin abrir el navegador. Uso de [rae-api.com](https://rae-api.com), API de la RAE no oficial.

## Características

- Busca palabras en el diccionario de la RAE
- Muestra la palabra del día
- Obtén palabras aleatorias
- Copia definiciones rápidamente

## Comandos

- `Consultar palabra de la RAE`: Busca una palabra en el diccionario de la RAE
- `Consultar la palabra del día de la RAE`: Muestra la palabra del día
- `Consultar una palabra aleatoria de la RAE`: Muestra una palabra aleatoria del diccionario

## Configuración

No requiere configuración adicional.

## Créditos

Esta extensión utiliza la API no oficial de la RAE y no está afiliada con la Real Academia Española.

## Soporte

Si encuentras algún problema, por favor reporta el issue en GitHub.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions extensions/rae-diccionario-raycast/babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } }],
"@babel/preset-typescript"
]
}
6 changes: 6 additions & 0 deletions extensions/rae-diccionario-raycast/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const { defineConfig } = require("eslint/config");
const raycastConfig = require("@raycast/eslint-config");

module.exports = defineConfig([
...raycastConfig,
]);
28 changes: 28 additions & 0 deletions extensions/rae-diccionario-raycast/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import type { Config } from 'jest';

const config: Config = {
testEnvironment: 'node',
roots: ['<rootDir>/src'],
// Only match .test.ts or .spec.ts files, not .tsx
testMatch: [
'**/__tests__/**/*.+(ts)',
'**/?(*.)+(spec|test).+(ts)'
],
transform: {
'^.+\\.(ts)$': ['babel-jest', {}],
},
extensionsToTreatAsEsm: ['.ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transformIgnorePatterns: [
'/node_modules/(?!(node-fetch|data-uri-to-buffer|fetch-blob|formdata-polyfill)/)'
],
collectCoverage: true,
// Only collect coverage from .ts files, not .tsx
collectCoverageFrom: ['src/**/*.ts', '!src/**/*.d.ts'],
coverageDirectory: 'coverage',
coverageReporters: ['text', 'lcov'],
};

export default config;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading