cloudhop 0.0.0-stage → 0.1.0

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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +60 -2
  3. package/dist/cli.js +12735 -0
  4. package/package.json +46 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dayepesb
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,61 @@
1
- # Temporary Holding Version
1
+ # cloudhop
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [![Pipeline](https://github.com/dayepesb/cloudhop/actions/workflows/pipeline.yml/badge.svg)](https://github.com/dayepesb/cloudhop/actions/workflows/pipeline.yml)
4
+ [![npm](https://img.shields.io/npm/v/cloudhop)](https://www.npmjs.com/package/cloudhop)
5
+
6
+ > 🚧 Early preview. AWS works today; Azure and Google Cloud are planned.
7
+
8
+ Hop between cloud accounts, roles and regions with one command.
9
+
10
+ ```bash
11
+ npm i -g cloudhop
12
+ cloudhop setup # pick your clouds, add an SSO portal or personal account
13
+
14
+ hop pragma1 s3 ls # runs `aws s3 ls` with the right account, role and region
15
+ hop pragma1 # who am I?
16
+ cloudhop exec pragma1 -- terraform plan
17
+ cloudhop ui # or manage everything from a local web page
18
+ ```
19
+
20
+ ## Why
21
+
22
+ Working with several AWS SSO portals plus personal accounts means copying
23
+ access keys, editing `~/.aws/config` by hand and logging in again and again.
24
+ cloudhop is a thin proxy over the AWS CLI that:
25
+
26
+ - Adds SSO portals and personal accounts interactively.
27
+ - Discovers every account and role you have access to and creates aliases.
28
+ - Logs you in automatically, only when a session has expired, and refreshes
29
+ every account of that portal at the same time.
30
+ - Never stores long-lived secrets: it uses AWS IAM Identity Center and
31
+ `aws login` temporary credentials.
32
+ - Writes standard profiles to `~/.aws/config`, so Terraform, SDKs and IDEs
33
+ see the same aliases.
34
+
35
+ ## Documentation
36
+
37
+ https://dayepesb.github.io/cloudhop (English and Spanish).
38
+
39
+ ## Contributing
40
+
41
+ ```bash
42
+ pnpm install
43
+ pnpm test # unit tests
44
+ pnpm build && pnpm test:e2e # CLI end-to-end tests (sandboxed)
45
+ pnpm exec playwright install chromium && pnpm test:web # web UI tests
46
+ pnpm audit # dependency vulnerabilities
47
+ pnpm typecheck
48
+ pnpm lint
49
+ pnpm build # bundles packages/cli/dist/cli.js
50
+ node packages/cli/dist/cli.js --help
51
+ pnpm docs:dev # documentation site
52
+ ```
53
+
54
+ Read [ARCHITECTURE.md](ARCHITECTURE.md) before changing the code; it also
55
+ explains the pipeline and how releases are approved. Use
56
+ `CLOUDHOP_HOME` and `CLOUDHOP_AWS_DIR` to try things without touching your
57
+ real configuration.
58
+
59
+ ## License
60
+
61
+ MIT