
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@osdk/create-app
Advanced tools
A CLI for bootstrapping OSDK apps on top of popular frameworks
The CLI may be run directly through npx with npx @osdk/create-app@latest
or with the alias npm create @osdk/app@latest
. When the NPM package is explicitly installed for example with npm install -g @osdk/create-app@latest
the create-osdk-app
binary is also available.
Run the following commands from the repository root:
pnpm install
pnpm build
cd packages/create-app
./bin/createOsdkApp.mjs
Changes to templates require updating examples/
which can be done with the @osdk/example-generator
package.
The CLI can be run without any arguments and the user will be guided with interactive prompts to fill in required information. The prompts may be skipped by providing the relevant information in through arguments instead.
npx @osdk/create-app [project] [--<option>]
Option | Description |
---|---|
--overwrite | Overwrite project directory if already exists [boolean] |
--template | Template name to use [string] |
--sdkVersion | The SDK version to use (1.x or 2.x), defaults to 1.x [string] |
--foundryUrl | URL for the Foundry stack [string] |
--applicationUrl | URL the production application will be hosted on [string] |
--skipApplicationUrl | Skip filling in URL the production application will be hosted on [boolean] |
--application | Application resource identifier (rid) [string] |
--ontology | Ontology resource identifier (rid) [string] |
--clientId | OAuth client ID for application [string] |
--osdkPackage | OSDK package name for application [string] |
--osdkRegistryUrl | URL for NPM registry to install OSDK package [string] |
--corsProxy | Include a CORS proxy for Foundry API requests during local development [boolean] |
--scopes | Scopes to request during OAuth flow [array] |
Template name | Description |
---|---|
react | React with Vite |
vue | Vue with Vite |
FAQs
A CLI for bootstrapping OSDK apps on top of popular frameworks
The npm package @osdk/create-app receives a total of 255 weekly downloads. As such, @osdk/create-app popularity was classified as not popular.
We found that @osdk/create-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.