novacloud22-cli 1.0.0 → 1.0.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.
- package/README.md +16 -14
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,26 +11,27 @@ npm install -g novacloud22-cli
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
# 1.
|
|
14
|
+
# 1. Go to NovaCloud22 dashboard → My Website → Add New Site Name
|
|
15
|
+
# Register your site name there first
|
|
16
|
+
|
|
17
|
+
# 2. Login
|
|
15
18
|
novacloud22 login
|
|
16
19
|
|
|
17
|
-
#
|
|
18
|
-
|
|
20
|
+
# 3. List your registered sites
|
|
21
|
+
novacloud22 list
|
|
19
22
|
|
|
20
|
-
#
|
|
23
|
+
# 4. Initialize — picks from your registered sites
|
|
21
24
|
novacloud22 init
|
|
22
|
-
# ? Site name (slug): rishav
|
|
23
|
-
# ? Folder to deploy: dist
|
|
24
|
-
# ? Personal Drive to use: drive_1
|
|
25
25
|
|
|
26
|
-
#
|
|
26
|
+
# 5. Build your site
|
|
27
27
|
npm run build
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# 6. Deploy
|
|
30
30
|
novacloud22 deploy
|
|
31
|
-
# ✓ Live at: https://novacloud22.web.app/p/
|
|
31
|
+
# ✓ Live at: https://novacloud22.web.app/p/yourname
|
|
32
32
|
|
|
33
33
|
# Other commands
|
|
34
|
+
novacloud22 list # list all your sites
|
|
34
35
|
novacloud22 open # open site in browser
|
|
35
36
|
novacloud22 status # check deploy status
|
|
36
37
|
novacloud22 delete # delete site only (not your account)
|
|
@@ -41,12 +42,13 @@ novacloud22 logout # log out
|
|
|
41
42
|
## Requirements
|
|
42
43
|
|
|
43
44
|
- Node.js 14+
|
|
44
|
-
- NovaCloud22 account
|
|
45
|
-
- Personal Google Drive connected in dashboard
|
|
45
|
+
- NovaCloud22 account (novacloud22.web.app)
|
|
46
46
|
|
|
47
47
|
## Notes
|
|
48
48
|
|
|
49
|
-
-
|
|
49
|
+
- Site name is registered in the NovaCloud22 dashboard, not in the CLI
|
|
50
|
+
- Files stored in your NovaCloud22 drive (1GB quota)
|
|
50
51
|
- Cache updates only on new deploy — visitors see same version until you redeploy
|
|
51
|
-
- Delete
|
|
52
|
+
- Delete has a 7-day cooldown to prevent abuse
|
|
53
|
+
- Delete only removes site folder and record — your account is untouched
|
|
52
54
|
- Works with any static site: HTML, React, Vue, Svelte, Next.js export, etc.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "novacloud22-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Deploy static websites to NovaCloud22",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"hosting",
|
|
26
26
|
"cli"
|
|
27
27
|
],
|
|
28
|
-
"author": "NovaCloud22",
|
|
28
|
+
"author": "NovaCloud22 — novacloud22.web.app",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=14.0.0"
|