@particle-academy/monday-js 0.1.0 → 0.2.0

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/CHANGELOG.md +26 -0
  2. package/package.json +7 -4
package/CHANGELOG.md CHANGED
@@ -7,6 +7,31 @@ The four packages share one version, because they are generated from one
7
7
  `provider/` definition and a version that meant something different in each
8
8
  would be a version nobody could reason about.
9
9
 
10
+ ## [0.2.0] — 2026-08-24
11
+
12
+ ### Changed
13
+
14
+ - **`@particle-academy/monday-ui` is now an OPTIONAL PEER dependency of `@particle-academy/monday-js`, not a hard one.**
15
+
16
+ `./flow` needs it; nothing else does. It was a hard dependency, and because
17
+ `@particle-academy/monday-ui` itself peer-depends on `fancy-flow` — which npm 7+ installs
18
+ automatically — `npm install @particle-academy/monday-js` pulled the **entire flow engine**
19
+ onto disk for a consumer who only wanted to call the API. Roughly **18 MB
20
+ became 874 KB**, and the package works exactly as before:
21
+
22
+ ```js
23
+ import { monday… } from "@particle-academy/monday-js";
24
+ // an injected transport, no flow engine anywhere
25
+ ```
26
+
27
+ **This is breaking if you use `@particle-academy/monday-js/flow`.** Add `@particle-academy/monday-ui` to your own
28
+ dependencies — it was always being installed for you, and now it is declared.
29
+ Everything importing only the main entry point is unaffected.
30
+
31
+ The fix is on this edge rather than on `@particle-academy/monday-ui` → `fancy-flow`: the ui package
32
+ genuinely requires fancy-flow, since it calls `defineConnectorKind`, and marking
33
+ that peer optional would be a lie about what it needs.
34
+
10
35
  ## [0.1.0] — 2026-08-22
11
36
 
12
37
  First release. Provider seven, and the first that is not REST.
@@ -75,3 +100,4 @@ safe, and a retried durable run creates a **second item**. Saying that plainly
75
100
  is better than implying a guarantee the API cannot give.
76
101
 
77
102
  [0.1.0]: https://github.com/Fancy-Friends/monday/releases/tag/v0.1.0
103
+ [0.2.0]: https://github.com/Fancy-Friends/monday/releases/tag/v0.2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/monday-js",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "monday.com for Node — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP on @particle-academy/fancy-connector-core; no vendor SDK.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,15 +48,18 @@
48
48
  "prepublishOnly": "tsup"
49
49
  },
50
50
  "dependencies": {
51
- "@particle-academy/fancy-connector-core": ">=0.3.1 <2.0",
52
- "@particle-academy/monday-ui": "0.1.0"
51
+ "@particle-academy/fancy-connector-core": ">=0.3.1 <2.0"
53
52
  },
54
53
  "peerDependencies": {
55
- "@particle-academy/fancy-flow": ">=0.47.1 <2.0"
54
+ "@particle-academy/fancy-flow": ">=0.47.1 <2.0",
55
+ "@particle-academy/monday-ui": "0.2.0"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@particle-academy/fancy-flow": {
59
59
  "optional": true
60
+ },
61
+ "@particle-academy/monday-ui": {
62
+ "optional": true
60
63
  }
61
64
  },
62
65
  "devDependencies": {