@hs-x/hubspot-cli 0.1.3 → 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.
Files changed (2) hide show
  1. package/README.md +16 -13
  2. package/package.json +2 -2
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
- *portal*, this package talks to a HubSpot *developer account* from a developer
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 **CLI-internal**. App authors do not install or import it; the
12
- `hs-x` CLI and the control-plane deploy executors use it under the hood when you
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
- - [`@hubspot/local-dev-lib`](https://www.npmjs.com/package/@hubspot/local-dev-lib)
21
- config/auth, project upload, build and deploy status, app lookup.
22
- - [`@hubspot/project-parsing-lib`](https://www.npmjs.com/package/@hubspot/project-parsing-lib)
23
- reading and validating HubSpot project structure.
24
- - [`@hubspot/ui-extensions-dev-server`](https://www.npmjs.com/package/@hubspot/ui-extensions-dev-server)
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 **not Worker-safe**.
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.1.3",
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",
@@ -26,7 +26,7 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@hs-x/hubspot": "0.1.0",
29
+ "@hs-x/hubspot": "0.2.0",
30
30
  "@hubspot/local-dev-lib": "5.7.0",
31
31
  "@hubspot/project-parsing-lib": "0.16.0",
32
32
  "@hubspot/ui-extensions-dev-server": "2.0.7",