Skip to content

Commit 8bbf54f

Browse files
committed
Rename package names
1 parent 02857b7 commit 8bbf54f

File tree

104 files changed

+128
-8764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+128
-8764
lines changed

.github/workflows/test_ee.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
path: ./src/plugins
2020
tailscale: true
2121
env:
22-
# Github only passes secrets to the main repo, so we need to skip some things if they are unavailable
22+
# GitHub only passes secrets to the main repo, so we need to skip some things if they are unavailable
2323
SECRETS_AVAILABLE: ${{ secrets.EVENTSTORE_CLOUD_ID != null }}
2424
EVENTSTORE_VERSION: "24.2.0-jammy"
2525
runs-on: ubuntu-latest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "eventstore-node-client-repository",
2+
"name": "kurrent-node-client-repository",
33
"private": true,
44
"scripts": {
55
"build": "lerna run --stream build",

packages/db-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@eventstore/db-client",
2+
"name": "@kurrent/db-client",
33
"version": "6.2.1",
44
"description": "NodeJS EventStoreDB version 20+ and uses gRPC as the communication protocol.",
55
"main": "./dist/index.js",

packages/opentelemetry/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@eventstore/opentelemetry",
2+
"name": "@kurrent/opentelemetry",
33
"version": "0.1.0",
44
"main": "./dist/index.js",
55
"types": "./dist/index.d.ts",
@@ -36,7 +36,7 @@
3636
"@opentelemetry/instrumentation": "^0.56.0"
3737
},
3838
"devDependencies": {
39-
"@eventstore/db-client": "file:../db-client"
39+
"@kurrent/db-client": "file:../db-client"
4040
},
4141
"peerDependencies": {
4242
"@eventstore/db-client": "^6"

packages/opentelemetry/src/instrumentation.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
InstrumentationConfig,
1919
InstrumentationNodeModuleDefinition,
2020
} from "@opentelemetry/instrumentation";
21-
import type * as kdb from "@eventstore/db-client";
21+
import type * as kdb from "@kurrent/db-client";
2222
import type {
2323
AppendResult,
2424
BinaryEventType,
@@ -30,12 +30,12 @@ import type {
3030
SubscribeToPersistentSubscriptionToAllOptions,
3131
SubscribeToPersistentSubscriptionToStreamOptions,
3232
SubscribeToStreamOptions,
33-
} from "@eventstore/db-client";
34-
import type { ReadResp as StreamsReadResp } from "@eventstore/db-client/generated/streams_pb";
35-
import type { ReadResp as PersistentReadResp } from "@eventstore/db-client/generated/persistent_pb";
33+
} from "@kurrent/db-client";
34+
import type { ReadResp as StreamsReadResp } from "@kurrent/db-client/generated/streams_pb";
35+
import type { ReadResp as PersistentReadResp } from "@kurrent/db-client/generated/persistent_pb";
3636
import { KurrentDBAttributes } from "./attributes";
37-
import type { PersistentSubscriptionImpl } from "@eventstore/db-client/src/persistentSubscription/utils/PersistentSubscriptionImpl";
38-
import type { Subscription } from "@eventstore/db-client/src/streams/utils/Subscription";
37+
import type { PersistentSubscriptionImpl } from "@kurrent/db-client/src/persistentSubscription/utils/PersistentSubscriptionImpl";
38+
import type { Subscription } from "@kurrent/db-client/src/streams/utils/Subscription";
3939
import { INSTRUMENTATION_NAME, INSTRUMENTATION_VERSION } from "./version";
4040
import type {
4141
AppendToStreamParams,
@@ -54,7 +54,7 @@ export class Instrumentation extends InstrumentationBase {
5454

5555
protected init() {
5656
return new InstrumentationNodeModuleDefinition(
57-
"@eventstore/db-client",
57+
"@kurrent/db-client",
5858
["6.*"],
5959
this._onPatchMain(),
6060
this._onUnPatchMain()

packages/opentelemetry/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as kdb from "@eventstore/db-client";
1+
import type * as kdb from "@kurrent/db-client";
22

33
export type SubscribeToStreamParameters = Parameters<
44
kdb.KurrentDBClient["subscribeToStream"]

packages/opentelemetry/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/ban-types */
22
/* eslint-disable @typescript-eslint/no-explicit-any */
33

4-
import type { EventData, JSONEventData } from "@eventstore/db-client";
4+
import type { EventData, JSONEventData } from "@kurrent/db-client";
55

66
export function hasConvertGrpcEventMethod(
77
obj: any

packages/opentelemetry/yarn.lock

Lines changed: 0 additions & 596 deletions
This file was deleted.

packages/test/jest.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ module.exports = {
55
globalSetup: '<rootDir>/src/utils/preflight.ts',
66
moduleNameMapper: {
77
'@test-utils': '<rootDir>/src/utils',
8-
"^@eventstore/db-client$": "<rootDir>/../db-client/dist/index",
9-
"^@eventstore/db-client/(.*)$": "<rootDir>/../db-client/$1",
10-
"^@eventstore/opentelemetry$": "<rootDir>/../opentelemetry/dist/index",
11-
"^@eventstore/opentelemetry/(.*)$": "<rootDir>/../opentelemetry/$1",
8+
"^@kurrent/db-client$": "<rootDir>/../db-client/dist/index",
9+
"^@kurrent/db-client/(.*)$": "<rootDir>/../db-client/$1",
10+
"^@kurrent/opentelemetry$": "<rootDir>/../opentelemetry/dist/index",
11+
"^@kurrent/opentelemetry/(.*)$": "<rootDir>/../opentelemetry/$1",
1212
},
1313
globals: {
1414
'ts-jest': {

packages/test/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@eventstore/test",
2+
"name": "test",
33
"version": "0.0.1",
44
"private": true,
55
"description": "KurrentDB Client Tests",
@@ -28,8 +28,8 @@
2828
"Test"
2929
],
3030
"dependencies": {
31-
"@eventstore/db-client": "file:../db-client",
32-
"@eventstore/opentelemetry": "file:../opentelemetry",
31+
"@kurrent/db-client": "file:../db-client",
32+
"@kurrent/opentelemetry": "file:../opentelemetry",
3333
"jest": "^27.5.1",
3434
"ts-jest": "^27.1.5"
3535
},

0 commit comments

Comments
 (0)