@tuturuuu/utils 0.26.0 → 0.27.0
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.27.0](https://github.com/tutur3u/platform/compare/utils-v0.26.0...utils-v0.27.0) (2026-08-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **web:** localize metadata for every product page ([#5159](https://github.com/tutur3u/platform/issues/5159)) ([2862e0c](https://github.com/tutur3u/platform/commit/2862e0c771495fa7f2f7a6cc83937272d68336b5))
|
|
9
|
+
|
|
3
10
|
## [0.26.0](https://github.com/tutur3u/platform/compare/utils-v0.25.5...utils-v0.26.0) (2026-08-26)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -320,13 +320,17 @@ describe('application metadata coverage', () => {
|
|
|
320
320
|
(entry) =>
|
|
321
321
|
entry.isFile() &&
|
|
322
322
|
entry.name === 'layout.tsx' &&
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
// Either sanctioned helper counts. `createLocalizedMarketingMetadata`
|
|
324
|
+
// resolves the copy from the message bundles instead of a literal,
|
|
325
|
+
// but produces the same metadata contract — matching only the exact
|
|
326
|
+
// string silently dropped every localized layout from this check.
|
|
327
|
+
/create(?:Localized)?MarketingMetadata/.test(
|
|
328
|
+
readFileSync(resolve(entry.parentPath, entry.name), 'utf8')
|
|
325
329
|
)
|
|
326
330
|
)
|
|
327
331
|
.map((entry) => resolve(entry.parentPath, entry.name));
|
|
328
332
|
|
|
329
|
-
expect(marketingLayouts).toHaveLength(
|
|
333
|
+
expect(marketingLayouts).toHaveLength(45);
|
|
330
334
|
for (const layoutPath of marketingLayouts) {
|
|
331
335
|
expect(readFileSync(layoutPath, 'utf8')).toMatch(/pathname:\s*['`]/);
|
|
332
336
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
|
|
8
8
|
describe('platform release metadata', () => {
|
|
9
9
|
it('uses the centralized shared browser app version', () => {
|
|
10
|
-
expect(TUTURUUU_PLATFORM_VERSION).toBe('0.
|
|
10
|
+
expect(TUTURUUU_PLATFORM_VERSION).toBe('0.43.0'); // x-release-please-version
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
it('preserves the source timestamp in builtAt and derives a short hash', () => {
|
package/src/platform-release.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PLATFORM_BUILD_METADATA } from './generated/platform-build-metadata';
|
|
2
2
|
|
|
3
|
-
export const TUTURUUU_PLATFORM_VERSION = '0.
|
|
3
|
+
export const TUTURUUU_PLATFORM_VERSION = '0.43.0'; // x-release-please-version
|
|
4
4
|
|
|
5
5
|
export type PlatformBuildMetadataInput = {
|
|
6
6
|
/** ISO timestamp of the source commit used for the build, not deployment time. */
|