@openwop/cli 1.0.0 → 1.0.1

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 CHANGED
@@ -521,8 +521,58 @@ function errText(err) {
521
521
  return err instanceof Error ? err.message : String(err);
522
522
  }
523
523
 
524
+ // package.json
525
+ var package_default = {
526
+ name: "@openwop/cli",
527
+ version: "1.0.1",
528
+ description: "OpenWOP CLI for operating the workflow-engine demo app and OpenWOP-compatible hosts.",
529
+ license: "Apache-2.0",
530
+ type: "module",
531
+ repository: {
532
+ type: "git",
533
+ url: "git+https://github.com/openwop/openwop-cli.git"
534
+ },
535
+ homepage: "https://app.openwop.dev/cli",
536
+ bugs: {
537
+ url: "https://github.com/openwop/openwop-cli/issues"
538
+ },
539
+ bin: {
540
+ openwop: "dist/openwop.js"
541
+ },
542
+ files: [
543
+ "dist",
544
+ "install.sh",
545
+ "README.md"
546
+ ],
547
+ scripts: {
548
+ build: `rm -rf dist && esbuild src/openwop.ts src/cli.ts --bundle --platform=node --target=node20 --format=esm --outdir=dist --packages=external --banner:js="import { createRequire as _cr } from 'module'; const require = _cr(import.meta.url);"`,
549
+ typecheck: "tsc --noEmit",
550
+ test: "npm run build && node --test test/*.test.mjs"
551
+ },
552
+ devDependencies: {
553
+ "@types/node": "^20.14.0",
554
+ esbuild: "^0.25.0",
555
+ typescript: "^5.6.0"
556
+ },
557
+ peerDependencies: {
558
+ "@whiskeysockets/baileys": ">=6",
559
+ "discord.js": ">=14"
560
+ },
561
+ peerDependenciesMeta: {
562
+ "@whiskeysockets/baileys": {
563
+ optional: true
564
+ },
565
+ "discord.js": {
566
+ optional: true
567
+ }
568
+ },
569
+ engines: {
570
+ node: ">=20"
571
+ }
572
+ };
573
+
524
574
  // src/constants.ts
525
- var VERSION = "0.18.2";
575
+ var VERSION = package_default.version;
526
576
  var DEFAULT_BASE_URL = "http://localhost:8080";
527
577
  var DEFAULT_REGISTRY_URL = "https://packs.openwop.dev";
528
578
  var DEFAULT_API_KEY = "sample-token";
package/dist/openwop.js CHANGED
@@ -522,8 +522,58 @@ function errText(err) {
522
522
  return err instanceof Error ? err.message : String(err);
523
523
  }
524
524
 
525
+ // package.json
526
+ var package_default = {
527
+ name: "@openwop/cli",
528
+ version: "1.0.1",
529
+ description: "OpenWOP CLI for operating the workflow-engine demo app and OpenWOP-compatible hosts.",
530
+ license: "Apache-2.0",
531
+ type: "module",
532
+ repository: {
533
+ type: "git",
534
+ url: "git+https://github.com/openwop/openwop-cli.git"
535
+ },
536
+ homepage: "https://app.openwop.dev/cli",
537
+ bugs: {
538
+ url: "https://github.com/openwop/openwop-cli/issues"
539
+ },
540
+ bin: {
541
+ openwop: "dist/openwop.js"
542
+ },
543
+ files: [
544
+ "dist",
545
+ "install.sh",
546
+ "README.md"
547
+ ],
548
+ scripts: {
549
+ build: `rm -rf dist && esbuild src/openwop.ts src/cli.ts --bundle --platform=node --target=node20 --format=esm --outdir=dist --packages=external --banner:js="import { createRequire as _cr } from 'module'; const require = _cr(import.meta.url);"`,
550
+ typecheck: "tsc --noEmit",
551
+ test: "npm run build && node --test test/*.test.mjs"
552
+ },
553
+ devDependencies: {
554
+ "@types/node": "^20.14.0",
555
+ esbuild: "^0.25.0",
556
+ typescript: "^5.6.0"
557
+ },
558
+ peerDependencies: {
559
+ "@whiskeysockets/baileys": ">=6",
560
+ "discord.js": ">=14"
561
+ },
562
+ peerDependenciesMeta: {
563
+ "@whiskeysockets/baileys": {
564
+ optional: true
565
+ },
566
+ "discord.js": {
567
+ optional: true
568
+ }
569
+ },
570
+ engines: {
571
+ node: ">=20"
572
+ }
573
+ };
574
+
525
575
  // src/constants.ts
526
- var VERSION = "0.18.2";
576
+ var VERSION = package_default.version;
527
577
  var DEFAULT_BASE_URL = "http://localhost:8080";
528
578
  var DEFAULT_REGISTRY_URL = "https://packs.openwop.dev";
529
579
  var DEFAULT_API_KEY = "sample-token";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openwop/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "OpenWOP CLI for operating the workflow-engine demo app and OpenWOP-compatible hosts.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",