@jipsoft/factusync-cli 0.1.0 → 0.1.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 (2) hide show
  1. package/README.md +13 -1
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -10,7 +10,7 @@ scripts. Every command prints JSON.
10
10
  ## Run it
11
11
 
12
12
  ```bash
13
- # Once published to npm:
13
+ # From npm (https://www.npmjs.com/package/@jipsoft/factusync-cli):
14
14
  npx @jipsoft/factusync-cli context
15
15
  npm install -g @jipsoft/factusync-cli && factusync context
16
16
 
@@ -206,6 +206,18 @@ factusync documents get "$DOCUMENT_ID" # until AUTHORIZED or REJECTED
206
206
  factusync ride "$DOCUMENT_ID" --out invoice.pdf --xml invoice.xml
207
207
  ```
208
208
 
209
+ ## Source and issues
210
+
211
+ This package is developed inside JipSoft's private monorepo, next to the FactuSync server it talks
212
+ to, so a shared contract test (`mcp-tool-contract.json`) keeps the commands and the server's tools
213
+ from drifting apart. [github.com/jipsoft-labs/factusync-cli](https://github.com/jipsoft-labs/factusync-cli)
214
+ is a public mirror, synced on every release. Issues are welcome there; pull requests are read and
215
+ ported into the monorepo by hand, so they are not merged in the mirror itself.
216
+
217
+ To build and test a checkout of the mirror: `npm install && npm test` with npm 11 or later. npm 10
218
+ fails to resolve vitest 4's peer dependencies (`Cannot read properties of null (reading 'edgesOut')`);
219
+ on npm 10 use `npm install --legacy-peer-deps`. Installing the published package is not affected.
220
+
209
221
  ## License
210
222
 
211
223
  MIT. See [LICENSE](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jipsoft/factusync-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "FactuSync command line for AI agents (Pi) and shell scripts: Ecuadorian SRI e-invoicing through the FactuSync MCP endpoint",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -14,11 +14,10 @@
14
14
  "homepage": "https://jipsoft.com/factusync/mcp",
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "git+https://github.com/jipsoft-labs/jipsoft-global.git",
18
- "directory": "packages/factusync-cli"
17
+ "url": "git+https://github.com/jipsoft-labs/factusync-cli.git"
19
18
  },
20
19
  "bugs": {
21
- "url": "https://github.com/jipsoft-labs/jipsoft-global/issues"
20
+ "url": "https://github.com/jipsoft-labs/factusync-cli/issues"
22
21
  },
23
22
  "type": "module",
24
23
  "bin": {
@@ -37,9 +36,9 @@
37
36
  },
38
37
  "scripts": {
39
38
  "build": "rm -rf dist && tsc --project tsconfig.build.json && chmod +x dist/cli.js",
40
- "test": "pnpm run build && pnpm exec vitest run",
39
+ "test": "npm run build && vitest run",
41
40
  "typecheck": "tsc --project tsconfig.json --noEmit",
42
- "prepublishOnly": "pnpm run test"
41
+ "prepublishOnly": "npm test"
43
42
  },
44
43
  "dependencies": {
45
44
  "@modelcontextprotocol/sdk": "1.30.1",