@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.
@@ -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
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // src/bin.ts
5
+ console.log("rocketmq cli \u2014 coming soon");
6
+ console.log("Commands planned: inspect, schema list, schema export, doctor");
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
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/bin.ts
4
+ console.log("rocketmq cli \u2014 coming soon");
5
+ console.log("Commands planned: inspect, schema list, schema export, doctor");
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);
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
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
@@ -0,0 +1,2 @@
1
+ // CLI public API — Phase 3 deliverable
2
+ export {};
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "outDir": "dist",
5
+ "rootDir": "src"
6
+ },
7
+ "include": ["src"]
8
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from "tsup";
2
+
3
+ export default defineConfig({
4
+ entry: ["src/index.ts", "src/bin.ts"],
5
+ format: ["esm", "cjs"],
6
+ dts: true,
7
+ clean: true,
8
+ });