@boperators/plugin-bun 0.1.5 → 0.2.1
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 -0
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -30,6 +30,17 @@ and reference that in your `bunfig.toml`:
|
|
|
30
30
|
preload = ["./preload.ts"]
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
## Comparison with Other Approaches
|
|
34
|
+
|
|
35
|
+
| Approach | When it runs | Use case |
|
|
36
|
+
|----------|-------------|----------|
|
|
37
|
+
| **`@boperators/cli`** | Before compilation | Batch transform to disk, then compile normally |
|
|
38
|
+
| **`@boperators/plugin-tsc`** | During compilation | Seamless `tsc` integration, no intermediate files |
|
|
39
|
+
| **`@boperators/webpack-loader`** | During bundling | Webpack projects, integrates into existing build pipeline |
|
|
40
|
+
| **`@boperators/plugin-vite`** | During bundling | Vite projects, integrates into Rollup-based pipeline |
|
|
41
|
+
| **`@boperators/plugin-esbuild`** | During bundling | ESBuild projects, fast bundler integration |
|
|
42
|
+
| **`@boperators/plugin-bun`** | At runtime | Bun-only, transforms on module load |
|
|
43
|
+
|
|
33
44
|
## License
|
|
34
45
|
|
|
35
46
|
MIT
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boperators/plugin-bun",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Bun plugin for boperators - transforms operator overloads at runtime.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/DiefBell/boperators",
|
|
8
|
+
"url": "git+https://github.com/DiefBell/boperators.git",
|
|
9
9
|
"directory": "plugins/bun"
|
|
10
10
|
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/DiefBell/boperators/issues"
|
|
13
|
+
},
|
|
11
14
|
"homepage": "https://github.com/DiefBell/boperators/tree/main/plugins/bun",
|
|
12
15
|
"main": "./index.ts",
|
|
13
16
|
"keywords": [
|
|
@@ -30,7 +33,7 @@
|
|
|
30
33
|
"index.ts"
|
|
31
34
|
],
|
|
32
35
|
"peerDependencies": {
|
|
33
|
-
"boperators": "0.1
|
|
36
|
+
"boperators": "0.2.1",
|
|
34
37
|
"typescript": ">=5.0.0 <5.10.0"
|
|
35
38
|
},
|
|
36
39
|
"devDependencies": {
|