Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# hasChangesets is 'false' after the Version Packages PR is merged (no
# changeset files remain), which is the same run where publish executes.
# We can't use `published == 'true'` because the custom yarn publish
# command isn't detectable by changesets/action.
- name: Create GitHub Releases
if: steps.changesets.outputs.hasChangesets == 'false'
run: node scripts/create-github-releases.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions docs/rest/shared/_entity_lifecycle_methods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ static mergeMetaWithStore(

### static queryKey(args, queryKey, getEntity, getIndex): pk? {#queryKey}

This method enables `Entities` to be [Queryable](./schema.md#queryable) - allowing store access without an endpoint.
This method enables `Entities` to be [Queryable](/rest/api/schema#queryable) - allowing store access without an endpoint.

Overriding can allow customization or disabling of this behavior altogether.

Expand Down Expand Up @@ -361,7 +361,7 @@ Called when denormalizing an entity. This will create an instance of this class
if it is deemed 'valid'.

`undefined` return will result in [Invalid expiry status](/docs/concepts/expiry-policy#expiry-status),
like [Invalidate](./Invalidate.md).
like [Invalidate](/rest/api/Invalidate).

[`Invalid`](/docs/concepts/expiry-policy#expiry-status) expiry generally means hooks will enter a loading state and attempt a new fetch.

Expand Down
12 changes: 6 additions & 6 deletions examples/benchmark-react/bench/scenarios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ export const RUN_CONFIG: Record<ScenarioSize, RunProfile> = {
small: {
warmup: 2,
minMeasurement: 3,
maxMeasurement: process.env.CI ? 15 : 12,
targetMarginPct: process.env.CI ? 5 : 10,
maxMeasurement: 15,
targetMarginPct: process.env.CI ? 4 : 6,
opsPerRound: defaultOpsPerRound,
},
large: {
warmup: 1,
minMeasurement: 3,
maxMeasurement: process.env.CI ? 12 : 6,
targetMarginPct: process.env.CI ? 8 : 15,
maxMeasurement: 10,
targetMarginPct: process.env.CI ? 6 : 10,
opsPerRound: defaultOpsPerRound,
},
};
Expand All @@ -50,13 +50,13 @@ export const CONVERGENT_CONFIG: Record<ScenarioSize, ConvergentProfile> = {
warmup: 5,
minMeasurement: 5,
maxMeasurement: 50,
targetMarginPct: process.env.CI ? 5 : 8,
targetMarginPct: process.env.CI ? 4 : 6,
},
large: {
warmup: 3,
minMeasurement: 5,
maxMeasurement: 40,
targetMarginPct: process.env.CI ? 8 : 12,
targetMarginPct: process.env.CI ? 6 : 10,
},
};

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
"node-gyp": ">=11.0.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-test-renderer": "19.2.3"
"react-test-renderer": "19.2.3",
"twig": "^2.0.0"
},
"packageManager": "yarn@4.13.0",
"prettier": {
Expand Down
3 changes: 2 additions & 1 deletion scripts/create-github-releases.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/**
* Creates GitHub releases for published packages.
* Scans all packages, checks if a release already exists for the current version,
* and creates one if not. Safe to run on every push (idempotent).
* and creates one if not. Gated in CI by `hasChangesets == 'false'` so it only
* runs after the Version Packages PR is merged and publish executes.
*/
import { execSync } from 'child_process';
import { readdirSync, readFileSync, existsSync } from 'fs';
Expand Down
31 changes: 11 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19197,10 +19197,10 @@ __metadata:
languageName: node
linkType: hard

"locutus@npm:^2.0.11":
version: 2.0.39
resolution: "locutus@npm:2.0.39"
checksum: 10c0/96fa50951d50817777441bc761a07a2a583a3ac47ed8a5e23897b83c2979a968a68d9764887714288dcb730f700476308a0fe66fbe7ef85c9e2de43e7b713a32
"locutus@npm:^3.0.9":
version: 3.0.25
resolution: "locutus@npm:3.0.25"
checksum: 10c0/32e936cc6defa3df3529bc937331141e2d2ff57345c5b268ab22092c35589871621ab95d4be5e0e42c52f38ff0447cd3d9e9848df6c1f04efa7dc995a5753b31
languageName: node
linkType: hard

Expand Down Expand Up @@ -20851,15 +20851,6 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:3.0.x":
version: 3.0.8
resolution: "minimatch@npm:3.0.8"
dependencies:
brace-expansion: "npm:^1.1.7"
checksum: 10c0/72b226f452dcfb5075255f53534cb83fc25565b909e79b9be4fad463d735cb1084827f7013ff41d050e77ee6e474408c6073473edd2fb72c2fd630cfb0acc6ad
languageName: node
linkType: hard

"minimatch@npm:3.1.5, minimatch@npm:^3.0.3, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2, minimatch@npm:^3.1.5":
version: 3.1.5
resolution: "minimatch@npm:3.1.5"
Expand All @@ -20878,7 +20869,7 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^10.0.3, minimatch@npm:^10.2.1, minimatch@npm:^10.2.2":
"minimatch@npm:^10, minimatch@npm:^10.0.3, minimatch@npm:^10.2.1, minimatch@npm:^10.2.2":
version: 10.2.4
resolution: "minimatch@npm:10.2.4"
dependencies:
Expand Down Expand Up @@ -28423,17 +28414,17 @@ __metadata:
languageName: node
linkType: hard

"twig@npm:^1.17.1":
version: 1.17.1
resolution: "twig@npm:1.17.1"
"twig@npm:^2.0.0":
version: 2.0.0
resolution: "twig@npm:2.0.0"
dependencies:
"@babel/runtime": "npm:^7.8.4"
locutus: "npm:^2.0.11"
minimatch: "npm:3.0.x"
locutus: "npm:^3.0.9"
minimatch: "npm:^10"
walk: "npm:2.3.x"
bin:
twigjs: bin/twigjs
checksum: 10c0/b932a935e9444fbdc2a0dbfc47fd4da14459f6011f4f65786b39c69a26278092707f5b05c92f7e55c88c2623039e9e9cd8a9ce1d6cf4010763d4a976d61c65dd
checksum: 10c0/db15587eed648d0f79887538ff6fa1152b138567dc3fc96b507910313134b0c1753ca42c90177d96f5a302fe9d655cefc70b75fff907acd477bb0772382b21f0
languageName: node
linkType: hard

Expand Down
Loading