mirror of
https://github.com/apache/superset.git
synced 2026-05-08 09:25:56 +00:00
fix: Simplify extension folder name (#38690)
This commit is contained in:
committed by
Michael S. Molina
parent
54b313c659
commit
435e405263
@@ -45,7 +45,7 @@ superset-extensions validate: Validates the extension structure and metadata.
|
||||
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/
|
||||
@@ -76,7 +76,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)
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user