0.54.0 ⢠Published 6 months ago
@formdata/create-project v0.54.0
@formdata/create-project
Create Form-Data projects with a single command.
Usage
# npm create
npm create @formdata/project@latest my-project
# or, using npx
npx @formdata/create-project my-project
# or, install globally
npm install -g @formdata/create-project
create-project my-projectFeatures
- š Quick Setup: Create a new Form-Data project with a single command
- š Authentication: Automatic login to Form-Data service
- š¢ Workspace Selection: Select which workspace to use for your project
- š Project Structure: Creates proper directory structure and configurations
- š Guided Setup: Interactive prompts for project setup
What This Tool Does
When you run this tool, it will:
- Create a new directory for your project
- If you're already logged in to Form-Data:
- Display a list of workspaces to choose from
- Allow you to log in with a different account
- If you're not logged in, guide you through the login process
- Create the
form-data.config.jsonfile with the selected workspace - Create the
formsfolder for your form definitions - Install necessary dependencies
- Provide instructions for next steps
Project Structure
The created project will have the following structure:
my-project/
āāā package.json
āāā form-data.config.json
āāā forms/Next Steps After Creation
Once your project is created, you can:
- Create a new form:
fd form create --name my-form --template contact - Edit the form in
forms/my-form.fd - Preview your form:
fd preview --name my-form - Deploy your form:
fd deploy
For more detailed instructions on how to use the cli, check out @formdata/cli package.
Requirements
- Node.js 14 or higher
- npm 6 or higher
License
MIT
0.54.0
6 months ago
0.52.0
6 months ago
0.50.0
6 months ago
0.49.0
7 months ago
0.47.0
7 months ago
0.46.0
7 months ago
0.45.0
7 months ago
0.43.0
7 months ago
0.42.0
7 months ago
0.40.0
7 months ago
0.38.0
7 months ago
0.36.0
7 months ago
0.32.0
7 months ago
0.30.0
7 months ago
0.28.0
7 months ago
0.26.0
7 months ago
0.24.0
7 months ago
0.22.0
7 months ago
0.20.0
7 months ago
0.18.0
8 months ago
0.16.0
8 months ago
0.14.0
8 months ago
0.11.0
8 months ago
0.8.0
8 months ago
0.4.0
8 months ago
0.3.2
8 months ago
0.3.1
8 months ago
0.1.1
8 months ago
0.1.0
8 months ago