scrabble-solver 2.11.5 → 2.11.7

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 (118) hide show
  1. package/README.md +2 -2
  2. package/lerna.json +1 -1
  3. package/nx.json +19 -0
  4. package/package.json +1 -1
  5. package/packages/configs/package.json +3 -3
  6. package/packages/constants/package.json +1 -1
  7. package/packages/dictionaries/package-lock.json +2 -2
  8. package/packages/dictionaries/package.json +4 -4
  9. package/packages/logger/package-lock.json +2 -2
  10. package/packages/logger/package.json +1 -1
  11. package/packages/scrabble-solver/.next/BUILD_ID +1 -1
  12. package/packages/scrabble-solver/.next/build-manifest.json +11 -11
  13. package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
  14. package/packages/scrabble-solver/.next/cache/eslint/.cache_8dgz12 +1 -1
  15. package/packages/scrabble-solver/.next/cache/next-server.js.nft.json +1 -1
  16. package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -0
  17. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
  18. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/0.pack +0 -0
  19. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
  20. package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
  21. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
  22. package/packages/scrabble-solver/.next/next-server.js.nft.json +1 -1
  23. package/packages/scrabble-solver/.next/prerender-manifest.json +1 -1
  24. package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
  25. package/packages/scrabble-solver/.next/server/chunks/277.js +778 -746
  26. package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
  27. package/packages/scrabble-solver/.next/server/pages/404.html +1 -5
  28. package/packages/scrabble-solver/.next/server/pages/404.js.nft.json +1 -1
  29. package/packages/scrabble-solver/.next/server/pages/500.html +1 -1
  30. package/packages/scrabble-solver/.next/server/pages/_app.js +9 -2
  31. package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +1 -1
  32. package/packages/scrabble-solver/.next/server/pages/api/solve.js +29 -1
  33. package/packages/scrabble-solver/.next/server/pages/index.html +1 -1
  34. package/packages/scrabble-solver/.next/server/pages/index.js +10 -4
  35. package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +1 -1
  36. package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
  37. package/packages/scrabble-solver/.next/static/chunks/framework-2c5cac93e8c637b5.js +49 -0
  38. package/packages/scrabble-solver/.next/static/chunks/pages/{404-d30fe85d005ce32b.js → 404-ca203fa27afc37d8.js} +1 -1
  39. package/packages/scrabble-solver/.next/static/chunks/pages/_app-e89a3c225b87516a.js +28 -0
  40. package/packages/scrabble-solver/.next/static/chunks/pages/index-58744f49bf6b891f.js +1 -0
  41. package/packages/scrabble-solver/.next/static/css/34adfcf12a7d9bb6.css +1 -0
  42. package/packages/scrabble-solver/.next/static/css/edaeaa48321b4cf2.css +2 -0
  43. package/packages/scrabble-solver/.next/static/uhB6d-q63uRC6RubwepLq/_buildManifest.js +1 -0
  44. package/packages/scrabble-solver/.next/trace +50 -50
  45. package/packages/scrabble-solver/package-lock.json +2 -2
  46. package/packages/scrabble-solver/package.json +8 -8
  47. package/packages/scrabble-solver/src/components/Board/Board.module.scss +2 -59
  48. package/packages/scrabble-solver/src/components/Board/Board.tsx +22 -10
  49. package/packages/scrabble-solver/src/components/Board/BoardPure.tsx +13 -8
  50. package/packages/scrabble-solver/src/components/Board/components/Cell/Cell.module.scss +8 -144
  51. package/packages/scrabble-solver/src/components/Board/components/Cell/Cell.tsx +18 -37
  52. package/packages/scrabble-solver/src/components/Board/hooks/index.ts +1 -0
  53. package/packages/scrabble-solver/src/components/Board/hooks/useBackgroundImage.tsx +170 -0
  54. package/packages/scrabble-solver/src/components/Board/lib/getBonusColor.ts +18 -0
  55. package/packages/scrabble-solver/src/components/Board/lib/index.ts +1 -0
  56. package/packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss +0 -1
  57. package/packages/scrabble-solver/src/components/DictionaryInput/DictionaryInput.tsx +5 -3
  58. package/packages/scrabble-solver/src/components/EmptyState/EmptyState.module.scss +0 -1
  59. package/packages/scrabble-solver/src/components/Key/Key.module.scss +1 -1
  60. package/packages/scrabble-solver/src/components/PlainTiles/PlainTiles.tsx +0 -10
  61. package/packages/scrabble-solver/src/components/PlainTiles/Tile.tsx +1 -4
  62. package/packages/scrabble-solver/src/components/Results/Cell.tsx +2 -2
  63. package/packages/scrabble-solver/src/components/Results/Result.tsx +4 -8
  64. package/packages/scrabble-solver/src/components/Results/Results.module.scss +5 -4
  65. package/packages/scrabble-solver/src/components/Solver/Solver.tsx +2 -2
  66. package/packages/scrabble-solver/src/components/Tooltip/Tooltip.module.scss +2 -0
  67. package/packages/scrabble-solver/src/components/index.ts +0 -2
  68. package/packages/scrabble-solver/src/hooks/useAppLayout.ts +1 -0
  69. package/packages/scrabble-solver/src/hooks/useDirection.ts +2 -2
  70. package/packages/scrabble-solver/src/hooks/useLanguage.ts +2 -2
  71. package/packages/scrabble-solver/src/i18n/constants.ts +25 -16
  72. package/packages/scrabble-solver/src/i18n/de.json +2 -2
  73. package/packages/scrabble-solver/src/i18n/en.json +2 -2
  74. package/packages/scrabble-solver/src/i18n/es.json +2 -2
  75. package/packages/scrabble-solver/src/i18n/fa.json +2 -2
  76. package/packages/scrabble-solver/src/i18n/fr.json +2 -2
  77. package/packages/scrabble-solver/src/i18n/pl.json +2 -2
  78. package/packages/scrabble-solver/src/lib/dataUrlToBlob.ts +20 -0
  79. package/packages/scrabble-solver/src/lib/index.ts +1 -0
  80. package/packages/scrabble-solver/src/modals/KeyMapModal/components/Mapping/Mapping.module.scss +0 -1
  81. package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/ConfigSetting.module.scss +0 -1
  82. package/packages/scrabble-solver/src/modals/SettingsModal/components/LocaleSetting/LocaleSetting.module.scss +0 -5
  83. package/packages/scrabble-solver/src/pages/_app.tsx +1 -3
  84. package/packages/scrabble-solver/src/pages/index.tsx +1 -3
  85. package/packages/scrabble-solver/src/parameters/index.ts +33 -2
  86. package/packages/scrabble-solver/src/state/index.ts +1 -1
  87. package/packages/scrabble-solver/src/state/sagas.ts +3 -4
  88. package/packages/scrabble-solver/src/state/store.ts +34 -0
  89. package/packages/scrabble-solver/src/styles/global.scss +4 -8
  90. package/packages/scrabble-solver/src/styles/mixins.scss +0 -1
  91. package/packages/scrabble-solver/src/styles/variables.scss +5 -5
  92. package/packages/solver/package-lock.json +2 -2
  93. package/packages/solver/package.json +5 -5
  94. package/packages/types/package.json +2 -2
  95. package/packages/word-definitions/package-lock.json +156 -6
  96. package/packages/word-definitions/package.json +2 -2
  97. package/packages/word-lists/package-lock.json +2 -2
  98. package/packages/word-lists/package.json +2 -2
  99. package/screencast.gif +0 -0
  100. package/img/screencast.gif +0 -0
  101. package/packages/scrabble-solver/.next/static/UzQCOB6CHhyOupkEq8oZM/_buildManifest.js +0 -1
  102. package/packages/scrabble-solver/.next/static/chunks/framework-2c79e2a64abdb08b.js +0 -33
  103. package/packages/scrabble-solver/.next/static/chunks/pages/_app-e27464a187a58684.js +0 -28
  104. package/packages/scrabble-solver/.next/static/chunks/pages/index-3fd280f406cc00fd.js +0 -1
  105. package/packages/scrabble-solver/.next/static/css/4bd04cebe207859c.css +0 -1
  106. package/packages/scrabble-solver/.next/static/css/5b3b78170f4c5875.css +0 -2
  107. package/packages/scrabble-solver/src/components/Board/components/Cell/CellPure.tsx +0 -93
  108. package/packages/scrabble-solver/src/components/Board/components/Cell/lib.ts +0 -59
  109. package/packages/scrabble-solver/src/components/SvgFontCss/SvgFontCss.tsx +0 -14
  110. package/packages/scrabble-solver/src/components/SvgFontCss/createCss.ts +0 -11
  111. package/packages/scrabble-solver/src/components/SvgFontCss/createStyle.ts +0 -9
  112. package/packages/scrabble-solver/src/components/SvgFontCss/createSvg.ts +0 -10
  113. package/packages/scrabble-solver/src/components/SvgFontCss/index.ts +0 -1
  114. package/packages/scrabble-solver/src/components/SvgFontFix/SvgFontFix.module.scss +0 -5
  115. package/packages/scrabble-solver/src/components/SvgFontFix/SvgFontFix.tsx +0 -21
  116. package/packages/scrabble-solver/src/components/SvgFontFix/index.ts +0 -1
  117. package/packages/scrabble-solver/src/state/createAppStore.ts +0 -38
  118. /package/packages/scrabble-solver/.next/static/{UzQCOB6CHhyOupkEq8oZM → uhB6d-q63uRC6RubwepLq}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
  <p>
3
3
  <a href="https://scrabble-solver.org">
4
- <img alt="Scrabble Solver logo" height="120" src="https://raw.githubusercontent.com/kamilmielnik/scrabble-solver/master/packages/scrabble-solver/src/components/Logo/Logo.svg" />
4
+ <img alt="Scrabble Solver logo" height="120" src="https://raw.githubusercontent.com/kamilmielnik/scrabble-solver/master/packages/scrabble-solver/public/logo.svg" />
5
5
  </a>
6
6
  </p>
7
7
 
@@ -39,7 +39,7 @@
39
39
  <img src="https://github.com/kamilmielnik/scrabble-solver/workflows/ESLint/badge.svg" alt="ESLint" />
40
40
  </p>
41
41
 
42
- <img alt="Screencast GIF showing user interface when solving for oxyphenbutazone, which is a top-scoring word in English version of Scrabble" src="https://raw.githubusercontent.com/kamilmielnik/scrabble-solver/master/img/screencast.gif" />
42
+ <img alt="Screencast GIF showing user interface when solving for oxyphenbutazone, which is a top-scoring word in English version of Scrabble" src="https://raw.githubusercontent.com/kamilmielnik/scrabble-solver/master/screencast.gif" />
43
43
  </div>
44
44
 
45
45
  # scrabble-solver
package/lerna.json CHANGED
@@ -6,5 +6,5 @@
6
6
  "access": "public"
7
7
  },
8
8
  "tagVersionPrefix": "",
9
- "version": "2.11.5"
9
+ "version": "2.11.7"
10
10
  }
package/nx.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "tasksRunnerOptions": {
3
+ "default": {
4
+ "runner": "nx/tasks-runners/default",
5
+ "options": {
6
+ "cacheableOperations": [
7
+ "build"
8
+ ]
9
+ }
10
+ }
11
+ },
12
+ "targetDefaults": {
13
+ "build": {
14
+ "dependsOn": [
15
+ "^build"
16
+ ]
17
+ }
18
+ }
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrabble-solver",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "description": "Scrabble Solver 2 - Free, open-source, and cross-platform analysis tool for Scrabble & Literaki. Quickly find top scoring words using given letters and board state. Available in English, French, German, Polish & Spanish.",
5
5
  "keywords": [
6
6
  "Scrabble",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/configs",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "description": "Scrabble Solver 2 - Configs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -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.11.5",
28
- "@scrabble-solver/types": "^2.11.5"
27
+ "@scrabble-solver/constants": "^2.11.7",
28
+ "@scrabble-solver/types": "^2.11.7"
29
29
  },
30
30
  "gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
31
31
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/constants",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "description": "Scrabble Solver 2 - Constants",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@scrabble-solver/dictionaries",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@scrabble-solver/dictionaries",
9
- "version": "2.11.5",
9
+ "version": "2.11.7",
10
10
  "license": "CC-BY-NC-ND-4.0",
11
11
  "dependencies": {
12
12
  "@kamilmielnik/trie": "^2.0.1"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/dictionaries",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "description": "Scrabble Solver 2 - Dictionaries",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@kamilmielnik/trie": "^2.0.1",
34
- "@scrabble-solver/logger": "^2.11.5",
35
- "@scrabble-solver/types": "^2.11.5",
36
- "@scrabble-solver/word-lists": "^2.11.5"
34
+ "@scrabble-solver/logger": "^2.11.7",
35
+ "@scrabble-solver/types": "^2.11.7",
36
+ "@scrabble-solver/word-lists": "^2.11.7"
37
37
  },
38
38
  "gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
39
39
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@scrabble-solver/logger",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@scrabble-solver/logger",
9
- "version": "2.11.5",
9
+ "version": "2.11.7",
10
10
  "license": "CC-BY-NC-ND-4.0",
11
11
  "dependencies": {
12
12
  "winston": "^3.8.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/logger",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
4
4
  "description": "Scrabble Solver 2 - Logger",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1 +1 @@
1
- UzQCOB6CHhyOupkEq8oZM
1
+ uhB6d-q63uRC6RubwepLq
@@ -5,34 +5,34 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/UzQCOB6CHhyOupkEq8oZM/_buildManifest.js",
9
- "static/UzQCOB6CHhyOupkEq8oZM/_ssgManifest.js"
8
+ "static/uhB6d-q63uRC6RubwepLq/_buildManifest.js",
9
+ "static/uhB6d-q63uRC6RubwepLq/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [],
12
12
  "pages": {
13
13
  "/": [
14
14
  "static/chunks/webpack-6ef43a8d4a395f49.js",
15
- "static/chunks/framework-2c79e2a64abdb08b.js",
15
+ "static/chunks/framework-2c5cac93e8c637b5.js",
16
16
  "static/chunks/main-0ecb9ccfcb6c9b24.js",
17
- "static/css/4bd04cebe207859c.css",
18
- "static/chunks/pages/index-3fd280f406cc00fd.js"
17
+ "static/css/34adfcf12a7d9bb6.css",
18
+ "static/chunks/pages/index-58744f49bf6b891f.js"
19
19
  ],
20
20
  "/404": [
21
21
  "static/chunks/webpack-6ef43a8d4a395f49.js",
22
- "static/chunks/framework-2c79e2a64abdb08b.js",
22
+ "static/chunks/framework-2c5cac93e8c637b5.js",
23
23
  "static/chunks/main-0ecb9ccfcb6c9b24.js",
24
- "static/chunks/pages/404-d30fe85d005ce32b.js"
24
+ "static/chunks/pages/404-ca203fa27afc37d8.js"
25
25
  ],
26
26
  "/_app": [
27
27
  "static/chunks/webpack-6ef43a8d4a395f49.js",
28
- "static/chunks/framework-2c79e2a64abdb08b.js",
28
+ "static/chunks/framework-2c5cac93e8c637b5.js",
29
29
  "static/chunks/main-0ecb9ccfcb6c9b24.js",
30
- "static/css/5b3b78170f4c5875.css",
31
- "static/chunks/pages/_app-e27464a187a58684.js"
30
+ "static/css/edaeaa48321b4cf2.css",
31
+ "static/chunks/pages/_app-e89a3c225b87516a.js"
32
32
  ],
33
33
  "/_error": [
34
34
  "static/chunks/webpack-6ef43a8d4a395f49.js",
35
- "static/chunks/framework-2c79e2a64abdb08b.js",
35
+ "static/chunks/framework-2c5cac93e8c637b5.js",
36
36
  "static/chunks/main-0ecb9ccfcb6c9b24.js",
37
37
  "static/chunks/pages/_error-54de1933a164a1ff.js"
38
38
  ]