rbxts-transform-boost 1.1.0 → 1.1.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.
@@ -388,17 +388,13 @@ function installWatcher(outDir) {
388
388
  if (hooked)
389
389
  return;
390
390
  hooked = true;
391
- const seen = new Set();
392
391
  const watcher = fs.watch(outDir, { recursive: true }, (_event, filename) => {
393
392
  if (!filename || !filename.endsWith(".luau"))
394
393
  return;
395
394
  const full = path.join(outDir, filename);
396
- if (seen.has(full))
397
- return;
398
395
  const entry = sidecar.get(full);
399
396
  if (!entry)
400
397
  return;
401
- seen.add(full);
402
398
  try {
403
399
  injectAnnotations(full, entry);
404
400
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rbxts-transform-boost",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "roblox-ts transformer: automatic --!native, GetService hoisting, property chain caching, loop bounds hoisting, and Luau type annotation injection",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,9 +10,10 @@
10
10
  ],
11
11
  "scripts": {
12
12
  "build": "tsc",
13
- "bench:build": "npm run build && cd bench && ~/.rokit/bin/rotor build",
14
- "bench:build:baseline": "cd bench && ~/.rokit/bin/rotor build -p tsconfig.notransform.json -i out/include",
15
- "bench:rbxlx": "npm run bench:build && npm run bench:build:baseline && cd bench && ~/.rokit/bin/rojo build default.project.json -o benchmark.rbxlx"
13
+ "bench:rotor": "npm run build && cd bench && ~/.rokit/bin/rotor build",
14
+ "bench:roblox-ts": "npm run build && cd bench && ./node_modules/.bin/rbxtsc -p tsconfig.roblox-ts.json --rojo roblox-ts.project.json",
15
+ "bench:rbxlx:rotor": "npm run bench:rotor && cd bench && ~/.rokit/bin/rojo build rotor.project.json -o benchmark-rotor.rbxlx",
16
+ "bench:rbxlx:roblox-ts": "npm run bench:roblox-ts && cd bench && ~/.rokit/bin/rojo build roblox-ts.project.json -o benchmark-roblox-ts.rbxlx"
16
17
  },
17
18
  "keywords": [
18
19
  "roblox-ts",