You can define Rippling components, such as custom objects, in TypeScript, create them in a Rippling company, and share them with other companies as a package.
Where to start
| If you want to… | Start here |
|---|---|
| Learn what Metadata is and how a project works | How does a Metadata project work? |
| Create a custom object and list view as code and add them to a sandbox | Create your first Metadata components |
| Copy components that you built or changed in the Rippling UI into your project | Pull components into your project |
| Start a new project from an existing package | Start a project from a package |
| Share your components with other companies as a package | Create and publish the first version, then install it in a second sandbox |
| Release a change to a package that you already published | Release another version |
| Run a Function after a package installs | Run a Function after the package installs |
| Choose the Custom App that opens after a package installs | Choose the Custom App that opens after the package installs |
| Look up command syntax and flags | CLI project commands and CLI package commands |
How does a Metadata project work?
In Rippling, Metadata is the configuration behind components such as custom objects, list views, Functions, and workflows.
A Rippling project defines those components in TypeScript.
Its manifest, rippling.manifest.ts, lists the components in the project.
Components can reference each other. For example, a list view references a custom object and selects which of its fields appear as columns.
We recommend that you keep the project in version control.
How do you start a project?
Install the Rippling CLI and Node.js LTS, then install pnpm.
Run rippling project init to create a project:
rippling project init --name my-project
The command creates a my-project directory with an empty manifest, rippling.manifest.ts, and runs pnpm install for the project's dependencies.
To skip the installation, add --skip-install.
The command also initializes a Git repository. To skip that, add --skip-git.
How do you create your project's components in a company?
From the root of your Rippling project:
- Run
rippling project validateto preview what Rippling would add, change, or remove in the company to match your project. - Run
rippling project deployto apply the plan.
Your CLI context selects the company. To test changes first, use a sandbox.
How do you copy components from Rippling into your project?
Run rippling project pull to copy components that you built in the Rippling UI into your project.
If a component is already in your project, the CLI asks before it replaces the file.
The command copies component settings, such as an object's fields.
Records stay in the company that you pull from.
When do you need a package?
rippling project deploy creates your components in one company.
To let other companies install them, create a package.
A package is a named set of components from your project.
You release it as versions, such as 0.1.0, and each version is a copy of your components as they were when you created it.
Publish a version to make it available to install.
A published version is final, so release later changes as a new version with a higher number.
To run project and package commands, you need access to the Developer Program closed beta.