Skip to content

Commit 625f3b1

Browse files
committed
Revert module name changes
1 parent a92ae58 commit 625f3b1

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.semaphore/semaphore.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ blocks:
9797
commands:
9898
- sem-version node 18.19.0
9999
- export NODE_ABI=108
100-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
100+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
101101
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
102102
- npx node-pre-gyp package
103103
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -106,7 +106,7 @@ blocks:
106106
commands:
107107
- sem-version node 20.10.0
108108
- export NODE_ABI=115
109-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
109+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
110110
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
111111
- npx node-pre-gyp package
112112
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -115,7 +115,7 @@ blocks:
115115
commands:
116116
- sem-version node 21.4.0
117117
- export NODE_ABI=120
118-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
118+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
119119
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
120120
- npx node-pre-gyp package
121121
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -141,7 +141,7 @@ blocks:
141141
commands:
142142
- sem-version node 18.19.0
143143
- export NODE_ABI=108
144-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
144+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
145145
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
146146
- npx node-pre-gyp package
147147
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -150,7 +150,7 @@ blocks:
150150
commands:
151151
- sem-version node 20.10.0
152152
- export NODE_ABI=115
153-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
153+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
154154
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
155155
- npx node-pre-gyp package
156156
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -159,7 +159,7 @@ blocks:
159159
commands:
160160
- sem-version node 21.4.0
161161
- export NODE_ABI=120
162-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
162+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
163163
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
164164
- npx node-pre-gyp package
165165
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -184,7 +184,7 @@ blocks:
184184
commands:
185185
- sem-version node 18.19.0
186186
- export NODE_ABI=108
187-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
187+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
188188
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
189189
- npx node-pre-gyp package
190190
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -193,7 +193,7 @@ blocks:
193193
commands:
194194
- sem-version node 20.10.0
195195
- export NODE_ABI=115
196-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
196+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
197197
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
198198
- npx node-pre-gyp package
199199
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
@@ -202,7 +202,7 @@ blocks:
202202
commands:
203203
- sem-version node 21.4.0
204204
- export NODE_ABI=120
205-
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
205+
- export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
206206
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
207207
- npx node-pre-gyp package
208208
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}

binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"targets": [
99
{
10-
"target_name": "confluent-kafka-js",
10+
"target_name": "node-librdkafka",
1111
'sources': [
1212
'src/binding.cc',
1313
'src/callbacks.cc',

deps/librdkafka.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"librdkafka/config.h",
2727
],
2828
"action": [
29-
"make", "-j5", "-C", "librdkafka", "libs", "install"
29+
"make", "-C", "librdkafka", "libs", "install"
3030
],
3131
"conditions": [
3232
[

librdkafka.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
* of the MIT license. See the LICENSE.txt file for details.
88
*/
99

10-
var kafka = require('bindings')('confluent-kafka-js');
10+
var kafka = require('bindings')('node-librdkafka');
1111

1212
module.exports = kafka;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test:types": "tsc -p ."
1515
},
1616
"binary": {
17-
"module_name": "confluent-kafka-js",
17+
"module_name": "node-librdkafka",
1818
"module_path": "./build/{configuration}/",
1919
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz",
2020
"host": "https://github.com/confluentinc/confluent-kafka-js/releases/download/",

test/binding.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of the MIT license. See the LICENSE.txt file for details.
88
*/
99

10-
var addon = require('bindings')('confluent-kafka-js');
10+
var addon = require('bindings')('node-librdkafka');
1111
var t = require('assert');
1212

1313
var consumerConfig = {

test/consumer.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of the MIT license. See the LICENSE.txt file for details.
88
*/
99

10-
var addon = require('bindings')('confluent-kafka-js');
10+
var addon = require('bindings')('node-librdkafka');
1111
var t = require('assert');
1212

1313
var client;

0 commit comments

Comments
 (0)