@connectorvol/shared 1.2.0 → 2.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.
Files changed (2) hide show
  1. package/dist/move.d.ts +0 -3
  2. package/package.json +3 -3
package/dist/move.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import type { Color } from "./color.js";
2
1
  import type { PieceType } from "./pieceType.js";
3
2
  /**
4
3
  * Представляет шахматный ход
@@ -10,8 +9,6 @@ export interface Move {
10
9
  to: string;
11
10
  /** Возвращает тип фигуры при превращении пешки */
12
11
  promotion?: PieceType;
13
- /** Возвращает цвет фигуры */
14
- color: Color;
15
12
  /** Возвращает флаги хода */
16
13
  flags?: string;
17
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectorvol/shared",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",
@@ -27,7 +27,7 @@
27
27
  "build": "vite build",
28
28
  "publish": "bun publish",
29
29
  "preview": "vite preview",
30
- "package": "vite build && bun pm pack",
30
+ "package": "svelte-kit sync && svelte-package && bun pm pack",
31
31
  "prepublishOnly": "bun pm pack",
32
32
  "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
33
33
  "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
@@ -69,6 +69,6 @@
69
69
  "vitest": "4.0.17"
70
70
  },
71
71
  "peerDependencies": {
72
- "svelte": "^5.43.0"
72
+ "svelte": "^5.53.12"
73
73
  }
74
74
  }