@maschinenlesbar.org/ckan-cli 0.5.0 → 0.5.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.
Files changed (45) hide show
  1. package/README.md +1 -1
  2. package/dist/node_modules/@maschinenlesbar.org/ckan-client/package.json +32 -0
  3. package/dist/src/cli/commands/catalogue.js +1 -1
  4. package/dist/src/cli/commands/portal.js +4 -4
  5. package/dist/src/cli/io.d.ts +2 -2
  6. package/dist/src/cli/log.js +1 -1
  7. package/dist/src/cli/program.js +4 -4
  8. package/dist/src/cli/run.js +1 -1
  9. package/dist/src/cli/shared.d.ts +1 -1
  10. package/dist/src/cli/shared.js +5 -5
  11. package/dist/src/index.d.ts +1 -1
  12. package/dist/src/index.js +2 -1
  13. package/node_modules/commander/LICENSE +22 -0
  14. package/node_modules/commander/Readme.md +1172 -0
  15. package/node_modules/commander/index.js +21 -0
  16. package/node_modules/commander/lib/argument.js +147 -0
  17. package/node_modules/commander/lib/command.js +2790 -0
  18. package/node_modules/commander/lib/error.js +36 -0
  19. package/node_modules/commander/lib/help.js +731 -0
  20. package/node_modules/commander/lib/option.js +377 -0
  21. package/node_modules/commander/lib/suggestSimilar.js +99 -0
  22. package/node_modules/commander/package-support.json +19 -0
  23. package/node_modules/commander/package.json +64 -0
  24. package/node_modules/commander/typings/index.d.ts +1113 -0
  25. package/package.json +11 -16
  26. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/client.d.ts +0 -0
  27. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/client.js +0 -0
  28. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/engine.d.ts +0 -0
  29. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/engine.js +0 -0
  30. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/errors.d.ts +0 -0
  31. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/errors.js +0 -0
  32. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/http.d.ts +0 -0
  33. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/http.js +0 -0
  34. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/index.d.ts +0 -0
  35. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/index.js +0 -0
  36. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/portals-list.d.ts +0 -0
  37. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/portals-list.js +0 -0
  38. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/portals.d.ts +0 -0
  39. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/portals.js +0 -0
  40. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/query.d.ts +0 -0
  41. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/query.js +0 -0
  42. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/types.d.ts +0 -0
  43. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/types.js +0 -0
  44. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/validate.d.ts +0 -0
  45. /package/dist/{src/client → node_modules/@maschinenlesbar.org/ckan-client/dist/src}/validate.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maschinenlesbar.org/ckan-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "TypeScript API client and CLI for any CKAN open-data portal (Action API v3), e.g. the Hamburg Transparenzportal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,6 +16,7 @@
16
16
  },
17
17
  "files": [
18
18
  "dist/src",
19
+ "dist/node_modules",
19
20
  "!dist/src/**/*.map",
20
21
  "LICENSING.md",
21
22
  "CONTRIBUTING.md",
@@ -25,15 +26,9 @@
25
26
  "node": ">=22.12"
26
27
  },
27
28
  "scripts": {
28
- "clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
29
- "build": "tsc -p tsconfig.json",
30
- "prepack": "npm run build",
31
- "typecheck": "tsc -p tsconfig.json --noEmit",
32
- "pretest": "npm run build",
33
- "test": "node --test --test-timeout=5000 dist/test/*.test.js",
34
- "docs": "node tools/docs/node_modules/typedoc/bin/typedoc src/index.ts --out out",
35
- "start": "node dist/src/cli/index.js",
36
- "update-portals": "npm run build && node dist/scripts/update-portals.js"
29
+ "prepack": "tsc -b ../../tsconfig.json && node ../../tools/pack/prepack.mjs",
30
+ "postpack": "node ../../tools/pack/postpack.mjs",
31
+ "test": "node --test $(node -p \"+process.versions.node.split('.')[0] >= 24 ? '--test-timeout=5000' : ''\") dist/test/*.test.js"
37
32
  },
38
33
  "keywords": [
39
34
  "ckan",
@@ -50,12 +45,13 @@
50
45
  "license": "AGPL-3.0-or-later",
51
46
  "repository": {
52
47
  "type": "git",
53
- "url": "git+https://github.com/maschinenlesbar-org/ckan-cli.git"
48
+ "url": "git+https://github.com/maschinenlesbar-org/ckan-cli.git",
49
+ "directory": "apps/cli"
54
50
  },
55
51
  "bugs": {
56
52
  "url": "https://github.com/maschinenlesbar-org/ckan-cli/issues"
57
53
  },
58
- "homepage": "https://maschinenlesbar-org.github.io/ckan-cli/",
54
+ "homepage": "https://maschinenlesbar.org/ckan-cli/",
59
55
  "funding": {
60
56
  "type": "github",
61
57
  "url": "https://github.com/sponsors/sebs"
@@ -66,8 +62,7 @@
66
62
  "dependencies": {
67
63
  "commander": "15.0.0"
68
64
  },
69
- "devDependencies": {
70
- "@types/node": "^22.20.5",
71
- "typescript": "7.0.2"
72
- }
65
+ "bundleDependencies": [
66
+ "commander"
67
+ ]
73
68
  }