Skip to content

Commit

Permalink
Version Packages (#276)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
seek-oss-ci and github-actions[bot] authored Oct 31, 2024
1 parent 2e21978 commit 3a3ab6f
Show file tree
Hide file tree
Showing 18 changed files with 77 additions and 37 deletions.
5 changes: 0 additions & 5 deletions .changeset/many-rabbits-add.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-adults-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-starfishes-wash.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/swift-crabs-applaud.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @vocab/cli

## 2.0.2

### Patch Changes

- Updated dependencies [[`2e21978`](https://github.com/seek-oss/vocab/commit/2e21978b30b04826f22f3631e9a7adef3be09dc2), [`dad4649`](https://github.com/seek-oss/vocab/commit/dad4649d2898c3ba7277598af343aac0581f7ccc)]:
- @vocab/core@1.6.3
- @vocab/phrase@2.0.2

## 2.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocab/cli",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/vocab.git",
Expand Down
25 changes: 19 additions & 6 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @vocab/core

## 1.6.3

### Patch Changes

- [#284](https://github.com/seek-oss/vocab/pull/284) [`2e21978`](https://github.com/seek-oss/vocab/commit/2e21978b30b04826f22f3631e9a7adef3be09dc2) Thanks [@askoufis](https://github.com/askoufis)! - `loadAllTranslations`: Refactor to remove unnecessary `await` and remove extra loop

## 1.6.2

### Patch Changes
Expand Down Expand Up @@ -259,25 +265,32 @@

```tsx
import type { UserConfig } from '@vocab/types';
import { loadTranslation, loadAllTranslations } from '@vocab/core';
import {
loadTranslation,
loadAllTranslations
} from '@vocab/core';

const userConfig: UserConfig = {
devLanguage: 'en',
languages: [{ name: 'en' }, { name: 'th' }],
languages: [{ name: 'en' }, { name: 'th' }]
};

const translations = loadTranslation(
{
filePath: '/path/to/translations.json',
fallbacks: 'valid',
withTags: true,
withTags: true
},
userConfig,
userConfig
);

const allTranslations = loadAllTranslations(
{ fallbacks: 'valid', includeNodeModules: false, withTags: true },
userConfig,
{
fallbacks: 'valid',
includeNodeModules: false,
withTags: true
},
userConfig
);
```

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocab/core",
"version": "1.6.2",
"version": "1.6.3",
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/vocab.git",
Expand Down
13 changes: 13 additions & 0 deletions packages/phrase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @vocab/phrase

## 2.0.2

### Patch Changes

- [#272](https://github.com/seek-oss/vocab/pull/272) [`dad4649`](https://github.com/seek-oss/vocab/commit/dad4649d2898c3ba7277598af343aac0581f7ccc) Thanks [@adenj](https://github.com/adenj)! - Fix translation issue caused by mismatched Phrase locale identifiers.

Previous behaviour meant that translations were pushed using the locale name in Phrase, but Vocab was retrieving translations by locale code. Phrase locale codes and locale names are not always aligned. This would lead to Vocab searching for translations by code rather than name, often resulting in missing translations.

Vocab now consistently pushes and pulls translations using Phrase’s locale name, regardless of the locale code set in Phrase.

- Updated dependencies [[`2e21978`](https://github.com/seek-oss/vocab/commit/2e21978b30b04826f22f3631e9a7adef3be09dc2)]:
- @vocab/core@1.6.3

## 2.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/phrase/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocab/phrase",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/vocab.git",
Expand Down
7 changes: 7 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @vocab/react

## 1.1.12

### Patch Changes

- Updated dependencies [[`2e21978`](https://github.com/seek-oss/vocab/commit/2e21978b30b04826f22f3631e9a7adef3be09dc2)]:
- @vocab/core@1.6.3

## 1.1.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocab/react",
"version": "1.1.11",
"version": "1.1.12",
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/vocab.git",
Expand Down
7 changes: 7 additions & 0 deletions packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @vocab/types

## 1.3.7

### Patch Changes

- Updated dependencies [[`2e21978`](https://github.com/seek-oss/vocab/commit/2e21978b30b04826f22f3631e9a7adef3be09dc2)]:
- @vocab/core@1.6.3

## 1.3.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocab/types",
"version": "1.3.6",
"version": "1.3.7",
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/vocab.git",
Expand Down
6 changes: 6 additions & 0 deletions packages/virtual-resource-loader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# virtual-resource-loader

## 2.0.0

### Major Changes

- [#237](https://github.com/seek-oss/vocab/pull/237) [`b74686d`](https://github.com/seek-oss/vocab/commit/b74686d7ed232eff330b2a734895f66eaa5387a1) Thanks [@renovate](https://github.com/apps/renovate)! - Remove `loader-utils` dependency and drop support for Webpack v4.x

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/virtual-resource-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "virtual-resource-loader",
"description": "Create new files inside a webpack compilation, without a file existing on disk",
"version": "1.0.1",
"version": "2.0.0",
"main": "dist/virtual-resource-loader.cjs.js",
"module": "dist/virtual-resource-loader.esm.js",
"author": "SEEK",
Expand Down
10 changes: 10 additions & 0 deletions packages/webpack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @vocab/webpack

## 1.2.10

### Patch Changes

- [#237](https://github.com/seek-oss/vocab/pull/237) [`b74686d`](https://github.com/seek-oss/vocab/commit/b74686d7ed232eff330b2a734895f66eaa5387a1) Thanks [@renovate](https://github.com/apps/renovate)! - URI-encode virtual language module data for compatibility with Webpack v5's `this.getOptions` API

- Updated dependencies [[`2e21978`](https://github.com/seek-oss/vocab/commit/2e21978b30b04826f22f3631e9a7adef3be09dc2), [`b74686d`](https://github.com/seek-oss/vocab/commit/b74686d7ed232eff330b2a734895f66eaa5387a1)]:
- @vocab/core@1.6.3
- [email protected]

## 1.2.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocab/webpack",
"version": "1.2.9",
"version": "1.2.10",
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/vocab.git",
Expand Down

0 comments on commit 3a3ab6f

Please sign in to comment.