opscrew 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -2
  2. package/dist/opscrew.js +9460 -3730
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -27,7 +27,7 @@ Where it deploys:
27
27
  - **Cloudflare, with no server, for static and server-rendered sites:** see [Host your site on Cloudflare](https://docs.opscrew.dev/cloudflare-hosting/). Free for static files.
28
28
  - **GitHub Pages, for static sites in public repositories:** see [Publish your site on GitHub Pages](https://docs.opscrew.dev/github-pages/). Free, without custom headers or commercial use.
29
29
 
30
- One app can have several environments, such as dev on your computer, staging on a small server and prod on the live one, and a tested image moves to prod unchanged: see [dev, staging and prod](https://docs.opscrew.dev/environments/). Deploy jobs can also run on the server itself or on your computer: see [Self-hosted runners](https://docs.opscrew.dev/runners/).
30
+ One app can have several environments, such as dev on your computer, staging on a small server and prod on the live one, and a tested image moves to prod unchanged: see [dev, staging and prod](https://docs.opscrew.dev/environments/). Every pull request can get its own preview at its own address, on one small server of its own: see [Previews](https://docs.opscrew.dev/previews/). Deploy jobs can also run on the server itself or on your computer: see [Self-hosted runners](https://docs.opscrew.dev/runners/).
31
31
 
32
32
  DNS goes through Cloudflare, optionally. AWS, Google Cloud, Azure and Contabo come next.
33
33
 
@@ -78,9 +78,10 @@ In Claude Code, the OpsCrew plugin runs the same steps from the chat, and every
78
78
  ## After the first deploy
79
79
 
80
80
  - `npx opscrew logs` shows the app's log lines (`--follow` for new ones), and `npx opscrew status` what runs with its CPU, memory and disk. See [Your app's logs and resource figures](https://docs.opscrew.dev/logs-and-status/).
81
+ - `npx opscrew advise` says whether the app's servers are the right size, what could cost less and what needs attention soon, and how to apply each change. See [Advice on size, cost and upkeep](https://docs.opscrew.dev/advise/).
81
82
  - A deploy or a provision failed? See [When a deploy fails, and how to recover](https://docs.opscrew.dev/when-a-deploy-fails/): what your visitors get, what OpsCrew already put back and what to do next.
82
83
  - `npx opscrew destroy` deletes the deployment's infrastructure. It asks you to type the server name first and can take a snapshot.
83
- - `npx opscrew retarget --to <provider>` moves a live app to another cloud provider with its data (not yet to or from your own server or a Portainer). It builds the new server next to the old one, copies the database in a short maintenance window and switches DNS. The old server is deleted only when you run `opscrew retarget --finish`.
84
+ - `npx opscrew retarget --to <provider>` moves a live app to another cloud provider with its data (not yet to or from your own server or a Portainer). It builds the new server next to the old one, copies the database in a short maintenance window and switches DNS. The old server is deleted only when you run `opscrew retarget --finish`. See [Moving your app to another cloud provider](https://docs.opscrew.dev/retarget/).
84
85
  - No domain yet? `npx opscrew domain buy <domain>` buys one at cost after you confirm the price, through Cloudflare, Porkbun, Namecheap or GoDaddy. Already own one? `npx opscrew domain connect <domain>` moves its DNS to Cloudflare. See [Buying or connecting a domain](https://docs.opscrew.dev/domains/).
85
86
  - Several apps under one domain? See [Your domain on Cloudflare, and several apps in one zone](https://docs.opscrew.dev/cloudflare/).
86
87
  - Every guide page is listed in [the guide's index](https://docs.opscrew.dev/).