Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @TrogonStack/trogon-eventstore-maintainers
180 changes: 90 additions & 90 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,90 +1,90 @@
name: Bug report
description: Help us improve the client
labels:
- triage
body:
- type: textarea
id: current-behavior
attributes:
label: 🐛 Current behavior
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: 🔍 Steps to reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to ...
2. Click on ...
3. Scroll down to ...
4. See error
You can attach screenshots by dragging and dropping, or selecting and pasting them in the text field.
validations:
required: true
- type: input
id: reproduction-links
attributes:
label: Reproducible link
description: A link to a minimal reproducible example. This could be a GitHub repository, CodeSandbox, or any other online code editor.
placeholder: e.g, github.com/company/repo
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: 💭 Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: input
id: client-version
attributes:
label: Package version
description: What version of the client you're experiencing the issue with.
placeholder: e.g., KurrentDB-Client-NodeJS 1.1.2
validations:
required: true
- type: input
id: kurrentdb-version
attributes:
label: KurrentDB Version
description: What version of the database you are using.
placeholder: e.g., KurrentDB v24.10
validations:
required: true
- type: input
id: connection
attributes:
label: Connection string
description: What connection string you're using. Hide and sensitive information if necessary.
placeholder: e.g., kurrentdb://admin:changeit@localhost:2113
validations:
required: true
- type: dropdown
id: deployment-environment
attributes:
label: ☁️ Deployment Environment
description: How is KurrentDB deployed?
options:
- Single-node (Docker)
- Single-node (Bare metal/VM)
- Multi-node cluster (On-prem)
- Multi-node cluster (Cloud)
- Managed KurrentDB Cloud
- Other (please specify below)
validations:
required: true
- type: input
id: deployment-other
attributes:
label: Other Deployment Details
description: If you selected "Other," please specify your deployment setup.
placeholder: e.g., Kubernetes with custom networking
- type: input
id: os
attributes:
label: Operating system
placeholder: e.g., macOS 13.1
name: Bug report
description: Help us improve the client
labels:
- triage
body:
- type: textarea
id: current-behavior
attributes:
label: 🐛 Current behavior
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: 🔍 Steps to reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to ...
2. Click on ...
3. Scroll down to ...
4. See error

You can attach screenshots by dragging and dropping, or selecting and pasting them in the text field.
validations:
required: true
- type: input
id: reproduction-links
attributes:
label: Reproducible link
description: A link to a minimal reproducible example. This could be a GitHub repository, CodeSandbox, or any other online code editor.
placeholder: e.g, github.com/company/repo
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: 💭 Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: input
id: client-version
attributes:
label: Package version
description: What version of the client you're experiencing the issue with.
placeholder: e.g., TrogonEventStore-Client-NodeJS 1.1.2
validations:
required: true
- type: input
id: trogon-eventstore-version
attributes:
label: TrogonEventStore Version
description: What version of the database you are using.
placeholder: e.g., TrogonEventStore v24.10
validations:
required: true
- type: input
id: connection
attributes:
label: Connection string
description: What connection string you're using. Hide and sensitive information if necessary.
placeholder: e.g., esdb://admin:changeit@localhost:2113
validations:
required: true
- type: dropdown
id: deployment-environment
attributes:
label: ☁️ Deployment Environment
description: How is TrogonEventStore deployed?
options:
- Single-node (Docker)
- Single-node (Bare metal/VM)
- Multi-node cluster (On-prem)
- Multi-node cluster (Cloud)
- Self-managed cluster
- Other (please specify below)
validations:
required: true
- type: input
id: deployment-other
attributes:
label: Other Deployment Details
description: If you selected "Other," please specify your deployment setup.
placeholder: e.g., Kubernetes with custom networking
- type: input
id: os
attributes:
label: Operating system
placeholder: e.g., macOS 13.1
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Feature Request
url: https://github.com/kurrent-io/KurrentDB-Client-NodeJS/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
about: Request a feature to add to the client
- name: Ask a Question
url: https://github.com/kurrent-io/KurrentDB-Client-NodeJS/discussions/new?category=q-a&labels=triage
blank_issues_enabled: false
contact_links:
- name: Feature Request
url: https://github.com/TrogonStack/TrogonEventStore-Client-NodeJS/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
about: Request a feature to add to the client
- name: Ask a Question
url: https://github.com/TrogonStack/TrogonEventStore-Client-NodeJS/discussions/new?category=q-a&labels=triage
about: Ask questions and discuss with other community members.
39 changes: 39 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "68ad669bb4f8def16b4d7494243825b62421551c",
"signoff": "SHT Bot <61149376+sht-bot@users.noreply.github.com>",
"plugins": [
{
"type": "linked-versions",
"groupName": "TrogonEventStore Node.js Client",
"components": [
"trogon-eventstore-client",
"trogon-eventstore-opentelemetry"
]
}
],
"packages": {
"packages/db-client": {
"release-type": "node",
"package-name": "@trogonstack/trogon-eventstore-client",
"component": "trogon-eventstore-client",
"include-component-in-tag": true,
"include-v-in-tag": true,
"tag-separator": "@",
"pull-request-title-pattern": "chore${scope}: release${component} ${version}",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false
},
"packages/opentelemetry": {
"release-type": "node",
"package-name": "@trogonstack/trogon-eventstore-opentelemetry",
"component": "trogon-eventstore-opentelemetry",
"include-component-in-tag": true,
"include-v-in-tag": true,
"tag-separator": "@",
"pull-request-title-pattern": "chore${scope}: release${component} ${version}",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false
}
}
}
4 changes: 4 additions & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"packages/db-client": "0.0.1",
"packages/opentelemetry": "0.0.1"
}
68 changes: 34 additions & 34 deletions .github/scripts/bump_versions.mjs
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
import {promisify} from 'util';
import assert from 'assert';
import {resolve} from 'path';
import semver from 'semver';
import {exec as execCallback} from 'child_process';
import {writeFile, readFile} from 'fs/promises';
const exec = promisify(execCallback);
async function updatePackageVersion(packagePath, currentVersion, releaseType) {
const packageFile = resolve(packagePath, 'package.json');
const packageJson = JSON.parse(await readFile(packageFile, 'utf-8'));
packageJson.version = semver.inc(currentVersion, releaseType);
await writeFile(packageFile, JSON.stringify(packageJson, null, 2) + '\n');
}
async function main() {
const releaseType = process.env.RELEASE_TYPE;
assert.match(releaseType, /^(patch|minor|major)$/, 'Invalid RELEASE_TYPE');
const packages = JSON.parse((await exec('pnpm ls -r --only-projects --json')).stdout);
for (let {name, path, version, private: isPrivate} of packages) {
if (isPrivate && name !== 'kurrent-node-client-repository') continue;
await updatePackageVersion(path, version, releaseType);
}
}
main().catch(error => {
console.error('Error updating package versions:', error);
process.exit(1);
});
import {promisify} from 'util';
import assert from 'assert';
import {resolve} from 'path';
import semver from 'semver';
import {exec as execCallback} from 'child_process';
import {writeFile, readFile} from 'fs/promises';

const exec = promisify(execCallback);

async function updatePackageVersion(packagePath, currentVersion, releaseType) {
const packageFile = resolve(packagePath, 'package.json');
const packageJson = JSON.parse(await readFile(packageFile, 'utf-8'));

packageJson.version = semver.inc(currentVersion, releaseType);

await writeFile(packageFile, JSON.stringify(packageJson, null, 2) + '\n');
}

async function main() {
const releaseType = process.env.RELEASE_TYPE;
assert.match(releaseType, /^(patch|minor|major)$/, 'Invalid RELEASE_TYPE');

const packages = JSON.parse((await exec('pnpm ls -r --only-projects --json')).stdout);

for (let {name, path, version, private: isPrivate} of packages) {
if (isPrivate && name !== 'trogon-eventstore-client-nodejs') continue;
await updatePackageVersion(path, version, releaseType);
}
}

main().catch(error => {
console.error('Error updating package versions:', error);
process.exit(1);
});
53 changes: 0 additions & 53 deletions .github/workflows/benchmark.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/build-docs.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/cherry-pick-pr-for-label.yml

This file was deleted.

Loading
Loading