scrabble-solver 2.15.12 → 2.15.14

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 (112) hide show
  1. package/.github/workflows/npx.yml +5 -1
  2. package/.nx/workspace-data/file-map.json +528 -528
  3. package/.nx/workspace-data/lockfile.hash +1 -1
  4. package/.nx/workspace-data/nx_files.nxt +0 -0
  5. package/.nx/workspace-data/parsed-lock-file.json +2319 -1589
  6. package/.nx/workspace-data/project-graph.json +2055 -1767
  7. package/README.md +2 -2
  8. package/eslint.config.mjs +4 -9
  9. package/lerna.json +1 -1
  10. package/package.json +28 -28
  11. package/packages/configs/package.json +3 -3
  12. package/packages/constants/package.json +1 -1
  13. package/packages/dictionaries/package.json +4 -4
  14. package/packages/logger/package.json +1 -1
  15. package/packages/scrabble-solver/.next/BUILD_ID +1 -1
  16. package/packages/scrabble-solver/.next/build-manifest.json +15 -15
  17. package/packages/scrabble-solver/.next/cache/.previewinfo +1 -0
  18. package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
  19. package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
  20. package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -0
  21. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
  22. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack.old +0 -0
  23. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/0.pack +0 -0
  24. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
  25. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
  26. package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
  27. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
  28. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack.old +0 -0
  29. package/packages/scrabble-solver/.next/diagnostics/framework.json +1 -1
  30. package/packages/scrabble-solver/.next/next-minimal-server.js.nft.json +1 -1
  31. package/packages/scrabble-solver/.next/next-server.js.nft.json +1 -1
  32. package/packages/scrabble-solver/.next/prerender-manifest.json +4 -4
  33. package/packages/scrabble-solver/.next/required-server-files.json +23 -14
  34. package/packages/scrabble-solver/.next/routes-manifest.json +11 -7
  35. package/packages/scrabble-solver/.next/server/chunks/30.js +4 -4
  36. package/packages/scrabble-solver/.next/server/chunks/318.js +1 -1
  37. package/packages/scrabble-solver/.next/server/chunks/717.js +1 -0
  38. package/packages/scrabble-solver/.next/server/chunks/791.js +19 -0
  39. package/packages/scrabble-solver/.next/server/chunks/812.js +1 -1
  40. package/packages/scrabble-solver/.next/server/chunks/829.js +1 -0
  41. package/packages/scrabble-solver/.next/server/chunks/929.js +1 -0
  42. package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
  43. package/packages/scrabble-solver/.next/server/pages/404.html +1 -1
  44. package/packages/scrabble-solver/.next/server/pages/404.js.nft.json +1 -1
  45. package/packages/scrabble-solver/.next/server/pages/500.html +1 -1
  46. package/packages/scrabble-solver/.next/server/pages/_app.js +1 -1
  47. package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +1 -1
  48. package/packages/scrabble-solver/.next/server/pages/_document.js +1 -1
  49. package/packages/scrabble-solver/.next/server/pages/_document.js.nft.json +1 -1
  50. package/packages/scrabble-solver/.next/server/pages/_error.js +1 -1
  51. package/packages/scrabble-solver/.next/server/pages/_error.js.nft.json +1 -1
  52. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js +2 -2
  53. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
  54. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js +1 -1
  55. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
  56. package/packages/scrabble-solver/.next/server/pages/api/solve.js +1 -1
  57. package/packages/scrabble-solver/.next/server/pages/api/solve.js.nft.json +1 -1
  58. package/packages/scrabble-solver/.next/server/pages/api/verify.js +1 -1
  59. package/packages/scrabble-solver/.next/server/pages/api/verify.js.nft.json +1 -1
  60. package/packages/scrabble-solver/.next/server/pages/api/visit.js +1 -1
  61. package/packages/scrabble-solver/.next/server/pages/api/visit.js.nft.json +1 -1
  62. package/packages/scrabble-solver/.next/server/pages/index.html +1 -1
  63. package/packages/scrabble-solver/.next/server/pages/index.js +1 -1
  64. package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +1 -1
  65. package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
  66. package/packages/scrabble-solver/.next/server/webpack-api-runtime.js +1 -1
  67. package/packages/scrabble-solver/.next/server/webpack-runtime.js +1 -1
  68. package/packages/scrabble-solver/.next/static/{X6ny8arpUxpRCZ4OMm7Vo → UHBG2hxudxuZNMubluQ6A}/_buildManifest.js +1 -1
  69. package/packages/scrabble-solver/.next/static/chunks/framework-e4d8bdda7b6c00b3.js +1 -0
  70. package/packages/scrabble-solver/.next/static/chunks/main-40732898df2b5947.js +1 -0
  71. package/packages/scrabble-solver/.next/static/chunks/pages/404-3ab23f01145bda71.js +1 -0
  72. package/packages/scrabble-solver/.next/static/chunks/pages/_app-ca98ddb1c33cb8b1.js +1 -0
  73. package/packages/scrabble-solver/.next/static/chunks/pages/{_error-7ea2d37f66343175.js → _error-e7f663d1e0f43380.js} +1 -1
  74. package/packages/scrabble-solver/.next/static/chunks/pages/index-5c4af5351329bef5.js +1 -0
  75. package/packages/scrabble-solver/.next/static/css/d611d31bf52b6e25.css +2 -0
  76. package/packages/scrabble-solver/.next/trace +24 -23
  77. package/packages/scrabble-solver/.next/types/routes.d.ts +57 -0
  78. package/packages/scrabble-solver/.next/types/validator.ts +107 -0
  79. package/packages/scrabble-solver/next-env.d.ts +1 -0
  80. package/packages/scrabble-solver/package.json +20 -20
  81. package/packages/scrabble-solver/public/service-worker.js +2 -2
  82. package/packages/scrabble-solver/public/service-worker.js.map +1 -1
  83. package/packages/scrabble-solver/src/components/Results/Result.tsx +13 -17
  84. package/packages/scrabble-solver/src/components/Results/Results.tsx +23 -24
  85. package/packages/solver/package.json +5 -5
  86. package/packages/types/build/Board.js +2 -2
  87. package/packages/types/package.json +2 -2
  88. package/packages/types/src/Board.ts +2 -2
  89. package/packages/word-definitions/build/languages/romanian.js +1 -1
  90. package/packages/word-definitions/package.json +4 -4
  91. package/packages/word-definitions/src/__tests__/input/ro-RO.aciua.html +27 -29
  92. package/packages/word-definitions/src/languages/romanian.ts +1 -1
  93. package/packages/word-lists/build/languages/english.js +2 -2
  94. package/packages/word-lists/build/languages/french.js +1 -1
  95. package/packages/word-lists/build/languages/german.js +1 -1
  96. package/packages/word-lists/build/languages/persian.js +1 -1
  97. package/packages/word-lists/build/languages/polish.js +23 -9
  98. package/packages/word-lists/package.json +4 -4
  99. package/packages/word-lists/src/languages/english.ts +4 -2
  100. package/packages/word-lists/src/languages/french.ts +2 -1
  101. package/packages/word-lists/src/languages/german.ts +2 -1
  102. package/packages/word-lists/src/languages/persian.ts +2 -1
  103. package/packages/word-lists/src/languages/polish.ts +27 -10
  104. package/packages/scrabble-solver/.next/server/chunks/60.js +0 -1
  105. package/packages/scrabble-solver/.next/server/chunks/974.js +0 -1
  106. package/packages/scrabble-solver/.next/static/chunks/framework-57125a0cc6749ff9.js +0 -1
  107. package/packages/scrabble-solver/.next/static/chunks/main-03618e8bd3cd04dd.js +0 -1
  108. package/packages/scrabble-solver/.next/static/chunks/pages/404-18b9f6f5faa91442.js +0 -1
  109. package/packages/scrabble-solver/.next/static/chunks/pages/_app-2378fe90e1762e8c.js +0 -1
  110. package/packages/scrabble-solver/.next/static/chunks/pages/index-bfc599d9351773ae.js +0 -1
  111. package/packages/scrabble-solver/.next/static/css/1fae874a25934f54.css +0 -2
  112. /package/packages/scrabble-solver/.next/static/{X6ny8arpUxpRCZ4OMm7Vo → UHBG2hxudxuZNMubluQ6A}/_ssgManifest.js +0 -0
@@ -0,0 +1,57 @@
1
+ // This file is generated automatically by Next.js
2
+ // Do not edit this file manually
3
+
4
+ type AppRoutes = never
5
+ type PageRoutes = "/" | "/404"
6
+ type LayoutRoutes = never
7
+ type RedirectRoutes = never
8
+ type RewriteRoutes = never
9
+ type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes
10
+
11
+
12
+ interface ParamMap {
13
+ "/": {}
14
+ "/404": {}
15
+ }
16
+
17
+
18
+ export type ParamsOf<Route extends Routes> = ParamMap[Route]
19
+
20
+ interface LayoutSlotMap {
21
+ }
22
+
23
+
24
+ export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap }
25
+
26
+ declare global {
27
+ /**
28
+ * Props for Next.js App Router page components
29
+ * @example
30
+ * ```tsx
31
+ * export default function Page(props: PageProps<'/blog/[slug]'>) {
32
+ * const { slug } = await props.params
33
+ * return <div>Blog post: {slug}</div>
34
+ * }
35
+ * ```
36
+ */
37
+ interface PageProps<AppRoute extends AppRoutes> {
38
+ params: Promise<ParamMap[AppRoute]>
39
+ searchParams: Promise<Record<string, string | string[] | undefined>>
40
+ }
41
+
42
+ /**
43
+ * Props for Next.js App Router layout components
44
+ * @example
45
+ * ```tsx
46
+ * export default function Layout(props: LayoutProps<'/dashboard'>) {
47
+ * return <div>{props.children}</div>
48
+ * }
49
+ * ```
50
+ */
51
+ type LayoutProps<LayoutRoute extends LayoutRoutes> = {
52
+ params: Promise<ParamMap[LayoutRoute]>
53
+ children: React.ReactNode
54
+ } & {
55
+ [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode
56
+ }
57
+ }
@@ -0,0 +1,107 @@
1
+ // This file is generated automatically by Next.js
2
+ // Do not edit this file manually
3
+ // This file validates that all pages and layouts export the correct types
4
+
5
+
6
+ import type { NextApiHandler } from "next/types.js"
7
+
8
+ type PagesPageConfig = {
9
+ default: React.ComponentType<any> | ((props: any) => React.ReactNode | Promise<React.ReactNode> | never | void)
10
+ getStaticProps?: (context: any) => Promise<any> | any
11
+ getStaticPaths?: (context: any) => Promise<any> | any
12
+ getServerSideProps?: (context: any) => Promise<any> | any
13
+ getInitialProps?: (context: any) => Promise<any> | any
14
+ /**
15
+ * Segment configuration for legacy Pages Router pages.
16
+ * Validated at build-time by parsePagesSegmentConfig.
17
+ */
18
+ config?: {
19
+ amp?: boolean | 'hybrid' | string // necessary for JS
20
+ maxDuration?: number
21
+ runtime?: 'edge' | 'experimental-edge' | 'nodejs' | string // necessary unless config is exported as const
22
+ regions?: string[]
23
+ }
24
+ }
25
+
26
+ type ApiRouteConfig = {
27
+ default: (req: any, res: any) => ReturnType<NextApiHandler>
28
+ config?: {
29
+ api?: {
30
+ bodyParser?: boolean | { sizeLimit?: string }
31
+ responseLimit?: string | number | boolean
32
+ externalResolver?: boolean
33
+ }
34
+ runtime?: 'edge' | 'experimental-edge' | 'nodejs' | string // necessary unless config is exported as const
35
+ maxDuration?: number
36
+ }
37
+ }
38
+
39
+
40
+
41
+
42
+
43
+
44
+ // Validate ../../src/pages/404.tsx
45
+ {
46
+ type __IsExpected<Specific extends PagesPageConfig> = Specific
47
+ const handler = {} as typeof import("../../src/pages/404.js")
48
+ type __Check = __IsExpected<typeof handler>
49
+ // @ts-ignore
50
+ type __Unused = __Check
51
+ }
52
+
53
+ // Validate ../../src/pages/index.tsx
54
+ {
55
+ type __IsExpected<Specific extends PagesPageConfig> = Specific
56
+ const handler = {} as typeof import("../../src/pages/index.js")
57
+ type __Check = __IsExpected<typeof handler>
58
+ // @ts-ignore
59
+ type __Unused = __Check
60
+ }
61
+
62
+ // Validate ../../src/pages/api/dictionary/[locale]/[word].ts
63
+ {
64
+ type __IsExpected<Specific extends ApiRouteConfig> = Specific
65
+ const handler = {} as typeof import("../../src/pages/api/dictionary/[locale]/[word].js")
66
+ type __Check = __IsExpected<typeof handler>
67
+ // @ts-ignore
68
+ type __Unused = __Check
69
+ }
70
+
71
+ // Validate ../../src/pages/api/dictionary/[locale]/index.ts
72
+ {
73
+ type __IsExpected<Specific extends ApiRouteConfig> = Specific
74
+ const handler = {} as typeof import("../../src/pages/api/dictionary/[locale]/index.js")
75
+ type __Check = __IsExpected<typeof handler>
76
+ // @ts-ignore
77
+ type __Unused = __Check
78
+ }
79
+
80
+ // Validate ../../src/pages/api/solve.ts
81
+ {
82
+ type __IsExpected<Specific extends ApiRouteConfig> = Specific
83
+ const handler = {} as typeof import("../../src/pages/api/solve.js")
84
+ type __Check = __IsExpected<typeof handler>
85
+ // @ts-ignore
86
+ type __Unused = __Check
87
+ }
88
+
89
+ // Validate ../../src/pages/api/verify.ts
90
+ {
91
+ type __IsExpected<Specific extends ApiRouteConfig> = Specific
92
+ const handler = {} as typeof import("../../src/pages/api/verify.js")
93
+ type __Check = __IsExpected<typeof handler>
94
+ // @ts-ignore
95
+ type __Unused = __Check
96
+ }
97
+
98
+ // Validate ../../src/pages/api/visit.ts
99
+ {
100
+ type __IsExpected<Specific extends ApiRouteConfig> = Specific
101
+ const handler = {} as typeof import("../../src/pages/api/visit.js")
102
+ type __Check = __IsExpected<typeof handler>
103
+ // @ts-ignore
104
+ type __Unused = __Check
105
+ }
106
+
107
+
@@ -1,5 +1,6 @@
1
1
  /// <reference types="next" />
2
2
  /// <reference types="next/image-types/global" />
3
+ /// <reference path="./.next/types/routes.d.ts" />
3
4
 
4
5
  // NOTE: This file should not be edited
5
6
  // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/scrabble-solver",
3
- "version": "2.15.12",
3
+ "version": "2.15.14",
4
4
  "description": "Scrabble Solver 2 - App",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,33 +25,33 @@
25
25
  "type-check": "tsc --noEmit"
26
26
  },
27
27
  "dependencies": {
28
- "@floating-ui/react": "^0.27.9",
28
+ "@floating-ui/react": "^0.27.16",
29
29
  "@kamilmielnik/trie": "^4.0.0",
30
- "@reduxjs/toolkit": "^2.8.2",
31
- "@scrabble-solver/configs": "^2.15.12",
32
- "@scrabble-solver/constants": "^2.15.12",
33
- "@scrabble-solver/dictionaries": "^2.15.12",
34
- "@scrabble-solver/logger": "^2.15.12",
35
- "@scrabble-solver/solver": "^2.15.12",
36
- "@scrabble-solver/types": "^2.15.12",
37
- "@scrabble-solver/word-definitions": "^2.15.12",
30
+ "@reduxjs/toolkit": "^2.9.0",
31
+ "@scrabble-solver/configs": "^2.15.14",
32
+ "@scrabble-solver/constants": "^2.15.14",
33
+ "@scrabble-solver/dictionaries": "^2.15.14",
34
+ "@scrabble-solver/logger": "^2.15.14",
35
+ "@scrabble-solver/solver": "^2.15.14",
36
+ "@scrabble-solver/types": "^2.15.14",
37
+ "@scrabble-solver/word-definitions": "^2.15.14",
38
38
  "classnames": "^2.5.1",
39
- "env-cmd": "^10.1.0",
39
+ "env-cmd": "^11.0.0",
40
40
  "include-media": "^2.0.0",
41
41
  "include-media-query-builder": "^1.1.0",
42
- "next": "^15.3.2",
42
+ "next": "^15.5.3",
43
43
  "normalize.css": "^8.0.1",
44
- "react": "^19.1.0",
44
+ "react": "^19.1.1",
45
45
  "react-cool-onclickoutside": "^1.7.0",
46
- "react-dom": "^19.1.0",
46
+ "react-dom": "^19.1.1",
47
47
  "react-highlight-words": "^0.21.0",
48
48
  "react-modal": "^3.16.3",
49
49
  "react-redux": "^9.2.0",
50
- "react-window": "^1.8.11",
50
+ "react-window": "^2.1.1",
51
51
  "redux-saga": "^1.3.0",
52
52
  "store2": "^2.14.4",
53
53
  "transliteration": "^2.3.5",
54
- "use-debounce": "^10.0.4",
54
+ "use-debounce": "^10.0.6",
55
55
  "workbox-expiration": "^7.3.0",
56
56
  "workbox-precaching": "^7.3.0",
57
57
  "workbox-routing": "^7.3.0",
@@ -61,16 +61,16 @@
61
61
  "devDependencies": {
62
62
  "@svgr/webpack": "^8.1.0",
63
63
  "@types/classnames": "^2.3.4",
64
- "@types/react": "^19.1.5",
65
- "@types/react-dom": "^19.1.5",
64
+ "@types/react": "^19.1.13",
65
+ "@types/react-dom": "^19.1.9",
66
66
  "@types/react-highlight-words": "^0.20.0",
67
67
  "@types/react-modal": "^3.16.3",
68
68
  "@types/react-portal": "^4.0.7",
69
69
  "@types/react-redux": "^7.1.34",
70
- "@types/react-window": "^1.8.8",
70
+ "@types/react-window": "^2.0.0",
71
71
  "@types/redux": "^3.6.31",
72
72
  "@types/redux-saga": "^0.10.5",
73
- "sass": "^1.89.0"
73
+ "sass": "^1.93.0"
74
74
  },
75
75
  "gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
76
76
  }