rollipop 0.1.0-dev.20260118070035 → 0.1.0-dev.20260424074146
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 +68 -0
- package/dist/chunk-DEq-mXcV.js +15 -0
- package/dist/chunk-DXpK5_cz.js +24 -0
- package/dist/commands.cjs +1240 -2574
- package/dist/commands.js +1247 -2577
- package/dist/hmr-runtime.iife.js +584 -0
- package/dist/index.d.ts +243 -110
- package/dist/index.js +1396 -2727
- package/dist/{pluginutils.cjs → plugins.cjs} +42 -86
- package/dist/plugins.d.cts +655 -0
- package/dist/{pluginutils.d.cts → plugins.d.ts} +239 -72
- package/dist/plugins.js +143 -0
- package/dist/pluginutils.d.ts +1 -489
- package/dist/pluginutils.js +2 -177
- package/dist/runtime.cjs +27 -6
- package/dist/runtime.js +3 -5
- package/package.json +61 -56
- package/src/runtime/hmr-client.ts +322 -0
- package/dist/chunk-Dj-qOoLf.js +0 -22
- package/dist/hmr-client.d.ts +0 -6
- package/dist/hmr-client.js +0 -358
- package/dist/hmr-runtime.d.ts +0 -2
- package/dist/hmr-runtime.js +0 -557
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,73 @@
|
|
|
1
1
|
# rollipop
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
9
|
+
## 0.1.0-alpha.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 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.
|
|
14
|
+
- 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.
|
|
15
|
+
- 7ea2625: Replace `BuiltinPlugins` namespace with the `rollipop/plugins` sub-path. Built-in plugins are now imported by name:
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
// Before
|
|
19
|
+
import { BuiltinPlugins } from 'rollipop';
|
|
20
|
+
plugins: [BuiltinPlugins.worklets()];
|
|
21
|
+
|
|
22
|
+
// After
|
|
23
|
+
import { worklets } from 'rollipop/plugins';
|
|
24
|
+
plugins: [worklets()];
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
- 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.
|
|
28
|
+
|
|
29
|
+
## 0.1.0-alpha.15
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- 359affa: perf: migrate to native bindings
|
|
34
|
+
|
|
35
|
+
## 0.1.0-alpha.14
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- dca60fd: add `devMode.useFileSystemBundle` for raw bundle debugging
|
|
40
|
+
- 2c1a088: enable `externalHelpers`
|
|
41
|
+
- 7438e0b: bump version up dependencies
|
|
42
|
+
|
|
43
|
+
## 0.1.0-alpha.13
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- 67d29b4: fix cjs compatibility for commands
|
|
48
|
+
- 49ec649: export esm only
|
|
49
|
+
|
|
50
|
+
## 0.1.0-alpha.12
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- f56f1bf: add `optimization.lazyBarrel` option
|
|
55
|
+
- 5bb74ab: replace `statue` plugin to `reporter` plugin
|
|
56
|
+
|
|
57
|
+
## 0.1.0-alpha.11
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- 7fcbed3: expose more rolldown config options
|
|
62
|
+
|
|
63
|
+
## 0.1.0-alpha.10
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- c28f5e2: bump version up `@rollipop/rolldown` to '0.0.0-beta.3'
|
|
68
|
+
- c2b7b42: fix default option for `dev`
|
|
69
|
+
- 4f8e194: add `ROLLIPOP_REACT_NATIVE_PATH` for override default `react-native` path
|
|
70
|
+
|
|
3
71
|
## 0.1.0-alpha.9
|
|
4
72
|
|
|
5
73
|
### Patch Changes
|
|
@@ -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
|