@rocketmq/cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +25 -0
- package/dist/bin.cjs +6 -0
- package/dist/bin.d.cts +1 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +5 -0
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +0 -0
- package/package.json +22 -0
- package/src/bin.ts +11 -0
- package/src/index.ts +2 -0
- package/tsconfig.json +8 -0
- package/tsup.config.ts +8 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @rocketmq/cli@0.1.0 build /home/edilson/learnspace/rocketmq-broker/rocketmq.js/packages/cli
|
|
4
|
+
> tsup
|
|
5
|
+
|
|
6
|
+
CLI Building entry: src/bin.ts, src/index.ts
|
|
7
|
+
CLI Using tsconfig: tsconfig.json
|
|
8
|
+
CLI tsup v8.5.1
|
|
9
|
+
CLI Using tsup config: /home/edilson/learnspace/rocketmq-broker/rocketmq.js/packages/cli/tsup.config.ts
|
|
10
|
+
CLI Target: es2022
|
|
11
|
+
CLI Cleaning output folder
|
|
12
|
+
ESM Build start
|
|
13
|
+
CJS Build start
|
|
14
|
+
ESM dist/index.js 0 B
|
|
15
|
+
ESM dist/bin.js 161.00 B
|
|
16
|
+
ESM ⚡️ Build success in 9ms
|
|
17
|
+
CJS dist/bin.cjs 175.00 B
|
|
18
|
+
CJS dist/index.cjs 758.00 B
|
|
19
|
+
CJS ⚡️ Build success in 9ms
|
|
20
|
+
DTS Build start
|
|
21
|
+
DTS ⚡️ Build success in 708ms
|
|
22
|
+
DTS dist/bin.d.ts 20.00 B
|
|
23
|
+
DTS dist/index.d.ts 13.00 B
|
|
24
|
+
DTS dist/bin.d.cts 20.00 B
|
|
25
|
+
DTS dist/index.d.cts 13.00 B
|
package/dist/bin.cjs
ADDED
package/dist/bin.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
package/dist/bin.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
package/dist/bin.js
ADDED
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/index.ts
|
|
17
|
+
var index_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(index_exports);
|
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rocketmq/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"bin": {
|
|
6
|
+
"rocketmq": "./dist/bin.js"
|
|
7
|
+
},
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@rocketmq/core": "0.1.0",
|
|
16
|
+
"@rocketmq/schema": "0.1.0"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsup",
|
|
20
|
+
"test": "vitest run"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/src/bin.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* RocketMQ CLI entry point.
|
|
5
|
+
*
|
|
6
|
+
* Phase 3 deliverable — currently prints a placeholder message.
|
|
7
|
+
* Future commands: inspect, schema list, schema export, doctor.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
console.log('rocketmq cli — coming soon');
|
|
11
|
+
console.log('Commands planned: inspect, schema list, schema export, doctor');
|
package/src/index.ts
ADDED
package/tsconfig.json
ADDED