Skip to content

Commit b2961b0

Browse files
authored
[50] ensure multi-realm-scoped value in the nodeRequestScopedFeaturesStoreFactory export of the features package (#51)
1 parent daed26d commit b2961b0

29 files changed

Lines changed: 329 additions & 252 deletions

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ This log covers the [monorepo](https://en.wikipedia.org/wiki/Monorepo).
2424

2525
- added a `prepare-publish.mjs` script to prepare packages for npm publishing (moving `README.md` and `LICENSE` files into package roots), replacing the prior `shx` based solution, and adding [`transform-markdown-links`](https://github.com/gakimball/transform-markdown-links) to fix relative paths that otherwise incorrectly link on [npmjs.com](https://www.npmjs.com/)
2626

27+
### Changed
28+
29+
- updated [`danger-js`](https://github.com/danger/danger-js) to [version 13.0.3](https://github.com/danger/danger-js/blob/main/CHANGELOG.md#1303), to remove high vulnerabilities
30+
2731
## [0.11.0] - 2025-09-29
2832

2933
### Changed

examples/express/docs/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.0] - 2025-10-20
9+
10+
### Changed
11+
12+
- updated to features [version 0.5.0](../../../packages/features/docs/CHANGELOG.md#050---2025-10-20)
13+
814
## [0.2.7] - 2025-09-30
915

1016
### Changed
@@ -25,7 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2531

2632
### Changed
2733

28-
- updated to use `variantGlobs` array, with updated webpack plugin [0.8.0][version 0.8.0](../../../packages/webpack/docs/CHANGELOG.md#080---2025-05-27)
34+
- updated to use `variantGlobs` array, with updated webpack plugin [version 0.8.0](../../../packages/webpack/docs/CHANGELOG.md#080---2025-05-27)
2935
- used some differing syntax from [`micromatch`](https://github.com/micromatch/micromatch) to define `variantGlobs`, for coverage and where may be preferred
3036

3137
## [0.2.4] - 2024-02-07

examples/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-toggle-point-express-example",
3-
"version": "0.2.7",
3+
"version": "0.3.0",
44
"type": "module",
55
"engines": {
66
"node": ">=20.6.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// eslint-disable-next-line import/no-unresolved -- https://github.com/import-js/eslint-plugin-import/issues/1810
22
import featuresStoreFactory from "@asos/web-toggle-point-features/storeFactories/nodeRequestScopedFeaturesStoreFactory";
33

4-
const featuresStore = featuresStoreFactory();
4+
const featuresStore = featuresStoreFactory({ toggleType: "api version" });
55

66
export default featuresStore;

examples/express/src/routes/config/featuresStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import featuresStoreFactory from "@asos/web-toggle-point-features/storeFactories/ssrBackedReactContextFeaturesStoreFactory";
33

44
const featuresStore = featuresStoreFactory({
5-
name: "config",
5+
toggleType: "config",
66
logWarning: console.log
77
});
88

examples/next/docs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.0] - 2025-10-20
9+
10+
### Changed
11+
12+
- updated to features [version 0.5.0](../../../packages/features/docs/CHANGELOG.md#050---2025-10-20)
13+
814
## [0.3.1] - 2025-09-30
915

1016
### Changed

examples/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-toggle-point-next-example",
3-
"version": "0.3.1",
3+
"version": "0.4.0",
44
"private": true,
55
"type": "module",
66
"scripts": {

examples/next/src/app/fixtures/content-management/featuresStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import featuresStoreFactory from "@asos/web-toggle-point-features/storeFactories/reactContextFeaturesStoreFactory";
44

55
const reactContextStore = featuresStoreFactory({
6-
name: "Content Management"
6+
toggleType: "Content Management"
77
});
88

99
export default reactContextStore;

examples/next/src/app/fixtures/experiments/featuresStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import featuresStoreFactory from "@asos/web-toggle-point-features/storeFactories/reactContextFeaturesStoreFactory";
44

55
const reactContextStore = featuresStoreFactory({
6-
name: "Experiments"
6+
toggleType: "experiments"
77
});
88

99
export default reactContextStore;

examples/serve/docs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.0] - 2025-10-20
9+
10+
### Changed
11+
12+
- updated to features [version 0.5.0](../../../packages/features/docs/CHANGELOG.md#050---2025-10-20)
13+
814
## [0.2.7] - 2025-07-15
915

1016
### Changed

0 commit comments

Comments
 (0)