@anvil-cloud/sdk 0.0.2 → 0.0.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.
package/README.md CHANGED
@@ -0,0 +1,60 @@
1
+ # @anvil-cloud/sdk
2
+
3
+ **Cloud infrastructure that's secure by default — not by accident.**
4
+
5
+ Anvil wraps raw cloud resources into opinionated, production-ready components. No 200-line Terraform modules. No copy-pasting security configs from Stack Overflow. Just declare what you need and Anvil handles the rest.
6
+
7
+ ```typescript
8
+ import * as anvil from '@anvil-cloud/sdk';
9
+
10
+ const bucket = new anvil.aws.Bucket('uploads', {
11
+ versioning: true,
12
+ });
13
+ ```
14
+
15
+ That S3 bucket ships with public access blocked, encryption enabled, and ACLs disabled — because that's how every bucket should start. You opt _in_ to risk, not out of it.
16
+
17
+ ## Multi-cloud
18
+
19
+ Anvil supports any cloud provider. AWS and GCP are available today, with more coming soon.
20
+
21
+ ## Quick start
22
+
23
+ **1. Install the CLI**
24
+
25
+ ```bash
26
+ brew install anvil-cloud/tap/anvil
27
+ ```
28
+
29
+ **2. Install the SDK**
30
+
31
+ ```bash
32
+ npm install @anvil-cloud/sdk
33
+ ```
34
+
35
+ **3. Write infrastructure**
36
+
37
+ ```typescript
38
+ // index.ts
39
+ import * as anvil from '@anvil-cloud/sdk';
40
+
41
+ const bucket = new anvil.aws.Bucket('uploads');
42
+ ```
43
+
44
+ **4. Deploy**
45
+
46
+ ```bash
47
+ anvil deploy
48
+ ```
49
+
50
+ ## How it works
51
+
52
+ Anvil is built on top of [Pulumi](https://www.pulumi.com/). Each component wraps one or more raw cloud resources with secure defaults baked in. You write TypeScript, Anvil handles the wiring.
53
+
54
+ ## Links
55
+
56
+ - [GitHub](https://github.com/anvil-cloud/anvil)
57
+
58
+ ## License
59
+
60
+ Apache-2.0
package/bin/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvil-cloud/sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "scripts": {
5
5
  "build": "tsc && cp package.json bin/"
6
6
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvil-cloud/sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "scripts": {
5
5
  "build": "tsc && cp package.json bin/"
6
6
  },