@powerhousedao/pieces-framework 6.2.3-dev.19 → 6.2.3-dev.21
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 +11 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,14 +4,24 @@ Powerhouse's published copy of the [Activepieces](https://www.activepieces.com)
|
|
|
4
4
|
piece framework, plus the one thing a piece running on a Powerhouse reactor
|
|
5
5
|
gets that no other host serves: `ctx.reactor`.
|
|
6
6
|
|
|
7
|
+
`ctx.reactor` is served to `@powerhousedao/piece-reactor` alone — the piece
|
|
8
|
+
whose actions are that surface. Every other piece finds the member throwing,
|
|
9
|
+
however it was loaded and whoever shipped it.
|
|
10
|
+
|
|
7
11
|
## Why this package exists
|
|
8
12
|
|
|
9
13
|
Activepieces pieces are written against `@activepieces/pieces-framework` and
|
|
10
|
-
`@activepieces/pieces-common`. Since Activepieces v0.86.0 pieces ship as
|
|
14
|
+
`@activepieces/pieces-common`. Since Activepieces v0.86.0 most pieces ship as
|
|
11
15
|
self-contained bundles with the framework inlined, and upstream stopped
|
|
12
16
|
publishing those two packages to npm. Anyone authoring a piece outside the
|
|
13
17
|
Activepieces monorepo has nothing to install.
|
|
14
18
|
|
|
19
|
+
"Most", not all: their bundler externalises what esbuild cannot trace, so a
|
|
20
|
+
piece can still declare a dependency — 21 of the 760 published ones do. A
|
|
21
|
+
reactor installs those before loading the piece, with lifecycle scripts
|
|
22
|
+
disabled, which is why one needing a postinstall or a native build will not
|
|
23
|
+
run there whatever version is pinned.
|
|
24
|
+
|
|
15
25
|
This package vendors the framework, `pieces-common` and the two core packages
|
|
16
26
|
they depend on from a pinned upstream tag (see [UPSTREAM.md](./UPSTREAM.md)),
|
|
17
27
|
publishes them as ESM under the Powerhouse release train, and adds the
|
package/package.json
CHANGED