scrabble-solver 2.15.4 → 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.
- package/.nx/workspace-data/file-map.json +1378 -1333
- package/.nx/workspace-data/lockfile.hash +1 -1
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/parsed-lock-file.json +289 -278
- package/.nx/workspace-data/project-graph.json +270 -288
- package/cypress/e2e/bugs/363-dictionary-input-unique-words.ts +41 -0
- package/cypress/e2e/bugs.spec.cy.ts +1 -0
- package/lerna.json +1 -1
- package/package.json +7 -7
- package/packages/configs/package.json +3 -3
- package/packages/constants/package.json +1 -1
- package/packages/dictionaries/package.json +4 -4
- package/packages/logger/package.json +2 -2
- package/packages/scrabble-solver/.next/BUILD_ID +1 -1
- package/packages/scrabble-solver/.next/build-manifest.json +9 -9
- package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
- 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/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/client-production/index.pack.old +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/edge-server-production/index.pack.old +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/cache/webpack/server-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/diagnostics/framework.json +1 -1
- package/packages/scrabble-solver/.next/next-minimal-server.js.nft.json +1 -1
- 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/required-server-files.json +1 -1
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/{964.js → 292.js} +1 -1
- package/packages/scrabble-solver/.next/server/chunks/331.js +2 -2
- package/packages/scrabble-solver/.next/server/chunks/577.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/807.js +1 -0
- package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/404.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/404.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/500.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/_app.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/_document.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/_error.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/_error.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js +2 -2
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/solve.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/solve.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/verify.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/verify.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/visit.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.js +1 -1
- 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/server/pages-manifest.json +1 -1
- package/packages/scrabble-solver/.next/static/chunks/main-8d63777bf8b90ccb.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-79ef8056607a21da.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/index-5866a12bfb8f00c4.js +1 -0
- package/packages/scrabble-solver/.next/static/css/bc158181051cf066.css +2 -0
- package/packages/scrabble-solver/.next/static/{ySzTsF3RIcISdWO2C2H3Z → uekKIGQQUe4pM47TO6mBn}/_buildManifest.js +1 -1
- package/packages/scrabble-solver/.next/trace +23 -23
- package/packages/scrabble-solver/package.json +16 -16
- package/packages/scrabble-solver/public/service-worker.js +2 -2
- package/packages/scrabble-solver/public/service-worker.js.map +1 -1
- package/packages/scrabble-solver/src/components/Board/Board.tsx +1 -0
- package/packages/scrabble-solver/src/components/Button/Button.module.scss +16 -1
- package/packages/scrabble-solver/src/components/Button/Button.tsx +3 -0
- package/packages/scrabble-solver/src/components/Button/Link.tsx +3 -0
- package/packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss +9 -1
- package/packages/scrabble-solver/src/components/Dictionary/Dictionary.tsx +3 -0
- package/packages/scrabble-solver/src/components/Radio/Radio.module.scss +14 -20
- package/packages/scrabble-solver/src/components/Radio/Radio.tsx +3 -1
- package/packages/scrabble-solver/src/hooks/useAppLayout.ts +3 -0
- package/packages/scrabble-solver/src/modals/MenuModal/MenuModal.tsx +11 -3
- package/packages/scrabble-solver/src/state/sagas.ts +3 -1
- package/packages/solver/package.json +5 -5
- package/packages/types/package.json +2 -2
- package/packages/word-definitions/package.json +2 -2
- package/packages/word-lists/package.json +2 -2
- package/packages/scrabble-solver/.next/server/chunks/67.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/main-6e8e32bd2f4e331c.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-fb5bb6aa71eaaa4e.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/index-6ef7d0f12c9321e2.js +0 -1
- package/packages/scrabble-solver/.next/static/css/35b36298aba4ccad.css +0 -2
- /package/packages/scrabble-solver/.next/static/{ySzTsF3RIcISdWO2C2H3Z → uekKIGQQUe4pM47TO6mBn}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
closeModal,
|
|
3
|
+
getDictionaryInput,
|
|
4
|
+
getResult,
|
|
5
|
+
getSettingOption,
|
|
6
|
+
getSettingsButton,
|
|
7
|
+
solve,
|
|
8
|
+
typeBoard,
|
|
9
|
+
typeRack,
|
|
10
|
+
unregisterServiceWorkers,
|
|
11
|
+
visitIndex,
|
|
12
|
+
} from '../../support';
|
|
13
|
+
|
|
14
|
+
/*
|
|
15
|
+
* @see https://github.com/kamilmielnik/scrabble-solver/issues/363
|
|
16
|
+
*/
|
|
17
|
+
describe('#363 - Dictionary input should display unique words', () => {
|
|
18
|
+
beforeEach(async () => {
|
|
19
|
+
await unregisterServiceWorkers();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
afterEach(() => {
|
|
23
|
+
cy.clearLocalStorage();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it('highlighting a word should cause only unique new words to be looked up in the dictionary', () => {
|
|
27
|
+
cy.intercept('GET', '/api/dictionary/tr-TR/*', { delay: 100 }).as('dictionary');
|
|
28
|
+
|
|
29
|
+
visitIndex();
|
|
30
|
+
getSettingsButton().realClick();
|
|
31
|
+
getSettingOption('Language', 'Türkçe').check();
|
|
32
|
+
closeModal();
|
|
33
|
+
typeBoard('ponje', 'horizontal', 3, 7);
|
|
34
|
+
typeRack('er');
|
|
35
|
+
solve();
|
|
36
|
+
|
|
37
|
+
getResult(0).realHover();
|
|
38
|
+
|
|
39
|
+
getDictionaryInput().should('have.value', 'er, je');
|
|
40
|
+
});
|
|
41
|
+
});
|
package/lerna.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrabble-solver",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.6",
|
|
4
4
|
"description": "Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Super Scrabble, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Scrabble",
|
|
@@ -93,20 +93,20 @@
|
|
|
93
93
|
"packages/scrabble-solver"
|
|
94
94
|
],
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@scrabble-solver/scrabble-solver": "^2.15.
|
|
96
|
+
"@scrabble-solver/scrabble-solver": "^2.15.6",
|
|
97
97
|
"concurrently": "^9.0.1",
|
|
98
98
|
"open-cli": "^8.0.0"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@babel/core": "^7.
|
|
101
|
+
"@babel/core": "^7.26.0",
|
|
102
102
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
103
|
-
"@babel/preset-env": "^7.
|
|
103
|
+
"@babel/preset-env": "^7.26.0",
|
|
104
104
|
"@testing-library/cypress": "^10.0.2",
|
|
105
105
|
"@types/jest": "^29.5.14",
|
|
106
|
-
"@types/node": "^22.
|
|
106
|
+
"@types/node": "^22.8.6",
|
|
107
107
|
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
108
108
|
"@typescript-eslint/parser": "^7.16.0",
|
|
109
|
-
"cypress": "^13.15.
|
|
109
|
+
"cypress": "^13.15.1",
|
|
110
110
|
"cypress-real-events": "^1.13.0",
|
|
111
111
|
"eslint": "^8.57.0",
|
|
112
112
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"eslint-plugin-react": "^7.37.2",
|
|
119
119
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
120
120
|
"jest": "29.7.0",
|
|
121
|
-
"lerna": "^8.1.
|
|
121
|
+
"lerna": "^8.1.9",
|
|
122
122
|
"np": "^10.0.7",
|
|
123
123
|
"prettier": "^3.3.3",
|
|
124
124
|
"rimraf": "^6.0.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/configs",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.6",
|
|
4
4
|
"description": "Scrabble Solver 2 - Configs",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/constants": "^2.15.
|
|
27
|
-
"@scrabble-solver/types": "^2.15.
|
|
26
|
+
"@scrabble-solver/constants": "^2.15.6",
|
|
27
|
+
"@scrabble-solver/types": "^2.15.6"
|
|
28
28
|
},
|
|
29
29
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
30
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/dictionaries",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.6",
|
|
4
4
|
"description": "Scrabble Solver 2 - Dictionaries",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@kamilmielnik/trie": "^3.1.0",
|
|
33
|
-
"@scrabble-solver/logger": "^2.15.
|
|
34
|
-
"@scrabble-solver/types": "^2.15.
|
|
35
|
-
"@scrabble-solver/word-lists": "^2.15.
|
|
33
|
+
"@scrabble-solver/logger": "^2.15.6",
|
|
34
|
+
"@scrabble-solver/types": "^2.15.6",
|
|
35
|
+
"@scrabble-solver/word-lists": "^2.15.6"
|
|
36
36
|
},
|
|
37
37
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
38
38
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/logger",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.6",
|
|
4
4
|
"description": "Scrabble Solver 2 - Logger",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"stats": "node scripts/stats.js"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"winston": "^3.
|
|
27
|
+
"winston": "^3.16.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/winston": "^2.4.4"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
uekKIGQQUe4pM47TO6mBn
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/uekKIGQQUe4pM47TO6mBn/_buildManifest.js",
|
|
9
|
+
"static/uekKIGQQUe4pM47TO6mBn/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [],
|
|
12
12
|
"rootMainFilesTree": {},
|
|
@@ -14,27 +14,27 @@
|
|
|
14
14
|
"/": [
|
|
15
15
|
"static/chunks/webpack-a2ab570fe85c6bb6.js",
|
|
16
16
|
"static/chunks/framework-f09231abc7b3626e.js",
|
|
17
|
-
"static/chunks/main-
|
|
17
|
+
"static/chunks/main-8d63777bf8b90ccb.js",
|
|
18
18
|
"static/css/6682db14f926d4c7.css",
|
|
19
|
-
"static/chunks/pages/index-
|
|
19
|
+
"static/chunks/pages/index-5866a12bfb8f00c4.js"
|
|
20
20
|
],
|
|
21
21
|
"/404": [
|
|
22
22
|
"static/chunks/webpack-a2ab570fe85c6bb6.js",
|
|
23
23
|
"static/chunks/framework-f09231abc7b3626e.js",
|
|
24
|
-
"static/chunks/main-
|
|
24
|
+
"static/chunks/main-8d63777bf8b90ccb.js",
|
|
25
25
|
"static/chunks/pages/404-f6889310c253b0bd.js"
|
|
26
26
|
],
|
|
27
27
|
"/_app": [
|
|
28
28
|
"static/chunks/webpack-a2ab570fe85c6bb6.js",
|
|
29
29
|
"static/chunks/framework-f09231abc7b3626e.js",
|
|
30
|
-
"static/chunks/main-
|
|
31
|
-
"static/css/
|
|
32
|
-
"static/chunks/pages/_app-
|
|
30
|
+
"static/chunks/main-8d63777bf8b90ccb.js",
|
|
31
|
+
"static/css/bc158181051cf066.css",
|
|
32
|
+
"static/chunks/pages/_app-79ef8056607a21da.js"
|
|
33
33
|
],
|
|
34
34
|
"/_error": [
|
|
35
35
|
"static/chunks/webpack-a2ab570fe85c6bb6.js",
|
|
36
36
|
"static/chunks/framework-f09231abc7b3626e.js",
|
|
37
|
-
"static/chunks/main-
|
|
37
|
+
"static/chunks/main-8d63777bf8b90ccb.js",
|
|
38
38
|
"static/chunks/pages/_error-3e47b8dbcedf0fd0.js"
|
|
39
39
|
]
|
|
40
40
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"encryption.key":"
|
|
1
|
+
{"encryption.key":"TjjpPZK8M/kC5Kdt8wIO7XaskSbnZEITCZJ0/NY8zuY=","encryption.expire_at":1731785949877}
|