launchpd 0.1.0 → 0.1.1

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 (2) hide show
  1. package/README.md +6 -70
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -101,82 +101,18 @@ launchpd logout
101
101
  | Retention | 7 days | 30 days |
102
102
  | Versions | 1 | 10 |
103
103
 
104
- ## Development
104
+ ## How It Works
105
105
 
106
- ### Setup
107
-
108
- ```bash
109
- git clone https://github.com/your-username/launchpd.git
110
- cd launchpd/cli
111
- npm install
112
- cp ../.env.example ../.env
113
- # Edit ../.env with your Cloudflare R2 credentials
114
- ```
115
-
116
- ### Test locally
117
-
118
- ```bash
119
- # Dry run mode (no R2 upload)
120
- npm run dev
121
-
122
- # Or test with a real folder
123
- node bin/cli.js deploy ../examples/test-site --dry-run
124
106
  ```
125
-
126
- ### Link for global testing
127
-
128
- ```bash
129
- npm link
130
- launchpd deploy ./test-site --dry-run
107
+ Your folder → Launchpd CLI → Global CDN → Live URL
131
108
  ```
132
109
 
133
- ### Run tests
110
+ Files are uploaded to Cloudflare's global edge network, giving your site fast load times worldwide with automatic SSL.
134
111
 
135
- ```bash
136
- npm test
137
- npm run test:watch
138
- npm run test:coverage
139
- ```
140
-
141
- ### Lint code
112
+ ## Support
142
113
 
143
- ```bash
144
- npm run lint
145
- npm run lint:fix
146
- ```
147
-
148
- ## Configuration
149
-
150
- The CLI loads configuration from environment variables. Create a `.env` file in the project root:
151
-
152
- ```env
153
- R2_ACCOUNT_ID=your_cloudflare_account_id
154
- R2_ACCESS_KEY_ID=your_r2_access_key_id
155
- R2_SECRET_ACCESS_KEY=your_r2_secret_access_key
156
- R2_BUCKET_NAME=launchpd
157
- LAUNCHPD_DOMAIN=launchpd.cloud
158
- ```
159
-
160
- ## Architecture
161
-
162
- ```
163
- CLI (Node.js + Commander.js)
164
-
165
- Upload files to Cloudflare R2
166
-
167
- Cloudflare Worker serves files
168
-
169
- https://{subdomain}.launchpd.cloud
170
- ```
171
-
172
- ## Publishing to npm
173
-
174
- ```bash
175
- cd cli
176
- npm run lint
177
- npm test
178
- npm publish --access public
179
- ```
114
+ - [Report issues](https://github.com/kents00/launchpd/issues)
115
+ - [Documentation](https://launchpd.cloud/docs)
180
116
 
181
117
  ## License
182
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "launchpd",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Deploy static sites instantly to a live URL",
5
5
  "type": "module",
6
6
  "bin": {