rollipop 0.1.0-alpha.2 → 0.1.0-alpha.20

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/CHANGELOG.md ADDED
@@ -0,0 +1,171 @@
1
+ # rollipop
2
+
3
+ ## 0.1.0-alpha.20
4
+
5
+ ### Patch Changes
6
+
7
+ - d6e10db: bump @rollipop/rolldown to 1.0.2
8
+ - 140902b: impl @rollipop/plugin-module-federation
9
+
10
+ ## 0.1.0-alpha.19
11
+
12
+ ### Patch Changes
13
+
14
+ - a54c414: emit sourcemap sources relative to project root
15
+ - 419aa29: bump @rollipop/rolldown to 1.0.1
16
+
17
+ ## 0.1.0-alpha.18
18
+
19
+ ### Patch Changes
20
+
21
+ - fa83644: trigger publish
22
+
23
+ ## 0.1.0-alpha.17
24
+
25
+ ### Patch Changes
26
+
27
+ - 5985887: Include `src/runtime/hmr-client.ts` in the published tarball. The `./hmr-client` export maps to this raw TypeScript source, but the `files` field in `package.json` only listed `bin`, `dist`, and `client.d.ts` — so consumers hitting `import 'rollipop/hmr-client'` against a published version would fail to resolve the file.
28
+
29
+ ## 0.1.0-alpha.16
30
+
31
+ ### Patch Changes
32
+
33
+ - 915ef17: Add a `GET /bundlers/:id/status` dev-server endpoint that returns the current lifecycle state of the bundler with that id as a JSON snapshot — `{ "id": "<id>", "status": "idle" | "building" | "build-done" | "build-failed" }`. `:id` matches the bundler id carried in build SSE events. Unknown ids return 404 with `{ "error": "not found" }`. Bare `/status` is unaffected and keeps returning the React Native community middleware's `packager-status:running` response.
34
+ - a80492f: Drop the filesystem-cache class now that rolldown owns the build cache natively. The unused `BundlerContext.cache` field, the `FileSystemCache` class, and the `Cache` interface are removed. The remaining live pieces — resolving the cache directory and clearing it — live in `src/utils/reset-cache.ts` as plain functions (`getCacheDirectory`, `resetCache`). The `/reset-cache` control endpoint, the `reset_cache` MCP tool, and the `--reset-cache` CLI flag all continue to work unchanged for callers.
35
+ - 7ea2625: Replace `BuiltinPlugins` namespace with the `rollipop/plugins` sub-path. Built-in plugins are now imported by name:
36
+
37
+ ```ts
38
+ // Before
39
+ import { BuiltinPlugins } from "rollipop";
40
+ plugins: [BuiltinPlugins.worklets()];
41
+
42
+ // After
43
+ import { worklets } from "rollipop/plugins";
44
+ plugins: [worklets()];
45
+ ```
46
+
47
+ - 14ebb2c: Always use the filesystem bundle store and drop the `BUNDLE_STORE` env var. Bundles are now written to disk on every build for easier debugging; user-modified files take precedence until the next rebuild overwrites them.
48
+
49
+ ## 0.1.0-alpha.15
50
+
51
+ ### Patch Changes
52
+
53
+ - 359affa: perf: migrate to native bindings
54
+
55
+ ## 0.1.0-alpha.14
56
+
57
+ ### Patch Changes
58
+
59
+ - dca60fd: add `devMode.useFileSystemBundle` for raw bundle debugging
60
+ - 2c1a088: enable `externalHelpers`
61
+ - 7438e0b: bump version up dependencies
62
+
63
+ ## 0.1.0-alpha.13
64
+
65
+ ### Patch Changes
66
+
67
+ - 67d29b4: fix cjs compatibility for commands
68
+ - 49ec649: export esm only
69
+
70
+ ## 0.1.0-alpha.12
71
+
72
+ ### Patch Changes
73
+
74
+ - f56f1bf: add `optimization.lazyBarrel` option
75
+ - 5bb74ab: replace `statue` plugin to `reporter` plugin
76
+
77
+ ## 0.1.0-alpha.11
78
+
79
+ ### Patch Changes
80
+
81
+ - 7fcbed3: expose more rolldown config options
82
+
83
+ ## 0.1.0-alpha.10
84
+
85
+ ### Patch Changes
86
+
87
+ - c28f5e2: bump version up `@rollipop/rolldown` to '0.0.0-beta.3'
88
+ - c2b7b42: fix default option for `dev`
89
+ - 4f8e194: add `ROLLIPOP_REACT_NATIVE_PATH` for override default `react-native` path
90
+
91
+ ## 0.1.0-alpha.9
92
+
93
+ ### Patch Changes
94
+
95
+ - 200e373: noop in `onHmrUpdates` when HMR is disabled
96
+ - 099598b: esm only
97
+ - 5b9fd00: update default `dev` option
98
+ - 19c5b71: add built-in constants environment variables
99
+
100
+ ## 0.1.0-alpha.8
101
+
102
+ ### Patch Changes
103
+
104
+ - adf0937: improve HRM runtime compatibility for lower runtime versions
105
+ - cd796f7: fix hermes performance degradation issue
106
+
107
+ ## 0.1.0-alpha.7
108
+
109
+ ### Patch Changes
110
+
111
+ - 66477ec: implement deferred caching with batch flush
112
+ - 646d819: resolve HMR not working when cache is enabled
113
+ - 78a57d4: add dotenv-based environment variable loading
114
+
115
+ ## 0.1.0-alpha.6
116
+
117
+ ### Patch Changes
118
+
119
+ - a7b7150: use `enqueueUpdate` instead of `performReactRefresh`
120
+
121
+ ## 0.1.0-alpha.5
122
+
123
+ ### Patch Changes
124
+
125
+ - eaa76df: allow `TopLevelFilterExpression` and expose `/pluginutils` subpath
126
+ - d12877d: add `babel`, `swc` configs
127
+ - 65fe653: add websocket param to `HMRCustomHandler`
128
+
129
+ ## 0.1.0-alpha.4
130
+
131
+ ### Patch Changes
132
+
133
+ - fix yarn workspace
134
+ - Updated dependencies
135
+
136
+ ## 0.1.0-alpha.3
137
+
138
+ ### Patch Changes
139
+
140
+ - fe6a1db: npm oidc
141
+ - Updated dependencies [fe6a1db]
142
+
143
+ ## 0.1.0-alpha.2
144
+
145
+ ### Patch Changes
146
+
147
+ - e8d32a7: improve `configureServer` hook
148
+ - 5cee54c: supports custom HMR handler
149
+ - 4768f8f: add `configureServer`
150
+ - Updated dependencies [e8d32a7]
151
+ - Updated dependencies [8118bc3]
152
+ - Updated dependencies [5cee54c]
153
+ - Updated dependencies [4768f8f]
154
+
155
+ ## 0.1.0-alpha.1
156
+
157
+ ### Patch Changes
158
+
159
+ - 3d72e91: add `config` and `configResolved` for plugins
160
+ - Updated dependencies [e21eeb5]
161
+ - Updated dependencies [3d72e91]
162
+
163
+ ## 0.1.0-alpha.0
164
+
165
+ ### Minor Changes
166
+
167
+ - 7a1d9a7: pre-alpha
168
+
169
+ ### Patch Changes
170
+
171
+ - Updated dependencies [7a1d9a7]
package/client.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ interface ImportMetaEnv {
2
+ readonly MODE: 'development' | 'production';
3
+ readonly BASE_URL?: string;
4
+ }
5
+
6
+ interface ImportMeta {
7
+ hot?: import('./dist').HMRContext;
8
+ env: ImportMetaEnv;
9
+ }
@@ -0,0 +1,15 @@
1
+ import { createRequire } from "node:module";
2
+ //#region \0rolldown/runtime.js
3
+ var __defProp = Object.defineProperty;
4
+ var __exportAll = (all, no_symbols) => {
5
+ let target = {};
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
11
+ return target;
12
+ };
13
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
14
+ //#endregion
15
+ export { __require as n, __exportAll as t };
@@ -0,0 +1,24 @@
1
+ (function() {
2
+ var e = new Uint8Array(128);
3
+ for (var r = 0; r < 64; r++) e[r < 26 ? r + 65 : r < 52 ? r + 71 : r < 62 ? r - 4 : r * 4 - 205] = r;
4
+ return function(r) {
5
+ var t = r.length, o = new Uint8Array((t - (r[t - 1] == "=") - (r[t - 2] == "=")) * 3 / 4 | 0);
6
+ for (var n = 0, u = 0; n < t;) {
7
+ var p = e[r.charCodeAt(n++)], _ = e[r.charCodeAt(n++)];
8
+ var a = e[r.charCodeAt(n++)], f = e[r.charCodeAt(n++)];
9
+ o[u++] = p << 2 | _ >> 4;
10
+ o[u++] = _ << 4 | a >> 2;
11
+ o[u++] = a << 6 | f;
12
+ }
13
+ return o;
14
+ };
15
+ })();
16
+ (function(e) {
17
+ return typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(e, { get: function e(e, r) {
18
+ return (typeof require !== "undefined" ? require : e)[r];
19
+ } }) : e;
20
+ })(function(e) {
21
+ if (typeof require !== "undefined") return require.apply(this, arguments);
22
+ throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
23
+ });
24
+ //#endregion