@matter/tools 0.15.3 → 0.16.0-alpha.0-20250807-37b08c9bb

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This package supports build and execution infrastructure for other matter.js packages.
4
4
 
5
- > Supports all Node.js LTS versions starting with 18.x
5
+ > Supports all Node.js LTS versions starting with 20.x
6
6
 
7
7
  ## Rational
8
8
 
package/bin/relock.js ADDED
@@ -0,0 +1,13 @@
1
+ import { readdirSync, rmSync, statSync } from "fs";
2
+
3
+ function readDirs(baseDir) {
4
+ return readdirSync(baseDir)
5
+ .filter(dir => !dir.startsWith(".") && statSync(`${baseDir}/${dir}`).isDirectory())
6
+ .map(dir => `${baseDir}/${dir}`);
7
+ }
8
+
9
+ rmSync("package-lock.json", { force: true });
10
+
11
+ [".", ...readDirs("packages"), ...readDirs("support")].forEach(dir =>
12
+ rmSync(`${dir}/node_modules`, { recursive: true, force: true }),
13
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matter/tools",
3
- "version": "0.15.3",
3
+ "version": "0.16.0-alpha.0-20250807-37b08c9bb",
4
4
  "description": "Matter.js tooling",
5
5
  "type": "module",
6
6
  "scripts": {