@hs-x/hubspot-cli 0.2.0 → 0.2.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 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,28 +3,27 @@
|
|
|
3
3
|
`@hs-x/hubspot-cli` is the dev-time counterpart to
|
|
4
4
|
[`@hs-x/hubspot`](https://www.npmjs.com/package/@hs-x/hubspot). Where
|
|
5
5
|
`@hs-x/hubspot` is the Worker-safe client an app uses at runtime to talk to a
|
|
6
|
-
|
|
6
|
+
portal, this package talks to a HubSpot developer account from a developer
|
|
7
7
|
machine: it uploads, deploys, and polls HubSpot projects, drives the HubSpot
|
|
8
8
|
`dev-sessions` loop, and manages schemas, release flags, and card-view
|
|
9
9
|
migrations.
|
|
10
10
|
|
|
11
|
-
This package is
|
|
12
|
-
`hs-x` CLI
|
|
13
|
-
run `hs-x dev` and `hs-x deploy`.
|
|
11
|
+
This package is CLI-internal. App authors do not install or import it; the
|
|
12
|
+
`hs-x` CLI (installed via `npm i -g @hs-x/cli`) and the control-plane deploy
|
|
13
|
+
executors use it under the hood when you run `hs-x dev` and `hs-x deploy`.
|
|
14
14
|
|
|
15
15
|
## What it wraps
|
|
16
16
|
|
|
17
17
|
`createHubSpotDeveloperClient(...)` builds a `HubSpotDeveloperClient` on top of
|
|
18
18
|
HubSpot's official local-dev libraries:
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
— the UI-extension dev server behind the local card loop.
|
|
20
|
+
| Library | Used for |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| [`@hubspot/local-dev-lib`](https://www.npmjs.com/package/@hubspot/local-dev-lib) | Config/auth, project upload, build and deploy status, app lookup |
|
|
23
|
+
| [`@hubspot/project-parsing-lib`](https://www.npmjs.com/package/@hubspot/project-parsing-lib) | Reading and validating HubSpot project structure |
|
|
24
|
+
| [`@hubspot/ui-extensions-dev-server`](https://www.npmjs.com/package/@hubspot/ui-extensions-dev-server) | The UI-extension dev server behind the local card loop |
|
|
26
25
|
|
|
27
|
-
Because it pulls in those libraries and Node built-ins, it is
|
|
26
|
+
Because it pulls in those libraries and Node built-ins, it is not Worker-safe.
|
|
28
27
|
Runtime code that needs to reach a portal should keep using
|
|
29
28
|
[`@hs-x/hubspot`](https://www.npmjs.com/package/@hs-x/hubspot).
|
|
30
29
|
|
|
@@ -38,5 +37,9 @@ npm i -g @hs-x/cli
|
|
|
38
37
|
hs-x init myapp
|
|
39
38
|
```
|
|
40
39
|
|
|
41
|
-
See [`@hs-x/cli`](https://www.npmjs.com/package/@hs-x/cli) and
|
|
42
|
-
[hs-x.dev](https://hs-x.dev).
|
|
40
|
+
See [`@hs-x/cli`](https://www.npmjs.com/package/@hs-x/cli) and the docs at
|
|
41
|
+
[hs-x.dev/docs](https://hs-x.dev/docs).
|
|
42
|
+
|
|
43
|
+
## License
|
|
44
|
+
|
|
45
|
+
Apache-2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hs-x/hubspot-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Dev-time HubSpot developer-account client and dev-session driver. Counterpart to @hs-x/hubspot — wraps @hubspot/local-dev-lib for CLI and control-plane executors.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|