mlogjs 0.4.1 → 0.4.2

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/lib/traits.d.ts CHANGED
@@ -134,14 +134,18 @@ declare global {
134
134
  enabled: boolean;
135
135
  }> {}
136
136
 
137
- interface WithConfig<
138
- T extends symbol | number | null = symbol | null
139
- > extends WithSymbols<{
140
- readonly config: T;
141
- }> {}
142
-
143
137
  interface WithSpeed
144
138
  extends WithSymbols<{
145
139
  speed: number;
146
140
  }> {}
141
+
142
+ interface WithColor
143
+ extends WithSymbols<{
144
+ color: number;
145
+ }> {}
146
+
147
+ interface WithTeam
148
+ extends WithSymbols<{
149
+ team: number;
150
+ }> {}
147
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mlogjs",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Compiler that compiles Javascript to Mindustry Logic Code.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -40,7 +40,6 @@
40
40
  "ts-jest": "^29.0.2",
41
41
  "ts-node": "^10.9.1",
42
42
  "tslib": "^2.3.1",
43
- "typedoc": "^0.23.15",
44
43
  "typescript": "*"
45
44
  },
46
45
  "files": [
@@ -58,10 +57,6 @@
58
57
  "test": "jest",
59
58
  "lint": "eslint src/**/*.ts",
60
59
  "coverage": "jest --coverage",
61
- "docs:doc": "mkdir -p ../docs && cp -r doc/. ../docs",
62
- "docs:lib": "typedoc --out ../docs/lib lib/*",
63
- "docs:src": "typedoc --out ../docs/src src/index.ts",
64
- "docs": "run-p docs:lib docs:src docs:doc",
65
60
  "start": "npm run build && npm i -g . && mlogjs"
66
61
  }
67
62
  }