Skip to content

Commit

Permalink
[RELEASE] Update package versions (#32)
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
github-actions[bot] and github-actions[bot] authored Jan 31, 2024
1 parent 80cd62d commit 8b7c973
Show file tree
Hide file tree
Showing 23 changed files with 135 additions and 57 deletions.
46 changes: 0 additions & 46 deletions .changeset/weak-lamps-wonder.md

This file was deleted.

7 changes: 7 additions & 0 deletions src/packages/http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @open-pioneer/http

## 2.1.2

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0

## 2.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/packages/http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-pioneer/http",
"version": "2.1.1",
"version": "2.1.2",
"license": "Apache-2.0",
"main": "index.ts",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/packages/integration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @open-pioneer/integration

## 2.0.3

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0

## 2.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/packages/integration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-pioneer/integration",
"version": "2.0.2",
"version": "2.0.3",
"license": "Apache-2.0",
"main": "index.ts",
"scripts": {
Expand Down
51 changes: 51 additions & 0 deletions src/packages/runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,56 @@
# @open-pioneer/runtime

## 2.1.0

### Minor Changes

- 80cd62d: Improve TypeScript integration for service classes.

Add a way for a service class to specify its interface name directly.
Usually services used across package boundaries split their public interface and their implementation such as this:

```ts
// Exported from package
interface MyService extends DeclaredService<"my-package.SomeInterface"> {
method(): void;
}

// In an implementation file, usually private.
class MyServiceImpl implements MyService {
method(): void {
// ...
}
}
```

Until now, there was no way for a service class to declare its interface directly.
This could be convenient within a package, or with a group of tightly coupled packages:

```ts
// Error: Type 'MyServiceImpl' has no properties in common with type 'DeclaredService<"my-package.InterfaceName">'.
class MyServiceImpl implements DeclaredService<"my-package.InterfaceName"> {
method() {}
}
```

From now on, you can write this instead:

```ts
class MyServiceImpl {
// Tells TypeScript which interface name must be used.
// See documentation of `DECLARE_SERVICE_INTERFACE` for more details.
declare [DECLARE_SERVICE_INTERFACE]: "my-package.InterfaceName";
method(): void {
// ...
}
}
```

### Patch Changes

- @open-pioneer/runtime-react-support@1.0.0

## 2.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-pioneer/runtime",
"version": "2.0.2",
"version": "2.1.0",
"license": "Apache-2.0",
"main": "index.ts",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions src/samples/api-sample/api-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# api-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0
- @open-pioneer/integration@2.0.3

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/api-sample/api-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"dependencies": {
"@open-pioneer/runtime": "workspace:^",
Expand Down
7 changes: 7 additions & 0 deletions src/samples/chakra-sample/chakra-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# chakra-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/chakra-sample/chakra-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chakra-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"dependencies": {
"@open-pioneer/base-theme": "workspace:^",
Expand Down
7 changes: 7 additions & 0 deletions src/samples/extension-sample/extension-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# extension-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/extension-sample/extension-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extension-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"main": "index",
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions src/samples/http-sample/http-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# http-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0
- @open-pioneer/http@2.1.2

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/http-sample/http-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "http-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"dependencies": {
"@open-pioneer/chakra-integration": "workspace:^",
Expand Down
7 changes: 7 additions & 0 deletions src/samples/i18n-howto/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# i18n-howto-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/i18n-howto/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i18n-howto-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"dependencies": {
"@open-pioneer/runtime": "workspace:^",
Expand Down
8 changes: 8 additions & 0 deletions src/samples/i18n-sample/i18n-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# i18n-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0
- @open-pioneer/integration@2.0.3

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/i18n-sample/i18n-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i18n-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"dependencies": {
"@open-pioneer/runtime": "workspace:^",
Expand Down
7 changes: 7 additions & 0 deletions src/samples/properties-sample/properties-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# properties-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/properties-sample/properties-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "properties-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"dependencies": {
"@open-pioneer/chakra-integration": "workspace:^",
Expand Down
7 changes: 7 additions & 0 deletions src/samples/styling-sample/styling-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# styling-app

## 0.0.13

### Patch Changes

- Updated dependencies [80cd62d]
- @open-pioneer/runtime@2.1.0

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion src/samples/styling-sample/styling-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "styling-app",
"version": "0.0.12",
"version": "0.0.13",
"private": true,
"dependencies": {
"@open-pioneer/runtime": "workspace:^",
Expand Down

0 comments on commit 8b7c973

Please sign in to comment.