@boperators/plugin-vite 0.2.1 → 0.3.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/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -45,7 +45,7 @@ boperators({
45
45
  The plugin initialises once when Vite resolves its config, then transforms files on demand:
46
46
 
47
47
  1. `configResolved` — creates a [ts-morph](https://ts-morph.com) Project from your tsconfig and scans all source files for operator overload definitions
48
- 2. `transform` — for each `.ts`/`.tsx` file, syncs ts-morph's in-memory state with the current file content (so HMR edits are picked up without restarting), then replaces operator expressions (e.g. `v1 + v2` becomes `Vector3["+"][0](v1, v2)`) and returns a V3 source map so breakpoints and stack traces map back to the original source
48
+ 2. `transform` — for each `.ts`/`.tsx` file, syncs ts-morph's in-memory state with the current file content (so HMR edits are picked up without restarting), then replaces operator expressions (e.g. `v1 + v2` becomes `Vector3["+"](v1, v2)`) and returns a V3 source map so breakpoints and stack traces map back to the original source
49
49
 
50
50
  ## Comparison with Other Approaches
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boperators/plugin-vite",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "license": "MIT",
5
5
  "description": "Vite plugin for boperators - transforms operator overloads at build time.",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  "dist"
40
40
  ],
41
41
  "peerDependencies": {
42
- "boperators": "0.2.1",
42
+ "boperators": "0.3.0",
43
43
  "typescript": ">=5.0.0 <5.10.0",
44
44
  "vite": ">=4.0.0"
45
45
  },