scrabble-solver 2.9.2 → 2.9.3
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.
- package/README.md +38 -10
- package/lerna.json +1 -1
- package/package.json +2 -2
- package/packages/configs/package.json +3 -3
- package/packages/constants/package.json +1 -1
- package/packages/dictionaries/package-lock.json +2 -2
- package/packages/dictionaries/package.json +4 -4
- package/packages/logger/package-lock.json +2 -2
- package/packages/logger/package.json +1 -1
- package/packages/scrabble-solver/.next/BUILD_ID +1 -1
- package/packages/scrabble-solver/.next/build-manifest.json +6 -6
- package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
- package/packages/scrabble-solver/.next/cache/eslint/.cache_8dgz12 +1 -1
- package/packages/scrabble-solver/.next/cache/next-server.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/next-server.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/prerender-manifest.json +1 -1
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/515.js +109 -24
- package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/404.html +2 -2
- package/packages/scrabble-solver/.next/server/pages/404.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/500.html +2 -2
- package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.html +1 -13
- package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
- package/packages/scrabble-solver/.next/static/chunks/880-18e3aea6915aebe7.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/{404-7082923654d5996f.js → 404-8650986dc56dab75.js} +1 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/index-f1cef1e67e14d022.js +1 -0
- package/packages/scrabble-solver/.next/static/{Ntg-ilwD7GqTIFwRpSaTQ → s5pE_3C3ebZuSfaqE7xat}/_buildManifest.js +1 -1
- package/packages/scrabble-solver/.next/static/{Ntg-ilwD7GqTIFwRpSaTQ → s5pE_3C3ebZuSfaqE7xat}/_ssgManifest.js +0 -0
- package/packages/scrabble-solver/.next/trace +52 -52
- package/packages/scrabble-solver/package-lock.json +2 -2
- package/packages/scrabble-solver/package.json +8 -8
- package/packages/scrabble-solver/src/components/Logo/Logo.svg +62 -0
- package/packages/scrabble-solver/src/components/Logo/index.ts +1 -1
- package/packages/solver/package-lock.json +2 -2
- package/packages/solver/package.json +5 -5
- package/packages/types/package.json +2 -2
- package/packages/word-definitions/package-lock.json +2 -2
- package/packages/word-definitions/package.json +2 -2
- package/packages/word-lists/package-lock.json +2 -2
- package/packages/word-lists/package.json +2 -2
- package/img/logo.svg +0 -76
- package/packages/scrabble-solver/.next/static/chunks/317-5e5334962dd7c681.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/index-b1ffeaddd9fb64b5.js +0 -1
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/
|
|
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" />
|
|
5
5
|
</a>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -47,6 +47,17 @@
|
|
|
47
47
|
|
|
48
48
|
# scrabble-solver
|
|
49
49
|
|
|
50
|
+
## Dictionaries
|
|
51
|
+
|
|
52
|
+
| Language | Word list | Word definitions | [Highest-scoring word](https://codesandbox.io/s/highest-scoring-words-in-scrabble-vbj1ns?file=/src/index.js) |
|
|
53
|
+
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
54
|
+
| 🇬🇧 English | [💾](https://www.wordgamedictionary.com/sowpods/download/sowpods.txt) [SOWPODS](https://en.wikipedia.org/wiki/Collins_Scrabble_Words) | [Merriam-Webster](https://www.merriam-webster.com/) | oxyphenbutazone (1458) |
|
|
55
|
+
| 🇺🇸 English | [💾](https://www.wordgamedictionary.com/twl06/download/twl06.txt) [TWL06](https://en.wikipedia.org/wiki/NASPA_Word_List) | [Merriam-Webster](https://www.merriam-webster.com/) | oxyphenbutazone (1458) |
|
|
56
|
+
| 🇫🇷 French | [💾](https://raw.githubusercontent.com/hbenbel/French-Dictionary/a573eab10cc798d7d5da7daab4d2ac0259bb46a3/dictionary/dictionary.txt) [hbenbel/French-Dictionary](https://github.com/hbenbel/French-Dictionary/) | [CNRTL](https://www.cnrtl.fr/) | encyclopediques (1512) |
|
|
57
|
+
| 🇩🇪 German | [💾](https://raw.githubusercontent.com/hippler/german-wordlist/master/words.txt) [hippler/german-wordlist](https://github.com/hippler/german-wordlist) | [DWDS](https://www.dwds.de) | polytoxikomanem (1512) |
|
|
58
|
+
| 🇵🇱 Polish | [💾](https://sjp.pl/slownik/growy/) [SJP.PL](https://sjp.pl/slownik/dp.phtml) | [SJP.PL](https://sjp.pl) | współposiądźmyż (1512) |
|
|
59
|
+
| 🇪🇸 Spanish | [💾](https://github.com/kamilmielnik/fise-2/blob/master/fise-2.txt) [FISE-2](https://fisescrabble.org/) | [Diccionarios.com](https://www.diccionarios.com/) | flexibilizabais (1323) |
|
|
60
|
+
|
|
50
61
|
## Requirements
|
|
51
62
|
|
|
52
63
|
- [Node.js](https://nodejs.org/) 16+
|
|
@@ -79,16 +90,33 @@ npm uninstall -g scrabble-solver
|
|
|
79
90
|
rm -rf $HOME/.scrabble-solver
|
|
80
91
|
```
|
|
81
92
|
|
|
82
|
-
##
|
|
93
|
+
## Develop
|
|
94
|
+
|
|
95
|
+
- All commands below are meant to be executed in the root directory
|
|
96
|
+
- Some of these commands can take a lot of time if you have never run them before
|
|
97
|
+
|
|
98
|
+
### Setup
|
|
99
|
+
|
|
100
|
+
```Shell
|
|
101
|
+
npm install
|
|
102
|
+
npm run install:dev
|
|
103
|
+
```
|
|
83
104
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
105
|
+
### App dev server
|
|
106
|
+
|
|
107
|
+
Runs at [http://localhost:3000/](http://localhost:3000/).
|
|
108
|
+
|
|
109
|
+
```Shell
|
|
110
|
+
npx lerna run dev --scope=@scrabble-solver/scrabble-solver
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Hot code reload works for [`scrabble-solver` package](https://github.com/kamilmielnik/scrabble-solver/tree/master/packages/scrabble-solver) only.
|
|
114
|
+
|
|
115
|
+
### Rebuild a single package
|
|
116
|
+
|
|
117
|
+
```Shell
|
|
118
|
+
npx lerna run build --scope=@scrabble-solver/PACKAGE_NAME_HERE
|
|
119
|
+
```
|
|
92
120
|
|
|
93
121
|
## Tech stack
|
|
94
122
|
|
package/lerna.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrabble-solver",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.3",
|
|
4
4
|
"description": "Scrabble Solver 2 - Free and open-source analysis tool for Scrabble and 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",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"release:prepare": "npm run reinstall",
|
|
51
51
|
"release:publish": "npm run version:bump && np && lerna publish from-package --yes",
|
|
52
52
|
"start": "npm-run-all --parallel start:*",
|
|
53
|
-
"start:app": "
|
|
53
|
+
"start:app": "cd packages/scrabble-solver && npm run start",
|
|
54
54
|
"start:browser": "open-cli http://localhost:3333",
|
|
55
55
|
"test": "jest --no-cache --coverage",
|
|
56
56
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --no-cache --watch",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/configs",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.3",
|
|
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.9.
|
|
28
|
-
"@scrabble-solver/types": "^2.9.
|
|
27
|
+
"@scrabble-solver/constants": "^2.9.3",
|
|
28
|
+
"@scrabble-solver/types": "^2.9.3"
|
|
29
29
|
},
|
|
30
30
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
31
31
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/dictionaries",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.3",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@scrabble-solver/dictionaries",
|
|
9
|
-
"version": "2.9.
|
|
9
|
+
"version": "2.9.3",
|
|
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.9.
|
|
3
|
+
"version": "2.9.3",
|
|
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.9.
|
|
35
|
-
"@scrabble-solver/types": "^2.9.
|
|
36
|
-
"@scrabble-solver/word-lists": "^2.9.
|
|
34
|
+
"@scrabble-solver/logger": "^2.9.3",
|
|
35
|
+
"@scrabble-solver/types": "^2.9.3",
|
|
36
|
+
"@scrabble-solver/word-lists": "^2.9.3"
|
|
37
37
|
},
|
|
38
38
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
39
39
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/logger",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.3",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@scrabble-solver/logger",
|
|
9
|
-
"version": "2.9.
|
|
9
|
+
"version": "2.9.3",
|
|
10
10
|
"license": "CC-BY-NC-ND-4.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"winston": "^3.8.2"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
s5pE_3C3ebZuSfaqE7xat
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/s5pE_3C3ebZuSfaqE7xat/_buildManifest.js",
|
|
9
|
+
"static/s5pE_3C3ebZuSfaqE7xat/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [],
|
|
12
12
|
"pages": {
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"static/chunks/main-a75cf611e061d8f8.js",
|
|
17
17
|
"static/chunks/546-447e243fc9de2c59.js",
|
|
18
18
|
"static/css/e8de67ad5ea35427.css",
|
|
19
|
-
"static/chunks/
|
|
19
|
+
"static/chunks/880-18e3aea6915aebe7.js",
|
|
20
20
|
"static/css/751e8a14776d05d8.css",
|
|
21
|
-
"static/chunks/pages/index-
|
|
21
|
+
"static/chunks/pages/index-f1cef1e67e14d022.js"
|
|
22
22
|
],
|
|
23
23
|
"/404": [
|
|
24
24
|
"static/chunks/webpack-5752944655d749a0.js",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"static/chunks/main-a75cf611e061d8f8.js",
|
|
27
27
|
"static/chunks/546-447e243fc9de2c59.js",
|
|
28
28
|
"static/css/e8de67ad5ea35427.css",
|
|
29
|
-
"static/chunks/
|
|
30
|
-
"static/chunks/pages/404-
|
|
29
|
+
"static/chunks/880-18e3aea6915aebe7.js",
|
|
30
|
+
"static/chunks/pages/404-8650986dc56dab75.js"
|
|
31
31
|
],
|
|
32
32
|
"/_app": [
|
|
33
33
|
"static/chunks/webpack-5752944655d749a0.js",
|