@dithrkit/sdk 0.5.1 → 0.5.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.
@@ -50,6 +50,7 @@ const jsConfig = [
50
50
  rules: {
51
51
  ...BASE_RULES,
52
52
  "no-plusplus": ["error", { allowForLoopAfterthoughts: true }],
53
+ "no-unused-vars": ["error", { varsIgnorePattern: "^_", argsIgnorePattern: "^_" }],
53
54
  },
54
55
  },
55
56
  ];
@@ -140,7 +140,7 @@ const pkg = {
140
140
  description: `${name} — dithr cart`,
141
141
  scripts: {
142
142
  start: useTypescript ? "dithrkit dev" : "dithrkit run",
143
- build: useTypescript ? "dithrkit build" : undefined,
143
+ build: "dithrkit build",
144
144
  serve: "dithrkit serve",
145
145
  watch: "dithrkit watch",
146
146
  lint: "eslint src/",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dithrkit/sdk",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "SDK and CLI for the dithr fantasy console",
5
5
  "license": "MIT",
6
6
  "author": "dithrkit",
@@ -48,10 +48,15 @@
48
48
  "esbuild": "^0.28.2"
49
49
  },
50
50
  "optionalDependencies": {
51
- "@dithrkit/darwin-arm64": "0.5.1",
52
- "@dithrkit/linux-arm64": "0.5.1",
53
- "@dithrkit/linux-x64": "0.5.1",
54
- "@dithrkit/wasm": "0.5.1",
55
- "@dithrkit/win32-x64": "0.5.1"
51
+ "@dithrkit/darwin-arm64": "0.5.2",
52
+ "@dithrkit/linux-arm64": "0.5.2",
53
+ "@dithrkit/linux-x64": "0.5.2",
54
+ "@dithrkit/wasm": "0.5.2",
55
+ "@dithrkit/win32-x64": "0.5.2"
56
+ },
57
+ "devDependencies": {
58
+ "@eslint/js": "^9.0.0",
59
+ "eslint": "^9.0.0",
60
+ "eslint-config-prettier": "^10.0.0"
56
61
  }
57
62
  }
@@ -10,5 +10,5 @@ function _update(_dt) {
10
10
 
11
11
  function _draw() {
12
12
  gfx.cls(0);
13
- gfx.print("hello, dithr!", 4, 4, 7);
13
+ gfx.print('hello, dithr!', 4, 4, 7);
14
14
  }
@@ -10,5 +10,5 @@ export function _update(_dt: number): void {
10
10
 
11
11
  export function _draw(): void {
12
12
  gfx.cls(0);
13
- gfx.print("hello, dithr!", 4, 4, 7);
13
+ gfx.print('hello, dithr!', 4, 4, 7);
14
14
  }