mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 11:19:27 +08:00
fix: move requirements.txt to project root in directory structure diagrams
This commit is contained in:
parent
0b61c3fdf7
commit
7c1ea0f8e6
@ -83,8 +83,8 @@ sf data-code-extension function init --package-dir <directory>
|
||||
my-transform/ # Project root
|
||||
├── payload/ # CRITICAL: This is what --package-dir must point to for deploy
|
||||
│ ├── entrypoint.py # Main transformation code
|
||||
│ ├── requirements.txt # Python dependencies
|
||||
│ └── config.json # Code extension configuration
|
||||
├── requirements.txt # Python dependencies
|
||||
└── README.md
|
||||
```
|
||||
|
||||
|
||||
@ -139,8 +139,8 @@ After `init`, you'll have:
|
||||
my-transform/
|
||||
├── payload/
|
||||
│ ├── entrypoint.py # Your transformation code
|
||||
│ ├── config.json # Permissions and configuration
|
||||
│ └── requirements.txt # Python dependencies
|
||||
│ └── config.json # Permissions and configuration
|
||||
├── requirements.txt # Python dependencies
|
||||
└── README.md
|
||||
```
|
||||
|
||||
|
||||
@ -219,8 +219,8 @@ sf data-code-extension script scan --entrypoint ./payload/entrypoint.py
|
||||
my-project/
|
||||
├── payload/
|
||||
│ ├── entrypoint.py # Main code
|
||||
│ ├── config.json # Auto-generated permissions
|
||||
│ └── requirements.txt # Auto-generated dependencies
|
||||
│ └── config.json # Auto-generated permissions
|
||||
├── requirements.txt # Auto-generated dependencies
|
||||
└── README.md
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user