@settlemint/dalp-cli 3.1.19-main.34690878128 → 3.1.19-release.34335919202

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.
Files changed (4) hide show
  1. package/README.md +168 -43
  2. package/dist/dalp.js +208264 -109137
  3. package/package.json +18 -22
  4. package/dist/dalp.js.map +0 -185
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.19-main.34690878128",
3
+ "version": "3.1.19-release.34335919202",
4
4
  "private": false,
5
5
  "description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
6
6
  "homepage": "https://settlemint.com",
@@ -31,33 +31,29 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "scripts": {
34
- "codegen": "bun tools/extract-openapi-surface.ts",
35
- "build": "rm -rf dist && bun build src/bin.ts --target bun --format esm --no-deprecated-namespace-object-setters --sourcemap=external --outdir dist --entry-naming dalp.js && printf 'export {};\n' > dist/dalp.d.ts && bun dist/dalp.js --help > /dev/null",
36
- "publint": "publint run --strict --pack bun",
37
- "attw": "archive=$(bun pm pack --destination \"$PWD\" --quiet | tail -n 1) && attw \"$archive\" --ignore-rules cjs-resolves-to-esm; code=$?; rm -f \"$archive\"; exit $code",
38
- "publish": "cp ../../LICENSE . && bun run --cwd ../.. publish-if-absent \"$PWD\"",
34
+ "build": "bun build src/main.ts --outfile dist/dalp.js --target node && echo '#!/usr/bin/env node' | cat - dist/dalp.js > dist/dalp.tmp && mv dist/dalp.tmp dist/dalp.js && echo 'export {};' > dist/dalp.d.ts",
35
+ "publint": "publint run --strict --pack npm",
36
+ "attw": "attw --pack . --ignore-rules cjs-resolves-to-esm",
37
+ "publish": "cp ../../LICENSE . && npm publish --ignore-scripts --tag ${TAG:-latest} --access public",
39
38
  "prepack": "cp ../../LICENSE .",
40
- "test": "bun --bun vitest run --config node_modules/@tools/vitest-config/vitest.config.mjs --configLoader native --project unit --project browser --testTimeout 30000",
41
- "typecheck": "tsc -p . && tsc --noEmit -p tools/tsconfig.json",
42
- "lint": "oxlint --deny-warnings .",
43
- "check:openapi-surface-fresh": "bun tools/check-openapi-surface-fresh.ts",
44
- "test:coverage": "bun --bun vitest run --config node_modules/@tools/vitest-config/vitest.config.mjs --configLoader native --project unit --project browser --testTimeout 30000 --coverage"
39
+ "test": "bun test --parallel=2 --timeout 30000 tests/unit",
40
+ "typecheck": "tsgo"
45
41
  },
46
42
  "dependencies": {
47
- "@settlemint/dalp-sdk": "3.1.11",
48
- "incur": "0.5.1",
49
- "zod": "4.5.4"
43
+ "@core/errors": "workspace:*",
44
+ "@core/validation": "workspace:*",
45
+ "@settlemint/dalp-sdk": "workspace:*",
46
+ "incur": "0.4.8",
47
+ "standardwebhooks": "1.0.0"
50
48
  },
51
49
  "devDependencies": {
52
- "@arethetypeswrong/cli": "0.18.5",
53
- "@dapi/server": "3.1.11",
54
- "@tools/typescript-config": "3.1.11",
55
- "@tools/vitest-config": "3.1.11",
56
- "@types/bun": "1.4.0",
57
- "publint": "0.3.24",
58
- "vitest": "5.0.0"
50
+ "@arethetypeswrong/cli": "0.18.3",
51
+ "@dalp/errors": "workspace:*",
52
+ "@tools/typescript-config": "workspace:*",
53
+ "@types/bun": "1.3.14",
54
+ "publint": "0.3.21"
59
55
  },
60
56
  "engines": {
61
- "bun": ">=1.4.1"
57
+ "node": ">=20"
62
58
  }
63
59
  }