scrabble-solver 2.16.6 → 2.16.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.
- package/.github/workflows/bunx.yml +26 -2
- package/.github/workflows/npx.yml +26 -2
- package/.nx/workspace-data/d/server-process.json +3 -3
- package/.nx/workspace-data/file-map.json +524 -524
- 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 +2575 -2050
- package/.nx/workspace-data/parsed-lock-file.nodes.json +3814 -5281
- package/.nx/workspace-data/project-graph.json +6757 -7696
- package/.nx/workspace-data/source-maps.json +267 -267
- package/CLAUDE.md +4 -4
- package/bun.lock +808 -2625
- package/bunfig.toml +6 -0
- package/cypress.config.ts +7 -0
- package/lerna.json +1 -1
- package/nx.json +3 -1
- package/package.json +16 -17
- package/packages/configs/package.json +4 -4
- package/packages/constants/package.json +2 -2
- package/packages/dictionaries/package.json +6 -6
- package/packages/logger/package.json +2 -2
- 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/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 +7 -4
- package/packages/scrabble-solver/.next/required-server-files.js +26 -8
- package/packages/scrabble-solver/.next/required-server-files.json +26 -8
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/30.js +2 -2
- package/packages/scrabble-solver/.next/server/chunks/318.js +3 -3
- package/packages/scrabble-solver/.next/server/chunks/671.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/791.js +3 -3
- 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/_document.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 +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 +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/api/visit.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.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/chunks/framework-3cf15b8041c59dd3.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/main-852475ca502b4e49.js +5 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/{_app-4ae86f006f6b9fe7.js → _app-a5bbe02710f13d05.js} +4 -4
- package/packages/scrabble-solver/.next/static/chunks/pages/{index-bdf5e1e44cea16f6.js → index-ec0f6aeeaf7be227.js} +1 -1
- package/packages/scrabble-solver/.next/static/{js6-w0PwySs2PyOSeCYfi → vYpMmuC_yEurZGcyGVnLf}/_buildManifest.js +1 -1
- package/packages/scrabble-solver/.next/trace +21 -21
- package/packages/scrabble-solver/.next/trace-build +1 -1
- package/packages/scrabble-solver/.next/types/cache-life.d.ts +1 -0
- package/packages/scrabble-solver/.next/types/root-params.d.ts +3 -0
- package/packages/scrabble-solver/next-env.d.ts +1 -0
- package/packages/scrabble-solver/next.config.js +5 -0
- package/packages/scrabble-solver/package.json +19 -19
- package/packages/scrabble-solver/public/service-worker.js +1 -1
- package/packages/scrabble-solver/public/service-worker.js.map +1 -1
- package/packages/scrabble-solver/tsconfig.tsbuildinfo +1 -1
- package/packages/solver/package.json +7 -7
- package/packages/types/package.json +3 -3
- package/packages/word-definitions/package.json +3 -3
- package/packages/word-lists/package.json +4 -4
- package/packages/scrabble-solver/.next/static/chunks/framework-a23f7f643b59a2ca.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/main-92448bb08bb6bf1f.js +0 -5
- /package/packages/scrabble-solver/.next/static/{js6-w0PwySs2PyOSeCYfi → vYpMmuC_yEurZGcyGVnLf}/_ssgManifest.js +0 -0
|
@@ -12,9 +12,33 @@ jobs:
|
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
steps:
|
|
14
14
|
- uses: oven-sh/setup-bun@v2
|
|
15
|
+
- uses: actions/checkout@v6
|
|
16
|
+
- name: Wait for the released version to be published on npm
|
|
17
|
+
run: |
|
|
18
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
19
|
+
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
|
|
20
|
+
echo "Target version: $VERSION"
|
|
21
|
+
# Unscoped CLI package (published by `np`) + every non-private workspace
|
|
22
|
+
# package (published by `lerna publish`). All version in lockstep.
|
|
23
|
+
PACKAGES=$(node -p "['scrabble-solver', ...require('fs').readdirSync('packages').map(d=>require('./packages/'+d+'/package.json')).filter(p=>!p.private).map(p=>p.name)].join(' ')")
|
|
24
|
+
echo "Waiting for: $PACKAGES"
|
|
25
|
+
for pkg in $PACKAGES; do
|
|
26
|
+
for i in $(seq 1 60); do
|
|
27
|
+
if [ "$(npm view "$pkg@$VERSION" version 2>/dev/null)" = "$VERSION" ]; then
|
|
28
|
+
echo "✓ $pkg@$VERSION is available"
|
|
29
|
+
break
|
|
30
|
+
fi
|
|
31
|
+
if [ "$i" -eq 60 ]; then
|
|
32
|
+
echo "::error::Timed out waiting for $pkg@$VERSION on npm" >&2
|
|
33
|
+
exit 1
|
|
34
|
+
fi
|
|
35
|
+
echo "… $pkg@$VERSION not available yet (attempt $i/60); sleeping 15s"
|
|
36
|
+
sleep 15
|
|
37
|
+
done
|
|
38
|
+
done
|
|
15
39
|
- name: Download published package
|
|
16
40
|
run: |
|
|
17
|
-
npm pack scrabble-solver@
|
|
41
|
+
npm pack scrabble-solver@"$VERSION"
|
|
18
42
|
mkdir work-dir
|
|
19
43
|
tar -xzf scrabble-solver-*.tgz -C work-dir --strip-components=1
|
|
20
44
|
- run: bun install --frozen-lockfile
|
|
@@ -25,7 +49,7 @@ jobs:
|
|
|
25
49
|
- uses: cypress-io/github-action@v7
|
|
26
50
|
with:
|
|
27
51
|
install: false
|
|
28
|
-
build: bun add --global scrabble-solver
|
|
52
|
+
build: bun add --global scrabble-solver@${{ env.VERSION }}
|
|
29
53
|
start: scrabble-solver
|
|
30
54
|
wait-on: 'http://localhost:3333'
|
|
31
55
|
working-directory: work-dir
|
|
@@ -15,9 +15,33 @@ jobs:
|
|
|
15
15
|
- uses: actions/setup-node@v5
|
|
16
16
|
with:
|
|
17
17
|
node-version: 24
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
|
+
- name: Wait for the released version to be published on npm
|
|
20
|
+
run: |
|
|
21
|
+
VERSION=$(node -p "require('./package.json').version")
|
|
22
|
+
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
|
|
23
|
+
echo "Target version: $VERSION"
|
|
24
|
+
# Unscoped CLI package (published by `np`) + every non-private workspace
|
|
25
|
+
# package (published by `lerna publish`). All version in lockstep.
|
|
26
|
+
PACKAGES=$(node -p "['scrabble-solver', ...require('fs').readdirSync('packages').map(d=>require('./packages/'+d+'/package.json')).filter(p=>!p.private).map(p=>p.name)].join(' ')")
|
|
27
|
+
echo "Waiting for: $PACKAGES"
|
|
28
|
+
for pkg in $PACKAGES; do
|
|
29
|
+
for i in $(seq 1 60); do
|
|
30
|
+
if [ "$(npm view "$pkg@$VERSION" version 2>/dev/null)" = "$VERSION" ]; then
|
|
31
|
+
echo "✓ $pkg@$VERSION is available"
|
|
32
|
+
break
|
|
33
|
+
fi
|
|
34
|
+
if [ "$i" -eq 60 ]; then
|
|
35
|
+
echo "::error::Timed out waiting for $pkg@$VERSION on npm" >&2
|
|
36
|
+
exit 1
|
|
37
|
+
fi
|
|
38
|
+
echo "… $pkg@$VERSION not available yet (attempt $i/60); sleeping 15s"
|
|
39
|
+
sleep 15
|
|
40
|
+
done
|
|
41
|
+
done
|
|
18
42
|
- name: Download published package
|
|
19
43
|
run: |
|
|
20
|
-
npm pack scrabble-solver@
|
|
44
|
+
npm pack scrabble-solver@"$VERSION"
|
|
21
45
|
mkdir work-dir
|
|
22
46
|
tar -xzf scrabble-solver-*.tgz -C work-dir --strip-components=1
|
|
23
47
|
- run: bun install --frozen-lockfile
|
|
@@ -28,7 +52,7 @@ jobs:
|
|
|
28
52
|
- uses: cypress-io/github-action@v7
|
|
29
53
|
with:
|
|
30
54
|
install: false
|
|
31
|
-
build: npm install --global scrabble-solver
|
|
55
|
+
build: npm install --global scrabble-solver@${{ env.VERSION }}
|
|
32
56
|
start: scrabble-solver
|
|
33
57
|
wait-on: 'http://localhost:3333'
|
|
34
58
|
working-directory: work-dir
|