Skip to content

Commit a6492d1

Browse files
committed
chore: move package from @dash0hq/opentelemetry to @dash0/opentelemetry
BREAKING CHANGE: This is a breaking change for code that is using this package directly, instead of relying on the Dash0 Kubernetes operator.
1 parent 2b609fd commit a6492d1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ dist/
22
node_modules/
33
npm-debug*
44
.nyc_output/
5-
dash0hq-opentelemetry-*.tgz
5+
dash0-opentelemetry-*.tgz

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@dash0hq/opentelemetry",
2+
"name": "@dash0/opentelemetry",
33
"version": "0.0.0-managed-by-semantic-release",
44
"description": "Dash0 OpenTelemetry Wrapper for Node.js",
55
"main": "dist/src/index.js",
@@ -9,7 +9,7 @@
99
"verify": "npm run lint && npm test",
1010
"lint": "npm run eslint && npm run prettier-check",
1111
"eslint": "eslint eslint.config.mjs src test",
12-
"prepack": "rimraf dash0hq-opentelemetry-*.tgz && npm run build",
12+
"prepack": "rimraf dash0-opentelemetry-*.tgz && npm run build",
1313
"prettier": "prettier --write eslint.config.mjs .mocharc.js 'src/**/*.[jt]s' 'test/**/*.[jt]s' --parser typescript",
1414
"prettier-check": "prettier --check eslint.config.mjs 'src/**/*.[jt]s' 'test/**/*.[jt]s' --parser typescript",
1515
"test": "npm run test:unit && npm run test:integration",

src/1.x/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ try {
5555
if (packageJson) {
5656
// Since we read the package.json from two possible relative paths, we are extra-careful to make sure we actually are
5757
// reading from our own package.json file, hence the name check.
58-
if (packageJson.name === '@dash0hq/opentelemetry') {
58+
if (packageJson.name === '@dash0/opentelemetry') {
5959
version = packageJson.version;
6060
} else {
6161
printDebugStderr(

src/2.x/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ try {
5555
if (packageJson) {
5656
// Since we read the package.json from two possible relative paths, we are extra-careful to make sure we actually are
5757
// reading from our own package.json file, hence the name check.
58-
if (packageJson.name === '@dash0hq/opentelemetry') {
58+
if (packageJson.name === '@dash0/opentelemetry') {
5959
version = packageJson.version;
6060
} else {
6161
printDebugStderr(

0 commit comments

Comments
 (0)