scrabble-solver 2.15.21 → 2.15.22
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/.claude/settings.local.json +11 -0
- package/.github/workflows/build.yml +2 -2
- package/.github/workflows/cypress.yml +3 -3
- package/.github/workflows/deploy.yml +1 -1
- package/.github/workflows/eslint.yml +2 -2
- package/.github/workflows/jest.yml +2 -2
- package/.github/workflows/npx.yml +3 -3
- package/.next/trace +1 -1
- package/.next/trace-build +1 -0
- package/.nx/workspace-data/file-map.json +560 -552
- package/.nx/workspace-data/lockfile-dependencies.hash +1 -1
- package/.nx/workspace-data/lockfile-nodes.hash +1 -1
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/parsed-lock-file.dependencies.json +909 -369
- package/.nx/workspace-data/parsed-lock-file.nodes.json +1516 -1118
- package/.nx/workspace-data/project-graph.json +2082 -1249
- package/lerna.json +1 -1
- package/package.json +23 -23
- 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 +1 -1
- package/packages/scrabble-solver/.next/BUILD_ID +1 -1
- package/packages/scrabble-solver/.next/build-manifest.json +12 -12
- package/packages/scrabble-solver/.next/cache/.previewinfo +1 -1
- package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
- package/packages/scrabble-solver/.next/cache/.tsbuildinfo +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/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/prerender-manifest.json +4 -4
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/712.js +1 -1
- 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/500.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +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.nft.json +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.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/verify.js.nft.json +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/not-found.html +1 -1
- package/packages/scrabble-solver/.next/static/{8q_9JlEMMcIoT2TpStZYx → MxQ5rcf448WOpfCa2_VVz}/_buildManifest.js +1 -1
- package/packages/scrabble-solver/.next/static/chunks/{framework-93e577820ffb186a.js → framework-906c47013125d174.js} +1 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-6a68c941d55599c8.js +7 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/index-6c5b582e7afc063c.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/webpack-1a7a166b34ed8d24.js +1 -0
- package/packages/scrabble-solver/.next/trace +21 -21
- package/packages/scrabble-solver/.next/trace-build +1 -1
- package/packages/scrabble-solver/package.json +19 -19
- package/packages/scrabble-solver/public/service-worker.js +1 -1
- package/packages/scrabble-solver/src/app-layout/AppLayoutContext.tsx +25 -0
- package/packages/scrabble-solver/src/app-layout/index.ts +1 -0
- package/packages/scrabble-solver/src/{hooks/useAppLayout.ts → app-layout/useAppLayoutValue.ts} +4 -6
- package/packages/scrabble-solver/src/components/Board/Board.tsx +1 -1
- package/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.tsx +9 -2
- package/packages/scrabble-solver/src/components/Board/hooks/useBackgroundImage.tsx +2 -1
- package/packages/scrabble-solver/src/components/Board/hooks/useBoardStyle.ts +1 -1
- package/packages/scrabble-solver/src/components/Board/hooks/useFloatingActions.ts +1 -1
- package/packages/scrabble-solver/src/components/Dictionary/Dictionary.tsx +1 -1
- package/packages/scrabble-solver/src/components/DictionaryInput/DictionaryInput.tsx +2 -2
- package/packages/scrabble-solver/src/components/Logo/Logo.tsx +1 -1
- package/packages/scrabble-solver/src/components/NavButtons/NavButtons.tsx +1 -1
- package/packages/scrabble-solver/src/components/Rack/Rack.tsx +1 -1
- package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/InputPrompt.tsx +4 -4
- package/packages/scrabble-solver/src/components/Results/Header.tsx +2 -1
- package/packages/scrabble-solver/src/components/Results/Result.tsx +2 -1
- package/packages/scrabble-solver/src/components/ResultsInput/ResultsInput.tsx +2 -2
- package/packages/scrabble-solver/src/components/Solver/Solver.tsx +2 -1
- package/packages/scrabble-solver/src/components/Tile/Tile.tsx +1 -1
- package/packages/scrabble-solver/src/hooks/index.ts +0 -1
- package/packages/scrabble-solver/src/lib/isMac.ts +0 -1
- package/packages/scrabble-solver/src/modals/ResultsModal/ResultsModal.tsx +1 -1
- package/packages/scrabble-solver/src/pages/_app.tsx +7 -4
- package/packages/scrabble-solver/src/pages/index.tsx +42 -21
- package/packages/scrabble-solver/tsconfig.json +3 -2
- package/packages/scrabble-solver/tsconfig.tsbuildinfo +1 -1
- package/packages/solver/package.json +5 -5
- package/packages/types/package.json +2 -2
- package/packages/word-definitions/package.json +4 -4
- package/packages/word-lists/build/lib/transliterateDiacritics.d.ts +2 -2
- package/packages/word-lists/package.json +4 -4
- package/packages/word-lists/src/lib/transliterateDiacritics.ts +2 -2
- package/tsconfig.json +5 -4
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-ac2ab0ef8f59ba92.js +0 -3
- package/packages/scrabble-solver/.next/static/chunks/pages/index-3be9ce84ae513eaa.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/webpack-49a83516933d4cf2.js +0 -1
- /package/packages/scrabble-solver/.next/static/{8q_9JlEMMcIoT2TpStZYx → MxQ5rcf448WOpfCa2_VVz}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/solver",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.22",
|
|
4
4
|
"description": "Scrabble Solver 2 - Solver",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@kamilmielnik/trie": "^4.0.0",
|
|
27
|
-
"@scrabble-solver/types": "^2.15.
|
|
27
|
+
"@scrabble-solver/types": "^2.15.22"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@scrabble-solver/configs": "^2.15.
|
|
31
|
-
"@scrabble-solver/constants": "^2.15.
|
|
32
|
-
"@scrabble-solver/dictionaries": "^2.15.
|
|
30
|
+
"@scrabble-solver/configs": "^2.15.22",
|
|
31
|
+
"@scrabble-solver/constants": "^2.15.22",
|
|
32
|
+
"@scrabble-solver/dictionaries": "^2.15.22"
|
|
33
33
|
},
|
|
34
34
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
35
35
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/types",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.22",
|
|
4
4
|
"description": "Scrabble Solver 2 - Types",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/constants": "^2.15.
|
|
26
|
+
"@scrabble-solver/constants": "^2.15.22"
|
|
27
27
|
},
|
|
28
28
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/word-definitions",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.22",
|
|
4
4
|
"description": "Scrabble Solver 2 - Word definitions",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/types": "^2.15.
|
|
27
|
-
"cheerio": "^1.
|
|
26
|
+
"@scrabble-solver/types": "^2.15.22",
|
|
27
|
+
"cheerio": "^1.2.0",
|
|
28
28
|
"follow-redirects": "^1.15.11",
|
|
29
29
|
"striptags": "^3.2.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/follow-redirects": "^1.14.4",
|
|
33
|
-
"domhandler": "^
|
|
33
|
+
"domhandler": "^6.0.1"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const transliterateDiacritics: (words: string[], options?:
|
|
1
|
+
import { transliterate } from 'transliteration';
|
|
2
|
+
export declare const transliterateDiacritics: (words: string[], options?: Parameters<typeof transliterate>[1]) => string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/word-lists",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.22",
|
|
4
4
|
"description": "Scrabble Solver 2 - Word lists",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/types": "^2.15.
|
|
27
|
-
"cheerio": "^1.
|
|
26
|
+
"@scrabble-solver/types": "^2.15.22",
|
|
27
|
+
"cheerio": "^1.2.0",
|
|
28
28
|
"follow-redirects": "^1.15.11",
|
|
29
|
-
"transliteration": "^2.
|
|
29
|
+
"transliteration": "^2.6.1",
|
|
30
30
|
"unzipper": "^0.12.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { transliterate } from 'transliteration';
|
|
2
2
|
|
|
3
3
|
import { unique } from './unique';
|
|
4
4
|
|
|
5
|
-
export const transliterateDiacritics = (words: string[], options?:
|
|
5
|
+
export const transliterateDiacritics = (words: string[], options?: Parameters<typeof transliterate>[1]): string[] => {
|
|
6
6
|
return unique(words.map((word) => transliterate(word, options)));
|
|
7
7
|
};
|
package/tsconfig.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"declaration": true,
|
|
4
|
-
"downlevelIteration": true,
|
|
5
4
|
"esModuleInterop": true,
|
|
6
5
|
"forceConsistentCasingInFileNames": true,
|
|
6
|
+
"ignoreDeprecations": "6.0",
|
|
7
7
|
"lib": ["esnext", "dom"],
|
|
8
|
-
"module": "
|
|
9
|
-
"moduleResolution": "
|
|
8
|
+
"module": "nodenext",
|
|
9
|
+
"moduleResolution": "nodenext",
|
|
10
10
|
"noImplicitReturns": true,
|
|
11
11
|
"noUnusedLocals": true,
|
|
12
12
|
"noUnusedParameters": true,
|
|
13
13
|
"strict": true,
|
|
14
|
-
"target": "es2021"
|
|
14
|
+
"target": "es2021",
|
|
15
|
+
"types": ["jest"]
|
|
15
16
|
},
|
|
16
17
|
"exclude": ["cypress", "cypress.config.ts", "node_modules"]
|
|
17
18
|
}
|