majlis 0.3.2 → 0.3.3
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/dist/cli.js +5 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3225,7 +3225,11 @@ var init_run = __esm({
|
|
|
3225
3225
|
});
|
|
3226
3226
|
|
|
3227
3227
|
// src/cli.ts
|
|
3228
|
-
var
|
|
3228
|
+
var fs13 = __toESM(require("fs"));
|
|
3229
|
+
var path13 = __toESM(require("path"));
|
|
3230
|
+
var VERSION = JSON.parse(
|
|
3231
|
+
fs13.readFileSync(path13.join(__dirname, "..", "package.json"), "utf-8")
|
|
3232
|
+
).version;
|
|
3229
3233
|
async function main() {
|
|
3230
3234
|
const args = process.argv.slice(2);
|
|
3231
3235
|
if (args.includes("--version") || args.includes("-v")) {
|