[Bug] sanitizeCatalogImageUrl is missing from the published declaration bundle
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- build-system
Línea de trabajo
Comienza con src/index.tsx y compara sus exports raíz con el dist/index.d.ts publicado. Reproduce la discrepancia con los comandos npm pack y grep del issue y, después, verifica que la importación de sanitizeCatalogImageUrl desde @sistent/sistent esté representada tanto en el bundle de runtime como en las declaraciones generadas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current Behavior
@sistent/[email protected] exports sanitizeCatalogImageUrl at runtime, but the symbol is missing from the published dist/index.d.ts.
Because of this, importing it from the package root fails for TypeScript consumers:
import { sanitizeCatalogImageUrl } from '@sistent/sistent';
TS2305: Module '"@sistent/sistent"' has no exported member 'sanitizeCatalogImageUrl'.
This was previously addressed in #1697. The explicit root export was added in 8567da11, but was discarded by the sync merge b7d22bbc before the PR was merged.
The leaf module and the exports through Helper.ts and src/custom/index.tsx are still present. The explicit export from src/index.tsx is not.
Expected Behavior
sanitizeCatalogImageUrl should be available from the package root in both the runtime bundle and the generated TypeScript declarations.
Screenshots/Logs
Published 0.22.6 package:
npm pack @sistent/[email protected]
tar -xzOf sistent-sistent-0.22.6.tgz package/dist/index.d.ts | grep sanitizeCatalogImageUrl
# no result
tar -xzOf sistent-sistent-0.22.6.tgz package/dist/index.js | grep sanitizeCatalogImageUrl
# symbol is present
The export is present before the sync merge and absent afterward:
git show 8567da11:src/index.tsx | grep -c sanitizeCatalogImageUrl
# 3
git show 'b7d22bbc^1:src/index.tsx' | grep -c sanitizeCatalogImageUrl
# 3
git show 'b7d22bbc^2:src/index.tsx' | grep -c sanitizeCatalogImageUrl
# 0
git show b7d22bbc:src/index.tsx | grep -c sanitizeCatalogImageUrl
# 0
Environment
- Package:
@sistent/[email protected] master:731e3b4b- Reproduced against the published npm package
Contributor Guides and Resources
- 🛠 Meshery Build & Release Strategy
- 📚 Instructions for contributing to documentation
- 🎨 Wireframes and designs for Sistent site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack
- Lenguaje dominante
- TypeScript
- Estrellas
- 137
- Forks
- 242
- Merge medio
- 6 d 11 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de layer5io/sistent
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
component/ui help wanted kind/enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
layer5io/sistent#1772 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
layer5io/sistent#1749 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
ESM build is not loadable by Node: extensionless 'lodash/debounce' specifier in dist/index.mjsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
layer5io/sistent#1739 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Catalog design card titles truncate to single line with no way to see full namePosiblemente ocupada @Maanvi212006 la tomó hace 10 días. Abiertokind/bug
layer5io/sistent#1849 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de layer5io/sistent
Issues similares
-
area/core status/need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
google-gemini/gemini-cli#29602 ·
Los mantenedores suelen responder en 1 día
-
area: backend enhancement priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
snapotter-hq/SnapOtter#1879 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Tencent/BrowserSkill#390 ·
Los mantenedores suelen responder en 1 día
-
good first issue status: needs triaging type: bug version: 2.0
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
medusajs/medusa#17094 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día