@particle-academy/google-slides-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
@@ -8,6 +8,31 @@ The four packages share one version, because they are generated from one
8
8
  `provider/` definition and a version that meant something different in each
9
9
  would be a version nobody could reason about.
10
10
 
11
+ ## [0.2.0] — 2026-08-24
12
+
13
+ ### Changed
14
+
15
+ - **`@particle-academy/google-slides-ui` is now an OPTIONAL PEER dependency of `@particle-academy/google-slides-js`, not a hard one.**
16
+
17
+ `./flow` needs it; nothing else does. It was a hard dependency, and because
18
+ `@particle-academy/google-slides-ui` itself peer-depends on `fancy-flow` — which npm 7+ installs
19
+ automatically — `npm install @particle-academy/google-slides-js` pulled the **entire flow engine**
20
+ onto disk for a consumer who only wanted to call the API. Roughly **18 MB
21
+ became 874 KB**, and the package works exactly as before:
22
+
23
+ ```js
24
+ import { googleSlides… } from "@particle-academy/google-slides-js";
25
+ // an injected transport, no flow engine anywhere
26
+ ```
27
+
28
+ **This is breaking if you use `@particle-academy/google-slides-js/flow`.** Add `@particle-academy/google-slides-ui` to your own
29
+ dependencies — it was always being installed for you, and now it is declared.
30
+ Everything importing only the main entry point is unaffected.
31
+
32
+ The fix is on this edge rather than on `@particle-academy/google-slides-ui` → `fancy-flow`: the ui package
33
+ genuinely requires fancy-flow, since it calls `defineConnectorKind`, and marking
34
+ that peer optional would be a lie about what it needs.
35
+
11
36
  ## [0.1.0] — 2026-08-23
12
37
 
13
38
  First release.
@@ -33,3 +58,4 @@ can create a second presentation and the action is honestly
33
58
  `unsafe-to-replay`.
34
59
 
35
60
  [0.1.0]: https://github.com/Fancy-Friends/google-slides/releases/tag/v0.1.0
61
+ [0.2.0]: https://github.com/Fancy-Friends/google-slides/releases/tag/v0.2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/google-slides-js",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Google Slides 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/google-slides-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/google-slides-ui": "0.2.0"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@particle-academy/fancy-flow": {
59
59
  "optional": true
60
+ },
61
+ "@particle-academy/google-slides-ui": {
62
+ "optional": true
60
63
  }
61
64
  },
62
65
  "devDependencies": {