widefleet 0.3.2 → 0.3.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 +14 -8
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -37,24 +37,29 @@ local URL printed by `pnpm dev`, then stop that server with Ctrl-C before contin
|
|
|
37
37
|
|
|
38
38
|
## Connect and deploy
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Connect to your company and deploy with CLI 0.3.2 or newer:
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
export PLATFORM_URL=https://platform.example.com
|
|
44
43
|
widefleet login
|
|
45
44
|
pnpm check
|
|
46
45
|
widefleet deploy
|
|
47
46
|
```
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
If IT has configured your agent or computer, the CLI uses that platform address.
|
|
49
|
+
Otherwise, it asks for your work email or company domain and looks up the company's
|
|
50
|
+
discovery record. An agent or noninteractive terminal can supply
|
|
51
|
+
`widefleet login --email employee@example.com` or
|
|
52
|
+
`widefleet login --domain example.com`. These commands also work in PowerShell and Fish.
|
|
51
53
|
|
|
52
|
-
Approve the device code in your browser. The CLI stores credentials in your
|
|
54
|
+
Approve the device code in your browser. The CLI remembers the platform URL and stores credentials in your
|
|
53
55
|
operating system's credential store: Keychain on macOS, Credential Manager on
|
|
54
56
|
Windows, and Secret Service on Linux. The store must be available and unlocked.
|
|
55
57
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
Run `widefleet config show` to inspect the selected URL. If discovery is not set
|
|
59
|
+
up, IT can [configure company discovery or distribute configuration](https://widefleet.com/docs/self-hosting/company-setup).
|
|
60
|
+
|
|
61
|
+
For the local demo, run `widefleet login --url http://localhost:25450` and approve
|
|
62
|
+
the code with `admin@example.test`.
|
|
58
63
|
|
|
59
64
|
The target app is identified by your installation and the `name` in
|
|
60
65
|
`wrangler.jsonc`. The first deploy creates it when needed; later deploys update
|
|
@@ -92,7 +97,7 @@ widefleet logs --level error
|
|
|
92
97
|
```
|
|
93
98
|
|
|
94
99
|
Runtime logs require telemetry services enabled by the operator; the local demo
|
|
95
|
-
includes them.
|
|
100
|
+
includes them.
|
|
96
101
|
|
|
97
102
|
## If setup fails
|
|
98
103
|
|
|
@@ -101,6 +106,7 @@ includes them. A failed log query is not evidence that the app has no errors.
|
|
|
101
106
|
| Registry returns 404 | Check the package name and published version on [npm](https://www.npmjs.com/package/widefleet). |
|
|
102
107
|
| `widefleet` is not found | Reopen the terminal after `pnpm setup`; check `Get-Command widefleet -All` in PowerShell or `type -a widefleet` in Bash/Fish for an older installation on PATH. |
|
|
103
108
|
| Login cannot access the credential store | Check your operating system's credential store; see [headless login](#headless-login) for alternatives. |
|
|
109
|
+
| Company discovery fails | Check the email domain and ask IT to publish a discovery record or configure the agent; see [company setup](https://widefleet.com/docs/self-hosting/company-setup). |
|
|
104
110
|
| Deployment fails or stays queued | Follow [deployment diagnostics](https://widefleet.com/docs/guides/deployments#inspect-a-failure). |
|
|
105
111
|
|
|
106
112
|
Next, [share the app with colleagues](https://widefleet.com/docs/guides/applications) or
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "widefleet",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Widefleet CLI with its Worker bundler and app starter",
|
|
5
|
+
"homepage": "https://widefleet.com",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"bin": {
|
|
8
9
|
"widefleet": "./bin/widefleet.mjs"
|
|
9
10
|
},
|
|
10
11
|
"engines": {
|
|
11
|
-
"node": ">=
|
|
12
|
+
"node": ">=22.18.0"
|
|
12
13
|
},
|
|
13
14
|
"os": [
|
|
14
15
|
"linux",
|
|
@@ -25,10 +26,10 @@
|
|
|
25
26
|
"LICENSE"
|
|
26
27
|
],
|
|
27
28
|
"optionalDependencies": {
|
|
28
|
-
"widefleet-linux-x64-gnu": "0.3.
|
|
29
|
-
"widefleet-darwin-arm64": "0.3.
|
|
30
|
-
"widefleet-darwin-x64": "0.3.
|
|
31
|
-
"widefleet-win32-x64-msvc": "0.3.
|
|
29
|
+
"widefleet-linux-x64-gnu": "0.3.3",
|
|
30
|
+
"widefleet-darwin-arm64": "0.3.3",
|
|
31
|
+
"widefleet-darwin-x64": "0.3.3",
|
|
32
|
+
"widefleet-win32-x64-msvc": "0.3.3"
|
|
32
33
|
},
|
|
33
34
|
"repository": {
|
|
34
35
|
"type": "git",
|