fix: Simplify extension folder name (#38690)

This commit is contained in:
Michael S. Molina
2026-03-17 14:00:19 -03:00
committed by GitHub
parent 5865176f36
commit 6f301707f9
4 changed files with 33 additions and 35 deletions

View File

@@ -49,7 +49,7 @@ superset-extensions update: Updates derived and generated files in the extension
When creating a new extension with `superset-extensions init`, the CLI generates a standardized folder structure:
```
my-org.dataset-references/
dataset-references/
├── extension.json
├── frontend/
│ ├── src/
@@ -80,7 +80,7 @@ my-org.dataset-references/
```
**Note**: With publisher `my-org` and name `dataset-references`, the technical names are:
- Directory name: `my-org.dataset-references` (kebab-case)
- Directory name: `dataset-references` (kebab-case)
- Backend Python namespace: `my_org.dataset_references`
- Backend distribution package: `my_org-dataset_references`
- Frontend package name: `@my-org/dataset-references` (scoped)

View File

@@ -75,7 +75,7 @@ This approach ensures that extensions from different organizations cannot confli
This creates a complete project structure:
```
my-org.hello-world/
hello-world/
├── extension.json # Extension metadata and configuration
├── backend/ # Backend Python code
│ ├── src/