archetype-ecs-lib 0.6.1 → 1.0.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.
@@ -50,7 +50,7 @@ var StatsOverlay = /** @class */ (function () {
50
50
  this.canvas = null;
51
51
  this.ctx = null;
52
52
  this.resizeObserver = null;
53
- this.isExpanded = true;
53
+ this.isExpanded = false;
54
54
  this.debugLoggingEnabled = false;
55
55
  this.isInitialized = false;
56
56
  this.debugingEnabled = false;
@@ -169,6 +169,9 @@ var StatsOverlay = /** @class */ (function () {
169
169
  this.root.appendChild(this.header);
170
170
  this.root.appendChild(this.content);
171
171
  this.opts.parent.appendChild(this.root);
172
+ // Start collapsed
173
+ this.content.style.display = "none";
174
+ this.toggleButton.textContent = "+";
172
175
  this.resizeCanvas();
173
176
  this.resizeObserver = new ResizeObserver(function () { return _this.resizeCanvas(); });
174
177
  this.resizeObserver.observe(this.root);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archetype-ecs-lib",
3
- "version": "0.6.1",
3
+ "version": "1.0.0",
4
4
  "description": "An Archetype Entity Component System (AECS)",
5
5
  "main": "./lib/index.js",
6
6
  "scripts": {
@@ -8,6 +8,7 @@
8
8
  "build": "tsc",
9
9
  "lint": "eslint src/ test/",
10
10
  "lint:fix": "eslint src/ test/ --fix",
11
+ "bench": "jest --config jest.bench.config.js --verbose",
11
12
  "reload-packages": "rm -Rf node_modules && npm cache clean --force && npm ci"
12
13
  },
13
14
  "repository": {
@@ -40,12 +41,12 @@
40
41
  ],
41
42
  "typings": "./lib/index.d.ts",
42
43
  "devDependencies": {
43
- "@eslint/js": "^9.0.0",
44
- "@types/jest": "^30.0.0",
45
- "eslint": "^9.0.0",
46
- "jest": "^30.2.0",
47
- "jest-environment-jsdom": "^30.2.0",
48
- "ts-jest": "^29.4.6",
49
- "typescript-eslint": "^8.0.0"
44
+ "@eslint/js": "9.39.2",
45
+ "@types/jest": "30.0.0",
46
+ "eslint": "9.39.2",
47
+ "jest": "30.2.0",
48
+ "jest-environment-jsdom": "30.2.0",
49
+ "ts-jest": "29.4.6",
50
+ "typescript-eslint": "8.53.1"
50
51
  }
51
52
  }