Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@bagdock/cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bagdock/cli - npm Package Compare versions

Comparing version
0.1.1
to
0.1.3
+21
LICENSE
MIT License
Copyright (c) 2024-present Bagdock Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+10
-5
{
"name": "@bagdock/cli",
"version": "0.1.1",
"version": "0.1.3",
"description": "Bagdock developer CLI — build, test, and deploy apps and edges on the Bagdock platform",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/bagdock/bagdock.git",
"directory": "packages/cli"
"url": "git+https://github.com/bagdock/bagdock-cli.git"
},
"homepage": "https://github.com/bagdock/bagdock-cli#readme",
"bugs": {
"url": "https://github.com/bagdock/bagdock-cli/issues"
},
"type": "module",

@@ -16,3 +20,4 @@ "bin": {

"dist",
"README.md"
"README.md",
"LICENSE"
],

@@ -24,3 +29,3 @@ "publishConfig": {

"dev": "bun run bin/bagdock.ts",
"build": "bun build bin/bagdock.ts --outdir dist --target node && node -e \"const fs=require('fs');const f='dist/bagdock.js';fs.writeFileSync(f,'#!/usr/bin/env node\\n'+fs.readFileSync(f,'utf8'))\"",
"build": "bun build bin/bagdock.ts --outdir dist --target node --format esm && node -e \"const fs=require('fs');const f='dist/bagdock.js';let c=fs.readFileSync(f,'utf8');c=c.replace(/^#!.*\\n/,'').replace(/^\\/\\/ @bun\\n/,'');fs.writeFileSync(f,'#!/usr/bin/env node\\n'+c)\"",
"prepublishOnly": "bun run build",

@@ -27,0 +32,0 @@ "typecheck": "tsc --noEmit"

@@ -8,5 +8,23 @@ # @bagdock/cli

```bash
# npm
npm install -g @bagdock/cli
# yarn
yarn global add @bagdock/cli
# pnpm
pnpm add -g @bagdock/cli
# bun
bun add -g @bagdock/cli
```
Or run without installing:
```bash
npx @bagdock/cli --help
bunx @bagdock/cli --help
pnpm dlx @bagdock/cli --help
```
## Quick start

@@ -30,7 +48,7 @@

**Edges** are backend workers that connect external APIs, handle webhooks, and sync data between platforms. Examples: a Noke lock adapter, a Telnyx comms worker, a payment processor handler.
**Edges** are backend workers that connect external APIs, handle webhooks, and sync data between platforms.
**Apps** are UI extensions that add screens, panels, or drawers to the Bagdock operator dashboard — similar to HubSpot CRM cards or Shopify App Bridge extensions.
**Apps** are UI extensions that add screens, panels, and drawers to the Bagdock operator dashboard.
Both deploy to Cloudflare Workers for Platforms via the Bagdock API. You never need Cloudflare credentials.
Both deploy to the Bagdock platform via the CLI. You don't need to manage any infrastructure.

@@ -92,2 +110,2 @@ ## Commands

Proprietary — Copyright Bagdock Ltd.
MIT — see [LICENSE](LICENSE).

Sorry, the diff of this file is too big to display