manifest.json: set author and authorUrl

Abierto Apto para principiantes
#24 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
80/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
electron, threejs, typescript
Área
frontend, release

Línea de trabajo

Empieza con manifest.json y releasesRepo en src/shared/update.ts, que debe recurrir a la constante RELEASES_REPO cuando falte authorUrl. Establece author y authorUrl, luego añade una prueba en tests/node.test.ts que compruebe que releasesRepo devuelve A21-devs/cortex para el manifest real. Está terminado cuando esa prueba y npm run check pasan, y los enlaces Docs y Changelog en src/ui/modals/AboutModal.ts siguen funcionando en npm run desktop.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

first issue

manifest.json has "author": "Cortex" and no authorUrl. Obsidian shows the author in its plugin list, and its plugin guidelines expect the author's name there, not the plugin's name. This is also the first step of #31.

Expected

"author": "A21-devs" (or the maintainer's name) and "authorUrl": "https://github.com/A21-devs". With that URL, releasesRepo() in src/shared/update.ts works out A21-devs/cortex from the manifest (one-part GitHub URL plus the plugin id) instead of falling back to the RELEASES_REPO constant.

Files to look at

  • manifest.json
  • src/shared/update.ts, releasesRepo
  • src/ui/modals/AboutModal.ts: the About dialog builds its links from the same fields
  • tests/commands.test.ts (update helpers) and tests/node.test.ts, which read the manifest
  • leave versions.json as it is

Acceptance criteria

  • author and authorUrl set in manifest.json
  • a test that releasesRepo returns A21-devs/cortex for the real manifest
  • About Cortex still shows working Docs and Changelog links (try it in npm run desktop)
  • npm run check passes

Setup

Read CONTRIBUTING.md and docs/DEVELOPMENT.md first. Node 20.11 or newer, and clone outside OneDrive, Dropbox or iCloud.

git clone https://github.com/A21-devs/cortex.git
cd cortex
npm ci
npm run check      # typecheck + module boundaries, unit tests, build (what CI runs)
npm run sample     # a made-up vault in your temp folder, so you never need your own notes
npm run desktop    # build and open Cortex Desktop to try your change

Taking it

Comment here if you want to take it, and I will assign it to you. Ask questions in this issue, I will answer here. One pull request, with "Closes #N" in the description.

Lenguaje dominante
TypeScript
Estrellas
2
Forks
1
Merge medio
5 min
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de A21-devs/cortex

Todos los issues de A21-devs/cortex

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.