@scrabble-solver/configs 2.6.1 → 2.7.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.
@@ -2,6 +2,7 @@ import { Config, Locale } from '@scrabble-solver/types';
2
2
  declare const literaki: {
3
3
  id: string;
4
4
  name: string;
5
+ "de-DE": Config;
5
6
  "en-GB": Config;
6
7
  "en-US": Config;
7
8
  "es-ES": Config;
@@ -33,6 +33,7 @@ var literaki = (_a = {
33
33
  id: base.id,
34
34
  name: base.name
35
35
  },
36
+ _a[types_1.Locale.DE_DE] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesDe })),
36
37
  _a[types_1.Locale.EN_GB] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
37
38
  _a[types_1.Locale.EN_US] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
38
39
  _a[types_1.Locale.ES_ES] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEs })),
@@ -2,3 +2,4 @@ export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
3
  export { default as tilesFr } from './tilesFr';
4
4
  export { default as tilesPl } from './tilesPl';
5
+ export { default as tilesDe } from './tilesDe';
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
6
+ exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
7
7
  var tilesEn_1 = require("./tilesEn");
8
8
  Object.defineProperty(exports, "tilesEn", { enumerable: true, get: function () { return __importDefault(tilesEn_1).default; } });
9
9
  var tilesEs_1 = require("./tilesEs");
@@ -12,3 +12,5 @@ var tilesFr_1 = require("./tilesFr");
12
12
  Object.defineProperty(exports, "tilesFr", { enumerable: true, get: function () { return __importDefault(tilesFr_1).default; } });
13
13
  var tilesPl_1 = require("./tilesPl");
14
14
  Object.defineProperty(exports, "tilesPl", { enumerable: true, get: function () { return __importDefault(tilesPl_1).default; } });
15
+ var tilesDe_1 = require("./tilesDe");
16
+ Object.defineProperty(exports, "tilesDe", { enumerable: true, get: function () { return __importDefault(tilesDe_1).default; } });
@@ -0,0 +1,6 @@
1
+ declare const tilesDe: {
2
+ character: string;
3
+ count: number;
4
+ score: number;
5
+ }[];
6
+ export default tilesDe;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tilesDe = [
4
+ { character: 'a', count: 5, score: 1 },
5
+ { character: 'ä', count: 1, score: 6 },
6
+ { character: 'b', count: 2, score: 3 },
7
+ { character: 'c', count: 2, score: 4 },
8
+ { character: 'd', count: 4, score: 1 },
9
+ { character: 'e', count: 15, score: 1 },
10
+ { character: 'f', count: 2, score: 4 },
11
+ { character: 'g', count: 3, score: 2 },
12
+ { character: 'h', count: 4, score: 2 },
13
+ { character: 'i', count: 6, score: 1 },
14
+ { character: 'j', count: 1, score: 6 },
15
+ { character: 'k', count: 2, score: 4 },
16
+ { character: 'l', count: 3, score: 2 },
17
+ { character: 'm', count: 4, score: 3 },
18
+ { character: 'n', count: 9, score: 1 },
19
+ { character: 'o', count: 3, score: 2 },
20
+ { character: 'ö', count: 1, score: 8 },
21
+ { character: 'p', count: 1, score: 4 },
22
+ { character: 'q', count: 1, score: 10 },
23
+ { character: 'r', count: 6, score: 1 },
24
+ { character: 's', count: 7, score: 1 },
25
+ { character: 't', count: 6, score: 1 },
26
+ { character: 'u', count: 6, score: 1 },
27
+ { character: 'ü', count: 1, score: 6 },
28
+ { character: 'v', count: 1, score: 6 },
29
+ { character: 'w', count: 1, score: 3 },
30
+ { character: 'x', count: 1, score: 8 },
31
+ { character: 'y', count: 1, score: 10 },
32
+ { character: 'z', count: 1, score: 3 },
33
+ ];
34
+ exports.default = tilesDe;
@@ -3,6 +3,7 @@ declare const scrabble: {
3
3
  id: string;
4
4
  name: string;
5
5
  "en-GB": Config;
6
+ "de-DE": Config;
6
7
  "en-US": Config;
7
8
  "es-ES": Config;
8
9
  "fr-FR": Config;
@@ -34,6 +34,7 @@ var scrabble = (_a = {
34
34
  name: base.name
35
35
  },
36
36
  _a[types_1.Locale.EN_GB] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
37
+ _a[types_1.Locale.DE_DE] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesDe })),
37
38
  _a[types_1.Locale.EN_US] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
38
39
  _a[types_1.Locale.ES_ES] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEs })),
39
40
  _a[types_1.Locale.FR_FR] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesFr })),
@@ -2,3 +2,4 @@ export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
3
  export { default as tilesFr } from './tilesFr';
4
4
  export { default as tilesPl } from './tilesPl';
5
+ export { default as tilesDe } from './tilesDe';
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
6
+ exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
7
7
  var tilesEn_1 = require("./tilesEn");
8
8
  Object.defineProperty(exports, "tilesEn", { enumerable: true, get: function () { return __importDefault(tilesEn_1).default; } });
9
9
  var tilesEs_1 = require("./tilesEs");
@@ -12,3 +12,5 @@ var tilesFr_1 = require("./tilesFr");
12
12
  Object.defineProperty(exports, "tilesFr", { enumerable: true, get: function () { return __importDefault(tilesFr_1).default; } });
13
13
  var tilesPl_1 = require("./tilesPl");
14
14
  Object.defineProperty(exports, "tilesPl", { enumerable: true, get: function () { return __importDefault(tilesPl_1).default; } });
15
+ var tilesDe_1 = require("./tilesDe");
16
+ Object.defineProperty(exports, "tilesDe", { enumerable: true, get: function () { return __importDefault(tilesDe_1).default; } });
@@ -0,0 +1,6 @@
1
+ declare const tilesDe: {
2
+ character: string;
3
+ count: number;
4
+ score: number;
5
+ }[];
6
+ export default tilesDe;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tilesDe = [
4
+ { character: 'a', count: 5, score: 1 },
5
+ { character: 'ä', count: 1, score: 6 },
6
+ { character: 'b', count: 2, score: 3 },
7
+ { character: 'c', count: 2, score: 4 },
8
+ { character: 'd', count: 4, score: 1 },
9
+ { character: 'e', count: 15, score: 1 },
10
+ { character: 'f', count: 2, score: 4 },
11
+ { character: 'g', count: 3, score: 2 },
12
+ { character: 'h', count: 4, score: 2 },
13
+ { character: 'i', count: 6, score: 1 },
14
+ { character: 'j', count: 1, score: 6 },
15
+ { character: 'k', count: 2, score: 4 },
16
+ { character: 'l', count: 3, score: 2 },
17
+ { character: 'm', count: 4, score: 3 },
18
+ { character: 'n', count: 9, score: 1 },
19
+ { character: 'o', count: 3, score: 2 },
20
+ { character: 'ö', count: 1, score: 8 },
21
+ { character: 'p', count: 1, score: 4 },
22
+ { character: 'q', count: 1, score: 10 },
23
+ { character: 'r', count: 6, score: 1 },
24
+ { character: 's', count: 7, score: 1 },
25
+ { character: 't', count: 6, score: 1 },
26
+ { character: 'u', count: 6, score: 1 },
27
+ { character: 'ü', count: 1, score: 6 },
28
+ { character: 'v', count: 1, score: 6 },
29
+ { character: 'w', count: 1, score: 3 },
30
+ { character: 'x', count: 1, score: 8 },
31
+ { character: 'y', count: 1, score: 10 },
32
+ { character: 'z', count: 1, score: 3 },
33
+ ];
34
+ exports.default = tilesDe;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/configs",
3
- "version": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "description": "Scrabble Solver 2 - Configs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "author": {
12
12
  "name": "Kamil Mielnik",
13
13
  "email": "kamil.adam.mielnik@gmail.com",
14
- "url": "http://kamilmielnik.com/"
14
+ "url": "https://kamilmielnik.com/"
15
15
  },
16
16
  "license": "CC-BY-NC-ND-4.0",
17
17
  "bugs": {
@@ -24,8 +24,8 @@
24
24
  "clean:force": "npm run clean && rimraf package-lock.json"
25
25
  },
26
26
  "dependencies": {
27
- "@scrabble-solver/constants": "^2.6.1",
28
- "@scrabble-solver/types": "^2.6.1"
27
+ "@scrabble-solver/constants": "^2.7.0",
28
+ "@scrabble-solver/types": "^2.7.0"
29
29
  },
30
- "gitHead": "4a68377171a5539b33cba4fbcc47fc858d29903a"
30
+ "gitHead": "db0e2eab74ee597f70df456444312241f2646f9e"
31
31
  }
@@ -1,7 +1,7 @@
1
1
  import { Config, Locale } from '@scrabble-solver/types';
2
2
 
3
3
  import bonuses from './bonuses';
4
- import { tilesEn, tilesEs, tilesFr, tilesPl } from './tiles';
4
+ import { tilesDe, tilesEn, tilesEs, tilesFr, tilesPl } from './tiles';
5
5
 
6
6
  const base = {
7
7
  allTilesBonusScore: 50,
@@ -18,6 +18,7 @@ const base = {
18
18
  const literaki = {
19
19
  id: base.id,
20
20
  name: base.name,
21
+ [Locale.DE_DE]: Config.fromJson({ ...base, tiles: tilesDe }),
21
22
  [Locale.EN_GB]: Config.fromJson({ ...base, tiles: tilesEn }),
22
23
  [Locale.EN_US]: Config.fromJson({ ...base, tiles: tilesEn }),
23
24
  [Locale.ES_ES]: Config.fromJson({ ...base, tiles: tilesEs }),
@@ -2,3 +2,4 @@ export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
3
  export { default as tilesFr } from './tilesFr';
4
4
  export { default as tilesPl } from './tilesPl';
5
+ export { default as tilesDe } from './tilesDe';
@@ -0,0 +1,33 @@
1
+ const tilesDe = [
2
+ { character: 'a', count: 5, score: 1 },
3
+ { character: 'ä', count: 1, score: 6 },
4
+ { character: 'b', count: 2, score: 3 },
5
+ { character: 'c', count: 2, score: 4 },
6
+ { character: 'd', count: 4, score: 1 },
7
+ { character: 'e', count: 15, score: 1 },
8
+ { character: 'f', count: 2, score: 4 },
9
+ { character: 'g', count: 3, score: 2 },
10
+ { character: 'h', count: 4, score: 2 },
11
+ { character: 'i', count: 6, score: 1 },
12
+ { character: 'j', count: 1, score: 6 },
13
+ { character: 'k', count: 2, score: 4 },
14
+ { character: 'l', count: 3, score: 2 },
15
+ { character: 'm', count: 4, score: 3 },
16
+ { character: 'n', count: 9, score: 1 },
17
+ { character: 'o', count: 3, score: 2 },
18
+ { character: 'ö', count: 1, score: 8 },
19
+ { character: 'p', count: 1, score: 4 },
20
+ { character: 'q', count: 1, score: 10 },
21
+ { character: 'r', count: 6, score: 1 },
22
+ { character: 's', count: 7, score: 1 },
23
+ { character: 't', count: 6, score: 1 },
24
+ { character: 'u', count: 6, score: 1 },
25
+ { character: 'ü', count: 1, score: 6 },
26
+ { character: 'v', count: 1, score: 6 },
27
+ { character: 'w', count: 1, score: 3 },
28
+ { character: 'x', count: 1, score: 8 },
29
+ { character: 'y', count: 1, score: 10 },
30
+ { character: 'z', count: 1, score: 3 },
31
+ ];
32
+
33
+ export default tilesDe;
@@ -1,7 +1,7 @@
1
1
  import { Config, Locale } from '@scrabble-solver/types';
2
2
 
3
3
  import bonuses from './bonuses';
4
- import { tilesEn, tilesEs, tilesFr, tilesPl } from './tiles';
4
+ import { tilesEn, tilesEs, tilesFr, tilesPl, tilesDe } from './tiles';
5
5
 
6
6
  const base = {
7
7
  allTilesBonusScore: 50,
@@ -19,6 +19,7 @@ const scrabble = {
19
19
  id: base.id,
20
20
  name: base.name,
21
21
  [Locale.EN_GB]: Config.fromJson({ ...base, tiles: tilesEn }),
22
+ [Locale.DE_DE]: Config.fromJson({ ...base, tiles: tilesDe }),
22
23
  [Locale.EN_US]: Config.fromJson({ ...base, tiles: tilesEn }),
23
24
  [Locale.ES_ES]: Config.fromJson({ ...base, tiles: tilesEs }),
24
25
  [Locale.FR_FR]: Config.fromJson({ ...base, tiles: tilesFr }),
@@ -2,3 +2,4 @@ export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
3
  export { default as tilesFr } from './tilesFr';
4
4
  export { default as tilesPl } from './tilesPl';
5
+ export { default as tilesDe } from './tilesDe';
@@ -0,0 +1,33 @@
1
+ const tilesDe = [
2
+ { character: 'a', count: 5, score: 1 },
3
+ { character: 'ä', count: 1, score: 6 },
4
+ { character: 'b', count: 2, score: 3 },
5
+ { character: 'c', count: 2, score: 4 },
6
+ { character: 'd', count: 4, score: 1 },
7
+ { character: 'e', count: 15, score: 1 },
8
+ { character: 'f', count: 2, score: 4 },
9
+ { character: 'g', count: 3, score: 2 },
10
+ { character: 'h', count: 4, score: 2 },
11
+ { character: 'i', count: 6, score: 1 },
12
+ { character: 'j', count: 1, score: 6 },
13
+ { character: 'k', count: 2, score: 4 },
14
+ { character: 'l', count: 3, score: 2 },
15
+ { character: 'm', count: 4, score: 3 },
16
+ { character: 'n', count: 9, score: 1 },
17
+ { character: 'o', count: 3, score: 2 },
18
+ { character: 'ö', count: 1, score: 8 },
19
+ { character: 'p', count: 1, score: 4 },
20
+ { character: 'q', count: 1, score: 10 },
21
+ { character: 'r', count: 6, score: 1 },
22
+ { character: 's', count: 7, score: 1 },
23
+ { character: 't', count: 6, score: 1 },
24
+ { character: 'u', count: 6, score: 1 },
25
+ { character: 'ü', count: 1, score: 6 },
26
+ { character: 'v', count: 1, score: 6 },
27
+ { character: 'w', count: 1, score: 3 },
28
+ { character: 'x', count: 1, score: 8 },
29
+ { character: 'y', count: 1, score: 10 },
30
+ { character: 'z', count: 1, score: 3 },
31
+ ];
32
+
33
+ export default tilesDe;