scrabble-solver 2.15.5 → 2.15.6

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 (79) hide show
  1. package/.nx/workspace-data/file-map.json +582 -537
  2. package/.nx/workspace-data/lockfile.hash +1 -1
  3. package/.nx/workspace-data/nx_files.nxt +0 -0
  4. package/.nx/workspace-data/parsed-lock-file.json +218 -217
  5. package/.nx/workspace-data/project-graph.json +197 -225
  6. package/cypress/e2e/bugs/363-dictionary-input-unique-words.ts +1 -1
  7. package/lerna.json +1 -1
  8. package/package.json +4 -4
  9. package/packages/configs/package.json +3 -3
  10. package/packages/constants/package.json +1 -1
  11. package/packages/dictionaries/package.json +4 -4
  12. package/packages/logger/package.json +2 -2
  13. package/packages/scrabble-solver/.next/BUILD_ID +1 -1
  14. package/packages/scrabble-solver/.next/build-manifest.json +9 -9
  15. package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
  16. package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
  17. package/packages/scrabble-solver/.next/cache/eslint/.cache_8dgz12 +1 -1
  18. package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -0
  19. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
  20. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack.old +0 -0
  21. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/0.pack +0 -0
  22. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
  23. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
  24. package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
  25. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
  26. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack.old +0 -0
  27. package/packages/scrabble-solver/.next/diagnostics/framework.json +1 -1
  28. package/packages/scrabble-solver/.next/next-minimal-server.js.nft.json +1 -1
  29. package/packages/scrabble-solver/.next/next-server.js.nft.json +1 -1
  30. package/packages/scrabble-solver/.next/prerender-manifest.json +1 -1
  31. package/packages/scrabble-solver/.next/required-server-files.json +1 -1
  32. package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
  33. package/packages/scrabble-solver/.next/server/chunks/{964.js → 292.js} +1 -1
  34. package/packages/scrabble-solver/.next/server/chunks/331.js +2 -2
  35. package/packages/scrabble-solver/.next/server/chunks/577.js +1 -1
  36. package/packages/scrabble-solver/.next/server/chunks/807.js +1 -0
  37. package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
  38. package/packages/scrabble-solver/.next/server/pages/404.html +1 -1
  39. package/packages/scrabble-solver/.next/server/pages/404.js.nft.json +1 -1
  40. package/packages/scrabble-solver/.next/server/pages/500.html +1 -1
  41. package/packages/scrabble-solver/.next/server/pages/_app.js +1 -1
  42. package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +1 -1
  43. package/packages/scrabble-solver/.next/server/pages/_document.js +1 -1
  44. package/packages/scrabble-solver/.next/server/pages/_error.js +1 -1
  45. package/packages/scrabble-solver/.next/server/pages/_error.js.nft.json +1 -1
  46. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js +2 -2
  47. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
  48. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js +1 -1
  49. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
  50. package/packages/scrabble-solver/.next/server/pages/api/solve.js +1 -1
  51. package/packages/scrabble-solver/.next/server/pages/api/solve.js.nft.json +1 -1
  52. package/packages/scrabble-solver/.next/server/pages/api/verify.js +1 -1
  53. package/packages/scrabble-solver/.next/server/pages/api/verify.js.nft.json +1 -1
  54. package/packages/scrabble-solver/.next/server/pages/api/visit.js +1 -1
  55. package/packages/scrabble-solver/.next/server/pages/index.html +1 -1
  56. package/packages/scrabble-solver/.next/server/pages/index.js +1 -1
  57. package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +1 -1
  58. package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
  59. package/packages/scrabble-solver/.next/static/chunks/main-8d63777bf8b90ccb.js +1 -0
  60. package/packages/scrabble-solver/.next/static/chunks/pages/_app-79ef8056607a21da.js +1 -0
  61. package/packages/scrabble-solver/.next/static/chunks/pages/{index-817f862d5980cebe.js → index-5866a12bfb8f00c4.js} +1 -1
  62. package/packages/scrabble-solver/.next/static/css/bc158181051cf066.css +2 -0
  63. package/packages/scrabble-solver/.next/static/{_5S9YxXzM3OLRGGJe0qQv → uekKIGQQUe4pM47TO6mBn}/_buildManifest.js +1 -1
  64. package/packages/scrabble-solver/.next/trace +23 -23
  65. package/packages/scrabble-solver/package.json +16 -16
  66. package/packages/scrabble-solver/public/service-worker.js +2 -2
  67. package/packages/scrabble-solver/public/service-worker.js.map +1 -1
  68. package/packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss +9 -1
  69. package/packages/scrabble-solver/src/components/Dictionary/Dictionary.tsx +3 -0
  70. package/packages/scrabble-solver/src/hooks/useAppLayout.ts +3 -0
  71. package/packages/solver/package.json +5 -5
  72. package/packages/types/package.json +2 -2
  73. package/packages/word-definitions/package.json +2 -2
  74. package/packages/word-lists/package.json +2 -2
  75. package/packages/scrabble-solver/.next/server/chunks/67.js +0 -1
  76. package/packages/scrabble-solver/.next/static/chunks/main-6e8e32bd2f4e331c.js +0 -1
  77. package/packages/scrabble-solver/.next/static/chunks/pages/_app-c960503f8645e1de.js +0 -1
  78. package/packages/scrabble-solver/.next/static/css/a7aa574f03b29f75.css +0 -2
  79. /package/packages/scrabble-solver/.next/static/{_5S9YxXzM3OLRGGJe0qQv → uekKIGQQUe4pM47TO6mBn}/_ssgManifest.js +0 -0
@@ -1,322 +1,205 @@
1
1
  {
2
2
  "version": "6.0",
3
- "nxVersion": "19.8.4",
4
- "deps": {
5
- "@scrabble-solver/scrabble-solver": "^2.15.5",
6
- "concurrently": "^9.0.1",
7
- "open-cli": "^8.0.0",
8
- "@babel/core": "^7.26.0",
9
- "@babel/plugin-proposal-class-properties": "^7.18.6",
10
- "@babel/preset-env": "^7.26.0",
11
- "@testing-library/cypress": "^10.0.2",
12
- "@types/jest": "^29.5.14",
13
- "@types/node": "^22.8.1",
14
- "@typescript-eslint/eslint-plugin": "^7.16.0",
15
- "@typescript-eslint/parser": "^7.16.0",
16
- "cypress": "^13.15.1",
17
- "cypress-real-events": "^1.13.0",
18
- "eslint": "^8.57.0",
19
- "eslint-config-prettier": "^9.1.0",
20
- "eslint-import-resolver-node": "^0.3.9",
21
- "eslint-plugin-cypress": "^3.4.0",
22
- "eslint-plugin-import": "^2.31.0",
23
- "eslint-plugin-mocha": "^10.5.0",
24
- "eslint-plugin-prettier": "^5.2.1",
25
- "eslint-plugin-react": "^7.37.2",
26
- "eslint-plugin-react-hooks": "^4.6.2",
27
- "jest": "29.7.0",
28
- "lerna": "^8.1.8",
29
- "np": "^10.0.7",
30
- "prettier": "^3.3.3",
31
- "rimraf": "^6.0.1",
32
- "ts-jest": "^29.2.5",
33
- "typescript": "^5.6.3"
34
- },
3
+ "nxVersion": "20.0.7",
35
4
  "pathMappings": {},
36
5
  "nxJsonPlugins": [],
37
6
  "fileMap": {
38
7
  "projectFileMap": {
39
- "@scrabble-solver/constants": [
40
- {
41
- "file": "packages/constants/README.md",
42
- "hash": "15117377322618686888"
43
- },
44
- {
45
- "file": "packages/constants/package.json",
46
- "hash": "15744718395673599714"
47
- },
48
- {
49
- "file": "packages/constants/src/index.ts",
50
- "hash": "2132305088706286749"
51
- },
52
- {
53
- "file": "packages/constants/tsconfig.json",
54
- "hash": "14393573143758511966"
55
- }
56
- ],
57
- "@scrabble-solver/types": [
8
+ "@scrabble-solver/word-lists": [
58
9
  {
59
- "file": "packages/types/README.md",
60
- "hash": "5575595901601075739"
10
+ "file": "packages/word-lists/README.md",
11
+ "hash": "16055975283152607821"
61
12
  },
62
13
  {
63
- "file": "packages/types/package.json",
64
- "hash": "16875730242871526972",
14
+ "file": "packages/word-lists/package.json",
15
+ "hash": "11191789918577768007",
65
16
  "deps": [
66
- "@scrabble-solver/constants"
17
+ "npm:@types/follow-redirects",
18
+ "npm:@types/latinize",
19
+ "npm:@types/unzipper",
20
+ "@scrabble-solver/types",
21
+ "npm:cheerio",
22
+ "npm:follow-redirects",
23
+ "npm:latinize",
24
+ "npm:unzipper"
67
25
  ]
68
26
  },
69
27
  {
70
- "file": "packages/types/src/Board.ts",
71
- "hash": "1795332604975396535"
72
- },
73
- {
74
- "file": "packages/types/src/BoardJson.ts",
75
- "hash": "1359665109646627215"
76
- },
77
- {
78
- "file": "packages/types/src/Bonus.ts",
79
- "hash": "14560849351172359773"
80
- },
81
- {
82
- "file": "packages/types/src/BonusJson.ts",
83
- "hash": "1575918727309148320"
84
- },
85
- {
86
- "file": "packages/types/src/BonusValue.ts",
87
- "hash": "15451307830706113705"
88
- },
89
- {
90
- "file": "packages/types/src/Cell.ts",
91
- "hash": "1276566763292169051"
92
- },
93
- {
94
- "file": "packages/types/src/CellJson.ts",
95
- "hash": "3679634834026053001"
96
- },
97
- {
98
- "file": "packages/types/src/CharacterBonus.ts",
99
- "hash": "8565881441163555375"
100
- },
101
- {
102
- "file": "packages/types/src/Collision.ts",
103
- "hash": "9564281720964143272"
104
- },
105
- {
106
- "file": "packages/types/src/CollisionJson.ts",
107
- "hash": "939471763294242456"
108
- },
109
- {
110
- "file": "packages/types/src/Config.ts",
111
- "hash": "12815140928208194778"
28
+ "file": "packages/word-lists/src/getWordList.ts",
29
+ "hash": "10304524630809776049"
112
30
  },
113
31
  {
114
- "file": "packages/types/src/ConfigJson.ts",
115
- "hash": "16704913440082426373"
32
+ "file": "packages/word-lists/src/index.ts",
33
+ "hash": "8042340231609296722"
116
34
  },
117
35
  {
118
- "file": "packages/types/src/Dictionary.ts",
119
- "hash": "14504925191249237749"
36
+ "file": "packages/word-lists/src/languages/english.ts",
37
+ "hash": "2481390322130638642"
120
38
  },
121
39
  {
122
- "file": "packages/types/src/FinalPattern.ts",
123
- "hash": "9096251764064641557"
40
+ "file": "packages/word-lists/src/languages/french.ts",
41
+ "hash": "5709228979885382440"
124
42
  },
125
43
  {
126
- "file": "packages/types/src/Game.ts",
127
- "hash": "7507454659713837088"
44
+ "file": "packages/word-lists/src/languages/german.ts",
45
+ "hash": "15796960817923996735"
128
46
  },
129
47
  {
130
- "file": "packages/types/src/HorizontalPattern.ts",
131
- "hash": "15203164411175187561"
48
+ "file": "packages/word-lists/src/languages/index.ts",
49
+ "hash": "632033483089466746"
132
50
  },
133
51
  {
134
- "file": "packages/types/src/Locale.ts",
135
- "hash": "3776902042703910037"
52
+ "file": "packages/word-lists/src/languages/persian.ts",
53
+ "hash": "15843050793712953655"
136
54
  },
137
55
  {
138
- "file": "packages/types/src/Pattern.ts",
139
- "hash": "2088140037997729495"
56
+ "file": "packages/word-lists/src/languages/polish.ts",
57
+ "hash": "4640703681394255402"
140
58
  },
141
59
  {
142
- "file": "packages/types/src/PatternJson.ts",
143
- "hash": "3515858699694501238"
60
+ "file": "packages/word-lists/src/languages/romanian.ts",
61
+ "hash": "17371976651084460491"
144
62
  },
145
63
  {
146
- "file": "packages/types/src/Result.ts",
147
- "hash": "13932023092579950537"
64
+ "file": "packages/word-lists/src/languages/spanish.ts",
65
+ "hash": "4138652487389278515"
148
66
  },
149
67
  {
150
- "file": "packages/types/src/ResultJson.ts",
151
- "hash": "13503079789178597354"
68
+ "file": "packages/word-lists/src/languages/turkish.ts",
69
+ "hash": "234257834486019779"
152
70
  },
153
71
  {
154
- "file": "packages/types/src/ShowCoordinates.ts",
155
- "hash": "12006550712165286437"
72
+ "file": "packages/word-lists/src/lib/downloadFile.ts",
73
+ "hash": "1606271890623053959"
156
74
  },
157
75
  {
158
- "file": "packages/types/src/Tile.ts",
159
- "hash": "4190775870333742502"
76
+ "file": "packages/word-lists/src/lib/downloadHtml.ts",
77
+ "hash": "18361092434131929887"
160
78
  },
161
79
  {
162
- "file": "packages/types/src/TileConfig.ts",
163
- "hash": "10374442155071484805"
80
+ "file": "packages/word-lists/src/lib/extractWords.ts",
81
+ "hash": "18130541634105493192"
164
82
  },
165
83
  {
166
- "file": "packages/types/src/TileJson.ts",
167
- "hash": "13173879841328293830"
84
+ "file": "packages/word-lists/src/lib/findFirstWordIndex.ts",
85
+ "hash": "8631763313757125016"
168
86
  },
169
87
  {
170
- "file": "packages/types/src/VerticalPattern.ts",
171
- "hash": "11127026890946051461"
88
+ "file": "packages/word-lists/src/lib/getHash.ts",
89
+ "hash": "13620700633138618261"
172
90
  },
173
91
  {
174
- "file": "packages/types/src/WordBonus.ts",
175
- "hash": "12599656225920627697"
92
+ "file": "packages/word-lists/src/lib/getTempFilepath.ts",
93
+ "hash": "17585702428857166492"
176
94
  },
177
95
  {
178
- "file": "packages/types/src/WordDefinition.ts",
179
- "hash": "2884854777090603476"
96
+ "file": "packages/word-lists/src/lib/getTxtWordList.ts",
97
+ "hash": "11194179918214072618"
180
98
  },
181
99
  {
182
- "file": "packages/types/src/WordDefinitionJson.ts",
183
- "hash": "1400005282053154435"
100
+ "file": "packages/word-lists/src/lib/index.ts",
101
+ "hash": "5513402095979090244"
184
102
  },
185
103
  {
186
- "file": "packages/types/src/index.ts",
187
- "hash": "13454218577226827701"
104
+ "file": "packages/word-lists/src/lib/latinizeDiacritics.ts",
105
+ "hash": "1791849477319616904"
188
106
  },
189
107
  {
190
- "file": "packages/types/src/isError.ts",
191
- "hash": "12417306612988791594"
108
+ "file": "packages/word-lists/src/lib/unique.ts",
109
+ "hash": "11883570690444952975"
192
110
  },
193
111
  {
194
- "file": "packages/types/src/isObject.ts",
195
- "hash": "10915497605360683267"
112
+ "file": "packages/word-lists/src/lib/unzip.ts",
113
+ "hash": "7204953269649771597"
196
114
  },
197
115
  {
198
- "file": "packages/types/tsconfig.json",
116
+ "file": "packages/word-lists/tsconfig.json",
199
117
  "hash": "14393573143758511966"
200
118
  }
201
119
  ],
202
- "@scrabble-solver/solver": [
120
+ "@scrabble-solver/configs": [
203
121
  {
204
- "file": "packages/solver/README.md",
205
- "hash": "6318233837788889254"
122
+ "file": "packages/configs/README.md",
123
+ "hash": "6408492212348349035"
206
124
  },
207
125
  {
208
- "file": "packages/solver/package.json",
209
- "hash": "5469502235441035102",
126
+ "file": "packages/configs/package.json",
127
+ "hash": "6051437599168181264",
210
128
  "deps": [
211
- "@scrabble-solver/configs",
212
129
  "@scrabble-solver/constants",
213
- "@scrabble-solver/dictionaries",
214
- "npm:@kamilmielnik/trie",
215
130
  "@scrabble-solver/types"
216
131
  ]
217
132
  },
218
133
  {
219
- "file": "packages/solver/src/areDigraphsValid.ts",
220
- "hash": "13457862964347916637"
221
- },
222
- {
223
- "file": "packages/solver/src/fillPattern.test.ts",
224
- "hash": "18308630201824891078"
225
- },
226
- {
227
- "file": "packages/solver/src/fillPattern.ts",
228
- "hash": "13381827087689036026"
229
- },
230
- {
231
- "file": "packages/solver/src/generateEndIndices.test.ts",
232
- "hash": "716600035678673968"
233
- },
234
- {
235
- "file": "packages/solver/src/generateEndIndices.ts",
236
- "hash": "10897046656592966960"
237
- },
238
- {
239
- "file": "packages/solver/src/generateHorizontalPatterns.test.ts",
240
- "hash": "10704460008424185233"
241
- },
242
- {
243
- "file": "packages/solver/src/generateHorizontalPatterns.ts",
244
- "hash": "8499404194545369806"
245
- },
246
- {
247
- "file": "packages/solver/src/generatePattern.ts",
248
- "hash": "876078988631156754"
249
- },
250
- {
251
- "file": "packages/solver/src/generatePatterns.test.ts",
252
- "hash": "3673989014707179747"
134
+ "file": "packages/configs/src/games/index.ts",
135
+ "hash": "3362665534610527442"
253
136
  },
254
137
  {
255
- "file": "packages/solver/src/generatePatterns.ts",
256
- "hash": "16439966106146568683"
138
+ "file": "packages/configs/src/games/kelimelik.ts",
139
+ "hash": "8594545037611382240"
257
140
  },
258
141
  {
259
- "file": "packages/solver/src/generateStartIndices.test.ts",
260
- "hash": "14777738928879129603"
142
+ "file": "packages/configs/src/games/literaki.ts",
143
+ "hash": "5296305767123400678"
261
144
  },
262
145
  {
263
- "file": "packages/solver/src/generateStartIndices.ts",
264
- "hash": "16599831202028767898"
146
+ "file": "packages/configs/src/games/scrabble.ts",
147
+ "hash": "418444957443163713"
265
148
  },
266
149
  {
267
- "file": "packages/solver/src/generateVectors.test.ts",
268
- "hash": "1650043737085727922"
150
+ "file": "packages/configs/src/games/superScrabble.ts",
151
+ "hash": "6367902121186465660"
269
152
  },
270
153
  {
271
- "file": "packages/solver/src/generateVectors.ts",
272
- "hash": "4822515588751179136"
154
+ "file": "packages/configs/src/getConfig.ts",
155
+ "hash": "16327382875287704141"
273
156
  },
274
157
  {
275
- "file": "packages/solver/src/generateVerticalPatterns.test.ts",
276
- "hash": "15210132682532157889"
158
+ "file": "packages/configs/src/hasConfig.ts",
159
+ "hash": "13597098168111108392"
277
160
  },
278
161
  {
279
- "file": "packages/solver/src/generateVerticalPatterns.ts",
280
- "hash": "12531562020518966018"
162
+ "file": "packages/configs/src/index.ts",
163
+ "hash": "12104092412421460190"
281
164
  },
282
165
  {
283
- "file": "packages/solver/src/getCellsScore.ts",
284
- "hash": "5469559674538280708"
166
+ "file": "packages/configs/src/languages/english.ts",
167
+ "hash": "13409449178104096391"
285
168
  },
286
169
  {
287
- "file": "packages/solver/src/getPatternHash.test.ts",
288
- "hash": "16537135204833248488"
170
+ "file": "packages/configs/src/languages/french.ts",
171
+ "hash": "12248709442008050794"
289
172
  },
290
173
  {
291
- "file": "packages/solver/src/getPatternHash.ts",
292
- "hash": "15661610244682435057"
174
+ "file": "packages/configs/src/languages/german.ts",
175
+ "hash": "15430977815804666604"
293
176
  },
294
177
  {
295
- "file": "packages/solver/src/getPatternScore.test.ts",
296
- "hash": "11243230316631404996"
178
+ "file": "packages/configs/src/languages/index.ts",
179
+ "hash": "6554636328320279077"
297
180
  },
298
181
  {
299
- "file": "packages/solver/src/getPatternScore.ts",
300
- "hash": "6633752663331331064"
182
+ "file": "packages/configs/src/languages/persian.ts",
183
+ "hash": "1614638689491705120"
301
184
  },
302
185
  {
303
- "file": "packages/solver/src/getUniquePatterns.ts",
304
- "hash": "14182107880131983110"
186
+ "file": "packages/configs/src/languages/polish.ts",
187
+ "hash": "17941542313550365356"
305
188
  },
306
189
  {
307
- "file": "packages/solver/src/index.ts",
308
- "hash": "11668835763077141031"
190
+ "file": "packages/configs/src/languages/romanian.ts",
191
+ "hash": "15366974472215186064"
309
192
  },
310
193
  {
311
- "file": "packages/solver/src/solve.test.ts",
312
- "hash": "7573100315007364571"
194
+ "file": "packages/configs/src/languages/spanish.ts",
195
+ "hash": "289235670795048535"
313
196
  },
314
197
  {
315
- "file": "packages/solver/src/solve.ts",
316
- "hash": "13332781803753267271"
198
+ "file": "packages/configs/src/languages/turkish.ts",
199
+ "hash": "10240746041524805456"
317
200
  },
318
201
  {
319
- "file": "packages/solver/tsconfig.json",
202
+ "file": "packages/configs/tsconfig.json",
320
203
  "hash": "14393573143758511966"
321
204
  }
322
205
  ],
@@ -327,7 +210,7 @@
327
210
  },
328
211
  {
329
212
  "file": "packages/logger/package.json",
330
- "hash": "8788819701681560265",
213
+ "hash": "11557547065642336419",
331
214
  "deps": [
332
215
  "npm:@types/winston",
333
216
  "npm:winston"
@@ -354,293 +237,204 @@
354
237
  "hash": "14393573143758511966"
355
238
  }
356
239
  ],
357
- "@scrabble-solver/word-definitions": [
358
- {
359
- "file": "packages/word-definitions/README.md",
360
- "hash": "17568556648423613638"
361
- },
362
- {
363
- "file": "packages/word-definitions/package.json",
364
- "hash": "13950133966922937237",
365
- "deps": [
366
- "npm:@types/follow-redirects",
367
- "npm:domhandler",
368
- "@scrabble-solver/types",
369
- "npm:cheerio",
370
- "npm:follow-redirects",
371
- "npm:striptags"
372
- ]
373
- },
374
- {
375
- "file": "packages/word-definitions/src/__tests__/expected/de-DE.hm.json",
376
- "hash": "10237785854707267601"
377
- },
378
- {
379
- "file": "packages/word-definitions/src/__tests__/expected/de-DE.ho.json",
380
- "hash": "12063011714052156607"
381
- },
382
- {
383
- "file": "packages/word-definitions/src/__tests__/expected/de-DE.kolla.json",
384
- "hash": "14885831526660416837"
385
- },
386
- {
387
- "file": "packages/word-definitions/src/__tests__/expected/de-DE.vom.json",
388
- "hash": "15963236354499184653"
389
- },
390
- {
391
- "file": "packages/word-definitions/src/__tests__/expected/en-US.awe.json",
392
- "hash": "2017130325952579294"
393
- },
394
- {
395
- "file": "packages/word-definitions/src/__tests__/expected/en-US.oe.json",
396
- "hash": "1527154511551359551"
397
- },
398
- {
399
- "file": "packages/word-definitions/src/__tests__/expected/en-US.pawn.json",
400
- "hash": "8612683268042437243"
401
- },
402
- {
403
- "file": "packages/word-definitions/src/__tests__/expected/en-US.pawnee.json",
404
- "hash": "12144477896570100005"
405
- },
406
- {
407
- "file": "packages/word-definitions/src/__tests__/expected/en-US.pean.json",
408
- "hash": "10905416600185181615"
409
- },
410
- {
411
- "file": "packages/word-definitions/src/__tests__/expected/en-US.wiz.json",
412
- "hash": "13932860784730999389"
413
- },
414
- {
415
- "file": "packages/word-definitions/src/__tests__/expected/es-ES.corma.json",
416
- "hash": "12106710832334575972"
417
- },
418
- {
419
- "file": "packages/word-definitions/src/__tests__/expected/es-ES.portero.json",
420
- "hash": "14488169472975769438"
421
- },
422
- {
423
- "file": "packages/word-definitions/src/__tests__/expected/ro-RO.aciua.json",
424
- "hash": "16979195584190955408"
425
- },
426
- {
427
- "file": "packages/word-definitions/src/__tests__/expected/tr-TR.lojik.json",
428
- "hash": "8158496020673125131"
429
- },
430
- {
431
- "file": "packages/word-definitions/src/__tests__/input/de-DE.hm.html",
432
- "hash": "9556515440909131198"
433
- },
434
- {
435
- "file": "packages/word-definitions/src/__tests__/input/de-DE.ho.html",
436
- "hash": "17490613757795254086"
437
- },
438
- {
439
- "file": "packages/word-definitions/src/__tests__/input/de-DE.kolla.html",
440
- "hash": "7808792531948326040"
441
- },
442
- {
443
- "file": "packages/word-definitions/src/__tests__/input/de-DE.vom.html",
444
- "hash": "6890899341792994601"
445
- },
446
- {
447
- "file": "packages/word-definitions/src/__tests__/input/en-US.awe.html",
448
- "hash": "16023829491647401500"
449
- },
450
- {
451
- "file": "packages/word-definitions/src/__tests__/input/en-US.oe.html",
452
- "hash": "4826723009204686277"
453
- },
240
+ "@scrabble-solver/dictionaries": [
454
241
  {
455
- "file": "packages/word-definitions/src/__tests__/input/en-US.pawn.html",
456
- "hash": "1871173307161237717"
242
+ "file": "packages/dictionaries/README.md",
243
+ "hash": "4148063976304250953"
457
244
  },
458
245
  {
459
- "file": "packages/word-definitions/src/__tests__/input/en-US.pawnee.html",
460
- "hash": "7107434643906449463"
246
+ "file": "packages/dictionaries/bin/remove-dictionaries.js",
247
+ "hash": "2636661981756772217"
461
248
  },
462
249
  {
463
- "file": "packages/word-definitions/src/__tests__/input/en-US.pean.html",
464
- "hash": "17372636871596685811"
250
+ "file": "packages/dictionaries/bin/update-dictionaries.js",
251
+ "hash": "9641816824340442544"
465
252
  },
466
253
  {
467
- "file": "packages/word-definitions/src/__tests__/input/en-US.wiz.html",
468
- "hash": "4391388960840629632"
254
+ "file": "packages/dictionaries/package.json",
255
+ "hash": "4068290938337767378",
256
+ "deps": [
257
+ "npm:@kamilmielnik/trie",
258
+ "@scrabble-solver/logger",
259
+ "@scrabble-solver/types",
260
+ "@scrabble-solver/word-lists"
261
+ ]
469
262
  },
470
263
  {
471
- "file": "packages/word-definitions/src/__tests__/input/es-ES.corma.html",
472
- "hash": "4810834112940957964"
264
+ "file": "packages/dictionaries/src/Dictionaries.ts",
265
+ "hash": "2136752626770286355"
473
266
  },
474
267
  {
475
- "file": "packages/word-definitions/src/__tests__/input/es-ES.portero.html",
476
- "hash": "3285999281074013554"
268
+ "file": "packages/dictionaries/src/constants/index.ts",
269
+ "hash": "12604354443457976176"
477
270
  },
478
271
  {
479
- "file": "packages/word-definitions/src/__tests__/input/ro-RO.aciua.html",
480
- "hash": "18114354052075758981"
272
+ "file": "packages/dictionaries/src/index.ts",
273
+ "hash": "2109487961393742179"
481
274
  },
482
275
  {
483
- "file": "packages/word-definitions/src/__tests__/input/tr-TR.lojik.html",
484
- "hash": "7167173069304005721"
276
+ "file": "packages/dictionaries/src/lib/DiskCache.ts",
277
+ "hash": "2227962496923642356"
485
278
  },
486
279
  {
487
- "file": "packages/word-definitions/src/crawl.ts",
488
- "hash": "6329813709530241756"
280
+ "file": "packages/dictionaries/src/lib/LayeredCache.ts",
281
+ "hash": "3051108421181356176"
489
282
  },
490
283
  {
491
- "file": "packages/word-definitions/src/getWordDefinition.ts",
492
- "hash": "10790628764128130168"
284
+ "file": "packages/dictionaries/src/lib/MemoryCache.ts",
285
+ "hash": "1948674580289004545"
493
286
  },
494
287
  {
495
- "file": "packages/word-definitions/src/index.ts",
496
- "hash": "10934322227063310399"
288
+ "file": "packages/dictionaries/src/lib/createAsyncProxy.ts",
289
+ "hash": "17426392025257462855"
497
290
  },
498
291
  {
499
- "file": "packages/word-definitions/src/languages/english.ts",
500
- "hash": "9297088821932873098"
292
+ "file": "packages/dictionaries/src/lib/createCacheTimestampComparator.ts",
293
+ "hash": "8859185881215777069"
501
294
  },
502
295
  {
503
- "file": "packages/word-definitions/src/languages/french.ts",
504
- "hash": "4399344268670291663"
296
+ "file": "packages/dictionaries/src/lib/downloadDictionary.ts",
297
+ "hash": "16339037688448420742"
505
298
  },
506
299
  {
507
- "file": "packages/word-definitions/src/languages/german.ts",
508
- "hash": "8458066973275038508"
300
+ "file": "packages/dictionaries/src/lib/getDictionaryFilepath.ts",
301
+ "hash": "1917411653209106902"
509
302
  },
510
303
  {
511
- "file": "packages/word-definitions/src/languages/index.ts",
512
- "hash": "632033483089466746"
304
+ "file": "packages/dictionaries/src/lib/index.ts",
305
+ "hash": "11875723814486972133"
513
306
  },
514
307
  {
515
- "file": "packages/word-definitions/src/languages/persian.ts",
516
- "hash": "12859216146995293698"
308
+ "file": "packages/dictionaries/src/types/Cache.ts",
309
+ "hash": "12316856125772709891"
517
310
  },
518
311
  {
519
- "file": "packages/word-definitions/src/languages/polish.ts",
520
- "hash": "17581514490604825428"
312
+ "file": "packages/dictionaries/src/types/index.ts",
313
+ "hash": "10228410769055936219"
521
314
  },
522
315
  {
523
- "file": "packages/word-definitions/src/languages/romanian.ts",
524
- "hash": "14622544421627202529"
525
- },
316
+ "file": "packages/dictionaries/tsconfig.json",
317
+ "hash": "14393573143758511966"
318
+ }
319
+ ],
320
+ "@scrabble-solver/solver": [
526
321
  {
527
- "file": "packages/word-definitions/src/languages/spanish.ts",
528
- "hash": "8059339060033159706"
322
+ "file": "packages/solver/README.md",
323
+ "hash": "6318233837788889254"
529
324
  },
530
325
  {
531
- "file": "packages/word-definitions/src/languages/turkish.ts",
532
- "hash": "16684974261543274087"
326
+ "file": "packages/solver/package.json",
327
+ "hash": "17797702613257910720",
328
+ "deps": [
329
+ "@scrabble-solver/configs",
330
+ "@scrabble-solver/constants",
331
+ "@scrabble-solver/dictionaries",
332
+ "npm:@kamilmielnik/trie",
333
+ "@scrabble-solver/types"
334
+ ]
533
335
  },
534
336
  {
535
- "file": "packages/word-definitions/src/lib/index.ts",
536
- "hash": "7493780780943768258"
337
+ "file": "packages/solver/src/areDigraphsValid.ts",
338
+ "hash": "13457862964347916637"
537
339
  },
538
340
  {
539
- "file": "packages/word-definitions/src/lib/normalizeDefinition.ts",
540
- "hash": "17425560022581103973"
341
+ "file": "packages/solver/src/fillPattern.test.ts",
342
+ "hash": "18308630201824891078"
541
343
  },
542
344
  {
543
- "file": "packages/word-definitions/src/lib/request.ts",
544
- "hash": "7232453394387783930"
345
+ "file": "packages/solver/src/fillPattern.ts",
346
+ "hash": "13381827087689036026"
545
347
  },
546
348
  {
547
- "file": "packages/word-definitions/src/lib/unique.ts",
548
- "hash": "4387364396041720073"
349
+ "file": "packages/solver/src/generateEndIndices.test.ts",
350
+ "hash": "716600035678673968"
549
351
  },
550
352
  {
551
- "file": "packages/word-definitions/src/parse.test.ts",
552
- "hash": "16517383060357134125"
353
+ "file": "packages/solver/src/generateEndIndices.ts",
354
+ "hash": "10897046656592966960"
553
355
  },
554
356
  {
555
- "file": "packages/word-definitions/src/parse.ts",
556
- "hash": "15510850602132479412"
357
+ "file": "packages/solver/src/generateHorizontalPatterns.test.ts",
358
+ "hash": "10704460008424185233"
557
359
  },
558
360
  {
559
- "file": "packages/word-definitions/src/types.ts",
560
- "hash": "8293904135449925504"
361
+ "file": "packages/solver/src/generateHorizontalPatterns.ts",
362
+ "hash": "8499404194545369806"
561
363
  },
562
364
  {
563
- "file": "packages/word-definitions/tsconfig.json",
564
- "hash": "14393573143758511966"
565
- }
566
- ],
567
- "@scrabble-solver/dictionaries": [
365
+ "file": "packages/solver/src/generatePattern.ts",
366
+ "hash": "876078988631156754"
367
+ },
568
368
  {
569
- "file": "packages/dictionaries/README.md",
570
- "hash": "4148063976304250953"
369
+ "file": "packages/solver/src/generatePatterns.test.ts",
370
+ "hash": "3673989014707179747"
571
371
  },
572
372
  {
573
- "file": "packages/dictionaries/bin/remove-dictionaries.js",
574
- "hash": "2636661981756772217"
373
+ "file": "packages/solver/src/generatePatterns.ts",
374
+ "hash": "16439966106146568683"
575
375
  },
576
376
  {
577
- "file": "packages/dictionaries/bin/update-dictionaries.js",
578
- "hash": "9641816824340442544"
377
+ "file": "packages/solver/src/generateStartIndices.test.ts",
378
+ "hash": "14777738928879129603"
579
379
  },
580
380
  {
581
- "file": "packages/dictionaries/package.json",
582
- "hash": "13607253304905014455",
583
- "deps": [
584
- "npm:@kamilmielnik/trie",
585
- "@scrabble-solver/logger",
586
- "@scrabble-solver/types",
587
- "@scrabble-solver/word-lists"
588
- ]
381
+ "file": "packages/solver/src/generateStartIndices.ts",
382
+ "hash": "16599831202028767898"
589
383
  },
590
384
  {
591
- "file": "packages/dictionaries/src/Dictionaries.ts",
592
- "hash": "2136752626770286355"
385
+ "file": "packages/solver/src/generateVectors.test.ts",
386
+ "hash": "1650043737085727922"
593
387
  },
594
388
  {
595
- "file": "packages/dictionaries/src/constants/index.ts",
596
- "hash": "12604354443457976176"
389
+ "file": "packages/solver/src/generateVectors.ts",
390
+ "hash": "4822515588751179136"
597
391
  },
598
392
  {
599
- "file": "packages/dictionaries/src/index.ts",
600
- "hash": "2109487961393742179"
393
+ "file": "packages/solver/src/generateVerticalPatterns.test.ts",
394
+ "hash": "15210132682532157889"
601
395
  },
602
396
  {
603
- "file": "packages/dictionaries/src/lib/DiskCache.ts",
604
- "hash": "2227962496923642356"
397
+ "file": "packages/solver/src/generateVerticalPatterns.ts",
398
+ "hash": "12531562020518966018"
605
399
  },
606
400
  {
607
- "file": "packages/dictionaries/src/lib/LayeredCache.ts",
608
- "hash": "3051108421181356176"
401
+ "file": "packages/solver/src/getCellsScore.ts",
402
+ "hash": "5469559674538280708"
609
403
  },
610
404
  {
611
- "file": "packages/dictionaries/src/lib/MemoryCache.ts",
612
- "hash": "1948674580289004545"
405
+ "file": "packages/solver/src/getPatternHash.test.ts",
406
+ "hash": "16537135204833248488"
613
407
  },
614
408
  {
615
- "file": "packages/dictionaries/src/lib/createAsyncProxy.ts",
616
- "hash": "17426392025257462855"
409
+ "file": "packages/solver/src/getPatternHash.ts",
410
+ "hash": "15661610244682435057"
617
411
  },
618
412
  {
619
- "file": "packages/dictionaries/src/lib/createCacheTimestampComparator.ts",
620
- "hash": "8859185881215777069"
413
+ "file": "packages/solver/src/getPatternScore.test.ts",
414
+ "hash": "11243230316631404996"
621
415
  },
622
416
  {
623
- "file": "packages/dictionaries/src/lib/downloadDictionary.ts",
624
- "hash": "16339037688448420742"
417
+ "file": "packages/solver/src/getPatternScore.ts",
418
+ "hash": "6633752663331331064"
625
419
  },
626
420
  {
627
- "file": "packages/dictionaries/src/lib/getDictionaryFilepath.ts",
628
- "hash": "1917411653209106902"
421
+ "file": "packages/solver/src/getUniquePatterns.ts",
422
+ "hash": "14182107880131983110"
629
423
  },
630
424
  {
631
- "file": "packages/dictionaries/src/lib/index.ts",
632
- "hash": "11875723814486972133"
425
+ "file": "packages/solver/src/index.ts",
426
+ "hash": "11668835763077141031"
633
427
  },
634
428
  {
635
- "file": "packages/dictionaries/src/types/Cache.ts",
636
- "hash": "12316856125772709891"
429
+ "file": "packages/solver/src/solve.test.ts",
430
+ "hash": "7573100315007364571"
637
431
  },
638
432
  {
639
- "file": "packages/dictionaries/src/types/index.ts",
640
- "hash": "10228410769055936219"
433
+ "file": "packages/solver/src/solve.ts",
434
+ "hash": "13332781803753267271"
641
435
  },
642
436
  {
643
- "file": "packages/dictionaries/tsconfig.json",
437
+ "file": "packages/solver/tsconfig.json",
644
438
  "hash": "14393573143758511966"
645
439
  }
646
440
  ],
@@ -671,7 +465,7 @@
671
465
  },
672
466
  {
673
467
  "file": "packages/scrabble-solver/package.json",
674
- "hash": "4602079730738912662",
468
+ "hash": "2917636113027348286",
675
469
  "deps": [
676
470
  "npm:@svgr/webpack",
677
471
  "npm:@types/classnames",
@@ -996,11 +790,11 @@
996
790
  },
997
791
  {
998
792
  "file": "packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss",
999
- "hash": "13786719559002306689"
793
+ "hash": "15889363756455074290"
1000
794
  },
1001
795
  {
1002
796
  "file": "packages/scrabble-solver/src/components/Dictionary/Dictionary.tsx",
1003
- "hash": "14528338879375880401"
797
+ "hash": "10556324020872142934"
1004
798
  },
1005
799
  {
1006
800
  "file": "packages/scrabble-solver/src/components/Dictionary/index.ts",
@@ -1428,7 +1222,7 @@
1428
1222
  },
1429
1223
  {
1430
1224
  "file": "packages/scrabble-solver/src/hooks/useAppLayout.ts",
1431
- "hash": "8792681554876644629"
1225
+ "hash": "640449078423854671"
1432
1226
  },
1433
1227
  {
1434
1228
  "file": "packages/scrabble-solver/src/hooks/useColumns.ts",
@@ -2331,209 +2125,384 @@
2331
2125
  "hash": "10985018883256459835"
2332
2126
  },
2333
2127
  {
2334
- "file": "packages/scrabble-solver/tsconfig.jest.json",
2335
- "hash": "11323069932275554869"
2128
+ "file": "packages/scrabble-solver/tsconfig.jest.json",
2129
+ "hash": "11323069932275554869"
2130
+ },
2131
+ {
2132
+ "file": "packages/scrabble-solver/tsconfig.json",
2133
+ "hash": "8330819644409127623"
2134
+ }
2135
+ ],
2136
+ "@scrabble-solver/word-definitions": [
2137
+ {
2138
+ "file": "packages/word-definitions/README.md",
2139
+ "hash": "17568556648423613638"
2140
+ },
2141
+ {
2142
+ "file": "packages/word-definitions/package.json",
2143
+ "hash": "11209401662592146800",
2144
+ "deps": [
2145
+ "npm:@types/follow-redirects",
2146
+ "npm:domhandler",
2147
+ "@scrabble-solver/types",
2148
+ "npm:cheerio",
2149
+ "npm:follow-redirects",
2150
+ "npm:striptags"
2151
+ ]
2152
+ },
2153
+ {
2154
+ "file": "packages/word-definitions/src/__tests__/expected/de-DE.hm.json",
2155
+ "hash": "10237785854707267601"
2156
+ },
2157
+ {
2158
+ "file": "packages/word-definitions/src/__tests__/expected/de-DE.ho.json",
2159
+ "hash": "12063011714052156607"
2160
+ },
2161
+ {
2162
+ "file": "packages/word-definitions/src/__tests__/expected/de-DE.kolla.json",
2163
+ "hash": "14885831526660416837"
2164
+ },
2165
+ {
2166
+ "file": "packages/word-definitions/src/__tests__/expected/de-DE.vom.json",
2167
+ "hash": "15963236354499184653"
2168
+ },
2169
+ {
2170
+ "file": "packages/word-definitions/src/__tests__/expected/en-US.awe.json",
2171
+ "hash": "2017130325952579294"
2172
+ },
2173
+ {
2174
+ "file": "packages/word-definitions/src/__tests__/expected/en-US.oe.json",
2175
+ "hash": "1527154511551359551"
2176
+ },
2177
+ {
2178
+ "file": "packages/word-definitions/src/__tests__/expected/en-US.pawn.json",
2179
+ "hash": "8612683268042437243"
2180
+ },
2181
+ {
2182
+ "file": "packages/word-definitions/src/__tests__/expected/en-US.pawnee.json",
2183
+ "hash": "12144477896570100005"
2184
+ },
2185
+ {
2186
+ "file": "packages/word-definitions/src/__tests__/expected/en-US.pean.json",
2187
+ "hash": "10905416600185181615"
2188
+ },
2189
+ {
2190
+ "file": "packages/word-definitions/src/__tests__/expected/en-US.wiz.json",
2191
+ "hash": "13932860784730999389"
2192
+ },
2193
+ {
2194
+ "file": "packages/word-definitions/src/__tests__/expected/es-ES.corma.json",
2195
+ "hash": "12106710832334575972"
2196
+ },
2197
+ {
2198
+ "file": "packages/word-definitions/src/__tests__/expected/es-ES.portero.json",
2199
+ "hash": "14488169472975769438"
2200
+ },
2201
+ {
2202
+ "file": "packages/word-definitions/src/__tests__/expected/ro-RO.aciua.json",
2203
+ "hash": "16979195584190955408"
2204
+ },
2205
+ {
2206
+ "file": "packages/word-definitions/src/__tests__/expected/tr-TR.lojik.json",
2207
+ "hash": "8158496020673125131"
2208
+ },
2209
+ {
2210
+ "file": "packages/word-definitions/src/__tests__/input/de-DE.hm.html",
2211
+ "hash": "9556515440909131198"
2212
+ },
2213
+ {
2214
+ "file": "packages/word-definitions/src/__tests__/input/de-DE.ho.html",
2215
+ "hash": "17490613757795254086"
2216
+ },
2217
+ {
2218
+ "file": "packages/word-definitions/src/__tests__/input/de-DE.kolla.html",
2219
+ "hash": "7808792531948326040"
2220
+ },
2221
+ {
2222
+ "file": "packages/word-definitions/src/__tests__/input/de-DE.vom.html",
2223
+ "hash": "6890899341792994601"
2224
+ },
2225
+ {
2226
+ "file": "packages/word-definitions/src/__tests__/input/en-US.awe.html",
2227
+ "hash": "16023829491647401500"
2228
+ },
2229
+ {
2230
+ "file": "packages/word-definitions/src/__tests__/input/en-US.oe.html",
2231
+ "hash": "4826723009204686277"
2232
+ },
2233
+ {
2234
+ "file": "packages/word-definitions/src/__tests__/input/en-US.pawn.html",
2235
+ "hash": "1871173307161237717"
2236
+ },
2237
+ {
2238
+ "file": "packages/word-definitions/src/__tests__/input/en-US.pawnee.html",
2239
+ "hash": "7107434643906449463"
2240
+ },
2241
+ {
2242
+ "file": "packages/word-definitions/src/__tests__/input/en-US.pean.html",
2243
+ "hash": "17372636871596685811"
2244
+ },
2245
+ {
2246
+ "file": "packages/word-definitions/src/__tests__/input/en-US.wiz.html",
2247
+ "hash": "4391388960840629632"
2248
+ },
2249
+ {
2250
+ "file": "packages/word-definitions/src/__tests__/input/es-ES.corma.html",
2251
+ "hash": "4810834112940957964"
2252
+ },
2253
+ {
2254
+ "file": "packages/word-definitions/src/__tests__/input/es-ES.portero.html",
2255
+ "hash": "3285999281074013554"
2256
+ },
2257
+ {
2258
+ "file": "packages/word-definitions/src/__tests__/input/ro-RO.aciua.html",
2259
+ "hash": "18114354052075758981"
2260
+ },
2261
+ {
2262
+ "file": "packages/word-definitions/src/__tests__/input/tr-TR.lojik.html",
2263
+ "hash": "7167173069304005721"
2264
+ },
2265
+ {
2266
+ "file": "packages/word-definitions/src/crawl.ts",
2267
+ "hash": "6329813709530241756"
2268
+ },
2269
+ {
2270
+ "file": "packages/word-definitions/src/getWordDefinition.ts",
2271
+ "hash": "10790628764128130168"
2272
+ },
2273
+ {
2274
+ "file": "packages/word-definitions/src/index.ts",
2275
+ "hash": "10934322227063310399"
2276
+ },
2277
+ {
2278
+ "file": "packages/word-definitions/src/languages/english.ts",
2279
+ "hash": "9297088821932873098"
2280
+ },
2281
+ {
2282
+ "file": "packages/word-definitions/src/languages/french.ts",
2283
+ "hash": "4399344268670291663"
2284
+ },
2285
+ {
2286
+ "file": "packages/word-definitions/src/languages/german.ts",
2287
+ "hash": "8458066973275038508"
2288
+ },
2289
+ {
2290
+ "file": "packages/word-definitions/src/languages/index.ts",
2291
+ "hash": "632033483089466746"
2292
+ },
2293
+ {
2294
+ "file": "packages/word-definitions/src/languages/persian.ts",
2295
+ "hash": "12859216146995293698"
2296
+ },
2297
+ {
2298
+ "file": "packages/word-definitions/src/languages/polish.ts",
2299
+ "hash": "17581514490604825428"
2300
+ },
2301
+ {
2302
+ "file": "packages/word-definitions/src/languages/romanian.ts",
2303
+ "hash": "14622544421627202529"
2304
+ },
2305
+ {
2306
+ "file": "packages/word-definitions/src/languages/spanish.ts",
2307
+ "hash": "8059339060033159706"
2308
+ },
2309
+ {
2310
+ "file": "packages/word-definitions/src/languages/turkish.ts",
2311
+ "hash": "16684974261543274087"
2336
2312
  },
2337
2313
  {
2338
- "file": "packages/scrabble-solver/tsconfig.json",
2339
- "hash": "8330819644409127623"
2340
- }
2341
- ],
2342
- "@scrabble-solver/word-lists": [
2343
- {
2344
- "file": "packages/word-lists/README.md",
2345
- "hash": "16055975283152607821"
2314
+ "file": "packages/word-definitions/src/lib/index.ts",
2315
+ "hash": "7493780780943768258"
2346
2316
  },
2347
2317
  {
2348
- "file": "packages/word-lists/package.json",
2349
- "hash": "638377031618911756",
2350
- "deps": [
2351
- "npm:@types/follow-redirects",
2352
- "npm:@types/latinize",
2353
- "npm:@types/unzipper",
2354
- "@scrabble-solver/types",
2355
- "npm:cheerio",
2356
- "npm:follow-redirects",
2357
- "npm:latinize",
2358
- "npm:unzipper"
2359
- ]
2318
+ "file": "packages/word-definitions/src/lib/normalizeDefinition.ts",
2319
+ "hash": "17425560022581103973"
2360
2320
  },
2361
2321
  {
2362
- "file": "packages/word-lists/src/getWordList.ts",
2363
- "hash": "10304524630809776049"
2322
+ "file": "packages/word-definitions/src/lib/request.ts",
2323
+ "hash": "7232453394387783930"
2364
2324
  },
2365
2325
  {
2366
- "file": "packages/word-lists/src/index.ts",
2367
- "hash": "8042340231609296722"
2326
+ "file": "packages/word-definitions/src/lib/unique.ts",
2327
+ "hash": "4387364396041720073"
2368
2328
  },
2369
2329
  {
2370
- "file": "packages/word-lists/src/languages/english.ts",
2371
- "hash": "2481390322130638642"
2330
+ "file": "packages/word-definitions/src/parse.test.ts",
2331
+ "hash": "16517383060357134125"
2372
2332
  },
2373
2333
  {
2374
- "file": "packages/word-lists/src/languages/french.ts",
2375
- "hash": "5709228979885382440"
2334
+ "file": "packages/word-definitions/src/parse.ts",
2335
+ "hash": "15510850602132479412"
2376
2336
  },
2377
2337
  {
2378
- "file": "packages/word-lists/src/languages/german.ts",
2379
- "hash": "15796960817923996735"
2338
+ "file": "packages/word-definitions/src/types.ts",
2339
+ "hash": "8293904135449925504"
2380
2340
  },
2381
2341
  {
2382
- "file": "packages/word-lists/src/languages/index.ts",
2383
- "hash": "632033483089466746"
2342
+ "file": "packages/word-definitions/tsconfig.json",
2343
+ "hash": "14393573143758511966"
2344
+ }
2345
+ ],
2346
+ "@scrabble-solver/constants": [
2347
+ {
2348
+ "file": "packages/constants/README.md",
2349
+ "hash": "15117377322618686888"
2384
2350
  },
2385
2351
  {
2386
- "file": "packages/word-lists/src/languages/persian.ts",
2387
- "hash": "15843050793712953655"
2352
+ "file": "packages/constants/package.json",
2353
+ "hash": "16669307155193365625"
2388
2354
  },
2389
2355
  {
2390
- "file": "packages/word-lists/src/languages/polish.ts",
2391
- "hash": "4640703681394255402"
2356
+ "file": "packages/constants/src/index.ts",
2357
+ "hash": "2132305088706286749"
2392
2358
  },
2393
2359
  {
2394
- "file": "packages/word-lists/src/languages/romanian.ts",
2395
- "hash": "17371976651084460491"
2360
+ "file": "packages/constants/tsconfig.json",
2361
+ "hash": "14393573143758511966"
2362
+ }
2363
+ ],
2364
+ "@scrabble-solver/types": [
2365
+ {
2366
+ "file": "packages/types/README.md",
2367
+ "hash": "5575595901601075739"
2396
2368
  },
2397
2369
  {
2398
- "file": "packages/word-lists/src/languages/spanish.ts",
2399
- "hash": "4138652487389278515"
2370
+ "file": "packages/types/package.json",
2371
+ "hash": "9346654367737453262",
2372
+ "deps": [
2373
+ "@scrabble-solver/constants"
2374
+ ]
2400
2375
  },
2401
2376
  {
2402
- "file": "packages/word-lists/src/languages/turkish.ts",
2403
- "hash": "234257834486019779"
2377
+ "file": "packages/types/src/Board.ts",
2378
+ "hash": "1795332604975396535"
2404
2379
  },
2405
2380
  {
2406
- "file": "packages/word-lists/src/lib/downloadFile.ts",
2407
- "hash": "1606271890623053959"
2381
+ "file": "packages/types/src/BoardJson.ts",
2382
+ "hash": "1359665109646627215"
2408
2383
  },
2409
2384
  {
2410
- "file": "packages/word-lists/src/lib/downloadHtml.ts",
2411
- "hash": "18361092434131929887"
2385
+ "file": "packages/types/src/Bonus.ts",
2386
+ "hash": "14560849351172359773"
2412
2387
  },
2413
2388
  {
2414
- "file": "packages/word-lists/src/lib/extractWords.ts",
2415
- "hash": "18130541634105493192"
2389
+ "file": "packages/types/src/BonusJson.ts",
2390
+ "hash": "1575918727309148320"
2416
2391
  },
2417
2392
  {
2418
- "file": "packages/word-lists/src/lib/findFirstWordIndex.ts",
2419
- "hash": "8631763313757125016"
2393
+ "file": "packages/types/src/BonusValue.ts",
2394
+ "hash": "15451307830706113705"
2420
2395
  },
2421
2396
  {
2422
- "file": "packages/word-lists/src/lib/getHash.ts",
2423
- "hash": "13620700633138618261"
2397
+ "file": "packages/types/src/Cell.ts",
2398
+ "hash": "1276566763292169051"
2424
2399
  },
2425
2400
  {
2426
- "file": "packages/word-lists/src/lib/getTempFilepath.ts",
2427
- "hash": "17585702428857166492"
2401
+ "file": "packages/types/src/CellJson.ts",
2402
+ "hash": "3679634834026053001"
2428
2403
  },
2429
2404
  {
2430
- "file": "packages/word-lists/src/lib/getTxtWordList.ts",
2431
- "hash": "11194179918214072618"
2405
+ "file": "packages/types/src/CharacterBonus.ts",
2406
+ "hash": "8565881441163555375"
2432
2407
  },
2433
2408
  {
2434
- "file": "packages/word-lists/src/lib/index.ts",
2435
- "hash": "5513402095979090244"
2409
+ "file": "packages/types/src/Collision.ts",
2410
+ "hash": "9564281720964143272"
2436
2411
  },
2437
2412
  {
2438
- "file": "packages/word-lists/src/lib/latinizeDiacritics.ts",
2439
- "hash": "1791849477319616904"
2413
+ "file": "packages/types/src/CollisionJson.ts",
2414
+ "hash": "939471763294242456"
2440
2415
  },
2441
2416
  {
2442
- "file": "packages/word-lists/src/lib/unique.ts",
2443
- "hash": "11883570690444952975"
2417
+ "file": "packages/types/src/Config.ts",
2418
+ "hash": "12815140928208194778"
2444
2419
  },
2445
2420
  {
2446
- "file": "packages/word-lists/src/lib/unzip.ts",
2447
- "hash": "7204953269649771597"
2421
+ "file": "packages/types/src/ConfigJson.ts",
2422
+ "hash": "16704913440082426373"
2448
2423
  },
2449
2424
  {
2450
- "file": "packages/word-lists/tsconfig.json",
2451
- "hash": "14393573143758511966"
2452
- }
2453
- ],
2454
- "@scrabble-solver/configs": [
2425
+ "file": "packages/types/src/Dictionary.ts",
2426
+ "hash": "14504925191249237749"
2427
+ },
2455
2428
  {
2456
- "file": "packages/configs/README.md",
2457
- "hash": "6408492212348349035"
2429
+ "file": "packages/types/src/FinalPattern.ts",
2430
+ "hash": "9096251764064641557"
2458
2431
  },
2459
2432
  {
2460
- "file": "packages/configs/package.json",
2461
- "hash": "8334699457541169293",
2462
- "deps": [
2463
- "@scrabble-solver/constants",
2464
- "@scrabble-solver/types"
2465
- ]
2433
+ "file": "packages/types/src/Game.ts",
2434
+ "hash": "7507454659713837088"
2466
2435
  },
2467
2436
  {
2468
- "file": "packages/configs/src/games/index.ts",
2469
- "hash": "3362665534610527442"
2437
+ "file": "packages/types/src/HorizontalPattern.ts",
2438
+ "hash": "15203164411175187561"
2470
2439
  },
2471
2440
  {
2472
- "file": "packages/configs/src/games/kelimelik.ts",
2473
- "hash": "8594545037611382240"
2441
+ "file": "packages/types/src/Locale.ts",
2442
+ "hash": "3776902042703910037"
2474
2443
  },
2475
2444
  {
2476
- "file": "packages/configs/src/games/literaki.ts",
2477
- "hash": "5296305767123400678"
2445
+ "file": "packages/types/src/Pattern.ts",
2446
+ "hash": "2088140037997729495"
2478
2447
  },
2479
2448
  {
2480
- "file": "packages/configs/src/games/scrabble.ts",
2481
- "hash": "418444957443163713"
2449
+ "file": "packages/types/src/PatternJson.ts",
2450
+ "hash": "3515858699694501238"
2482
2451
  },
2483
2452
  {
2484
- "file": "packages/configs/src/games/superScrabble.ts",
2485
- "hash": "6367902121186465660"
2453
+ "file": "packages/types/src/Result.ts",
2454
+ "hash": "13932023092579950537"
2486
2455
  },
2487
2456
  {
2488
- "file": "packages/configs/src/getConfig.ts",
2489
- "hash": "16327382875287704141"
2457
+ "file": "packages/types/src/ResultJson.ts",
2458
+ "hash": "13503079789178597354"
2490
2459
  },
2491
2460
  {
2492
- "file": "packages/configs/src/hasConfig.ts",
2493
- "hash": "13597098168111108392"
2461
+ "file": "packages/types/src/ShowCoordinates.ts",
2462
+ "hash": "12006550712165286437"
2494
2463
  },
2495
2464
  {
2496
- "file": "packages/configs/src/index.ts",
2497
- "hash": "12104092412421460190"
2465
+ "file": "packages/types/src/Tile.ts",
2466
+ "hash": "4190775870333742502"
2498
2467
  },
2499
2468
  {
2500
- "file": "packages/configs/src/languages/english.ts",
2501
- "hash": "13409449178104096391"
2469
+ "file": "packages/types/src/TileConfig.ts",
2470
+ "hash": "10374442155071484805"
2502
2471
  },
2503
2472
  {
2504
- "file": "packages/configs/src/languages/french.ts",
2505
- "hash": "12248709442008050794"
2473
+ "file": "packages/types/src/TileJson.ts",
2474
+ "hash": "13173879841328293830"
2506
2475
  },
2507
2476
  {
2508
- "file": "packages/configs/src/languages/german.ts",
2509
- "hash": "15430977815804666604"
2477
+ "file": "packages/types/src/VerticalPattern.ts",
2478
+ "hash": "11127026890946051461"
2510
2479
  },
2511
2480
  {
2512
- "file": "packages/configs/src/languages/index.ts",
2513
- "hash": "6554636328320279077"
2481
+ "file": "packages/types/src/WordBonus.ts",
2482
+ "hash": "12599656225920627697"
2514
2483
  },
2515
2484
  {
2516
- "file": "packages/configs/src/languages/persian.ts",
2517
- "hash": "1614638689491705120"
2485
+ "file": "packages/types/src/WordDefinition.ts",
2486
+ "hash": "2884854777090603476"
2518
2487
  },
2519
2488
  {
2520
- "file": "packages/configs/src/languages/polish.ts",
2521
- "hash": "17941542313550365356"
2489
+ "file": "packages/types/src/WordDefinitionJson.ts",
2490
+ "hash": "1400005282053154435"
2522
2491
  },
2523
2492
  {
2524
- "file": "packages/configs/src/languages/romanian.ts",
2525
- "hash": "15366974472215186064"
2493
+ "file": "packages/types/src/index.ts",
2494
+ "hash": "13454218577226827701"
2526
2495
  },
2527
2496
  {
2528
- "file": "packages/configs/src/languages/spanish.ts",
2529
- "hash": "289235670795048535"
2497
+ "file": "packages/types/src/isError.ts",
2498
+ "hash": "12417306612988791594"
2530
2499
  },
2531
2500
  {
2532
- "file": "packages/configs/src/languages/turkish.ts",
2533
- "hash": "10240746041524805456"
2501
+ "file": "packages/types/src/isObject.ts",
2502
+ "hash": "10915497605360683267"
2534
2503
  },
2535
2504
  {
2536
- "file": "packages/configs/tsconfig.json",
2505
+ "file": "packages/types/tsconfig.json",
2537
2506
  "hash": "14393573143758511966"
2538
2507
  }
2539
2508
  ]
@@ -2569,7 +2538,7 @@
2569
2538
  },
2570
2539
  {
2571
2540
  "file": ".gitignore",
2572
- "hash": "4781348963366882001"
2541
+ "hash": "12832395429195732582"
2573
2542
  },
2574
2543
  {
2575
2544
  "file": ".npmignore",
@@ -2615,6 +2584,82 @@
2615
2584
  "file": "cypress.config.ts",
2616
2585
  "hash": "9850295321379881733"
2617
2586
  },
2587
+ {
2588
+ "file": "cypress/e2e/app.spec.cy.ts",
2589
+ "hash": "14205178019875823902"
2590
+ },
2591
+ {
2592
+ "file": "cypress/e2e/bugs.spec.cy.ts",
2593
+ "hash": "13996778291954953857"
2594
+ },
2595
+ {
2596
+ "file": "cypress/e2e/bugs/112-character-bonus.ts",
2597
+ "hash": "7144866814341355219"
2598
+ },
2599
+ {
2600
+ "file": "cypress/e2e/bugs/129-esc-sidebar.ts",
2601
+ "hash": "18135998467496795464"
2602
+ },
2603
+ {
2604
+ "file": "cypress/e2e/bugs/2-q-tile-in-english.ts",
2605
+ "hash": "624714559301130687"
2606
+ },
2607
+ {
2608
+ "file": "cypress/e2e/bugs/3-x-tile-in-polish.ts",
2609
+ "hash": "3146979637017447630"
2610
+ },
2611
+ {
2612
+ "file": "cypress/e2e/bugs/30-click-inside-radio-icon.ts",
2613
+ "hash": "14735649149345694300"
2614
+ },
2615
+ {
2616
+ "file": "cypress/e2e/bugs/333-disabled-radio-cursor.ts",
2617
+ "hash": "7270913361717937665"
2618
+ },
2619
+ {
2620
+ "file": "cypress/e2e/bugs/342-results-sorting.ts",
2621
+ "hash": "4468745648155579488"
2622
+ },
2623
+ {
2624
+ "file": "cypress/e2e/bugs/348-results-word-padding.ts",
2625
+ "hash": "6446018906872213060"
2626
+ },
2627
+ {
2628
+ "file": "cypress/e2e/bugs/352-dictionary-race-condition.ts",
2629
+ "hash": "11375056568318556588"
2630
+ },
2631
+ {
2632
+ "file": "cypress/e2e/bugs/363-dictionary-input-unique-words.ts",
2633
+ "hash": "3924403794097269420"
2634
+ },
2635
+ {
2636
+ "file": "cypress/support/commands.ts",
2637
+ "hash": "576911436208964402"
2638
+ },
2639
+ {
2640
+ "file": "cypress/support/e2e.ts",
2641
+ "hash": "11404878494790355861"
2642
+ },
2643
+ {
2644
+ "file": "cypress/support/index.ts",
2645
+ "hash": "14428353282588746736"
2646
+ },
2647
+ {
2648
+ "file": "cypress/support/lib/actions.ts",
2649
+ "hash": "16072625967975215639"
2650
+ },
2651
+ {
2652
+ "file": "cypress/support/lib/index.ts",
2653
+ "hash": "14256056309923157734"
2654
+ },
2655
+ {
2656
+ "file": "cypress/support/lib/selectors.ts",
2657
+ "hash": "7053859308032022873"
2658
+ },
2659
+ {
2660
+ "file": "cypress/tsconfig.json",
2661
+ "hash": "10152335760390087973"
2662
+ },
2618
2663
  {
2619
2664
  "file": "jest.config.js",
2620
2665
  "hash": "13727107834875347144"
@@ -2625,7 +2670,7 @@
2625
2670
  },
2626
2671
  {
2627
2672
  "file": "lerna.json",
2628
- "hash": "7437843699752084769"
2673
+ "hash": "2001238761608364800"
2629
2674
  },
2630
2675
  {
2631
2676
  "file": "nx.json",
@@ -2633,11 +2678,11 @@
2633
2678
  },
2634
2679
  {
2635
2680
  "file": "package-lock.json",
2636
- "hash": "9050850118659002510"
2681
+ "hash": "6869307749414960315"
2637
2682
  },
2638
2683
  {
2639
2684
  "file": "package.json",
2640
- "hash": "68759168015594217"
2685
+ "hash": "14419179777816898936"
2641
2686
  },
2642
2687
  {
2643
2688
  "file": "screencast.gif",