@stacksjs/ts-cloud 0.1.9 → 0.1.11

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 (83) hide show
  1. package/README.md +17 -17
  2. package/dist/aws/setup-sms.d.ts +1 -0
  3. package/dist/bin/cli.js +11 -11
  4. package/dist/config.d.ts +1 -1
  5. package/dist/generators/infrastructure.d.ts +2 -2
  6. package/dist/index.d.ts +3 -3
  7. package/dist/index.js +43 -43
  8. package/dist/types.d.ts +1 -1
  9. package/dist/validation/template.d.ts +1 -1
  10. package/package.json +5 -6
  11. package/src/aws/acm.ts +0 -768
  12. package/src/aws/application-autoscaling.ts +0 -845
  13. package/src/aws/bedrock.ts +0 -4074
  14. package/src/aws/client.ts +0 -891
  15. package/src/aws/cloudformation.ts +0 -896
  16. package/src/aws/cloudfront.ts +0 -1531
  17. package/src/aws/cloudwatch-logs.ts +0 -154
  18. package/src/aws/comprehend.ts +0 -839
  19. package/src/aws/connect.ts +0 -1056
  20. package/src/aws/deploy-imap.ts +0 -384
  21. package/src/aws/dynamodb.ts +0 -340
  22. package/src/aws/ec2.ts +0 -1385
  23. package/src/aws/ecr.ts +0 -621
  24. package/src/aws/ecs.ts +0 -615
  25. package/src/aws/elasticache.ts +0 -301
  26. package/src/aws/elbv2.ts +0 -942
  27. package/src/aws/email.ts +0 -928
  28. package/src/aws/eventbridge.ts +0 -248
  29. package/src/aws/iam.ts +0 -1689
  30. package/src/aws/imap-server.ts +0 -2100
  31. package/src/aws/index.ts +0 -213
  32. package/src/aws/kendra.ts +0 -1097
  33. package/src/aws/lambda.ts +0 -786
  34. package/src/aws/opensearch.ts +0 -158
  35. package/src/aws/personalize.ts +0 -977
  36. package/src/aws/polly.ts +0 -559
  37. package/src/aws/rds.ts +0 -888
  38. package/src/aws/rekognition.ts +0 -846
  39. package/src/aws/route53-domains.ts +0 -359
  40. package/src/aws/route53.ts +0 -1046
  41. package/src/aws/s3.ts +0 -2334
  42. package/src/aws/scheduler.ts +0 -571
  43. package/src/aws/secrets-manager.ts +0 -769
  44. package/src/aws/ses.ts +0 -1081
  45. package/src/aws/setup-phone.ts +0 -104
  46. package/src/aws/setup-sms.ts +0 -580
  47. package/src/aws/sms.ts +0 -1735
  48. package/src/aws/smtp-server.ts +0 -531
  49. package/src/aws/sns.ts +0 -758
  50. package/src/aws/sqs.ts +0 -382
  51. package/src/aws/ssm.ts +0 -807
  52. package/src/aws/sts.ts +0 -92
  53. package/src/aws/support.ts +0 -391
  54. package/src/aws/test-imap.ts +0 -86
  55. package/src/aws/textract.ts +0 -780
  56. package/src/aws/transcribe.ts +0 -108
  57. package/src/aws/translate.ts +0 -641
  58. package/src/aws/voice.ts +0 -1379
  59. package/src/config.ts +0 -35
  60. package/src/deploy/index.ts +0 -7
  61. package/src/deploy/static-site-external-dns.ts +0 -945
  62. package/src/deploy/static-site.ts +0 -1175
  63. package/src/dns/cloudflare.ts +0 -548
  64. package/src/dns/godaddy.ts +0 -412
  65. package/src/dns/index.ts +0 -205
  66. package/src/dns/porkbun.ts +0 -362
  67. package/src/dns/route53-adapter.ts +0 -414
  68. package/src/dns/types.ts +0 -119
  69. package/src/dns/validator.ts +0 -369
  70. package/src/generators/index.ts +0 -5
  71. package/src/generators/infrastructure.ts +0 -1660
  72. package/src/index.ts +0 -163
  73. package/src/push/apns.ts +0 -452
  74. package/src/push/fcm.ts +0 -506
  75. package/src/push/index.ts +0 -58
  76. package/src/security/pre-deploy-scanner.ts +0 -655
  77. package/src/ssl/acme-client.ts +0 -478
  78. package/src/ssl/index.ts +0 -7
  79. package/src/ssl/letsencrypt.ts +0 -747
  80. package/src/types.ts +0 -2
  81. package/src/utils/cli.ts +0 -398
  82. package/src/validation/index.ts +0 -5
  83. package/src/validation/template.ts +0 -405
package/README.md CHANGED
@@ -6,13 +6,13 @@
6
6
  <!-- [![npm downloads][npm-downloads-src]][npm-downloads-href] -->
7
7
  <!-- [![Codecov][codecov-src]][codecov-href] -->
8
8
 
9
- # @stacksjs/ts-cloud
9
+ # ts-cloud
10
10
 
11
11
  > Zero-dependency AWS infrastructure as TypeScript. Deploy production-ready cloud infrastructure without AWS SDK or CLI.
12
12
 
13
13
  ## Overview
14
14
 
15
- @stacksjs/ts-cloud is a modern infrastructure-as-code framework that lets you define AWS infrastructure using TypeScript configuration files. Unlike AWS CDK or Terraform, @stacksjs/ts-cloud:
15
+ ts-cloud is a modern infrastructure-as-code framework that lets you define AWS infrastructure using TypeScript configuration files. Unlike AWS CDK or Terraform, ts-cloud:
16
16
 
17
17
  - **Zero AWS Dependencies** - No AWS SDK, no AWS CLI. Direct AWS API calls only.
18
18
  - **Type-Safe Configuration** - Full TypeScript types for all AWS resources
@@ -86,7 +86,7 @@ No SDK, no CLI - pure AWS Signature V4 API calls:
86
86
  ### Installation
87
87
 
88
88
  ```bash
89
- bun add @stacksjs/ts-cloud
89
+ bun add ts-cloud
90
90
  ```
91
91
 
92
92
  ### Your First Deployment
@@ -94,7 +94,7 @@ bun add @stacksjs/ts-cloud
94
94
  Create a `cloud.config.ts`:
95
95
 
96
96
  ```typescript
97
- import { createStaticSitePreset } from '@stacksjs/ts-cloud/presets'
97
+ import { createStaticSitePreset } from 'ts-cloud/presets'
98
98
 
99
99
  export default createStaticSitePreset({
100
100
  name: 'My Website',
@@ -121,7 +121,7 @@ That's it! You now have:
121
121
  #### Full-Stack Application
122
122
 
123
123
  ```typescript
124
- import { createFullStackAppPreset } from '@stacksjs/ts-cloud/presets'
124
+ import { createFullStackAppPreset } from 'ts-cloud/presets'
125
125
 
126
126
  export default createFullStackAppPreset({
127
127
  name: 'My App',
@@ -142,7 +142,7 @@ Includes:
142
142
  #### Serverless API
143
143
 
144
144
  ```typescript
145
- import { createApiBackendPreset } from '@stacksjs/ts-cloud/presets'
145
+ import { createApiBackendPreset } from 'ts-cloud/presets'
146
146
 
147
147
  export default createApiBackendPreset({
148
148
  name: 'My API',
@@ -165,7 +165,7 @@ Includes:
165
165
  You can extend any preset with custom configuration:
166
166
 
167
167
  ```typescript
168
- import { createNodeJsServerPreset, extendPreset } from '@stacksjs/ts-cloud/presets'
168
+ import { createNodeJsServerPreset, extendPreset } from 'ts-cloud/presets'
169
169
 
170
170
  export default extendPreset(
171
171
  createNodeJsServerPreset({
@@ -192,7 +192,7 @@ export default extendPreset(
192
192
  Combine multiple presets:
193
193
 
194
194
  ```typescript
195
- import { composePresets, createStaticSitePreset, createApiBackendPreset } from '@stacksjs/ts-cloud/presets'
195
+ import { composePresets, createStaticSitePreset, createApiBackendPreset } from 'ts-cloud/presets'
196
196
 
197
197
  export default composePresets(
198
198
  createStaticSitePreset({ name: 'Frontend', slug: 'frontend', domain: 'example.com' }),
@@ -215,7 +215,7 @@ export default composePresets(
215
215
  Generate templates programmatically:
216
216
 
217
217
  ```typescript
218
- import { CloudFormationBuilder } from '@stacksjs/ts-cloud/cloudformation'
218
+ import { CloudFormationBuilder } from 'ts-cloud/cloudformation'
219
219
 
220
220
  const builder = new CloudFormationBuilder(config)
221
221
  const template = builder.build()
@@ -228,7 +228,7 @@ console.log(JSON.stringify(template, null, 2))
228
228
  Use the AWS clients directly:
229
229
 
230
230
  ```typescript
231
- import { CloudFormationClient, S3Client, CloudFrontClient } from '@stacksjs/ts-cloud/aws'
231
+ import { CloudFormationClient, S3Client, CloudFrontClient } from 'ts-cloud/aws'
232
232
 
233
233
  // CloudFormation
234
234
  const cfn = new CloudFormationClient('us-east-1')
@@ -255,16 +255,16 @@ await cloudfront.createInvalidation({
255
255
 
256
256
  ## DNS Providers
257
257
 
258
- @stacksjs/ts-cloud supports multiple DNS providers for domain management and SSL certificate validation:
258
+ ts-cloud supports multiple DNS providers for domain management and SSL certificate validation:
259
259
 
260
260
  ### Cloudflare
261
261
 
262
262
  1. Log in to your [Cloudflare Dashboard](https://dash.cloudflare.com/)
263
- 2. Go to **My Profile** → **API Tokens** (or visit https://dash.cloudflare.com/profile/api-tokens)
263
+ 2. Go to **My Profile** → **API Tokens** (or visit <https://dash.cloudflare.com/profile/api-tokens>)
264
264
  3. Click **Create Token**
265
265
  4. Use the **Edit zone DNS** template, or create a custom token with:
266
- - **Permissions**: Zone → DNS → Edit
267
- - **Zone Resources**: Include → All zones (or specific zones)
266
+ - **Permissions**: Zone → DNS → Edit
267
+ - **Zone Resources**: Include → All zones (or specific zones)
268
268
  5. Copy the generated token
269
269
 
270
270
  ```bash
@@ -349,7 +349,7 @@ bun run typecheck
349
349
 
350
350
  ### No Dependencies
351
351
 
352
- @stacksjs/ts-cloud uses **zero external dependencies** for AWS operations:
352
+ ts-cloud uses **zero external dependencies** for AWS operations:
353
353
 
354
354
  - **AWS Signature V4** - Manual request signing for authentication
355
355
  - **Direct HTTPS** - Native `fetch()` for API calls
@@ -397,8 +397,8 @@ The MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.
397
397
  Made with 💙
398
398
 
399
399
  <!-- Badges -->
400
- [npm-version-src]: https://img.shields.io/npm/v/@stacksjs/ts-cloud?style=flat-square
401
- [npm-version-href]: https://npmjs.com/package/@stacksjs/ts-cloud
400
+ [npm-version-src]: https://img.shields.io/npm/v/ts-cloud?style=flat-square
401
+ [npm-version-href]: https://npmjs.com/package/ts-cloud
402
402
  [github-actions-src]: https://img.shields.io/github/actions/workflow/status/stacksjs/ts-cloud/ci.yml?style=flat-square&branch=main
403
403
  [github-actions-href]: https://github.com/stacksjs/ts-cloud/actions?query=workflow%3Aci
404
404
 
@@ -6,6 +6,7 @@ export declare function setupSmsInfrastructure(config: SmsSetupConfig): Promise<
6
6
  /**
7
7
  * Get complete SMS infrastructure status
8
8
  */
9
+ // pickier-disable-next-line no-unused-vars
9
10
  export declare function getSmsInfrastructureStatus(config: {
10
11
  region?: string
11
12
  accountName?: string