@particle-academy/google-drive-ui 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 +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,31 @@ All notable changes to `@particle-academy/google-drive-ui`,
4
4
  `@particle-academy/google-drive-js`, `particle-academy/google-drive-php` and
5
5
  `fancy-google-drive`.
6
6
 
7
+ ## [0.2.0] — 2026-08-24
8
+
9
+ ### Changed
10
+
11
+ - **`@particle-academy/google-drive-ui` is now an OPTIONAL PEER dependency of `@particle-academy/google-drive-js`, not a hard one.**
12
+
13
+ `./flow` needs it; nothing else does. It was a hard dependency, and because
14
+ `@particle-academy/google-drive-ui` itself peer-depends on `fancy-flow` — which npm 7+ installs
15
+ automatically — `npm install @particle-academy/google-drive-js` pulled the **entire flow engine**
16
+ onto disk for a consumer who only wanted to call the API. Roughly **18 MB
17
+ became 874 KB**, and the package works exactly as before:
18
+
19
+ ```js
20
+ import { googleDrive… } from "@particle-academy/google-drive-js";
21
+ // an injected transport, no flow engine anywhere
22
+ ```
23
+
24
+ **This is breaking if you use `@particle-academy/google-drive-js/flow`.** Add `@particle-academy/google-drive-ui` to your own
25
+ dependencies — it was always being installed for you, and now it is declared.
26
+ Everything importing only the main entry point is unaffected.
27
+
28
+ The fix is on this edge rather than on `@particle-academy/google-drive-ui` → `fancy-flow`: the ui package
29
+ genuinely requires fancy-flow, since it calls `defineConnectorKind`, and marking
30
+ that peer optional would be a lie about what it needs.
31
+
7
32
  ## [0.1.0] — 2026-08-23
8
33
 
9
34
  First release.
@@ -22,3 +47,4 @@ Drive files. Google has no Drive sandbox and exposes no idempotency key, so live
22
47
  tests create real folders and retries can create duplicates.
23
48
 
24
49
  [0.1.0]: https://github.com/Fancy-Friends/google-drive/releases/tag/v0.1.0
50
+ [0.2.0]: https://github.com/Fancy-Friends/google-drive/releases/tag/v0.2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/google-drive-ui",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Google Drive's authoring surface for fancy-flow — the node kinds, their config schemas and their declared output shapes. React on every host; carries no executor.",
5
5
  "repository": {
6
6
  "type": "git",